How can I make this query in SQL Server Compact Edition?

前端 未结 4 437
太阳男子
太阳男子 2020-12-20 03:57

this subquery works in SQL Server:

select systemUsers.name, 
    (select count(id) 
     from userIncidences 
     where idUser = systemUsers.id ) 
from syst         


        
4条回答
  •  春和景丽
    2020-12-20 04:53

    Something like this? (using Northwind.Order Details]

    The Code Snippet:

    SELECT     [Unit Price] * Quantity AS Cost,
    
    [Unit Price] * Quantity * 1.25 AS CostWithVAT
    FROM         [Order Details]
    

    Source Airline Reservation System Project

提交回复
热议问题