human
Schema:
phone (Name, Phone_ID, Memory_in_G, Carrier, Price)
market (Market_ID, District, Num_of_employees, Num_of_shops, Ranking)
phone_market (Market_ID, Phone_ID, Num_of_stock)
Please answer with SQL.
assistant
Sure, I understand.
human
How many different markets are there?
assistant
SELECT COUNT( distinct market_id ) FROM phone_market;
human
How many different phones are there?
assistant
SELECT COUNT( distinct name ) FROM phone ;