数据库笔记 NO.1 ------------2020.03.26
***排序与检索数据***
---检索多个列
select prod_id, prod_name, prod_price from Products;
---检索所有列
select * from Products;
---去重 DISTINCT只返回不同的值,因为他是关键字,所以必须直接放在列名的前面
select DISTINCT name from Products;
---限制行数查...
原创
2020-03-26 09:53:47 ·
224 阅读 ·
0 评论