Question About Multiple Conditions

mr.donaldson

Registered User.
Local time
Today, 06:44
Joined
Apr 6, 2013
Messages
10
Is it possible to set multiple conditions across multiple tables using OR in a where clause? For instance, can you run where......(table1 = 'test') or (table2 = pass) or (table2 = "fail) AND (class = 'SQL');
 
If you mean field names rather than table names (i.e. table1.field1='test'), the short answer is yes
 

Users who are viewing this thread

Back
Top Bottom