query
stringlengths 24
325
| positive
stringlengths 1
580
| negative_1
stringlengths 6
580
| negative_2
stringlengths 1
576
| negative_3
stringlengths 1
576
| negative_4
stringlengths 1
580
| negative_5
stringlengths 1
580
| negative_6
stringlengths 1
580
| negative_7
stringlengths 5
576
| negative_8
stringlengths 1
576
| negative_9
stringlengths 1
580
| negative_10
stringlengths 1
580
|
---|---|---|---|---|---|---|---|---|---|---|---|
Among the recipes that take more than 10 minutes to prepare, what is the title of the one with the most calories?
|
more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)
|
no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'
|
Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)
|
ingredient appeared the least in recipes refers to MIN(ingredient_id)
|
the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)
|
Raspberry Chiffon Pie refers to title
|
cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)
|
turkey tenderloin refers to title
|
names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)
|
Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty
|
1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty
|
How many servings does the recipe with the highest unsaturated fat have?
|
with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))
|
The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)
|
Apricot Yogurt Parfaits refers to title
|
can lead to constipation refers to iron > 20
|
'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title
|
no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'
|
ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)
|
Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty
|
names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)
|
cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)
|
cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title
|
How many recipes are non-dairy?
|
non-dairy refers to category NOT LIKE '%dairy"
|
Raspberry Chiffon Pie refers to title
|
cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)
|
turkey tenderloin refers to title
|
Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)
|
dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10
|
with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))
|
Apricot Yogurt Parfaits refers to title
|
'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title
|
'graham cracker crumbs' is a name of an ingredient
|
The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)
|
Describe the ingredients in the recipe with the highest vitamin that helps vision in dim light.
|
the highest vitamin that helps vision in dim light refers to MAX(vitamin_a)
|
with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)
|
non-dairy refers to category NOT LIKE '%dairy"
|
salt/sodium-free refers to sodium < 5
|
slices refers to unit = 'slice(s)'
|
more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)
|
the most Vitamin C refers to MAX(vitamin_c)
|
the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)
|
almond extract is a name of an ingredient
|
no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)
|
the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)
|
How many calories does the turkey tenderloin bundles recipe have?
|
turkey tenderloin refers to title
|
Raspberry Chiffon Pie refers to title
|
dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10
|
sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)
|
The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)
|
Sherry beef refers to title = 'Sherried Beef'
|
Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)
|
names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)
|
salt/sodium-free refers to sodium < 5
|
ingredient appeared the least in recipes refers to MIN(ingredient_id)
|
the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)
|
List the ingredients in Tomato-Cucumber Relish.
|
Tomato-Cucumber Relish refers to title
|
1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty
|
more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)
|
Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty
|
turkey tenderloin refers to title
|
slices refers to unit = 'slice(s)'
|
Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)
|
the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)
|
no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'
|
the highest vitamin that helps vision in dim light refers to MAX(vitamin_a)
|
Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)
|
Provide the title and total time of the recipe which has the highest possibility of gaining weight.
|
the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)
|
the longest cooking time refers to MAX(cook_min)
|
lead to constipation refers to iron > 20
|
more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)
|
the highest vitamin that helps vision in dim light refers to MAX(vitamin_a)
|
Raspberry Chiffon Pie refers to title
|
ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)
|
the National Potato Board is a source; the highest calories refers to MAX(calories)
|
Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)
|
The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)
|
no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)
|
What is the unsaturated fat content in the recipe "Raspberry Chiffon Pie"?
|
Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)
|
'graham cracker crumbs' is a name of an ingredient
|
the most Vitamin C refers to MAX(vitamin_c)
|
Raspberry Chiffon Pie refers to title
|
cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title
|
canned dairy is a category
|
almond extract is a name of an ingredient
|
more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)
|
names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)
|
can lead to constipation refers to iron > 20
|
slices refers to unit = 'slice(s)'
|
What are the names of the top 5 recipes that are best for wound healing?
|
names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)
|
ingredient appeared the least in recipes refers to MIN(ingredient_id)
|
can lead to constipation refers to iron > 20
|
salt/sodium-free refers to sodium < 5
|
The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)
|
slices refers to unit = 'slice(s)'
|
'graham cracker crumbs' is a name of an ingredient
|
sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)
|
the most Vitamin C refers to MAX(vitamin_c)
|
dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10
|
lead to constipation refers to iron > 20
|
Among all recipes containing cheese, what is the percentage of recipes with calories greater than 200?
|
cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)
|
The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)
|
with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)
|
ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)
|
Apricot Yogurt Parfaits refers to title
|
can lead to constipation refers to iron > 20
|
no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'
|
Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)
|
Apricot Yogurt Parfaits refers to title
|
with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))
|
salt/sodium-free refers to sodium < 5
|
What ingredients does the longest cooking time recipe have?
|
the longest cooking time refers to MAX(cook_min)
|
the National Potato Board is a source; the highest calories refers to MAX(calories)
|
non-dairy refers to category NOT LIKE '%dairy"
|
with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))
|
cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title
|
the most widely used ingredient refers to MAX(COUNT(ingredient_id))
|
no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)
|
Tomato-Cucumber Relish refers to title
|
'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title
|
ingredient appeared the least in recipes refers to MIN(ingredient_id)
|
sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)
|
How many dairy recipes can serve more than 10 people?
|
dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10
|
'graham cracker crumbs' is a name of an ingredient
|
salt/sodium-free refers to sodium < 5
|
the most Vitamin C refers to MAX(vitamin_c)
|
Apricot Yogurt Parfaits refers to title
|
the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)
|
Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty
|
turkey tenderloin refers to title
|
Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)
|
the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)
|
no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)
|
Which recipe is more beneficial in wound healing, "Raspberry Chiffon Pie" or "Fresh Apricot Bavarian"?
|
Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)
|
Sherry beef refers to title = 'Sherried Beef'
|
'cook in beef broth' refers to a preparation
|
dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10
|
non-dairy refers to category NOT LIKE '%dairy"
|
canned dairy is a category
|
'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title
|
ingredient appeared the least in recipes refers to MIN(ingredient_id)
|
with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))
|
cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)
|
'graham cracker crumbs' is a name of an ingredient
|
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
|
1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty
|
the most widely used ingredient refers to MAX(COUNT(ingredient_id))
|
Tomato-Cucumber Relish refers to title
|
with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))
|
Raspberry Chiffon Pie refers to title
|
the National Potato Board is a source; the highest calories refers to MAX(calories)
|
no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)
|
with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)
|
Apricot Yogurt Parfaits refers to title
|
the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)
|
How much fat does the Raspberry Chiffon Pie have?
|
Raspberry Chiffon Pie refers to title
|
cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)
|
Tomato-Cucumber Relish refers to title
|
the longest cooking time refers to MAX(cook_min)
|
cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title
|
the highest vitamin that helps vision in dim light refers to MAX(vitamin_a)
|
Apricot Yogurt Parfaits refers to title
|
almond extract is a name of an ingredient
|
salt/sodium-free refers to sodium < 5
|
ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)
|
'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title
|
Which recipes contain almond extract?
|
almond extract is a name of an ingredient
|
calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title
|
lead to constipation refers to iron > 20
|
with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))
|
the longest cooking time refers to MAX(cook_min)
|
Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty
|
Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)
|
Sherry beef refers to title = 'Sherried Beef'
|
The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)
|
can lead to constipation refers to iron > 20
|
Raspberry Chiffon Pie refers to title
|
What are the names of the ingredients that need to be cook in beef broth?
|
'cook in beef broth' refers to a preparation
|
the National Potato Board is a source; the highest calories refers to MAX(calories)
|
Apricot Yogurt Parfaits refers to title
|
with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)
|
turkey tenderloin refers to title
|
'graham cracker crumbs' is a name of an ingredient
|
ingredient appeared the least in recipes refers to MIN(ingredient_id)
|
no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'
|
salt/sodium-free refers to sodium < 5
|
names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)
|
calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title
|
How much Vitamin A is in Sherry beef?
|
Sherry beef refers to title = 'Sherried Beef'
|
turkey tenderloin refers to title
|
Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)
|
ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)
|
cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title
|
cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)
|
the longest cooking time refers to MAX(cook_min)
|
slices refers to unit = 'slice(s)'
|
Raspberry Chiffon Pie refers to title
|
dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10
|
non-dairy refers to category NOT LIKE '%dairy"
|
Among the recipes whose source is the National Potato Board, which recipe has the highest calories?
|
the National Potato Board is a source; the highest calories refers to MAX(calories)
|
'cook in beef broth' refers to a preparation
|
more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)
|
the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)
|
salt/sodium-free refers to sodium < 5
|
no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)
|
the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)
|
Sherry beef refers to title = 'Sherried Beef'
|
Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty
|
turkey tenderloin refers to title
|
with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))
|
How many cups of 1% lowfat milk should be added to no.1436 recipe?
|
1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty
|
ingredient appeared the least in recipes refers to MIN(ingredient_id)
|
salt/sodium-free refers to sodium < 5
|
'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title
|
turkey tenderloin refers to title
|
no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'
|
the most widely used ingredient refers to MAX(COUNT(ingredient_id))
|
Sherry beef refers to title = 'Sherried Beef'
|
can lead to constipation refers to iron > 20
|
Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty
|
the National Potato Board is a source; the highest calories refers to MAX(calories)
|
Among the recipes with alcohol content over 10, which recipe takes the longest to prepare?
|
with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)
|
dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10
|
the National Potato Board is a source; the highest calories refers to MAX(calories)
|
with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))
|
the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)
|
sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)
|
calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title
|
'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title
|
1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty
|
no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)
|
salt/sodium-free refers to sodium < 5
|
State the name of the optional ingredient of no.1397 recipe.
|
no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'
|
the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)
|
'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title
|
Tomato-Cucumber Relish refers to title
|
ingredient appeared the least in recipes refers to MIN(ingredient_id)
|
canned dairy is a category
|
cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title
|
no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)
|
the National Potato Board is a source; the highest calories refers to MAX(calories)
|
cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)
|
'graham cracker crumbs' is a name of an ingredient
|
Among the recipes with sea bass, how many percent of recipes can serve 10 people and above?
|
sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)
|
Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)
|
slices refers to unit = 'slice(s)'
|
ingredient appeared the least in recipes refers to MIN(ingredient_id)
|
Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty
|
no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)
|
the longest cooking time refers to MAX(cook_min)
|
1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty
|
Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)
|
ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)
|
dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10
|
Which recipe has the highest number of ingredients? Calculate the said recipe's total time of cooking.
|
the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)
|
names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)
|
the National Potato Board is a source; the highest calories refers to MAX(calories)
|
the longest cooking time refers to MAX(cook_min)
|
Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)
|
'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title
|
lead to constipation refers to iron > 20
|
with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))
|
ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)
|
'graham cracker crumbs' is a name of an ingredient
|
canned dairy is a category
|
How many recipes include the ingredient "graham cracker crumbs"?
|
'graham cracker crumbs' is a name of an ingredient
|
turkey tenderloin refers to title
|
Raspberry Chiffon Pie refers to title
|
the longest cooking time refers to MAX(cook_min)
|
1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty
|
with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)
|
cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)
|
can lead to constipation refers to iron > 20
|
Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)
|
no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'
|
ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)
|
Which ingredient appeared the most in recipes? Calculate its amount of appearance in percentage.
|
ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)
|
Apricot Yogurt Parfaits refers to title
|
the longest cooking time refers to MAX(cook_min)
|
The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)
|
with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)
|
Raspberry Chiffon Pie refers to title
|
'graham cracker crumbs' is a name of an ingredient
|
the most widely used ingredient refers to MAX(COUNT(ingredient_id))
|
Tomato-Cucumber Relish refers to title
|
names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)
|
lead to constipation refers to iron > 20
|
Among the recipes from The California Tree Fruit Agreement, calculate the percentage of sodium-free recipes.
|
The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)
|
'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title
|
the most Vitamin C refers to MAX(vitamin_c)
|
slices refers to unit = 'slice(s)'
|
with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)
|
Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)
|
Raspberry Chiffon Pie refers to title
|
Sherry beef refers to title = 'Sherried Beef'
|
names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)
|
the longest cooking time refers to MAX(cook_min)
|
the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)
|
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
|
lead to constipation refers to iron > 20
|
1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty
|
the National Potato Board is a source; the highest calories refers to MAX(calories)
|
the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)
|
salt/sodium-free refers to sodium < 5
|
calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title
|
slices refers to unit = 'slice(s)'
|
ingredient appeared the least in recipes refers to MIN(ingredient_id)
|
can lead to constipation refers to iron > 20
|
no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)
|
List the ingredients which measure in slices.
|
slices refers to unit = 'slice(s)'
|
non-dairy refers to category NOT LIKE '%dairy"
|
almond extract is a name of an ingredient
|
Raspberry Chiffon Pie refers to title
|
dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10
|
canned dairy is a category
|
Tomato-Cucumber Relish refers to title
|
no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'
|
calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title
|
can lead to constipation refers to iron > 20
|
the most widely used ingredient refers to MAX(COUNT(ingredient_id))
|
Which ingredient appeared the least in recipes?
|
ingredient appeared the least in recipes refers to MIN(ingredient_id)
|
calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title
|
sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)
|
Tomato-Cucumber Relish refers to title
|
non-dairy refers to category NOT LIKE '%dairy"
|
the National Potato Board is a source; the highest calories refers to MAX(calories)
|
lead to constipation refers to iron > 20
|
'graham cracker crumbs' is a name of an ingredient
|
'cook in beef broth' refers to a preparation
|
slices refers to unit = 'slice(s)'
|
Raspberry Chiffon Pie refers to title
|
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
|
ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)
|
Sherry beef refers to title = 'Sherried Beef'
|
the most widely used ingredient refers to MAX(COUNT(ingredient_id))
|
the most Vitamin C refers to MAX(vitamin_c)
|
dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10
|
salt/sodium-free refers to sodium < 5
|
'cook in beef broth' refers to a preparation
|
The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)
|
1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty
|
non-dairy refers to category NOT LIKE '%dairy"
|
Find the full name and popularity of the professor who advises the most number of students.
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
UG is an abbreviated name of undergraduate student in which type = 'UG';
|
student with the highest GPA refers to student_id where MAX(gpa);
|
research assistant refers to the student who serves for research where the abbreviation is RA; professor with the lowest teaching ability refers to prof_id where teachability = '1';
|
female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);
|
research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;
|
sat refers to student's satisfaction degree with the course;
|
student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
full name of students = f_name, l_name; failed refers to grade IS NULL;
|
How many students does Ogdon Zywicki advise?
|
Ogdon Zywicki is a professor;
|
sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;
|
student with the highest GPA refers to student_id where MAX(gpa);
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';
|
A refers to an excellent grade in which grade = 'A' for the course;
|
UG is an abbreviated name of undergraduate student in which type = 'UG';
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
female refers to gender = 'Female';
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;
|
Give the student's last name that gave the highest student satisfaction for the course "Intro to Database 2".
|
student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
sat refers to student's satisfaction degree with the course;
|
salary range refers to salary;
|
research postgraduate student refers to type = 'RPG';
|
A refers to an excellent grade in which grade = 'A' for the course;
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
If grade is null or empty, it means that this student fails to pass the course;
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
How many research assistants does Sauveur Skyme have?
|
research assistant refers to the student who serves for research where the abbreviation is RA;
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;
|
satisfaction refers to sat;
sat = 4; gpa = 3.8
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
A refers to an excellent grade in which grade = 'A' for the course;
|
Name the professor refers to full name which includes f_name and l_name;
|
research postgraduate student refers to type = 'RPG';
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);
|
professor with the highest research ability refers to prof_id where MAX(capability);
|
What is the percentage of Professor Ogdon Zywicki's research assistants are taught postgraduate students?
|
research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;
|
If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;
|
research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;
|
DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
low salary refers to salary = 'low';
|
lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
What are the names of the courses that the students with the lowest intelligence are least satisfied with?
|
lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
sat refers to student's satisfaction degree with the course;
|
female refers to gender = 'Female';
|
GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;
|
capability on research refers to capability;
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';
|
satisfaction refers to sat;
sat = 4; gpa = 3.8
|
research postgraduate student refers to type = 'RPG';
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
Calculate the difference between the average satisfaction of the students with high salaries and no salary.
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
professor with the highest research ability refers to prof_id where MAX(capability);
|
average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
low salary refers to salary = 'low';
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;
|
GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;
|
sat refers to student's satisfaction degree with the course;
|
difficulty of the course refers to diff;
|
What is the difficulty of the course in which a student with level of intellengence of 5 got an A grade?
|
difficulty of the course refers to diff;
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
|
Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
capability on research refers to capability;
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
Name the professor who got graduation from the University of Boston.
|
Name the professor refers to full name which includes f_name and l_name;
|
average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';
|
research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;
|
name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);
|
sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);
|
university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;
|
student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
|
Find the university from which the professor who advised most undergraduate students graduated.
|
university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';
|
research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;
|
capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';
|
student with the highest GPA refers to student_id where MAX(gpa);
|
female refers to gender = 'Female';
|
lower credit means less important;
|
salary range refers to salary;
|
If grade is null or empty, it means that this student fails to pass the course;
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
What is the full name of the professor who graduated from an Ivy League School?
|
Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;
|
research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;
|
capability on research refers to capability;
|
full name of students = f_name, l_name; failed refers to grade IS NULL;
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
sat refers to student's satisfaction degree with the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA;
|
Among the most important courses, what is the name of the most difficult course?
|
Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);
|
student with the highest GPA refers to student_id where MAX(gpa);
|
salary range refers to salary;
|
low salary refers to salary = 'low';
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
A refers to an excellent grade in which grade = 'A' for the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
satisfaction refers to sat;
sat = 4; gpa = 3.8
|
research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
How many courses have the highest difficulty?
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
A refers to an excellent grade in which grade = 'A' for the course;
|
GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
Ogdon Zywicki is a professor;
|
lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;
|
sat refers to student's satisfaction degree with the course;
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;
|
Among the students with a capability below 3, what is the difference of undergraduate students from research postgraduate students?
|
capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';
|
research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;
|
research assistant refers to the student who serves for research where the abbreviation is RA;
|
university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';
|
Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;
|
research assistant refers to the student who serves for research where the abbreviation is RA; professor with the lowest teaching ability refers to prof_id where teachability = '1';
|
diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
professor with the highest research ability refers to prof_id where MAX(capability);
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
What is the name of the most difficult course?
|
difficulty of a course refers to diff; most difficult course refers to MAX(diff);
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
student with the highest GPA refers to student_id where MAX(gpa);
|
Name the professor refers to full name which includes f_name and l_name;
|
research assistant refers to the student who serves for research where the abbreviation is RA;
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';
|
student's full names = f_name, l_name; most popular refers to MAX(popularity);
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
If grade is null or empty, it means that this student fails to pass the course;
|
Among professors with the highest teachability, how many of their students have high salary?
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
capability on research refers to capability;
|
lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
student's full names = f_name, l_name; most popular refers to MAX(popularity);
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
lower credit means less important;
|
GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;
|
A refers to an excellent grade in which grade = 'A' for the course;
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
Give the full name and capability of students who failed in any courses.
|
full name of students = f_name, l_name; failed refers to grade IS NULL;
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;
|
satisfaction refers to sat;
sat = 4; gpa = 3.8
|
A refers to an excellent grade in which grade = 'A' for the course;
|
Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;
|
If grade is null or empty, it means that this student fails to pass the course;
|
diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;
|
What is the name of the course with the highest satisfaction from students?
|
sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;
|
diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;
|
female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
A refers to an excellent grade in which grade = 'A' for the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
low salary refers to salary = 'low';
|
university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';
|
student's full names = f_name, l_name; most popular refers to MAX(popularity);
|
Which student is more satisfied with the course Machine Learning Theory, Willie Rechert or Laughton Antonio?
|
sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);
|
female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);
|
female refers to gender = 'Female';
|
research assistant refers to the student who serves for research where the abbreviation is RA;
|
UG is an abbreviated name of undergraduate student in which type = 'UG';
|
lower credit means less important;
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;
|
For the professor who is working with Harrietta Lydford, how is his popularity?
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
research assistant refers to the student who serves for research where the abbreviation is RA; professor with the lowest teaching ability refers to prof_id where teachability = '1';
|
research postgraduate student refers to type = 'RPG';
|
research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;
|
Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;
|
low salary refers to salary = 'low';
|
A refers to an excellent grade in which grade = 'A' for the course;
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
satisfaction refers to sat;
sat = 4; gpa = 3.8
|
research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;
|
State the name of research postgraduate student among Professor Zhihua Zhou's research assistants.
|
research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
capability on research refers to capability;
|
research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;
|
low salary refers to salary = 'low';
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';
|
A refers to an excellent grade in which grade = 'A' for the course;
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
How many research postgraduate students are there?
|
research postgraduate student refers to type = 'RPG';
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
|
research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
How many students got an A in Applied Deep Learning?
|
A refers to an excellent grade in which grade = 'A' for the course;
|
full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
|
If grade is null or empty, it means that this student fails to pass the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
Name the professor refers to full name which includes f_name and l_name;
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
lower credit means less important;
|
lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
How many of the professors are female?
|
female refers to gender = 'Female';
|
research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;
|
student's full names = f_name, l_name; most popular refers to MAX(popularity);
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
capability on research refers to capability;
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
low salary refers to salary = 'low';
|
If grade is null or empty, it means that this student fails to pass the course;
|
research postgraduate student refers to type = 'RPG';
|
sat refers to student's satisfaction degree with the course;
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
Which professor advised Faina Mallinar to become a research assistant? Please give his or her full name.
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
research assistant refers to the student who serves for research where the abbreviation is RA;
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;
|
name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);
|
student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
|
female refers to gender = 'Female';
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
student's full names = f_name, l_name; most popular refers to MAX(popularity);
|
Name the professor refers to full name which includes f_name and l_name;
|
Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);
|
Mention the names and credits of course registered by the students who were under the supervision of female professor with the highest teaching ability.
|
female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
low salary refers to salary = 'low';
|
research assistant refers to the student who serves for research where the abbreviation is RA; professor with the lowest teaching ability refers to prof_id where teachability = '1';
|
full name of students = f_name, l_name; failed refers to grade IS NULL;
|
full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;
|
average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
Describe the full names, emails and intelligence of the students with the highest capability and salary.
|
full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
|
sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);
|
difficulty of the course refers to diff;
|
professor with the highest research ability refers to prof_id where MAX(capability);
|
female refers to gender = 'Female';
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
salary range refers to salary;
|
sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;
|
DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
|
A refers to an excellent grade in which grade = 'A' for the course;
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
Describe the students' full names and GPAs under the supervision of the most popular professor.
|
student's full names = f_name, l_name; most popular refers to MAX(popularity);
|
DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
|
full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
difficulty of the course refers to diff;
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);
|
student with the highest GPA refers to student_id where MAX(gpa);
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
research postgraduate student refers to type = 'RPG';
|
What is the popularity of the professor who advises the highest number of students with the highest research ability?
|
professor with the highest research ability refers to prof_id where MAX(capability);
|
Name the professor refers to full name which includes f_name and l_name;
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
student's full names = f_name, l_name; most popular refers to MAX(popularity);
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
lower credit means less important;
|
Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
UG is an abbreviated name of undergraduate student in which type = 'UG';
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
For the 3-credit course with the easiest difficulty, how many students get an "A" in that course?
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
research postgraduate student refers to type = 'RPG';
|
Ogdon Zywicki is a professor;
|
name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);
|
DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);
|
A refers to an excellent grade in which grade = 'A' for the course;
|
Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;
|
salary range refers to salary;
|
low salary refers to salary = 'low';
|
Which professor is Oliy Spratling working with? Give the full name.
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;
|
If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
difficulty of the course refers to diff;
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
student with the highest GPA refers to student_id where MAX(gpa);
|
capability on research refers to capability;
|
A refers to an excellent grade in which grade = 'A' for the course;
|
How many research assistants of Ogdon Zywicki have an average salary?
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
A refers to an excellent grade in which grade = 'A' for the course;
|
research postgraduate student refers to type = 'RPG';
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;
|
sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;
|
salary range refers to salary;
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
Among the easiest courses, what is the name of the course where most students got an A?
|
diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;
|
female refers to gender = 'Female';
|
research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;
|
capability on research refers to capability;
|
UG is an abbreviated name of undergraduate student in which type = 'UG';
|
GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
|
Among students with low salary, how many of them have a gpa of 3.5?
|
low salary refers to salary = 'low';
|
A refers to an excellent grade in which grade = 'A' for the course;
|
sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);
|
If grade is null or empty, it means that this student fails to pass the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; professor with the lowest teaching ability refers to prof_id where teachability = '1';
|
A refers to an excellent grade in which grade = 'A' for the course;
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;
|
female refers to gender = 'Female';
|
full name of students = f_name, l_name; failed refers to grade IS NULL;
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
Among students that gave satisfaction of value 4 for the course named "Statistical Learning", how many of them have a gpa of 3.8?
|
satisfaction refers to sat;
sat = 4; gpa = 3.8
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
|
research postgraduate student refers to type = 'RPG';
|
student's full names = f_name, l_name; most popular refers to MAX(popularity);
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
Ogdon Zywicki is a professor;
|
research assistant refers to the student who serves for research where the abbreviation is RA; professor with the lowest teaching ability refers to prof_id where teachability = '1';
|
sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
Among the students who took the course Machine Learning Theory, how many of them are undergraduates?
|
UG is an abbreviated name of undergraduate student in which type = 'UG';
|
research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;
|
name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);
|
average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';
|
salary range refers to salary;
|
If grade is null or empty, it means that this student fails to pass the course;
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
lower credit means less important;
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);
|
Please list the full names of all the students who are research assistants with the highest research capability.
|
research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
|
Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;
|
female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);
|
A refers to an excellent grade in which grade = 'A' for the course;
|
name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);
|
research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
sat refers to student's satisfaction degree with the course;
|
Describe the names and credits of the least difficult courses.
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);
|
low salary refers to salary = 'low';
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';
|
sat refers to student's satisfaction degree with the course;
|
capability on research refers to capability;
|
Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;
|
Calculate the GPA of the semester for Laughton Antonio.
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
professor with the highest research ability refers to prof_id where MAX(capability);
|
DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);
|
student's full names = f_name, l_name; most popular refers to MAX(popularity);
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
difficulty of the course refers to diff;
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
Among research postgraduate students, give the name of the course with the student satisfaction value of 1.
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
student with the highest GPA refers to student_id where MAX(gpa);
|
full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
research assistant refers to the student who serves for research where the abbreviation is RA;
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
research postgraduate student refers to type = 'RPG';
|
student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
UG is an abbreviated name of undergraduate student in which type = 'UG';
|
sat refers to student's satisfaction degree with the course;
|
How many courses does the student with the highest GPA this semester take?
|
student with the highest GPA refers to student_id where MAX(gpa);
|
A refers to an excellent grade in which grade = 'A' for the course;
|
If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;
|
university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';
|
sat refers to student's satisfaction degree with the course;
|
GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;
|
full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
Provide the registered courses' names by undergraduate students with GPA of 3.7 and above.
|
Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
capability on research refers to capability;
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
|
Name the students with above-average capability.
|
name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);
|
sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
student with the highest GPA refers to student_id where MAX(gpa);
|
female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);
|
lower credit means less important;
|
If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;
|
research assistant refers to the student who serves for research where the abbreviation is RA;
|
female refers to gender = 'Female';
|
sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);
|
How many students, who have a GPA between 3 to 4, failed a course?
|
GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
salary range refers to salary;
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
UG is an abbreviated name of undergraduate student in which type = 'UG';
|
lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
professor with the highest research ability refers to prof_id where MAX(capability);
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);
|
Which professor advised Willie Rechert to work as a research assistant? Please give his or her full name.
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
lower credit means less important;
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
sat refers to student's satisfaction degree with the course;
|
sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;
|
capability on research refers to capability;
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
What is the average GPA of the students with the highest research capability and high salary? List the full names of the students.
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);
|
If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;
|
capability on research refers to capability;
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
professor with the highest research ability refers to prof_id where MAX(capability);
|
research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
Please list the names of the courses that are less important than Machine Learning Theory.
|
lower credit means less important;
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
professor with the highest research ability refers to prof_id where MAX(capability);
|
A refers to an excellent grade in which grade = 'A' for the course;
|
full name of students = f_name, l_name; failed refers to grade IS NULL;
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
How many research assistants does the female professor with the lowest teaching ability have?
|
research assistant refers to the student who serves for research where the abbreviation is RA; professor with the lowest teaching ability refers to prof_id where teachability = '1';
|
capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';
|
name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);
|
capability on research refers to capability;
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
low salary refers to salary = 'low';
|
sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;
|
List the courses' IDs and students' IDs who failed to pass the course.
|
If grade is null or empty, it means that this student fails to pass the course;
|
Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
|
full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
|
difficulty of the course refers to diff;
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
Name the professor refers to full name which includes f_name and l_name;
|
If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
Among professors with the highest popularity, how many of their students have research capability of 5?
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
UG is an abbreviated name of undergraduate student in which type = 'UG';
|
student with the highest GPA refers to student_id where MAX(gpa);
|
A refers to an excellent grade in which grade = 'A' for the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
satisfaction refers to sat;
sat = 4; gpa = 3.8
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';
|
full name of students = f_name, l_name; failed refers to grade IS NULL;
|
What is the salary range of the student with an email of [email protected]?
|
salary range refers to salary;
|
research assistant refers to the student who serves for research where the abbreviation is RA;
|
low salary refers to salary = 'low';
|
sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
difficulty of the course refers to diff;
|
research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;
|
university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';
|
student with the highest GPA refers to student_id where MAX(gpa);
|
sat refers to student's satisfaction degree with the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
Among students registered for the most difficult course, list the students' full names who got grade A.
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
difficulty of a course refers to diff; most difficult course refers to MAX(diff);
|
research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;
|
Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;
|
research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;
|
Ogdon Zywicki is a professor;
|
salary range refers to salary;
|
GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
What is the percentage of students who get a "B" in the course "Computer Network"?
|
DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;
|
student with the highest GPA refers to student_id where MAX(gpa);
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;
|
difficulty of a course refers to diff; most difficult course refers to MAX(diff);
|
sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);
|
research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;
|
lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
Among the students with less than four intelligence, list the full name and phone number of students with a greater than 3 GPA.
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';
|
research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
Name the professor refers to full name which includes f_name and l_name;
|
Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);
|
sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;
|
the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
difficulty of a course refers to diff; most difficult course refers to MAX(diff);
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
List the capability of research postgraduate students with an intellegence level of 4 and above.
|
research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
professor with the highest research ability refers to prof_id where MAX(capability);
|
capability on research refers to capability;
|
salary range refers to salary;
|
If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;
|
diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;
|
What is the average satisfying degree of the course Machine Learning Theory?
|
sat refers to student's satisfaction degree with the course;
|
Name the professor refers to full name which includes f_name and l_name;
|
capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';
|
salary range refers to salary;
|
low salary refers to salary = 'low';
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;
|
A refers to an excellent grade in which grade = 'A' for the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;
|
What is the capability on research of the student named Alvera McQuillin?
|
capability on research refers to capability;
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
A refers to an excellent grade in which grade = 'A' for the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
|
capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
female refers to gender = 'Female';
|
Name the professor refers to full name which includes f_name and l_name;
|
salary range refers to salary;
|
Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;
|
Give the phone number of the only student who obtained "A" in the course "Intro to BlockChain".
|
A refers to an excellent grade in which grade = 'A' for the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
intelligence < 4; full name = f_name, l_name; gpa > 3;
|
student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
|
research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;
|
satisfaction refers to sat;
sat = 4; gpa = 3.8
|
professor with the highest research ability refers to prof_id where MAX(capability);
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
female refers to gender = 'Female';
|
capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';
|
Provide the full names and emails of unpaid research assistants.
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
|
research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;
|
diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an "A" refers to grade = 'A' for the course;
|
UG is an abbreviated name of undergraduate student in which type = 'UG';
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
|
A refers to an excellent grade in which grade = 'A' for the course;
|
research assistant refers to the student who serves for research where the abbreviation is RA; professor with the lowest teaching ability refers to prof_id where teachability = '1';
|
Calculate the average satisfaction of the good students with their courses.
|
average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';
|
full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
If grade is null or empty, it means that this student fails to pass the course;
|
research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;
|
A refers to an excellent grade in which grade = 'A' for the course;
|
salary range refers to salary;
|
average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
UG is an abbreviated name of undergraduate student in which type = 'UG';
|
research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;
|
Which student failed the course Intro to Database 2? Please give his or her full name.
|
If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;
|
research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;
|
research assistant refers to the student who serves for research where the abbreviation is RA; professor with the lowest teaching ability refers to prof_id where teachability = '1';
|
student with the highest GPA refers to student_id where MAX(gpa);
|
research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;
|
name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);
|
full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';
|
highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
|
research assistant refers to the student who serves for research where the abbreviation is RA;
|
Among the students with a gpa of 3.1 to 3.7, how many of them are undergraduate students?
|
gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
|
student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
|
capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';
|
research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';
|
difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;
|
DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
|
GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;
|
sat refers to student's satisfaction degree with the course;
|
Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;
|
highest teachability refers to MAX(teachability); high salary refers to salary = 'high';
|
diff refers to difficulty; the least difficult courses refer to MIN(diff);
|
What is the highest grossing movie without a song?
|
the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';
|
FALSE;
|
The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';
|
Will Finn refers to director = 'Will Finn';
|
Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;
|
Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;
|
The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';
|
Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);
|
SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))
|
Meet the Robinsons refers to movie_title = 'Meet the Robinsons';
|
FALSE;
|
How many movies did Wolfgang Reitherman direct?
|
Wolfgang Reitherman refers director = 'Wolfgang Reitherman';
|
Ron Clements refers director = 'Ron Clements';
|
Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;
|
released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;
|
Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';
|
Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;
|
Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;
|
Mulan refers to movie_title = 'Mulan';
|
DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;
|
Ben Sharpsteen refers to director = 'Ben Sharpsteen';
|
films grossed over $100 million refer to movie_title where total_gross > 100000000;
|
Calculate the percentage of directors whose films grossed over $100 million.
|
DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;
|
The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';
|
The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';
|
Movies refer to movie_title; released between 2010 and 2016 refers to substr(release_date, length(release_date) - 1, length(release_date)) between '10' and '16';
|
DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;
|
released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;
|
Ben Sharpsteen refers to director = 'Ben Sharpsteen';
|
Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';
|
FALSE;
|
Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);
|
the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);
|
What is the most popular movie directed by Ron Clements?
|
Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);
|
Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';
|
which movies do not have villain refer to movie_title where villian is null;
|
drama refers to genre = 'Drama';
|
Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;
|
Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';
|
directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);
|
DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;
|
Most productive director refers to director where MAX(COUNT(name));
|
Beauty and the Beast refers to movie_title = 'Beauty and the Beast';
|
DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;
|
Who are the voice actors in the movie that came out on 11/24/2010?
|
Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';
|
FALSE;
|
The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';
|
PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';
|
Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';
|
the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';
|
Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';
|
Mulan refers to movie_title = 'Mulan';
|
Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; which one has more grossing refers to movie_title where MAX(total_gross);
|
Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;
|
Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;
|
Find the estimated inflation rate that was used to adjust the 1995 box office revenue for Disney's films.
|
DIVIDE(inflation_adjusted_gross, total_gross) as percentage where substr(release_date, length(release_date) - 3, length(release_date)) = '1995';
|
DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;
|
FALSE;
|
Beauty and the Beast refers to movie_title = 'Beauty and the Beast';
|
PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG';
|
Will Finn refers to director = 'Will Finn';
|
SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))
|
the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';
|
the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);
|
Bill Thompson refers to voice-actor = 'Bill Thompson';
|
Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);
|
Give the name of the director of the movie in which Verna Felton was the voice actor for its character "Aunt Sarah".
|
FALSE;
|
Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';
|
Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;
|
PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';
|
Ben Sharpsteen refers to director = 'Ben Sharpsteen';
|
drama refers to genre = 'Drama';
|
Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);
|
Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;
|
Bambi is the name of the movie which refers to movie = 'Bambi';
|
directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);
|
FALSE;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.