摘要: 在SQL Server中,HAVING子句用于限制GROUP BY子句返回的结果集。它通常与聚合函数一起使用,用于筛选聚合后的数据。 HAVING子句的语法如下: SELECT column_name(s) FROM table_name WHERE condition GROUP BY colum 阅读全文
posted @ 2024-09-03 20:19 techNote 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 创建数据库 Create DataBase students on ( Name='students_data', --数据文件的逻辑名 FileName='D:\students_data.mdf', --数据文件的实际名 Size=10Mb, --数据文件初始大小 FileGrowth=15% 阅读全文
posted @ 2024-09-03 20:09 techNote 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 数据库 C#程序int int32text stringbigint int64binary System.Byte[]bit Booleanchar stringdatetime System.DateTimedecimal System.Decimalfloat System.Doubleima 阅读全文
posted @ 2024-09-03 14:17 techNote 阅读(5) 评论(0) 推荐(0) 编辑