In MySQL, can I select columns only where something exists?
For example, I have the following query:
select phone, phone2 from jewishyellow.users wh
Use:
SELECT t.phone, t.phone2 FROM jewishyellow.users t WHERE t.phone LIKE '813%' AND t.phone2 IS NOT NULL