SyntaxFix
Write A Post
Hire A Developer
Questions
You can use:
SELECT 1 FROM MyTable WHERE... LIMIT 1
Use select 1 to prevent the checking of unnecessary fields.
select 1
Use LIMIT 1 to prevent the checking of unnecessary rows.
LIMIT 1