摘要:
表连接分为横向表连接和纵向表连接 横向表连接有三种方式: 1、select 列名,列名 from 表名,表名 where 表名.列名=表名.列名 select student.Sno,sname,cno,degree from Student,Score where Student.Sno = Sc 阅读全文
posted @ 2017-03-13 18:20
口袋里的SKY
阅读(204)
评论(0)
推荐(0)
摘要:
1、聚合函数:MAX()最大值,MIN()最小值,COUNT()计数,AVG()平均值,SUM()求和 2.数学函数: ceiling()--取上限,select ceiling(oil) 油耗上限 from car floor()--取下限,select FLOOR(oil) from car r 阅读全文
posted @ 2017-03-13 13:36
口袋里的SKY
阅读(235)
评论(0)
推荐(0)
浙公网安备 33010602011771号