Hi this is what I want to do:
to_id: 5 to_type: 1
from_id: 3 from_type: 2
I want to SELECT ALL WHERE to_id
= 5 only if to_type
= 1 AND I want to select * where from_id
= 3 only if from_type
= 2.
how can I do this in a single SELECT statement?