题解 | #查询结果限制返回行数#
查询结果限制返回行数
http://www.nowcoder.com/practice/c7ad0e2df4f647dfa5278e99894a7561
1.select device_id from user_profile limit 0,2 2.select device_id from user_profile limit 2 offset 2 上面两种都可以,limit a,b效果就是limit b offset a
查询结果限制返回行数
http://www.nowcoder.com/practice/c7ad0e2df4f647dfa5278e99894a7561
1.select device_id from user_profile limit 0,2 2.select device_id from user_profile limit 2 offset 2 上面两种都可以,limit a,b效果就是limit b offset a
相关推荐