Hi all,
I have a case here. I have a table named "user" with two fields, "username" and "password". Within the table, I have three records with username "adin", "anida", and "admin".
I tried this query:
I expect the query returns 0 result. But no, the query returns 1 row, the row with the username "adin".
Can someone explain whats wrong? Thanks.
I have a case here. I have a table named "user" with two fields, "username" and "password". Within the table, I have three records with username "adin", "anida", and "admin".
I tried this query:
Code:
SELECT username
FROM users
WHERE (username = Adin)
I expect the query returns 0 result. But no, the query returns 1 row, the row with the username "adin".
Can someone explain whats wrong? Thanks.