Link to home
Start Free TrialLog in
Avatar of APD Toronto
APD TorontoFlag for Canada

asked on

Retrieving Data from Child Table

Hi Experts,

I have the following 2 table structures:

Deliveries
date
pickup_location
dropoff_location

Both locations are ints related to the following table

Location
id
name

Now, my question is how can I get the date, pickup location id, pickup location name, dropoff id and dropoff name within 1 query?

Thank you
ASKER CERTIFIED SOLUTION
Avatar of dsacker
dsacker
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of APD Toronto

ASKER

Thank you