Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Do you need to know if there is such a record? What for then count?
The string returned - it means there is. Returned 0 lines - so no.
You can always return one row:
SELECT EXISTS(SELECT 1 FROM users where login="bek" limit 1)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question