SELECT *
FROM (
SELECT *
FROM mytable
ORDER BY
dbms_random.value
)
WHERE rownum <= 1000
More Related Contents:
- Receive an unexpected symbol error in my PLSQL query [closed]
- SQL Query to concatenate column values from multiple rows in Oracle
- How to request a random row in SQL?
- Select First Row of Every Group in sql [duplicate]
- Paging with Oracle
- Comparing Dates in Oracle SQL
- Oracle Differences between NVL and Coalesce
- Oracle SQL query: Retrieve latest values per group based on time [duplicate]
- SQL – How to store and navigate hierarchies?
- GROUP BY / aggregate function confusion in SQL
- Oracle “(+)” Operator
- Calculating difference between two timestamps in Oracle in milliseconds
- How can I find which tables reference a given table in Oracle SQL Developer?
- What’s the difference between RANK() and DENSE_RANK() functions in oracle?
- How to check the maximum number of allowed connections to an Oracle database?
- Oracle equivalent of Postgres’ DISTINCT ON?
- Determine Oracle null == null
- How to anticipate and escape single quote ‘ in oracle
- Oracle insert if row does not exist
- SELECT INTO using Oracle
- `show create table` equivalent in oracle sql
- Query json dictionary data in SQL
- ORA-00972 identifier is too long alias column name
- What does a (+) sign mean in an Oracle SQL WHERE clause? [duplicate]
- How to insert a string which contains an “&”
- Subtracting Dates in Oracle – Number or Interval Datatype?
- Connecting to Oracle Database using Sql Server Integration Services
- Retrieve Oracle last inserted IDENTITY
- Using bind variables with dynamic SELECT INTO clause in PL/SQL
- Why are aggregate functions not allowed in where clause