1sf/bird-sql-train-with-schema huggingface dataset:
Database: college_completion
Tables: institution_details, institution_grads, state_sector_grads, state_sector_details
Columns (table index, column name): -1, *, 0, unitid, 0, chronname, 0, city, 0, state, 0, level, 0, control, 0, basic, 0, hbcu, 0, flagship, 0, long_x, 0, lat_y, 0, site, 0, student_count, 0, awards_per_value, 0, awards_per_state_value, 0, awards_per_natl_value, 0, exp_award_value, 0, exp_award_state_value, 0, exp_award_natl_value, 0, exp_award_percentile, 0, ft_pct, 0, fte_value, 0, fte_percentile, 0, med_sat_value, 0, med_sat_percentile, 0, aid_value, 0, aid_percentile, 0, endow_value, 0, endow_percentile, 0, grad_100_value, 0, grad_100_percentile, 0, grad_150_value, 0, grad_150_percentile, 0, pell_value, 0, pell_percentile, 0, retain_value, 0, retain_percentile, 0, ft_fac_value, 0, ft_fac_percentile, 0, vsa_year, 0, vsa_grad_after4_first, 0, vsa_grad_elsewhere_after4_first, 0, vsa_enroll_after4_first, 0, vsa_enroll_elsewhere_after4_first, 0, vsa_grad_after6_first, 0, vsa_grad_elsewhere_after6_first, 0, vsa_enroll_after6_first, 0, vsa_enroll_elsewhere_after6_first, 0, vsa_grad_after4_transfer, 0, vsa_grad_elsewhere_after4_transfer, 0, vsa_enroll_after4_transfer, 0, vsa_enroll_elsewhere_after4_transfer, 0, vsa_grad_after6_transfer, 0, vsa_grad_elsewhere_after6_transfer, 0, vsa_enroll_after6_transfer, 0, vsa_enroll_elsewhere_after6_transfer, 0, similar, 0, state_sector_ct, 0, carnegie_ct, 0, counted_pct, 0, nicknames, 0, cohort_size, 1, unitid, 1, year, 1, gender, 1, race, 1, cohort, 1, grad_cohort, 1, grad_100, 1, grad_150, 1, grad_100_rate, 1, grad_150_rate, 2, stateid, 2, state, 2, state_abbr, 2, control, 2, level, 2, year, 2, gender, 2, race, 2, cohort, 2, grad_cohort, 2, grad_100, 2, grad_150, 2, grad_100_rate, 2, grad_150_rate, 2, grad_cohort_ct, 3, stateid, 3, state, 3, state_post, 3, level, 3, control, 3, schools_count, 3, counted_pct, 3, awards_per_state_value, 3, awards_per_natl_value, 3, exp_award_state_value, 3, exp_award_natl_value, 3, state_appr_value, 3, state_appr_rank, 3, grad_rate_rank, 3, awards_per_rank
Question: What is the total male graduates in 2012 in the state whereby the institute with the highest average amount of student aid going to undergraduate recipients is located?
Evidence: male refers to gender = 'M'; graduates refers to grad_cohort; in 2012 refers to year = 2012; highest average amount of student aid going to undergraduate recipients refers to MAX(aid_value);
SQL: SELECT COUNT(T2.grad_cohort) FROM institution_details AS T1 INNER JOIN state_sector_grads AS T2 ON T1.state = T2.state WHERE T2.year = 2012 AND T2.gender = 'M' ORDER BY T1.aid_value DESC LIMIT 1
Database: college_completion
Tables: institution_details, institution_grads, state_sector_grads, state_sector_details
Columns (table index, column name): -1, *, 0, unitid, 0, chronname, 0, city, 0, state, 0, level, 0, control, 0, basic, 0, hbcu, 0, flagship, 0, long_x, 0, lat_y, 0, site, 0, student_count, 0, awards_per_value, 0, awards_per_state_value, 0, awards_per_natl_value, 0, exp_award_value, 0, exp_award_state_value, 0, exp_award_natl_value, 0, exp_award_percentile, 0, ft_pct, 0, fte_value, 0, fte_percentile, 0, med_sat_value, 0, med_sat_percentile, 0, aid_value, 0, aid_percentile, 0, endow_value, 0, endow_percentile, 0, grad_100_value, 0, grad_100_percentile, 0, grad_150_value, 0, grad_150_percentile, 0, pell_value, 0, pell_percentile, 0, retain_value, 0, retain_percentile, 0, ft_fac_value, 0, ft_fac_percentile, 0, vsa_year, 0, vsa_grad_after4_first, 0, vsa_grad_elsewhere_after4_first, 0, vsa_enroll_after4_first, 0, vsa_enroll_elsewhere_after4_first, 0, vsa_grad_after6_first, 0, vsa_grad_elsewhere_after6_first, 0, vsa_enroll_after6_first, 0, vsa_enroll_elsewhere_after6_first, 0, vsa_grad_after4_transfer, 0, vsa_grad_elsewhere_after4_transfer, 0, vsa_enroll_after4_transfer, 0, vsa_enroll_elsewhere_after4_transfer, 0, vsa_grad_after6_transfer, 0, vsa_grad_elsewhere_after6_transfer, 0, vsa_enroll_after6_transfer, 0, vsa_enroll_elsewhere_after6_transfer, 0, similar, 0, state_sector_ct, 0, carnegie_ct, 0, counted_pct, 0, nicknames, 0, cohort_size, 1, unitid, 1, year, 1, gender, 1, race, 1, cohort, 1, grad_cohort, 1, grad_100, 1, grad_150, 1, grad_100_rate, 1, grad_150_rate, 2, stateid, 2, state, 2, state_abbr, 2, control, 2, level, 2, year, 2, gender, 2, race, 2, cohort, 2, grad_cohort, 2, grad_100, 2, grad_150, 2, grad_100_rate, 2, grad_150_rate, 2, grad_cohort_ct, 3, stateid, 3, state, 3, state_post, 3, level, 3, control, 3, schools_count, 3, counted_pct, 3, awards_per_state_value, 3, awards_per_natl_value, 3, exp_award_state_value, 3, exp_award_natl_value, 3, state_appr_value, 3, state_appr_rank, 3, grad_rate_rank, 3, awards_per_rank
Question: State the average median SAT value for institutes in the state with the most male graduate cohort in 2013.
Evidence: median SAT value refers to med_sat_value; average = AVG(med_sat_value); male refers to gender = 'M'; graduate cohort refers to grad_cohort; most male graduate cohort refers to MAX(COUNT(grad_cohort WHERE gender = 'M')); in 2013 refers to year = 2013;
SQL: SELECT AVG(T1.med_sat_value) FROM institution_details AS T1 INNER JOIN state_sector_grads AS T2 ON T1.state = T2.state WHERE T2.year = 2013 AND T2.gender = 'M' GROUP BY T2.grad_cohort ORDER BY COUNT(T2.grad_cohort) DESC LIMIT 1
Database: college_completion
Tables: institution_details, institution_grads, state_sector_grads, state_sector_details
Columns (table index, column name): -1, *, 0, unitid, 0, chronname, 0, city, 0, state, 0, level, 0, control, 0, basic, 0, hbcu, 0, flagship, 0, long_x, 0, lat_y, 0, site, 0, student_count, 0, awards_per_value, 0, awards_per_state_value, 0, awards_per_natl_value, 0, exp_award_value, 0, exp_award_state_value, 0, exp_award_natl_value, 0, exp_award_percentile, 0, ft_pct, 0, fte_value, 0, fte_percentile, 0, med_sat_value, 0, med_sat_percentile, 0, aid_value, 0, aid_percentile, 0, endow_value, 0, endow_percentile, 0, grad_100_value, 0, grad_100_percentile, 0, grad_150_value, 0, grad_150_percentile, 0, pell_value, 0, pell_percentile, 0, retain_value, 0, retain_percentile, 0, ft_fac_value, 0, ft_fac_percentile, 0, vsa_year, 0, vsa_grad_after4_first, 0, vsa_grad_elsewhere_after4_first, 0, vsa_enroll_after4_first, 0, vsa_enroll_elsewhere_after4_first, 0, vsa_grad_after6_first, 0, vsa_grad_elsewhere_after6_first, 0, vsa_enroll_after6_first, 0, vsa_enroll_elsewhere_after6_first, 0, vsa_grad_after4_transfer, 0, vsa_grad_elsewhere_after4_transfer, 0, vsa_enroll_after4_transfer, 0, vsa_enroll_elsewhere_after4_transfer, 0, vsa_grad_after6_transfer, 0, vsa_grad_elsewhere_after6_transfer, 0, vsa_enroll_after6_transfer, 0, vsa_enroll_elsewhere_after6_transfer, 0, similar, 0, state_sector_ct, 0, carnegie_ct, 0, counted_pct, 0, nicknames, 0, cohort_size, 1, unitid, 1, year, 1, gender, 1, race, 1, cohort, 1, grad_cohort, 1, grad_100, 1, grad_150, 1, grad_100_rate, 1, grad_150_rate, 2, stateid, 2, state, 2, state_abbr, 2, control, 2, level, 2, year, 2, gender, 2, race, 2, cohort, 2, grad_cohort, 2, grad_100, 2, grad_150, 2, grad_100_rate, 2, grad_150_rate, 2, grad_cohort_ct, 3, stateid, 3, state, 3, state_post, 3, level, 3, control, 3, schools_count, 3, counted_pct, 3, awards_per_state_value, 3, awards_per_natl_value, 3, exp_award_state_value, 3, exp_award_natl_value, 3, state_appr_value, 3, state_appr_rank, 3, grad_rate_rank, 3, awards_per_rank
Question: Name the state with the most number of graduate cohort in 2012 from private institute for profit? List all such institutes in the mentioned state.
Evidence: most number of graduate cohort refers to MAX(SUM(grad_cohort)); in 2012 refers to year = 2012; private institute for profit refers to control = 'Private for-profit'; institutes refers to chronname;
SQL: SELECT T1.state, T1.chronname FROM institution_details AS T1 INNER JOIN state_sector_grads AS T2 ON T1.state = T2.state WHERE T2.year = 2012 AND T1.control = 'Private for-profit' GROUP BY T2.grad_cohort ORDER BY COUNT(T2.grad_cohort) DESC LIMIT 1
Database: college_completion
Tables: institution_details, institution_grads, state_sector_grads, state_sector_details
Columns (table index, column name): -1, *, 0, unitid, 0, chronname, 0, city, 0, state, 0, level, 0, control, 0, basic, 0, hbcu, 0, flagship, 0, long_x, 0, lat_y, 0, site, 0, student_count, 0, awards_per_value, 0, awards_per_state_value, 0, awards_per_natl_value, 0, exp_award_value, 0, exp_award_state_value, 0, exp_award_natl_value, 0, exp_award_percentile, 0, ft_pct, 0, fte_value, 0, fte_percentile, 0, med_sat_value, 0, med_sat_percentile, 0, aid_value, 0, aid_percentile, 0, endow_value, 0, endow_percentile, 0, grad_100_value, 0, grad_100_percentile, 0, grad_150_value, 0, grad_150_percentile, 0, pell_value, 0, pell_percentile, 0, retain_value, 0, retain_percentile, 0, ft_fac_value, 0, ft_fac_percentile, 0, vsa_year, 0, vsa_grad_after4_first, 0, vsa_grad_elsewhere_after4_first, 0, vsa_enroll_after4_first, 0, vsa_enroll_elsewhere_after4_first, 0, vsa_grad_after6_first, 0, vsa_grad_elsewhere_after6_first, 0, vsa_enroll_after6_first, 0, vsa_enroll_elsewhere_after6_first, 0, vsa_grad_after4_transfer, 0, vsa_grad_elsewhere_after4_transfer, 0, vsa_enroll_after4_transfer, 0, vsa_enroll_elsewhere_after4_transfer, 0, vsa_grad_after6_transfer, 0, vsa_grad_elsewhere_after6_transfer, 0, vsa_enroll_after6_transfer, 0, vsa_enroll_elsewhere_after6_transfer, 0, similar, 0, state_sector_ct, 0, carnegie_ct, 0, counted_pct, 0, nicknames, 0, cohort_size, 1, unitid, 1, year, 1, gender, 1, race, 1, cohort, 1, grad_cohort, 1, grad_100, 1, grad_150, 1, grad_100_rate, 1, grad_150_rate, 2, stateid, 2, state, 2, state_abbr, 2, control, 2, level, 2, year, 2, gender, 2, race, 2, cohort, 2, grad_cohort, 2, grad_100, 2, grad_150, 2, grad_100_rate, 2, grad_150_rate, 2, grad_cohort_ct, 3, stateid, 3, state, 3, state_post, 3, level, 3, control, 3, schools_count, 3, counted_pct, 3, awards_per_state_value, 3, awards_per_natl_value, 3, exp_award_state_value, 3, exp_award_natl_value, 3, state_appr_value, 3, state_appr_rank, 3, grad_rate_rank, 3, awards_per_rank
Question: List all the public institutes from the state with the least number of graduate cohort in 2013.
Evidence: public refers to control = 'Public'; institutes refers to chronname; least number of graduate cohort refers to MIN(grad_cohort); in 2013 refers to year = 2013;
SQL: SELECT T1.chronname FROM institution_details AS T1 INNER JOIN state_sector_grads AS T2 ON T1.state = T2.state WHERE T2.year = 2013 AND T1.control = 'Public' ORDER BY T2.grad_cohort LIMIT 1
Database: college_completion
Tables: institution_details, institution_grads, state_sector_grads, state_sector_details
Columns (table index, column name): -1, *, 0, unitid, 0, chronname, 0, city, 0, state, 0, level, 0, control, 0, basic, 0, hbcu, 0, flagship, 0, long_x, 0, lat_y, 0, site, 0, student_count, 0, awards_per_value, 0, awards_per_state_value, 0, awards_per_natl_value, 0, exp_award_value, 0, exp_award_state_value, 0, exp_award_natl_value, 0, exp_award_percentile, 0, ft_pct, 0, fte_value, 0, fte_percentile, 0, med_sat_value, 0, med_sat_percentile, 0, aid_value, 0, aid_percentile, 0, endow_value, 0, endow_percentile, 0, grad_100_value, 0, grad_100_percentile, 0, grad_150_value, 0, grad_150_percentile, 0, pell_value, 0, pell_percentile, 0, retain_value, 0, retain_percentile, 0, ft_fac_value, 0, ft_fac_percentile, 0, vsa_year, 0, vsa_grad_after4_first, 0, vsa_grad_elsewhere_after4_first, 0, vsa_enroll_after4_first, 0, vsa_enroll_elsewhere_after4_first, 0, vsa_grad_after6_first, 0, vsa_grad_elsewhere_after6_first, 0, vsa_enroll_after6_first, 0, vsa_enroll_elsewhere_after6_first, 0, vsa_grad_after4_transfer, 0, vsa_grad_elsewhere_after4_transfer, 0, vsa_enroll_after4_transfer, 0, vsa_enroll_elsewhere_after4_transfer, 0, vsa_grad_after6_transfer, 0, vsa_grad_elsewhere_after6_transfer, 0, vsa_enroll_after6_transfer, 0, vsa_enroll_elsewhere_after6_transfer, 0, similar, 0, state_sector_ct, 0, carnegie_ct, 0, counted_pct, 0, nicknames, 0, cohort_size, 1, unitid, 1, year, 1, gender, 1, race, 1, cohort, 1, grad_cohort, 1, grad_100, 1, grad_150, 1, grad_100_rate, 1, grad_150_rate, 2, stateid, 2, state, 2, state_abbr, 2, control, 2, level, 2, year, 2, gender, 2, race, 2, cohort, 2, grad_cohort, 2, grad_100, 2, grad_150, 2, grad_100_rate, 2, grad_150_rate, 2, grad_cohort_ct, 3, stateid, 3, state, 3, state_post, 3, level, 3, control, 3, schools_count, 3, counted_pct, 3, awards_per_state_value, 3, awards_per_natl_value, 3, exp_award_state_value, 3, exp_award_natl_value, 3, state_appr_value, 3, state_appr_rank, 3, grad_rate_rank, 3, awards_per_rank
Question: Provide the institute name with less than 200 graduate cohort of all races and genders in 2013. Also, please state the total number of full-time equivalent undergraduates for the institute.
Evidence: institute name refers to chronname; less than 200 graduate cohort refers to grad_cohort < 200; all races refers to race = 'X'; all genders refers to gender = 'B'; in 2013 refers to year = 2013; total number of full-time equivalent undergraduates refers to fte_value;
SQL: SELECT T1.chronname, T2.grad_cohort FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T2.year = 2013 AND T2.gender = 'B' AND T2.race = 'X' AND T2.grad_cohort < 200
Database: college_completion
Tables: institution_details, institution_grads, state_sector_grads, state_sector_details
Columns (table index, column name): -1, *, 0, unitid, 0, chronname, 0, city, 0, state, 0, level, 0, control, 0, basic, 0, hbcu, 0, flagship, 0, long_x, 0, lat_y, 0, site, 0, student_count, 0, awards_per_value, 0, awards_per_state_value, 0, awards_per_natl_value, 0, exp_award_value, 0, exp_award_state_value, 0, exp_award_natl_value, 0, exp_award_percentile, 0, ft_pct, 0, fte_value, 0, fte_percentile, 0, med_sat_value, 0, med_sat_percentile, 0, aid_value, 0, aid_percentile, 0, endow_value, 0, endow_percentile, 0, grad_100_value, 0, grad_100_percentile, 0, grad_150_value, 0, grad_150_percentile, 0, pell_value, 0, pell_percentile, 0, retain_value, 0, retain_percentile, 0, ft_fac_value, 0, ft_fac_percentile, 0, vsa_year, 0, vsa_grad_after4_first, 0, vsa_grad_elsewhere_after4_first, 0, vsa_enroll_after4_first, 0, vsa_enroll_elsewhere_after4_first, 0, vsa_grad_after6_first, 0, vsa_grad_elsewhere_after6_first, 0, vsa_enroll_after6_first, 0, vsa_enroll_elsewhere_after6_first, 0, vsa_grad_after4_transfer, 0, vsa_grad_elsewhere_after4_transfer, 0, vsa_enroll_after4_transfer, 0, vsa_enroll_elsewhere_after4_transfer, 0, vsa_grad_after6_transfer, 0, vsa_grad_elsewhere_after6_transfer, 0, vsa_enroll_after6_transfer, 0, vsa_enroll_elsewhere_after6_transfer, 0, similar, 0, state_sector_ct, 0, carnegie_ct, 0, counted_pct, 0, nicknames, 0, cohort_size, 1, unitid, 1, year, 1, gender, 1, race, 1, cohort, 1, grad_cohort, 1, grad_100, 1, grad_150, 1, grad_100_rate, 1, grad_150_rate, 2, stateid, 2, state, 2, state_abbr, 2, control, 2, level, 2, year, 2, gender, 2, race, 2, cohort, 2, grad_cohort, 2, grad_100, 2, grad_150, 2, grad_100_rate, 2, grad_150_rate, 2, grad_cohort_ct, 3, stateid, 3, state, 3, state_post, 3, level, 3, control, 3, schools_count, 3, counted_pct, 3, awards_per_state_value, 3, awards_per_natl_value, 3, exp_award_state_value, 3, exp_award_natl_value, 3, state_appr_value, 3, state_appr_rank, 3, grad_rate_rank, 3, awards_per_rank
Question: What is the number of female graduate for all students cohort from Oakwood University in 2013?
Evidence: female refers to gender = 'F'; graduates refers to grad_cohort; Oakwood University refers to chronname = 'Oakwood University'; in 2013 refers to year = 2013; all sutdents refer to rae = 'X';
SQL: SELECT COUNT(*) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T2.year = 2013 AND T2.gender = 'F' AND T2.race = 'X' AND T1.chronname = 'Oakwood University'
Database: college_completion
Tables: institution_details, institution_grads, state_sector_grads, state_sector_details
Columns (table index, column name): -1, *, 0, unitid, 0, chronname, 0, city, 0, state, 0, level, 0, control, 0, basic, 0, hbcu, 0, flagship, 0, long_x, 0, lat_y, 0, site, 0, student_count, 0, awards_per_value, 0, awards_per_state_value, 0, awards_per_natl_value, 0, exp_award_value, 0, exp_award_state_value, 0, exp_award_natl_value, 0, exp_award_percentile, 0, ft_pct, 0, fte_value, 0, fte_percentile, 0, med_sat_value, 0, med_sat_percentile, 0, aid_value, 0, aid_percentile, 0, endow_value, 0, endow_percentile, 0, grad_100_value, 0, grad_100_percentile, 0, grad_150_value, 0, grad_150_percentile, 0, pell_value, 0, pell_percentile, 0, retain_value, 0, retain_percentile, 0, ft_fac_value, 0, ft_fac_percentile, 0, vsa_year, 0, vsa_grad_after4_first, 0, vsa_grad_elsewhere_after4_first, 0, vsa_enroll_after4_first, 0, vsa_enroll_elsewhere_after4_first, 0, vsa_grad_after6_first, 0, vsa_grad_elsewhere_after6_first, 0, vsa_enroll_after6_first, 0, vsa_enroll_elsewhere_after6_first, 0, vsa_grad_after4_transfer, 0, vsa_grad_elsewhere_after4_transfer, 0, vsa_enroll_after4_transfer, 0, vsa_enroll_elsewhere_after4_transfer, 0, vsa_grad_after6_transfer, 0, vsa_grad_elsewhere_after6_transfer, 0, vsa_enroll_after6_transfer, 0, vsa_enroll_elsewhere_after6_transfer, 0, similar, 0, state_sector_ct, 0, carnegie_ct, 0, counted_pct, 0, nicknames, 0, cohort_size, 1, unitid, 1, year, 1, gender, 1, race, 1, cohort, 1, grad_cohort, 1, grad_100, 1, grad_150, 1, grad_100_rate, 1, grad_150_rate, 2, stateid, 2, state, 2, state_abbr, 2, control, 2, level, 2, year, 2, gender, 2, race, 2, cohort, 2, grad_cohort, 2, grad_100, 2, grad_150, 2, grad_100_rate, 2, grad_150_rate, 2, grad_cohort_ct, 3, stateid, 3, state, 3, state_post, 3, level, 3, control, 3, schools_count, 3, counted_pct, 3, awards_per_state_value, 3, awards_per_natl_value, 3, exp_award_state_value, 3, exp_award_natl_value, 3, state_appr_value, 3, state_appr_rank, 3, grad_rate_rank, 3, awards_per_rank
Question: In 2012, how many Asian female graduates were seeking another type of degree or certificate at the 4-year institution at University of Alaska at Anchorage?
Evidence: In 2012 refers to year = 2012; Asian refers to race = 'A'; female refers to gender = 'F'; graduates refers to grad_cohort; seeking another type of degree or certificate at a 4-year institution refers to cohort = '4y other'; University of Alaska at Anchorage refers to chronname = 'University of Alaska at Anchorage';
SQL: SELECT COUNT(*) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T2.gender = 'F' AND T2.race = 'A' AND T1.chronname = 'University of Alaska at Anchorage' AND T2.cohort = '4y other'
Database: college_completion
Tables: institution_details, institution_grads, state_sector_grads, state_sector_details
Columns (table index, column name): -1, *, 0, unitid, 0, chronname, 0, city, 0, state, 0, level, 0, control, 0, basic, 0, hbcu, 0, flagship, 0, long_x, 0, lat_y, 0, site, 0, student_count, 0, awards_per_value, 0, awards_per_state_value, 0, awards_per_natl_value, 0, exp_award_value, 0, exp_award_state_value, 0, exp_award_natl_value, 0, exp_award_percentile, 0, ft_pct, 0, fte_value, 0, fte_percentile, 0, med_sat_value, 0, med_sat_percentile, 0, aid_value, 0, aid_percentile, 0, endow_value, 0, endow_percentile, 0, grad_100_value, 0, grad_100_percentile, 0, grad_150_value, 0, grad_150_percentile, 0, pell_value, 0, pell_percentile, 0, retain_value, 0, retain_percentile, 0, ft_fac_value, 0, ft_fac_percentile, 0, vsa_year, 0, vsa_grad_after4_first, 0, vsa_grad_elsewhere_after4_first, 0, vsa_enroll_after4_first, 0, vsa_enroll_elsewhere_after4_first, 0, vsa_grad_after6_first, 0, vsa_grad_elsewhere_after6_first, 0, vsa_enroll_after6_first, 0, vsa_enroll_elsewhere_after6_first, 0, vsa_grad_after4_transfer, 0, vsa_grad_elsewhere_after4_transfer, 0, vsa_enroll_after4_transfer, 0, vsa_enroll_elsewhere_after4_transfer, 0, vsa_grad_after6_transfer, 0, vsa_grad_elsewhere_after6_transfer, 0, vsa_enroll_after6_transfer, 0, vsa_enroll_elsewhere_after6_transfer, 0, similar, 0, state_sector_ct, 0, carnegie_ct, 0, counted_pct, 0, nicknames, 0, cohort_size, 1, unitid, 1, year, 1, gender, 1, race, 1, cohort, 1, grad_cohort, 1, grad_100, 1, grad_150, 1, grad_100_rate, 1, grad_150_rate, 2, stateid, 2, state, 2, state_abbr, 2, control, 2, level, 2, year, 2, gender, 2, race, 2, cohort, 2, grad_cohort, 2, grad_100, 2, grad_150, 2, grad_100_rate, 2, grad_150_rate, 2, grad_cohort_ct, 3, stateid, 3, state, 3, state_post, 3, level, 3, control, 3, schools_count, 3, counted_pct, 3, awards_per_state_value, 3, awards_per_natl_value, 3, exp_award_state_value, 3, exp_award_natl_value, 3, state_appr_value, 3, state_appr_rank, 3, grad_rate_rank, 3, awards_per_rank
Question: Compare the graduate cohort for Auburn University from 2011 to 2013?
Evidence: graduate cohort for Auburn University refers to grad_cohort is not null WHERE chronname = 'Auburn University', gender = 'B', race = 'X' and cohort = '4y other', '4y bach'; from 2011 to 2013 refers to year in (2011, 2012, 2013);
SQL: SELECT SUM(CASE WHEN T2.year = 2011 THEN T2.grad_cohort ELSE 0 END), SUM(CASE WHEN T2.year = 2012 THEN T2.grad_cohort ELSE 0 END), SUM(CASE WHEN T2.year = 2013 THEN T2.grad_cohort ELSE 0 END) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T2.gender = 'B' AND T2.race = 'X' AND T1.chronname = 'Auburn University'
Database: college_completion
Tables: institution_details, institution_grads, state_sector_grads, state_sector_details
Columns (table index, column name): -1, *, 0, unitid, 0, chronname, 0, city, 0, state, 0, level, 0, control, 0, basic, 0, hbcu, 0, flagship, 0, long_x, 0, lat_y, 0, site, 0, student_count, 0, awards_per_value, 0, awards_per_state_value, 0, awards_per_natl_value, 0, exp_award_value, 0, exp_award_state_value, 0, exp_award_natl_value, 0, exp_award_percentile, 0, ft_pct, 0, fte_value, 0, fte_percentile, 0, med_sat_value, 0, med_sat_percentile, 0, aid_value, 0, aid_percentile, 0, endow_value, 0, endow_percentile, 0, grad_100_value, 0, grad_100_percentile, 0, grad_150_value, 0, grad_150_percentile, 0, pell_value, 0, pell_percentile, 0, retain_value, 0, retain_percentile, 0, ft_fac_value, 0, ft_fac_percentile, 0, vsa_year, 0, vsa_grad_after4_first, 0, vsa_grad_elsewhere_after4_first, 0, vsa_enroll_after4_first, 0, vsa_enroll_elsewhere_after4_first, 0, vsa_grad_after6_first, 0, vsa_grad_elsewhere_after6_first, 0, vsa_enroll_after6_first, 0, vsa_enroll_elsewhere_after6_first, 0, vsa_grad_after4_transfer, 0, vsa_grad_elsewhere_after4_transfer, 0, vsa_enroll_after4_transfer, 0, vsa_enroll_elsewhere_after4_transfer, 0, vsa_grad_after6_transfer, 0, vsa_grad_elsewhere_after6_transfer, 0, vsa_enroll_after6_transfer, 0, vsa_enroll_elsewhere_after6_transfer, 0, similar, 0, state_sector_ct, 0, carnegie_ct, 0, counted_pct, 0, nicknames, 0, cohort_size, 1, unitid, 1, year, 1, gender, 1, race, 1, cohort, 1, grad_cohort, 1, grad_100, 1, grad_150, 1, grad_100_rate, 1, grad_150_rate, 2, stateid, 2, state, 2, state_abbr, 2, control, 2, level, 2, year, 2, gender, 2, race, 2, cohort, 2, grad_cohort, 2, grad_100, 2, grad_150, 2, grad_100_rate, 2, grad_150_rate, 2, grad_cohort_ct, 3, stateid, 3, state, 3, state_post, 3, level, 3, control, 3, schools_count, 3, counted_pct, 3, awards_per_state_value, 3, awards_per_natl_value, 3, exp_award_state_value, 3, exp_award_natl_value, 3, state_appr_value, 3, state_appr_rank, 3, grad_rate_rank, 3, awards_per_rank
Question: Calculate the percentage of Black students in all private for profit institutions.
Evidence: Black students refers to race = 'B'; private for profit refers to control = 'Private for-profit'; percentage = MULTIPLY(DIVIDE(SUM(race = 'B'), SUM(grad_cohort)), 100.0);
SQL: SELECT CAST(SUM(CASE WHEN T2.race = 'B' THEN 1 ELSE 0 END) AS REAL) * 100 / SUM(T2.grad_cohort) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T2.race = 'B' AND T1.control = 'Private for-profit'