2012年5月12日

mysql的查询、子查询及连接查询

摘要: 一、mysql查询的五种子句 where(条件查询)、having(筛选)、group by(分组)、order by(排序)、limit(限制结果数) 1、where常用运算符: 比较运算符 > , < ,= , != (< >),>= , <= in(v1,v2..vn) between v1 and v2 在v1至v2之间(包含v1,v2) 逻辑运算符 not ( ! ) 逻辑非 or ( || ) 逻辑或 and ( && ) 逻辑与 where price>=3000 and pric... 阅读全文

posted @ 2012-05-12 22:20 cnbeir 阅读(3163) 评论(0) 推荐(2) 编辑

导航