+ 1

Types of Join(1/4)

Task: "Fill in the blanks to select item names and names of customers who bought the items. Use custom names to shorten the statement." code: SELECT ct.name, it.name ... ... WHERE it.seller_id= .id; My question: Where does seller_id come from? Shouldn't there be it.customer_id instead? update: the same goes for: Types of Join 3/4 looks like some kind of common practice to give a column of customers ids in the items table the name of seller_id or is this the same mistake again?

2nd Mar 2017, 2:04 PM
Gribanov Andrey
Gribanov Andrey - avatar
3 Respostas
+ 7
Sololearn has a habit of misleading learners with how they present material. Seller_id comes from the items table, where customer_id is the identity of the person who bought it.
3rd Mar 2017, 11:37 PM
Mark Foxx
Mark Foxx - avatar
0
full (union) left right inner
13th May 2017, 2:47 AM
AlkhidierAbdalla Bakhiet idriss
AlkhidierAbdalla Bakhiet idriss - avatar
0
21st Nov 2020, 4:27 AM
HAMRITHNAHIL V
HAMRITHNAHIL V - avatar