这个是数据库三级考试的随笔

?这个就是一个例子;

?这个是一个顺序图

? with ties 的用法:select top 1 * from studentorder by score  desc;

 

     select top 1 with ties * from studentorder by score  desc;就是会保存同一个排位的东西

我感觉这个有点强啊,

?unique约束表示可以允许空值但是不允许重复

?

?

 

?

?

?