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 calories does the recipe "Raspberry Chiffon Pie" contain? Raspberry Chiffon Pie refers to title

    【Evidence】
    Raspberry Chiffon Pie 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 T2.calories FROM Recipe AS T1 INNER JOIN Nutrition AS T2 ON T1.recipe_id = T2.recipe_id WHERE T1.title = 'Raspberry Chiffon Pie'
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】
    Is the ingredient "graham cracker crumbs" optional in the recipe "Raspberry Chiffon Pie"? 'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title

    【Evidence】
    'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' 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 T2.optional 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 = 'Raspberry Chiffon Pie' AND T3.name = 'graham cracker crumbs'
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 must be rationed in the recipe "Raspberry Chiffon Pie"? Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty

    【Evidence】
    Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty

    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 = 'Raspberry Chiffon Pie' AND T2.max_qty = T2.min_qty
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】
    Please list the names of all the ingredients needed for the recipe "Raspberry Chiffon Pie" that do not need preprocessing. Raspberry Chiffon Pie refers to title; do not need preprocessing refers to preparation IS NULL

    【Evidence】
    Raspberry Chiffon Pie refers to title; do not need preprocessing refers to preparation IS NULL

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

SQL: SELECT T3.name 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 = 'Raspberry Chiffon Pie' AND T2.preparation IS NULL
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 recipes include the ingredient "graham cracker crumbs"? 'graham cracker crumbs' is a name of an ingredient

    【Evidence】
    'graham cracker crumbs' is a name of an ingredient

    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 Ingredient AS T1 INNER JOIN Quantity AS T2 ON T1.ingredient_id = T2.ingredient_id WHERE T1.name = 'graham cracker crumbs'
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】
    At least how many cups of graham cracker crumbs does the recipe "Raspberry Chiffon Pie" need? 'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title

    【Evidence】
    'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' 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 T2.min_qty 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 = 'Raspberry Chiffon Pie' AND T3.name = 'graham cracker crumbs'
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 calories from fat are there in the recipe "Raspberry Chiffon Pie"? calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title

    【Evidence】
    calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie 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 T2.calories * T2.pcnt_cal_fat FROM Recipe AS T1 INNER JOIN Nutrition AS T2 ON T1.recipe_id = T2.recipe_id WHERE T1.title = 'Raspberry Chiffon Pie'
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 calories on average does a recipe that comes from "Produce for Better Health Foundation and 5 a Day" contain? Produce for Better Health Foundation and 5 a Day is a source of recipe; calculation = DIVIDE(SUM(calories), COUNT(recipe_id))

    【Evidence】
    Produce for Better Health Foundation and 5 a Day is a source of recipe; calculation = DIVIDE(SUM(calories), 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 AVG(T2.calories) FROM Recipe AS T1 INNER JOIN Nutrition AS T2 ON T1.recipe_id = T2.recipe_id WHERE T1.source = 'Produce for Better Health Foundation and 5 a Day'