Ok, I think I might be overlooking something obvious/simple here... but I need to write a query that returns only records that match multiple criteria on the same column...<
AND will return you an answer only when both volunteer and uploaded are present in your column. Otherwise it will return null value...
AND
volunteer
uploaded
null
try using OR in your statement ...
OR
SELECT contactid WHERE flag = 'Volunteer' OR flag = 'Uploaded'