![](https://img-blog.csdnimg.cn/20191128162944942.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
SqlServer
sql server 相关sql的编写
赫子-金木研
这个作者很懒,什么都没留下…
展开
-
sqlserver(二):sql 左外连接on条件和where条件处细节(包括99语法和92语法数据对比)
sql左外连接on条件和where条件处细节(包括99语法和92语法数据对比)转载2015-04-15 13:10:42标签:sql左外连接on和where前提:测试用的两张表的名称分别为temp99和temp999,表结果相同,两张表的数据不同,如下图所示:表结构temp99temp9991、select * from temp99 a left join ...转载 2019-03-19 17:26:42 · 3316 阅读 · 0 评论 -
SqlServer(一):查询sql 运行时间,用来进行sql优化
语句:先执行--sqlserver 查看查询用时信息SET STATISTICS IO ONSET STATISTICS TIME on--mysqlSET profiling=1;SHOW profiles;在执行你的sql语句select * from table1;select * from table2;查看结果...原创 2019-02-28 10:27:28 · 604 阅读 · 0 评论