SQL
Aole
主张输出学习,主要发布一些学习笔记or专题等
展开
-
SQL
Select:Select column(s) from table or Select * from table Distinct:Select distinct column1,column2 from table Where:Select column(s) from table Where con Or Select * from table Where con ...原创 2018-10-02 22:54:58 · 204 阅读 · 0 评论 -
mysql中的limit用法
在我们使用查询语句的时候,经常要返回前几条或者中间某几行数据,这个时候怎么办呢?不用担心,mysql已经为我们提供了这样一个功能。 Sql代码 SELECT * FROM table LIMIT [offset,] rows | rows OFFSET offset SELECT * FROM table LIMIT [offset,] rows | rows OFFSET o...转载 2018-10-03 23:38:52 · 193 阅读 · 0 评论