J
jswqg
Unregistered / Unconfirmed
GUEST, unregistred user!
取前10条记录:
DB2:
select * from tname fetch first 10 rows only
SQLSERVER:
select top 10 * from tname
ORACLE:
SELECT * FROM TNAME WHERE ROWNUM<11
MYSQL:
SELECT * FROM TNAME LIMIT 0,10
DB2:
select * from tname fetch first 10 rows only
SQLSERVER:
select top 10 * from tname
ORACLE:
SELECT * FROM TNAME WHERE ROWNUM<11
MYSQL:
SELECT * FROM TNAME LIMIT 0,10