Can I use the Top clause in the MYSQL instead of the Limit clause?
SELECT TOP 3 * FROM Customers;
Can I use the Top clause in the MYSQL instead of the Limit clause?
SELECT TOP 3 * FROM Customers;
Whenever you're wondering if something is supported, the documentation can usually explain.
In this case TOP
is not supported by the MySQL dialect. The MySQL way of expressing that is:
SELECT * FROM Customers LIMIT 3;
There is no simple alternative to the LIMIT
clause.