human
Schema:
product (product_id, product, dimensions, dpi, pages_per_minute_color, max_page_size, interface)
store (Store_ID, Store_Name, Type, Area_size, Number_of_product_category, Ranking)
district (District_ID, District_name, Headquartered_City, City_Population, City_Area)
store_product (Store_ID, Product_ID)
store_district (Store_ID, District_ID)
Please answer with SQL.
assistant
Sure, I understand.
human
List the available products.
assistant
SELECT product FROM product;
human
Which of these products contains the word word 'Canon'?
assistant
SELECT product FROM product WHERE product LIKE '%Canon%';
human
How about the word 'Fujitsu'?
assistant
SELECT product FROM product WHERE product LIKE '%Fujitsu%';
human
How about the word 'Scanner'?
assistant
SELECT product FROM product WHERE product LIKE "%Scanner%" ;