oldoc63 / learningDS

Learning DS with Codecademy and Books
0 stars 0 forks source link

Simple cross join #297

Open oldoc63 opened 2 years ago

oldoc63 commented 2 years ago

Let's practice what we learned about joins by combining rows from different tables.

Suppose you are a Data Analyst at Lyft, a ride-sharing platform. For a project, you were given three tables:

oldoc63 commented 2 years ago
  1. Examine the three tables:
oldoc63 commented 2 years ago

What’s the primary key of trips?

What’s the primary key of riders?

What’s the primary key of cars?

oldoc63 commented 2 years ago
  1. Try out a simple cross join between riders and cars. Is the result useful?