题解 | #查询结果限制返回行数#

查询结果限制返回行数

https://www.nowcoder.com/practice/c7ad0e2df4f647dfa5278e99894a7561

有三种解题思路
select device_id from user_profile limit  2 offset 0;
select device_id from user_profile limit 2;
select device_id from user_profile limit 0,2;

全部评论

相关推荐

点赞 评论 收藏
分享
吴offer选手:学到了,下次面试也放张纸在电脑上,不然老是忘记要说哪几个点
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务