SQL SELECT TOP N equivalent in ORACLE and MySQL

来源:互联网 发布:windows计算器bug 编辑:程序博客网 时间:2024/05/17 09:27

 

 

SQL SELECT TOP N equivalent in ORACLE and MySQL

 

Something I needed today... I wish this was standarized, but it is not, so here are some examples:

SQL Server:

 

ORACLE:

 

MySQL:

 

 

转自:dotnet.org.za/thea/archive/2005/02/22/14715.aspx