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

Popular posts from this blog

javascript - Can Piwik report referrer in real time? -

asp.net - Google Drive Access: At least one client secrets (Installed or Web) should be set -

excel vba add hyperlink to shape in group -