要想分页(每页显示10条)显示test表中的数据,那么获取第2页数据的SQL语句是
A: select*fromtestlimit10,10;
B: select*fromtestlimit11,10;
C: select*fromtestlimit10,20;
D: select*fromtestlimit11,20;
A: select*fromtestlimit10,10;
B: select*fromtestlimit11,10;
C: select*fromtestlimit10,20;
D: select*fromtestlimit11,20;
举一反三
- 获取test表中的数据,进行分页(每页显示10条数据),根据上述条件,获取第2页数据的SQL语句是( )。 A: Select * from test limit 10,10 B: Select * from test limit 11,10 C: Select * from test limit 10,20 D: Select * from test limit 11,20
- 要想分页(每页显示10条)显示test表中的数据,那么获取第2页数据的SQL语句是
- 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
- 5-45、查询“商品”表中的前10%的记录,正确的语句是__________。 A: SELECT TOP 10% * FROM 商品 B: SELECT TOP 10 PERCENT FROM 商品 C: SELECT TOP 10 PERCENT * FROM 商品 D: SELECT TOP 10% FROM 商品
- 假设数据表 “test1”中有 10 条记录,可获得最前面两条记录的命令为( ) A: SELECT 2 * FROM test1 B: SELECT TOP 2 * FROM test1 C: SELECT PERCENT 2 * FROM test1 D: SELECT PERCENT 20 * FROM test1