题解 | #查询结果限制返回行数#
查询结果限制返回行数
https://www.nowcoder.com/practice/c7ad0e2df4f647dfa5278e99894a7561
select `device_id` from `user_profile` limit 0,2;
分页查询的LIMIT子句,LIMIT start, row,其中start为开始的位置(第一行为0),row为想要查询几行记录。
查询结果限制返回行数
https://www.nowcoder.com/practice/c7ad0e2df4f647dfa5278e99894a7561
select `device_id` from `user_profile` limit 0,2;
分页查询的LIMIT子句,LIMIT start, row,其中start为开始的位置(第一行为0),row为想要查询几行记录。
相关推荐