【单选题】以下语句能返回记录数大于5行的是()
A. select * from table limit 5 B. select * from table limit 0,5 C. select * from table limit 5,10 D. select * from table limit 10,5
A. select * from table limit 5 B. select * from table limit 0,5 C. select * from table limit 5,10 D. select * from table limit 10,5
举一反三
- MySQL数据库中查询前10条记录的SQL语句是()。 A: select top 10 from table B: select * from table limit 10 C: select * from table limit 1, 10 D: select * from table limit 0, 10
- 下面查询语法错误的是( ) A: select * from table limit 10; B: select * form table limits 10,5; C: select * form table limit 10 offset 4; D: select * from table limit 10,5;
- 查询主键id从高到低排序的前10条记录的语句是() A: SELECT * FROM table ORDER BY id ASC limit 1,10 B: SELECT * FROM table ORDER id DESC limit 10 C: SELECT * FROM table ORDER BY id DESC limit 10 D: SELECT * FROM table ORDER id ASC limit 1,10
- SQL数据库中查询前3条记录的SQL语句是()。 A: select top 3 from table B: select * from table limit 3 C: select * from table limit 1,3 D: select * from table order 3
- 以下______语句查询表student中第3条到第10条记录 。 A: SELECT * FROM student LIMIT 2,8; B: SELECT * FROM student LIMIT 2,9; C: SELECT * FROM student LIMIT 3,10; D: SELECT * FROM student LIMIT 3,9;