SqlServer 2005 T-SQL Query 学习笔记(1)
摘要:
Select字句在逻辑上是SQL语句最后进行处理的最后一步,所以,以下查询会发生错误: SELECT YEAR(OrderDate) AS OrderYear, COUNT(DISTINCT CustomerID) AS NumCusts FROM dbo.Orders GROUP BY Order... 阅读全文
posted @ 2010-01-30 16:35 llopx 阅读(387) 评论(0) 推荐(0) 编辑