摘要: 连接查询: select * from 表名1,表名2#形成笛卡尔积 select * from 表名1,表名2 where 表名1.列名=表名2.列名 // select 表名1.列名, 表名1.列名1,表名2.列名 as'民族' from 表名1,表名 where 表名1.列名=表名2.列名 s 阅读全文
posted @ 2016-10-17 15:18 学生Q 阅读(192) 评论(0) 推荐(0)
摘要: 范围查询: select * from 表名 where price>40 and price<80 select * from 表名 where price between 40 and 80 离散查询: select * from 表名 where price=30 or price=40 or 阅读全文
posted @ 2016-10-17 10:13 学生Q 阅读(150) 评论(0) 推荐(0)