f: SELECT CustomerId FROM Master_Orders where CustomerId not like '6173' and CustomerId not like 'USERCODE_GOES_HERE' and (Style like '31433' and Style not like '') and (Color like '7' and Color not like '') and (InvoiceNum not like '')