I got an error code 1054, when I try to query multiple phone numbers in my statement. I am VERY new to MYSQL and can't figure out what I am doing wrong.
I can query one phone number with no problem, but if I add more than one I get the 1054 error. Can anyone give me some insight on what I am doing wrong? The code I am using is below:
SELECT
member_id, first_name, last_name
FROM
database_name.billing
WHERE
phone in (‘310-123-6528’,'213-123-4564',.......);
I tried to research it and couldn't find anything, any help would be greatly appreciated!