摘要: 01 检索数据 SQL60 从 Customers 表中检索所有的 ID select cust_id from Customers SQL61 检索并列出已订购产品的清单 两种去重方法: -- 方法一 去重 select distinct prod_id from OrderItems -- 方法 阅读全文
posted @ 2023-04-02 19:34 王陸 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 01 基础查询 SQL1 查询所有列 select * from user_profile SQL2 查询多列 select device_id,gender,age,university from user_profile SQL3 查询结果去重 select distinct(universit 阅读全文
posted @ 2023-04-02 13:17 王陸 阅读(130) 评论(0) 推荐(0) 编辑