I have 2 tables A, B like this:
A.id
A.created
----
B.id
B.data
B.aId
I want to select all B.data that meet the following criteria:
A.creatednot nullB.aId=A.id
My understanding is that I could solve this by using subqueries, but I suspect it ‘s a case for a JOIN statement. If so, I ‘d really like to see how it ‘s done 🙂
Thanks!
1 Answer