QIAN-ME/bird_schema_data huggingface dataset:
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cookbook
【Schema】
# Table: Quantity
[
(quantity_id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(recipe_id:INTEGER, Examples: [214, 215, 216]),
(ingredient_id:INTEGER, Examples: [1613, 3334, 2222]),
(max_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(min_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(unit:TEXT, Examples: [cup(s), teaspoon(s), 14 oz. can(s)]),
(preparation:TEXT, Examples: [melted, or water, divided]),
(optional:TEXT, Examples: [FALSE, TRUE])
]
# Table: Nutrition
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(protein:REAL, Examples: [5.47, 5.7, 4.9]),
(carbo:REAL, Examples: [41.29, 23.75, 26.88]),
(alcohol:REAL, Examples: [0.0, 1.93, 2.7]),
(total_fat:REAL, Examples: [11.53, 1.08, 1.1]),
(sat_fat:REAL, Examples: [2.21, 0.58, 0.06]),
(cholestrl:REAL, Examples: [1.39, 3.48, 3.46]),
(sodium:REAL, Examples: [260.78, 46.17, 41.79]),
(iron:REAL, Examples: [0.81, 0.57, 0.37]),
(vitamin_c:REAL, Examples: [8.89, 13.02, 6.13]),
(vitamin_a:REAL, Examples: [586.2, 2738.24, 1521.1]),
(fiber:REAL, Examples: [0.87, 0.62, 0.34]),
(pcnt_cal_carb:REAL, Examples: [56.8, 67.38, 78.45]),
(pcnt_cal_fat:REAL, Examples: [35.68, 6.89, 7.24]),
(pcnt_cal_prot:REAL, Examples: [7.53, 16.17, 14.3]),
(calories:REAL, Examples: [290.79, 141.01, 137.06])
]
# Table: Recipe
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(title:TEXT, Examples: [Raspberry Chiffon Pie]),
(subtitle:TEXT, Examples: [with Banana Cream Whip]),
(servings:INTEGER, Examples: [10, 4, 8]),
(yield_unit:TEXT, Examples: [1 pie, 8 tarts, 2 quarts]),
(prep_min:INTEGER, Examples: [20, 5, 10]),
(cook_min:INTEGER, Examples: [8, 2, 13]),
(stnd_min:INTEGER, Examples: [305, 65, 0]),
(source:TEXT, Examples: [The California Tree Fruit Agreement]),
(intro:TEXT),
(directions:TEXT)
]
# Table: Ingredient
[
(ingredient_id:INTEGER, Primary Key, Examples: [1, 6, 10]),
(category:TEXT, Examples: [dairy, Mexican products, cereals]),
(name:TEXT, Examples: [1% lowfat cottage cheese]),
(plural:TEXT, Examples: [s, #NAME?, es])
]
【Foreign keys】
Quantity.recipe_id=Recipe.recipe_id
Quantity.ingredient_id=Ingredient.ingredient_id
Quantity.recipe_id=Nutrition.recipe_id
Nutrition.recipe_id=Recipe.recipe_id

    【Question】
    How many cups of almonds do you need for a chicken pocket sandwich? cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title

    【Evidence】
    cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(*) FROM Recipe AS T1 INNER JOIN Quantity AS T2 ON T1.recipe_id = T2.recipe_id INNER JOIN Ingredient AS T3 ON T3.ingredient_id = T2.ingredient_id WHERE T1.title = 'Chicken Pocket Sandwich' AND T3.name = 'almonds' AND T2.unit = 'cup(s)'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cookbook
【Schema】
# Table: Quantity
[
(quantity_id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(recipe_id:INTEGER, Examples: [214, 215, 216]),
(ingredient_id:INTEGER, Examples: [1613, 3334, 2222]),
(max_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(min_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(unit:TEXT, Examples: [cup(s), teaspoon(s), 14 oz. can(s)]),
(preparation:TEXT, Examples: [melted, or water, divided]),
(optional:TEXT, Examples: [FALSE, TRUE])
]
# Table: Nutrition
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(protein:REAL, Examples: [5.47, 5.7, 4.9]),
(carbo:REAL, Examples: [41.29, 23.75, 26.88]),
(alcohol:REAL, Examples: [0.0, 1.93, 2.7]),
(total_fat:REAL, Examples: [11.53, 1.08, 1.1]),
(sat_fat:REAL, Examples: [2.21, 0.58, 0.06]),
(cholestrl:REAL, Examples: [1.39, 3.48, 3.46]),
(sodium:REAL, Examples: [260.78, 46.17, 41.79]),
(iron:REAL, Examples: [0.81, 0.57, 0.37]),
(vitamin_c:REAL, Examples: [8.89, 13.02, 6.13]),
(vitamin_a:REAL, Examples: [586.2, 2738.24, 1521.1]),
(fiber:REAL, Examples: [0.87, 0.62, 0.34]),
(pcnt_cal_carb:REAL, Examples: [56.8, 67.38, 78.45]),
(pcnt_cal_fat:REAL, Examples: [35.68, 6.89, 7.24]),
(pcnt_cal_prot:REAL, Examples: [7.53, 16.17, 14.3]),
(calories:REAL, Examples: [290.79, 141.01, 137.06])
]
# Table: Recipe
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(title:TEXT, Examples: [Raspberry Chiffon Pie]),
(subtitle:TEXT, Examples: [with Banana Cream Whip]),
(servings:INTEGER, Examples: [10, 4, 8]),
(yield_unit:TEXT, Examples: [1 pie, 8 tarts, 2 quarts]),
(prep_min:INTEGER, Examples: [20, 5, 10]),
(cook_min:INTEGER, Examples: [8, 2, 13]),
(stnd_min:INTEGER, Examples: [305, 65, 0]),
(source:TEXT, Examples: [The California Tree Fruit Agreement]),
(intro:TEXT),
(directions:TEXT)
]
# Table: Ingredient
[
(ingredient_id:INTEGER, Primary Key, Examples: [1, 6, 10]),
(category:TEXT, Examples: [dairy, Mexican products, cereals]),
(name:TEXT, Examples: [1% lowfat cottage cheese]),
(plural:TEXT, Examples: [s, #NAME?, es])
]
【Foreign keys】
Quantity.recipe_id=Recipe.recipe_id
Quantity.ingredient_id=Ingredient.ingredient_id
Quantity.recipe_id=Nutrition.recipe_id
Nutrition.recipe_id=Recipe.recipe_id

    【Question】
    Name the recipe with the most Vitamin C. the most Vitamin C refers to MAX(vitamin_c)

    【Evidence】
    the most Vitamin C refers to MAX(vitamin_c)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.title FROM Recipe AS T1 INNER JOIN Nutrition AS T2 ON T1.recipe_id = T2.recipe_id ORDER BY T2.vitamin_c DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cookbook
【Schema】
# Table: Quantity
[
(quantity_id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(recipe_id:INTEGER, Examples: [214, 215, 216]),
(ingredient_id:INTEGER, Examples: [1613, 3334, 2222]),
(max_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(min_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(unit:TEXT, Examples: [cup(s), teaspoon(s), 14 oz. can(s)]),
(preparation:TEXT, Examples: [melted, or water, divided]),
(optional:TEXT, Examples: [FALSE, TRUE])
]
# Table: Nutrition
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(protein:REAL, Examples: [5.47, 5.7, 4.9]),
(carbo:REAL, Examples: [41.29, 23.75, 26.88]),
(alcohol:REAL, Examples: [0.0, 1.93, 2.7]),
(total_fat:REAL, Examples: [11.53, 1.08, 1.1]),
(sat_fat:REAL, Examples: [2.21, 0.58, 0.06]),
(cholestrl:REAL, Examples: [1.39, 3.48, 3.46]),
(sodium:REAL, Examples: [260.78, 46.17, 41.79]),
(iron:REAL, Examples: [0.81, 0.57, 0.37]),
(vitamin_c:REAL, Examples: [8.89, 13.02, 6.13]),
(vitamin_a:REAL, Examples: [586.2, 2738.24, 1521.1]),
(fiber:REAL, Examples: [0.87, 0.62, 0.34]),
(pcnt_cal_carb:REAL, Examples: [56.8, 67.38, 78.45]),
(pcnt_cal_fat:REAL, Examples: [35.68, 6.89, 7.24]),
(pcnt_cal_prot:REAL, Examples: [7.53, 16.17, 14.3]),
(calories:REAL, Examples: [290.79, 141.01, 137.06])
]
# Table: Recipe
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(title:TEXT, Examples: [Raspberry Chiffon Pie]),
(subtitle:TEXT, Examples: [with Banana Cream Whip]),
(servings:INTEGER, Examples: [10, 4, 8]),
(yield_unit:TEXT, Examples: [1 pie, 8 tarts, 2 quarts]),
(prep_min:INTEGER, Examples: [20, 5, 10]),
(cook_min:INTEGER, Examples: [8, 2, 13]),
(stnd_min:INTEGER, Examples: [305, 65, 0]),
(source:TEXT, Examples: [The California Tree Fruit Agreement]),
(intro:TEXT),
(directions:TEXT)
]
# Table: Ingredient
[
(ingredient_id:INTEGER, Primary Key, Examples: [1, 6, 10]),
(category:TEXT, Examples: [dairy, Mexican products, cereals]),
(name:TEXT, Examples: [1% lowfat cottage cheese]),
(plural:TEXT, Examples: [s, #NAME?, es])
]
【Foreign keys】
Quantity.recipe_id=Recipe.recipe_id
Quantity.ingredient_id=Ingredient.ingredient_id
Quantity.recipe_id=Nutrition.recipe_id
Nutrition.recipe_id=Recipe.recipe_id

    【Question】
    How much Vitamin A is in Sherry beef? Sherry beef refers to title = 'Sherried Beef'

    【Evidence】
    Sherry beef refers to title = 'Sherried Beef'

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.vitamin_a FROM Recipe AS T1 INNER JOIN Nutrition AS T2 ON T1.recipe_id = T2.recipe_id WHERE T1.title = 'Sherried Beef'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cookbook
【Schema】
# Table: Quantity
[
(quantity_id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(recipe_id:INTEGER, Examples: [214, 215, 216]),
(ingredient_id:INTEGER, Examples: [1613, 3334, 2222]),
(max_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(min_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(unit:TEXT, Examples: [cup(s), teaspoon(s), 14 oz. can(s)]),
(preparation:TEXT, Examples: [melted, or water, divided]),
(optional:TEXT, Examples: [FALSE, TRUE])
]
# Table: Nutrition
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(protein:REAL, Examples: [5.47, 5.7, 4.9]),
(carbo:REAL, Examples: [41.29, 23.75, 26.88]),
(alcohol:REAL, Examples: [0.0, 1.93, 2.7]),
(total_fat:REAL, Examples: [11.53, 1.08, 1.1]),
(sat_fat:REAL, Examples: [2.21, 0.58, 0.06]),
(cholestrl:REAL, Examples: [1.39, 3.48, 3.46]),
(sodium:REAL, Examples: [260.78, 46.17, 41.79]),
(iron:REAL, Examples: [0.81, 0.57, 0.37]),
(vitamin_c:REAL, Examples: [8.89, 13.02, 6.13]),
(vitamin_a:REAL, Examples: [586.2, 2738.24, 1521.1]),
(fiber:REAL, Examples: [0.87, 0.62, 0.34]),
(pcnt_cal_carb:REAL, Examples: [56.8, 67.38, 78.45]),
(pcnt_cal_fat:REAL, Examples: [35.68, 6.89, 7.24]),
(pcnt_cal_prot:REAL, Examples: [7.53, 16.17, 14.3]),
(calories:REAL, Examples: [290.79, 141.01, 137.06])
]
# Table: Recipe
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(title:TEXT, Examples: [Raspberry Chiffon Pie]),
(subtitle:TEXT, Examples: [with Banana Cream Whip]),
(servings:INTEGER, Examples: [10, 4, 8]),
(yield_unit:TEXT, Examples: [1 pie, 8 tarts, 2 quarts]),
(prep_min:INTEGER, Examples: [20, 5, 10]),
(cook_min:INTEGER, Examples: [8, 2, 13]),
(stnd_min:INTEGER, Examples: [305, 65, 0]),
(source:TEXT, Examples: [The California Tree Fruit Agreement]),
(intro:TEXT),
(directions:TEXT)
]
# Table: Ingredient
[
(ingredient_id:INTEGER, Primary Key, Examples: [1, 6, 10]),
(category:TEXT, Examples: [dairy, Mexican products, cereals]),
(name:TEXT, Examples: [1% lowfat cottage cheese]),
(plural:TEXT, Examples: [s, #NAME?, es])
]
【Foreign keys】
Quantity.recipe_id=Recipe.recipe_id
Quantity.ingredient_id=Ingredient.ingredient_id
Quantity.recipe_id=Nutrition.recipe_id
Nutrition.recipe_id=Recipe.recipe_id

    【Question】
    State the title of the recipe with most kinds of ingredients. the most kinds of ingredients refers to MAX(COUNT(recipe_id))

    【Evidence】
    the most kinds of ingredients refers to MAX(COUNT(recipe_id))

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.title FROM Recipe AS T1 INNER JOIN Quantity AS T2 ON T1.recipe_id = T2.recipe_id GROUP BY T1.title ORDER BY COUNT(title) DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cookbook
【Schema】
# Table: Quantity
[
(quantity_id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(recipe_id:INTEGER, Examples: [214, 215, 216]),
(ingredient_id:INTEGER, Examples: [1613, 3334, 2222]),
(max_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(min_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(unit:TEXT, Examples: [cup(s), teaspoon(s), 14 oz. can(s)]),
(preparation:TEXT, Examples: [melted, or water, divided]),
(optional:TEXT, Examples: [FALSE, TRUE])
]
# Table: Nutrition
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(protein:REAL, Examples: [5.47, 5.7, 4.9]),
(carbo:REAL, Examples: [41.29, 23.75, 26.88]),
(alcohol:REAL, Examples: [0.0, 1.93, 2.7]),
(total_fat:REAL, Examples: [11.53, 1.08, 1.1]),
(sat_fat:REAL, Examples: [2.21, 0.58, 0.06]),
(cholestrl:REAL, Examples: [1.39, 3.48, 3.46]),
(sodium:REAL, Examples: [260.78, 46.17, 41.79]),
(iron:REAL, Examples: [0.81, 0.57, 0.37]),
(vitamin_c:REAL, Examples: [8.89, 13.02, 6.13]),
(vitamin_a:REAL, Examples: [586.2, 2738.24, 1521.1]),
(fiber:REAL, Examples: [0.87, 0.62, 0.34]),
(pcnt_cal_carb:REAL, Examples: [56.8, 67.38, 78.45]),
(pcnt_cal_fat:REAL, Examples: [35.68, 6.89, 7.24]),
(pcnt_cal_prot:REAL, Examples: [7.53, 16.17, 14.3]),
(calories:REAL, Examples: [290.79, 141.01, 137.06])
]
# Table: Recipe
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(title:TEXT, Examples: [Raspberry Chiffon Pie]),
(subtitle:TEXT, Examples: [with Banana Cream Whip]),
(servings:INTEGER, Examples: [10, 4, 8]),
(yield_unit:TEXT, Examples: [1 pie, 8 tarts, 2 quarts]),
(prep_min:INTEGER, Examples: [20, 5, 10]),
(cook_min:INTEGER, Examples: [8, 2, 13]),
(stnd_min:INTEGER, Examples: [305, 65, 0]),
(source:TEXT, Examples: [The California Tree Fruit Agreement]),
(intro:TEXT),
(directions:TEXT)
]
# Table: Ingredient
[
(ingredient_id:INTEGER, Primary Key, Examples: [1, 6, 10]),
(category:TEXT, Examples: [dairy, Mexican products, cereals]),
(name:TEXT, Examples: [1% lowfat cottage cheese]),
(plural:TEXT, Examples: [s, #NAME?, es])
]
【Foreign keys】
Quantity.recipe_id=Recipe.recipe_id
Quantity.ingredient_id=Ingredient.ingredient_id
Quantity.recipe_id=Nutrition.recipe_id
Nutrition.recipe_id=Recipe.recipe_id

    【Question】
    How many times is the sodium content in Lasagne-Spinach Spirals to Beef and Spinach Pita Pockets? sodium is a name of an ingredient; calculation = DIVIDE(SUM(title = 'Lasagne-Spinach Spirals' THEN sodium), SUM(title = 'Beef and Spinach Pita Pockets' THEN sodium))

    【Evidence】
    sodium is a name of an ingredient; calculation = DIVIDE(SUM(title = 'Lasagne-Spinach Spirals' THEN sodium), SUM(title = 'Beef and Spinach Pita Pockets' THEN sodium))

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT CAST(SUM(CASE WHEN T1.title = 'Lasagne-Spinach Spirals' THEN T2.sodium ELSE 0 END) AS REAL) * 100 / SUM(CASE WHEN T1.title = 'Beef and Spinach Pita Pockets' THEN T2.sodium ELSE 0 END) FROM Recipe AS T1 INNER JOIN Nutrition AS T2 ON T1.recipe_id = T2.recipe_id
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cookbook
【Schema】
# Table: Quantity
[
(quantity_id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(recipe_id:INTEGER, Examples: [214, 215, 216]),
(ingredient_id:INTEGER, Examples: [1613, 3334, 2222]),
(max_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(min_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(unit:TEXT, Examples: [cup(s), teaspoon(s), 14 oz. can(s)]),
(preparation:TEXT, Examples: [melted, or water, divided]),
(optional:TEXT, Examples: [FALSE, TRUE])
]
# Table: Nutrition
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(protein:REAL, Examples: [5.47, 5.7, 4.9]),
(carbo:REAL, Examples: [41.29, 23.75, 26.88]),
(alcohol:REAL, Examples: [0.0, 1.93, 2.7]),
(total_fat:REAL, Examples: [11.53, 1.08, 1.1]),
(sat_fat:REAL, Examples: [2.21, 0.58, 0.06]),
(cholestrl:REAL, Examples: [1.39, 3.48, 3.46]),
(sodium:REAL, Examples: [260.78, 46.17, 41.79]),
(iron:REAL, Examples: [0.81, 0.57, 0.37]),
(vitamin_c:REAL, Examples: [8.89, 13.02, 6.13]),
(vitamin_a:REAL, Examples: [586.2, 2738.24, 1521.1]),
(fiber:REAL, Examples: [0.87, 0.62, 0.34]),
(pcnt_cal_carb:REAL, Examples: [56.8, 67.38, 78.45]),
(pcnt_cal_fat:REAL, Examples: [35.68, 6.89, 7.24]),
(pcnt_cal_prot:REAL, Examples: [7.53, 16.17, 14.3]),
(calories:REAL, Examples: [290.79, 141.01, 137.06])
]
# Table: Recipe
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(title:TEXT, Examples: [Raspberry Chiffon Pie]),
(subtitle:TEXT, Examples: [with Banana Cream Whip]),
(servings:INTEGER, Examples: [10, 4, 8]),
(yield_unit:TEXT, Examples: [1 pie, 8 tarts, 2 quarts]),
(prep_min:INTEGER, Examples: [20, 5, 10]),
(cook_min:INTEGER, Examples: [8, 2, 13]),
(stnd_min:INTEGER, Examples: [305, 65, 0]),
(source:TEXT, Examples: [The California Tree Fruit Agreement]),
(intro:TEXT),
(directions:TEXT)
]
# Table: Ingredient
[
(ingredient_id:INTEGER, Primary Key, Examples: [1, 6, 10]),
(category:TEXT, Examples: [dairy, Mexican products, cereals]),
(name:TEXT, Examples: [1% lowfat cottage cheese]),
(plural:TEXT, Examples: [s, #NAME?, es])
]
【Foreign keys】
Quantity.recipe_id=Recipe.recipe_id
Quantity.ingredient_id=Ingredient.ingredient_id
Quantity.recipe_id=Nutrition.recipe_id
Nutrition.recipe_id=Recipe.recipe_id

    【Question】
    What is the average calorie count for all recipes using coarsely ground black pepper? coarsely ground black pepper is a name of an ingredient; calculation = AVG(calories)

    【Evidence】
    coarsely ground black pepper is a name of an ingredient; calculation = AVG(calories)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT AVG(T3.calories) FROM Ingredient AS T1 INNER JOIN Quantity AS T2 ON T2.ingredient_id = T1.ingredient_id INNER JOIN Nutrition AS T3 ON T3.recipe_id = T2.recipe_id WHERE T1.name = 'coarsely ground black pepper'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cookbook
【Schema】
# Table: Quantity
[
(quantity_id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(recipe_id:INTEGER, Examples: [214, 215, 216]),
(ingredient_id:INTEGER, Examples: [1613, 3334, 2222]),
(max_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(min_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(unit:TEXT, Examples: [cup(s), teaspoon(s), 14 oz. can(s)]),
(preparation:TEXT, Examples: [melted, or water, divided]),
(optional:TEXT, Examples: [FALSE, TRUE])
]
# Table: Nutrition
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(protein:REAL, Examples: [5.47, 5.7, 4.9]),
(carbo:REAL, Examples: [41.29, 23.75, 26.88]),
(alcohol:REAL, Examples: [0.0, 1.93, 2.7]),
(total_fat:REAL, Examples: [11.53, 1.08, 1.1]),
(sat_fat:REAL, Examples: [2.21, 0.58, 0.06]),
(cholestrl:REAL, Examples: [1.39, 3.48, 3.46]),
(sodium:REAL, Examples: [260.78, 46.17, 41.79]),
(iron:REAL, Examples: [0.81, 0.57, 0.37]),
(vitamin_c:REAL, Examples: [8.89, 13.02, 6.13]),
(vitamin_a:REAL, Examples: [586.2, 2738.24, 1521.1]),
(fiber:REAL, Examples: [0.87, 0.62, 0.34]),
(pcnt_cal_carb:REAL, Examples: [56.8, 67.38, 78.45]),
(pcnt_cal_fat:REAL, Examples: [35.68, 6.89, 7.24]),
(pcnt_cal_prot:REAL, Examples: [7.53, 16.17, 14.3]),
(calories:REAL, Examples: [290.79, 141.01, 137.06])
]
# Table: Recipe
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(title:TEXT, Examples: [Raspberry Chiffon Pie]),
(subtitle:TEXT, Examples: [with Banana Cream Whip]),
(servings:INTEGER, Examples: [10, 4, 8]),
(yield_unit:TEXT, Examples: [1 pie, 8 tarts, 2 quarts]),
(prep_min:INTEGER, Examples: [20, 5, 10]),
(cook_min:INTEGER, Examples: [8, 2, 13]),
(stnd_min:INTEGER, Examples: [305, 65, 0]),
(source:TEXT, Examples: [The California Tree Fruit Agreement]),
(intro:TEXT),
(directions:TEXT)
]
# Table: Ingredient
[
(ingredient_id:INTEGER, Primary Key, Examples: [1, 6, 10]),
(category:TEXT, Examples: [dairy, Mexican products, cereals]),
(name:TEXT, Examples: [1% lowfat cottage cheese]),
(plural:TEXT, Examples: [s, #NAME?, es])
]
【Foreign keys】
Quantity.recipe_id=Recipe.recipe_id
Quantity.ingredient_id=Ingredient.ingredient_id
Quantity.recipe_id=Nutrition.recipe_id
Nutrition.recipe_id=Recipe.recipe_id

    【Question】
    What are the names of the recipes that will cause stomach pain? cause stomach pain refers to iron > 20

    【Evidence】
    cause stomach pain refers to iron > 20

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.title FROM Recipe AS T1 INNER JOIN Nutrition AS T2 ON T1.recipe_id = T2.recipe_id WHERE T2.iron > 20
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cookbook
【Schema】
# Table: Quantity
[
(quantity_id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(recipe_id:INTEGER, Examples: [214, 215, 216]),
(ingredient_id:INTEGER, Examples: [1613, 3334, 2222]),
(max_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(min_qty:REAL, Examples: [2.0, 0.25, 0.5]),
(unit:TEXT, Examples: [cup(s), teaspoon(s), 14 oz. can(s)]),
(preparation:TEXT, Examples: [melted, or water, divided]),
(optional:TEXT, Examples: [FALSE, TRUE])
]
# Table: Nutrition
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(protein:REAL, Examples: [5.47, 5.7, 4.9]),
(carbo:REAL, Examples: [41.29, 23.75, 26.88]),
(alcohol:REAL, Examples: [0.0, 1.93, 2.7]),
(total_fat:REAL, Examples: [11.53, 1.08, 1.1]),
(sat_fat:REAL, Examples: [2.21, 0.58, 0.06]),
(cholestrl:REAL, Examples: [1.39, 3.48, 3.46]),
(sodium:REAL, Examples: [260.78, 46.17, 41.79]),
(iron:REAL, Examples: [0.81, 0.57, 0.37]),
(vitamin_c:REAL, Examples: [8.89, 13.02, 6.13]),
(vitamin_a:REAL, Examples: [586.2, 2738.24, 1521.1]),
(fiber:REAL, Examples: [0.87, 0.62, 0.34]),
(pcnt_cal_carb:REAL, Examples: [56.8, 67.38, 78.45]),
(pcnt_cal_fat:REAL, Examples: [35.68, 6.89, 7.24]),
(pcnt_cal_prot:REAL, Examples: [7.53, 16.17, 14.3]),
(calories:REAL, Examples: [290.79, 141.01, 137.06])
]
# Table: Recipe
[
(recipe_id:INTEGER, Primary Key, Examples: [214, 215, 216]),
(title:TEXT, Examples: [Raspberry Chiffon Pie]),
(subtitle:TEXT, Examples: [with Banana Cream Whip]),
(servings:INTEGER, Examples: [10, 4, 8]),
(yield_unit:TEXT, Examples: [1 pie, 8 tarts, 2 quarts]),
(prep_min:INTEGER, Examples: [20, 5, 10]),
(cook_min:INTEGER, Examples: [8, 2, 13]),
(stnd_min:INTEGER, Examples: [305, 65, 0]),
(source:TEXT, Examples: [The California Tree Fruit Agreement]),
(intro:TEXT),
(directions:TEXT)
]
# Table: Ingredient
[
(ingredient_id:INTEGER, Primary Key, Examples: [1, 6, 10]),
(category:TEXT, Examples: [dairy, Mexican products, cereals]),
(name:TEXT, Examples: [1% lowfat cottage cheese]),
(plural:TEXT, Examples: [s, #NAME?, es])
]
【Foreign keys】
Quantity.recipe_id=Recipe.recipe_id
Quantity.ingredient_id=Ingredient.ingredient_id
Quantity.recipe_id=Nutrition.recipe_id
Nutrition.recipe_id=Recipe.recipe_id

    【Question】
    How many ingredients are there in Apricot Yogurt Parfaits? Apricot Yogurt Parfaits refers to title

    【Evidence】
    Apricot Yogurt Parfaits refers to title

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(*) FROM Recipe AS T1 INNER JOIN Quantity AS T2 ON T1.recipe_id = T2.recipe_id WHERE T1.title = 'Apricot Yogurt Parfaits'