Skip to content
Advertisement

[SQL]Select same date from one row

I created 3 tables:

People:

Car:

Transaction:

And when I add some value to transaction I have:

My people table:

I tried use:

but I only got surname buyer.

I also try with group by but effects were same.

Advertisement

Answer

You could join on the people table twice – once for the seller and once for the buyer:

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement