Complete the code to select the first 5 rows using SQL Server syntax.
SELECT [1] 5 * FROM Employees;
In SQL Server, TOP is used to limit the number of rows returned.
Complete the code to select the first 10 rows using MySQL syntax.
SELECT * FROM Customers [1] 10;
In MySQL, LIMIT is used at the end of the query to restrict rows.
Fix the error in this PostgreSQL query to limit results to 3 rows.
SELECT * FROM Orders [1] 3;
PostgreSQL uses LIMIT at the end to restrict rows returned.
Fill both blanks to select the first 7 rows in Oracle 12c or later.
SELECT * FROM Products [1] [2] 7 ROWS ONLY;
Oracle 12c+ uses FETCH FIRST n ROWS ONLY to limit rows.
Fill all three blanks to select the first 4 rows in Oracle 12c+ with full syntax.
SELECT * FROM Sales ORDER BY SaleDate [1] [2] 4 [3];
Oracle 12c+ uses FETCH FIRST n ROWS ONLY after ORDER BY to limit rows.
