风飞飞飞
风飞飞飞
全部文章
分类
题解(57)
归档
标签
去牛客网
登录
/
注册
风飞飞飞的博客
全部文章
(共64篇)
题解 | SQL4#仅检索顾客的ID#
分析 关键词:order 排序(升序/降序):order by [列名] asc/desc 代码 select cust_name from Customers order by cust_name desc
Mysql
2022-03-04
0
812
题解 | SQL3#仅检索顾客的ID#
分析 关键词:select 搜索所有列:select * from [table] 注释方法:\ 单行---使用符号[--]或者[#] 多行---使用符号[/.../] 代码 select * from Customers -- 仅检索顾客ID # 另一种注释方法 /* 多行注释方法 sele...
Mysql
2022-03-04
5
1571
题解 | SQL2 检索并列出已订购产品的清单
思路 关键字:distinct 搜索去重:select distinct [列名1,列名2,...] from [表名] 代码\ select distinct prod_id from OrderItems
Mysql
2022-03-04
58
2496
题解 | SQL1 从 Customers 表中检索所有的 ID
思路 关键词:select 检索单个列:select [列名] from [表名] 代码\ select cust_id from Customers
Mysql
2022-03-04
11
1848
首页
上一页
1
2
3
4
5
6
7
下一页
末页