摘要:
高级查询在数据库中用得是最频繁的,也是应用最广泛的。Ø 基本常用查询--selectselect*fromstudent;--all查询所有selectallsexfromstudent;--distinct过滤重复selectdistinctsexfromstudent;--count统计selectcount(*)fromstudent;selectcount(sex)fromstudent;selectcount(distinctsex)fromstudent;--top取前N条记录selecttop3 *fromstudent;--aliascolumnname 列重命名se 阅读全文
posted @ 2013-12-10 13:28
jasonwzy
阅读(225)
评论(0)
推荐(0)

浙公网安备 33010602011771号