The following SQL statement selects the first 50% of the records from the "Customers" table:
SELECT TOP 50 PERCENT * FROM Customers;
The following SQL statement shows the equivalent example using ROWNUM:
SELECT * FROM Customers
WHERE ROWNUM <= 3;
The following SQL statement shows the equivalent example using the LIMIT clause:
SELECT * FROM Customers
LIMIT 3;