Simplify SQL Query to look in a list -
i have query like
select * table filename = "abc.exe" or filename = "test.txt" or filename = "def.exe" .... or is there way simplify 'cleaner' can where filename = ("abc.exe", "test.txt", "def.exe", ...)
use in operator instead of multiple or conditions. = cannot compare more 1 value
where filename in ("abc.exe","test.txt","def.exe",..)
Comments
Post a Comment