i am passing parameters in a query in the WHERE clause. I would like to create a case where any param in the where is fine (like obmitting the value).
for example:
SELECT * FROM USERS WHERE lang=%s
i can pass in the placeholder strings like 'en', 'it', 'es'. but what about if i want to take everything in the lang column? like if i didn't mention the lang in the where clause?
is there something like:
SELECT * FROM USERS WHERE lang=ANYTHING
??