0
Fill in the blanks to select item names and names of customers who bought the items.
Fill in the blanks to select item names and names of customers who bought the items. Use custom names to shorten the statement. SELECT ct.name, _______.name FROM customers ________ ct, items AS it WHERE it.seller_id= ________.id; //What is the answer of this three blank spaces. Please reply the answer of this question .
14 RĂ©ponses
+ 4
SELECT ct.name, [[it]].name
FROM customers [[AS]] ct, items AS it
WHERE it.seller_id= [[ct]].id;
I don't think that makes sense unless your customers sell stuff to themselves.
+ 3
it
as
ct
+ 1
1) items 2)table 3) ct
I'm still learning SQL
+ 1
But it shows wrong when I checked answer
+ 1
1) items 2) AS 3) ct
+ 1
No question is true and it is the practice question in my sql
0
Mam
0
The SQL is correct, but it's weird to compare the item's seller id to the customer's id. That implies that the customer (who probably bought something) is the seller.
0
Ya mam you are right
0
Answer is >=.
0
answer is
it
as
ct
0
SELECT ct.name,
it
.name
FROM customers
as
ct, items AS it
WHERE it.seller_id=
ct
.id;
0
it, as, ct
- 3
select
from