SELECT *
FROM (
SELECT *
FROM table
ORDER BY DBMS_RANDOM.RANDOM)
WHERE rownum < 21;
More Related Contents:
- How to use a table type in a SELECT FROM statement?
- Oracle date difference to get number of years
- ORA-01830: date format picture ends before converting entire input string / Select sum where date query
- List of foreign keys and the tables they reference in Oracle DB
- What is the dual table in Oracle?
- ORA-28040: No matching authentication protocol exception
- hibernate oracle sequence produces large gap
- How to handle Day Light Saving in Oracle database
- How to avoid variable substitution in Oracle SQL Developer
- How to choose a weighted random array element in Javascript?
- Recursion In Oracle
- How to kill a running SELECT statement
- creating parameterized views in oracle11g
- Oracle’s default date format is YYYY-MM-DD, WHY?
- PL/SQL print out ref cursor returned by a stored procedure
- quick selection of a random row from a large table in mysql
- Default Schema in Oracle Connection URL
- how to replace multiple strings together in Oracle
- Dynamically pivoting a table Oracle
- URL string format for connecting to Oracle database with JDBC
- Convert epoch to date in sqlplus / Oracle
- Why are Oracle table/column/index names limited to 30 characters?
- What is the difference between precision and scale?
- Get the number of days between two dates in Oracle, inclusive of the dates
- How to output result of SELECT statement which is executed using native dynamic SQL?
- Cursor For Loop with dynamic SQL-Statement
- How to convert “1985-02-07T00:00:00.000Z” (ISO8601) to a date value in Oracle?
- Oracle SQL Developer: Show REFCURSOR Results in Grid?
- How to test an Oracle Stored Procedure with RefCursor return type?
- Getting Error – ORA-01858: a non-numeric character was found where a numeric was expected