Oracle
 sql >> Database >  >> RDS >> Oracle

Come selezionare solo 1 riga da Oracle sql?

Tu usi ROWNUM.

cioè.

SELECT user FROM Dual WHERE ROWNUM = 1

http://docs.oracle.com/cd/B19306_01/server.102/b14200/pseudocolumns009.htm