摘要:
数据库运行流程 索引Index 一般where后面都有用id列来查询。 drop index 表名.索引名 临时表 如果用##tmptable,另用其余表就可以访问。 inserted表与deleted表 各张表的数据是受sql语句的条数影响的。 一条语句影响多行,和多项语句影响多行。 前者触发一次 阅读全文
摘要:
注意: select top 3 Name,Age,Gender from view_Student where group having order by id desc 5 6 7 7 7 1 1 2 3 4 8 8 8 在最终生成用户想要的数据之后,才进行排序,如果不得不排序,那么就尽可能把消 阅读全文