摘要: 1.查询随机数据可以用newid()方法 eg: select top 80 * from T_test where 1=1 order by newid()👈这是随机查询前80的数据 2.小括号影响sql中的优先级,默认and的优先级比or高 阅读全文
posted @ 2017-09-08 08:52 Vila_521 阅读(123) 评论(0) 推荐(0)