db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
voter_2
|
Find the major that is studied by the most female students.
|
student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)
|
student : major (number) , sex (text) , stuid (number)
| 0.823529 |
voter_2
|
What is the city_code of the city that the most students live in?
|
student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)
|
student : city_code (text) , stuid (number)
| 0.882353 |
voter_2
|
Return the code of the city that has the most students.
|
student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)
|
student : city_code (text) , stuid (number)
| 0.882353 |
voter_2
|
Report the distinct advisors who have more than 2 students.
|
student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)
|
student : advisor (number) , stuid (number)
| 0.882353 |
voter_2
|
Which advisors are advising more than 2 students?
|
student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)
|
student : advisor (number) , stuid (number)
| 0.882353 |
products_gen_characteristics
|
How many products are there?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number)
| 0.956522 |
products_gen_characteristics
|
Count the number of products.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number)
| 0.956522 |
products_gen_characteristics
|
How many colors are there?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_code (text)
| 0.956522 |
products_gen_characteristics
|
Count the number of colors.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_code (text)
| 0.956522 |
products_gen_characteristics
|
How many characteristics are there?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_id (number)
| 0.956522 |
products_gen_characteristics
|
Count the number of characteristics.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_id (number)
| 0.956522 |
products_gen_characteristics
|
What are the names and buying prices of all the products?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , typical_buying_price (text)
| 0.913043 |
products_gen_characteristics
|
Return the names and typical buying prices for all products.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , typical_buying_price (text)
| 0.913043 |
products_gen_characteristics
|
List the description of all the colors.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_description (text)
| 0.956522 |
products_gen_characteristics
|
What are the descriptions for each color?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_description (text)
| 0.956522 |
products_gen_characteristics
|
Find the names of all the product characteristics.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text)
| 0.956522 |
products_gen_characteristics
|
What are the different names of the product characteristics?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text)
| 0.956522 |
products_gen_characteristics
|
What are the names of products with category "Spices"?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , product_category_code (text)
| 0.913043 |
products_gen_characteristics
|
Return the names of products in the category 'Spices'.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , product_category_code (text)
| 0.913043 |
products_gen_characteristics
|
List the names, color descriptions and product descriptions of products with category "Herbs".
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , product_description (text) , color_code (text) , product_category_code (text) | ref_colors : color_description (text) , color_code (text)
| 0.73913 |
products_gen_characteristics
|
What are the names, color descriptions, and product descriptions for products in the 'Herbs' category?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , product_description (text) , color_code (text) , product_category_code (text) | ref_colors : color_description (text) , color_code (text)
| 0.73913 |
products_gen_characteristics
|
How many products are there under the category "Seeds"?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_category_code (text) , product_id (number)
| 0.913043 |
products_gen_characteristics
|
Count the number of products in the category 'Seeds'.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_category_code (text) , product_id (number)
| 0.913043 |
products_gen_characteristics
|
Find the number of products with category "Spices" and typically sold above 1000.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_category_code (text) , typical_buying_price (text) , product_id (number)
| 0.869565 |
products_gen_characteristics
|
How many products are in the 'Spices' category and have a typical price of over 1000?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_category_code (text) , typical_buying_price (text) , product_id (number)
| 0.869565 |
products_gen_characteristics
|
What is the category and typical buying price of the product with name "cumin"?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_category_code (text) , typical_buying_price (text) , product_name (text)
| 0.869565 |
products_gen_characteristics
|
Return the category code and typical price of 'cumin'.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_category_code (text) , typical_buying_price (text) , product_name (text)
| 0.869565 |
products_gen_characteristics
|
Which category does the product named "flax" belong to?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_category_code (text) , product_name (text)
| 0.913043 |
products_gen_characteristics
|
What is the code of the category that the product with the name 'flax' belongs to?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_category_code (text) , product_name (text)
| 0.913043 |
products_gen_characteristics
|
What is the name of the product with the color description 'yellow'?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , color_code (text) | ref_colors : color_code (text) , color_description (text)
| 0.826087 |
products_gen_characteristics
|
Give the name of the products that have a color description 'yellow'.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , color_code (text) | ref_colors : color_code (text) , color_description (text)
| 0.826087 |
products_gen_characteristics
|
Find the category descriptions of the products whose descriptions include letter 't'.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : product_category_description (text) , product_category_code (text) | products : product_category_code (text) , product_description (text)
| 0.826087 |
products_gen_characteristics
|
What are the descriptions of the categories that products with product descriptions that contain the letter t are in?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : product_category_description (text) , product_category_code (text) | products : product_category_code (text) , product_description (text)
| 0.826087 |
products_gen_characteristics
|
What is the color description of the product with name "catnip"?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_description (text) , color_code (text) | products : color_code (text) , product_name (text)
| 0.826087 |
products_gen_characteristics
|
Give the color description for the product 'catnip'.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_description (text) , color_code (text) | products : color_code (text) , product_name (text)
| 0.826087 |
products_gen_characteristics
|
What is the color code and description of the product named "chervil"?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_code (text) , color_description (text) | products : color_code (text) , product_name (text)
| 0.826087 |
products_gen_characteristics
|
Return the color code and description for the product with the name 'chervil'.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_code (text) , color_description (text) | products : color_code (text) , product_name (text)
| 0.826087 |
products_gen_characteristics
|
Find the id and color description of the products with at least 2 characteristics.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , color_code (text) | product_characteristics : product_id (number) | ref_colors : color_description (text) , color_code (text)
| 0.782609 |
products_gen_characteristics
|
What are the product ids and color descriptions for products with two or more characteristics?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , color_code (text) | product_characteristics : product_id (number) | ref_colors : color_description (text) , color_code (text)
| 0.782609 |
products_gen_characteristics
|
List all the product names with the color description "white".
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , color_code (text) | ref_colors : color_code (text) , color_description (text)
| 0.826087 |
products_gen_characteristics
|
What are the names of products with 'white' as their color description?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , color_code (text) | ref_colors : color_code (text) , color_description (text)
| 0.826087 |
products_gen_characteristics
|
What are the name and typical buying and selling prices of the products that have color described as "yellow"?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , typical_buying_price (text) , typical_selling_price (text) , color_code (text) | ref_colors : color_code (text) , color_description (text)
| 0.73913 |
products_gen_characteristics
|
Return the names and typical buying and selling prices for products that have 'yellow' as their color description.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , typical_buying_price (text) , typical_selling_price (text) , color_code (text) | ref_colors : color_code (text) , color_description (text)
| 0.73913 |
products_gen_characteristics
|
How many characteristics does the product named "sesame" have?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , product_name (text) | product_characteristics : product_id (number)
| 0.869565 |
products_gen_characteristics
|
Count the number of characteristics the product 'sesame' has.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , product_name (text) | product_characteristics : product_id (number)
| 0.869565 |
products_gen_characteristics
|
How many distinct characteristic names does the product "cumin" have?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_id (number) | products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.73913 |
products_gen_characteristics
|
Count the number of different characteristic names the product 'cumin' has.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_id (number) | products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.73913 |
products_gen_characteristics
|
What are all the characteristic names of product "sesame"?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_id (number) | products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.73913 |
products_gen_characteristics
|
Return the characteristic names of the 'sesame' product.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_id (number) | products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.73913 |
products_gen_characteristics
|
List all the characteristic names and data types of product "cumin".
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_data_type (text) , characteristic_id (number) | products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.695652 |
products_gen_characteristics
|
What are the names and data types of the characteristics of the 'cumin' product?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_data_type (text) , characteristic_id (number) | products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.695652 |
products_gen_characteristics
|
List all characteristics of product named "sesame" with type code "Grade".
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_id (number) , characteristic_type_code (text) | products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.695652 |
products_gen_characteristics
|
What are the names of the characteristics of the product 'sesame' that have the characteristic type code 'Grade'?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_id (number) , characteristic_type_code (text) | products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.695652 |
products_gen_characteristics
|
How many characteristics does the product named "laurel" have?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number)
| 0.782609 |
products_gen_characteristics
|
Count the number of characteristics of the product named 'laurel'.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number)
| 0.782609 |
products_gen_characteristics
|
Find the number of characteristics that the product "flax" has.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number)
| 0.782609 |
products_gen_characteristics
|
Count the number of characteristics of the 'flax' product.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , product_name (text) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number)
| 0.782609 |
products_gen_characteristics
|
Find the name of the products that have the color description "red" and have the characteristic name "fast".
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , product_id (number) , color_code (text) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number) , characteristic_name (text) | ref_colors : color_code (text) , color_description (text)
| 0.608696 |
products_gen_characteristics
|
What are the names of the products that have a color description of 'red' and the 'fast' characteristic?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , product_id (number) , color_code (text) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number) , characteristic_name (text) | ref_colors : color_code (text) , color_description (text)
| 0.608696 |
products_gen_characteristics
|
How many products have the characteristic named "hot"?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number) , characteristic_name (text)
| 0.782609 |
products_gen_characteristics
|
Count the number of products with the 'hot' charactersitic.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number) , characteristic_name (text)
| 0.782609 |
products_gen_characteristics
|
List the all the distinct names of the products with the characteristic name 'warm'.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , product_id (number) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number) , characteristic_name (text)
| 0.73913 |
products_gen_characteristics
|
What are the different product names for products that have the 'warm' characteristic:?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , product_id (number) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number) , characteristic_name (text)
| 0.73913 |
products_gen_characteristics
|
Find the number of the products that have their color described as "red" and have a characteristic named "slow".
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , color_code (text) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number) , characteristic_name (text) | ref_colors : color_code (text) , color_description (text)
| 0.652174 |
products_gen_characteristics
|
How many products have the color description 'red' and the characteristic name 'slow'?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , color_code (text) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number) , characteristic_name (text) | ref_colors : color_code (text) , color_description (text)
| 0.652174 |
products_gen_characteristics
|
Count the products that have the color description "white" or have the characteristic name "hot".
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , color_code (text) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number) , characteristic_name (text) | ref_colors : color_code (text) , color_description (text)
| 0.652174 |
products_gen_characteristics
|
How many products have their color described as 'white' or have a characteristic with the name 'hot'?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_id (number) , color_code (text) | product_characteristics : product_id (number) , characteristic_id (number) | characteristics : characteristic_id (number) , characteristic_name (text) | ref_colors : color_code (text) , color_description (text)
| 0.652174 |
products_gen_characteristics
|
What is the unit of measuerment of the product category code "Herbs"?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : unit_of_measure (text) , product_category_code (text)
| 0.913043 |
products_gen_characteristics
|
Return the unit of measure for 'Herb' products.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : unit_of_measure (text) , product_category_code (text)
| 0.913043 |
products_gen_characteristics
|
Find the product category description of the product category with code "Spices".
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : product_category_description (text) , product_category_code (text)
| 0.913043 |
products_gen_characteristics
|
What is the description of the product category with the code 'Spices'?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : product_category_description (text) , product_category_code (text)
| 0.913043 |
products_gen_characteristics
|
What is the product category description and unit of measurement of category "Herbs"?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : product_category_description (text) , unit_of_measure (text) , product_category_code (text)
| 0.869565 |
products_gen_characteristics
|
Return the description and unit of measurement for products in the 'Herbs' category.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : product_category_description (text) , unit_of_measure (text) , product_category_code (text)
| 0.869565 |
products_gen_characteristics
|
What is the unit of measurement of product named "cumin"?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : unit_of_measure (text) , product_category_code (text) | products : product_category_code (text) , product_name (text)
| 0.826087 |
products_gen_characteristics
|
Give the unit of measure for the product with the name 'cumin'.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : unit_of_measure (text) , product_category_code (text) | products : product_category_code (text) , product_name (text)
| 0.826087 |
products_gen_characteristics
|
Find the unit of measurement and product category code of product named "chervil".
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : unit_of_measure (text) , product_category_code (text) | products : product_category_code (text) , product_name (text)
| 0.826087 |
products_gen_characteristics
|
What are the unit of measure and category code for the 'chervil' product?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_product_categories : unit_of_measure (text) , product_category_code (text) | products : product_category_code (text) , product_name (text)
| 0.826087 |
products_gen_characteristics
|
Find the product names that are colored 'white' but do not have unit of measurement "Handful".
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , product_category_code (text) , color_code (text) | ref_product_categories : product_category_code (text) , unit_of_measure (text) | ref_colors : color_code (text) , color_description (text)
| 0.695652 |
products_gen_characteristics
|
What are the names of products that are not 'white' in color and are not measured by the unit 'Handful'?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
products : product_name (text) , product_category_code (text) , color_code (text) | ref_product_categories : product_category_code (text) , unit_of_measure (text) | ref_colors : color_code (text) , color_description (text)
| 0.695652 |
products_gen_characteristics
|
What is the description of the color for most products?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_description (text) , color_code (text) | products : color_code (text) , product_id (number)
| 0.826087 |
products_gen_characteristics
|
Return the color description that is most common across all products.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_description (text) , color_code (text) | products : color_code (text) , product_id (number)
| 0.826087 |
products_gen_characteristics
|
What is the description of the color used by least products?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_description (text) , color_code (text) | products : color_code (text) , product_id (number)
| 0.826087 |
products_gen_characteristics
|
Give the color description that is least common across products.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_description (text) , color_code (text) | products : color_code (text) , product_id (number)
| 0.826087 |
products_gen_characteristics
|
What is the characteristic name used by most number of the products?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_id (number) | products : product_id (number) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.782609 |
products_gen_characteristics
|
Return the name of the characteristic that is most common across all products.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_id (number) | products : product_id (number) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.782609 |
products_gen_characteristics
|
What are the names, details and data types of the characteristics which are never used by any product?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , other_characteristic_details (text) , characteristic_data_type (text) , characteristic_id (number) | product_characteristics : characteristic_id (number)
| 0.782609 |
products_gen_characteristics
|
Give the names, details, and data types of characteristics that are not found in any product.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , other_characteristic_details (text) , characteristic_data_type (text) , characteristic_id (number) | product_characteristics : characteristic_id (number)
| 0.782609 |
products_gen_characteristics
|
What are characteristic names used at least twice across all products?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_id (number) | products : product_id (number) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.782609 |
products_gen_characteristics
|
Give the names of characteristics that are in two or more products?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
characteristics : characteristic_name (text) , characteristic_id (number) | products : product_id (number) | product_characteristics : product_id (number) , characteristic_id (number)
| 0.782609 |
products_gen_characteristics
|
How many colors are never used by any product?
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_code (text) | products : color_code (text) , product_id (number)
| 0.869565 |
products_gen_characteristics
|
Count the number of colors that are not used in any products.
|
ref_characteristic_types : characteristic_type_code (text) , characteristic_type_description (text) | ref_colors : color_code (text) , color_description (text) | ref_product_categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | product_characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
|
ref_colors : color_code (text) | products : color_code (text) , product_id (number)
| 0.869565 |
swimming
|
How many events are there?
|
swimmer : id (number) , name (text) , nationality (text) , meter_100 (number) , meter_200 (text) , meter_300 (text) , meter_400 (text) , meter_500 (text) , meter_600 (text) , meter_700 (text) , time (text) | stadium : id (number) , name (text) , capacity (number) , city (text) , country (text) , opening_year (number) | event : id (number) , name (text) , stadium_id (number) , year (text) | record : id (number) , result (text) , swimmer_id (number) , event_id (number)
|
event : id (number)
| 0.96 |
swimming
|
List all the event names by year from the most recent to the oldest.
|
swimmer : id (number) , name (text) , nationality (text) , meter_100 (number) , meter_200 (text) , meter_300 (text) , meter_400 (text) , meter_500 (text) , meter_600 (text) , meter_700 (text) , time (text) | stadium : id (number) , name (text) , capacity (number) , city (text) , country (text) , opening_year (number) | event : id (number) , name (text) , stadium_id (number) , year (text) | record : id (number) , result (text) , swimmer_id (number) , event_id (number)
|
event : name (text) , year (text)
| 0.92 |
swimming
|
What is the name of the event that happened in the most recent year?
|
swimmer : id (number) , name (text) , nationality (text) , meter_100 (number) , meter_200 (text) , meter_300 (text) , meter_400 (text) , meter_500 (text) , meter_600 (text) , meter_700 (text) , time (text) | stadium : id (number) , name (text) , capacity (number) , city (text) , country (text) , opening_year (number) | event : id (number) , name (text) , stadium_id (number) , year (text) | record : id (number) , result (text) , swimmer_id (number) , event_id (number)
|
event : name (text) , year (text)
| 0.92 |
swimming
|
How many stadiums are there?
|
swimmer : id (number) , name (text) , nationality (text) , meter_100 (number) , meter_200 (text) , meter_300 (text) , meter_400 (text) , meter_500 (text) , meter_600 (text) , meter_700 (text) , time (text) | stadium : id (number) , name (text) , capacity (number) , city (text) , country (text) , opening_year (number) | event : id (number) , name (text) , stadium_id (number) , year (text) | record : id (number) , result (text) , swimmer_id (number) , event_id (number)
|
stadium : id (number)
| 0.96 |
swimming
|
Find the name of the stadium that has the maximum capacity.
|
swimmer : id (number) , name (text) , nationality (text) , meter_100 (number) , meter_200 (text) , meter_300 (text) , meter_400 (text) , meter_500 (text) , meter_600 (text) , meter_700 (text) , time (text) | stadium : id (number) , name (text) , capacity (number) , city (text) , country (text) , opening_year (number) | event : id (number) , name (text) , stadium_id (number) , year (text) | record : id (number) , result (text) , swimmer_id (number) , event_id (number)
|
stadium : name (text) , capacity (number)
| 0.92 |
swimming
|
Find the names of stadiums whose capacity is smaller than the average capacity.
|
swimmer : id (number) , name (text) , nationality (text) , meter_100 (number) , meter_200 (text) , meter_300 (text) , meter_400 (text) , meter_500 (text) , meter_600 (text) , meter_700 (text) , time (text) | stadium : id (number) , name (text) , capacity (number) , city (text) , country (text) , opening_year (number) | event : id (number) , name (text) , stadium_id (number) , year (text) | record : id (number) , result (text) , swimmer_id (number) , event_id (number)
|
stadium : name (text) , capacity (number)
| 0.92 |
swimming
|
Find the country that has the most stadiums.
|
swimmer : id (number) , name (text) , nationality (text) , meter_100 (number) , meter_200 (text) , meter_300 (text) , meter_400 (text) , meter_500 (text) , meter_600 (text) , meter_700 (text) , time (text) | stadium : id (number) , name (text) , capacity (number) , city (text) , country (text) , opening_year (number) | event : id (number) , name (text) , stadium_id (number) , year (text) | record : id (number) , result (text) , swimmer_id (number) , event_id (number)
|
stadium : country (text) , id (number)
| 0.92 |
swimming
|
Which country has at most 3 stadiums listed?
|
swimmer : id (number) , name (text) , nationality (text) , meter_100 (number) , meter_200 (text) , meter_300 (text) , meter_400 (text) , meter_500 (text) , meter_600 (text) , meter_700 (text) , time (text) | stadium : id (number) , name (text) , capacity (number) , city (text) , country (text) , opening_year (number) | event : id (number) , name (text) , stadium_id (number) , year (text) | record : id (number) , result (text) , swimmer_id (number) , event_id (number)
|
stadium : country (text) , id (number)
| 0.92 |
swimming
|
Which country has both stadiums with capacity greater than 60000 and stadiums with capacity less than 50000?
|
swimmer : id (number) , name (text) , nationality (text) , meter_100 (number) , meter_200 (text) , meter_300 (text) , meter_400 (text) , meter_500 (text) , meter_600 (text) , meter_700 (text) , time (text) | stadium : id (number) , name (text) , capacity (number) , city (text) , country (text) , opening_year (number) | event : id (number) , name (text) , stadium_id (number) , year (text) | record : id (number) , result (text) , swimmer_id (number) , event_id (number)
|
stadium : country (text) , capacity (number)
| 0.92 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.