摘要: 升序 按照cust_id升序(默认升序),找出cust_id和cust_name。 SELECT cust_id, cust_name FROM boot_crm.customer order by cust_id; 指定升序或者降序: 默认是升序。asc表示升序,desc表示降序。 例: SELE 阅读全文
posted @ 2020-07-06 12:54 YU_UY 阅读(2792) 评论(0) 推荐(0)
摘要: 相关运算符 条件查询需要用到where语句,where必须放到from语句表的后面。 | 运算符 | 说明 | |--|--| | = | 等于 | | <> 或 != | 不等于 | | < | 小于 | | ⇐ | 小于等于 | | > | 大于 | | >= | 大于等于 | | betwee 阅读全文
posted @ 2020-07-06 09:56 YU_UY 阅读(1844) 评论(0) 推荐(0)