Hi - I run a dating site and have a feature called Yes-No-Maybe.
Basiclly members can click Yes/Maybe to each other. Whern they do this an entry is made in TBL_YesNoMaybe.
ChooserID is column name of the chooser
ChosenID is column name of the person they have chosen
My question is I want a SQL query to give me a recordset of the MUTUAL Yes/Maybes i.e. where
Person A has said YES to person B
Person B has said YES to person A
I will probably put this SQL into an SP. I know how to do do this for an individual person named by ID BUT I am wondering if there is a way of making a Query to return a recordset of ALL mutual yes/maybepeople
Start Free Trial