Skip to content
Advertisement

select limit in sql

I wrote this query but gives me an error at line 15 (limit clause). we have 3 tables, state, email, and receiver.

Advertisement

Answer

MySQL does not support user variables in the LIMIT clause. Instead, you can use a regular variable:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement