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: Calculate the percentage of Asian students among students of other races who graduated from institution in Alabama in year 2013 within 100 percent of normal / expected time.
Evidence: Asian refers to race = 'A'; Alabama refers to state = 'Alabama'; graduated within 100 percent of normal/expected time refers to grad_100; percentage = MULTIPLY(DIVIDE(SUM(race = 'A'), SUM(grad_cohort)), 100);
SQL: SELECT CAST(SUM(CASE WHEN T2.race = 'A' 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.year = 2013 AND T1.state = 'Alabama'
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 ratio of Asian male graduates to Asian female graduates from Harvard University in 2013?
Evidence: ratio = MULTIPLY(DIVIDE(SUM(grad_cohort WHERE Gender = 'M'), SUM( grad_cohort WHERE Gender = 'F')), 1.0); Asian refers to race = 'A'; female refers to gender = 'F'; graduates refers to grad_cohort; male refers to gender = 'M'; Harvard University refers to chronname = 'Harvard University'; in 2013 refers to year = 2013;
SQL: SELECT CAST(SUM(CASE WHEN T2.Gender = 'M' THEN T2.grad_cohort ELSE 0 END) AS REAL) / SUM(CASE WHEN T2.Gender = 'F' THEN T2.grad_cohort ELSE 0 END) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T1.chronname = 'Harvard University' AND T2.year = 2013 AND T2.race = 'A'
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: From which institute is harder to graduate for a bachelor, Amridge University or Auburn University?
Evidence: institute refers to chronname; harder to graduate for a bachelor refers to MIN(grad_100_value); Amridge University refers to chronname = 'Amridge University'; Auburn University refers to chronname = 'Auburn University';
SQL: SELECT chronname FROM institution_details WHERE chronname IN ('Amridge University', 'Auburn University') ORDER BY grad_100_value 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: How many institutes are private and not-for profit?
Evidence: private and not for profit refers to control = 'Private not-for-profit';
SQL: SELECT COUNT(*) FROM institution_details WHERE control = 'Private not-for-profit'
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 total, how many Hispanic male students graduated from Amridge University?
Evidence: Hispanic refers to race = 'H'; male refers to gender = 'M'; Amridge University refers to chronname = 'Amridge University';
SQL: SELECT SUM(T2.grad_cohort) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T1.chronname = 'Amridge University' AND T2.gender = 'M' AND T2.race = 'H'
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: How many students that graduated from Lincoln College in 2011 belong to the cohort type of Bachelor's/equivalent seeking cohort at 4-year institutions?
Evidence: Lincoln College refers to chronname = 'Lincoln College'; in 2011 refers to year = 2011; Bachelor's/equivalent seeking cohort at 4-year institutions refers to cohort = '4y bach';
SQL: SELECT COUNT(T1.unitid) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T1.chronname = 'Lincoln College' AND T2.year = 2011 AND T2.cohort = '4y bach'
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's the number of male Hispanic students who graduated from Central Alabama Community College in 2011 within 100 percent of normal/expected time?
Evidence: male refers to gender = 'M'; Hispanic students refers to race = 'H'; Central Alabama Community College refers to chronname = 'Central Alabama Community College'; in 2011 refers to year = 2011; number of students who graduated within 100 percent of normal/expected time refers to grad_100;
SQL: SELECT SUM(T2.grad_100) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T1.chronname = 'Central Alabama Community College' AND T2.year = 2011 AND T2.gender = 'M' AND T2.race = 'H'
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: How many students graduated from Central Alabama Community College in 2011 in total?
Evidence: Central Alabama Community College refers to chronname = 'Central Alabama Community College'; in 2011 refers to year = 2011;
SQL: SELECT T2.grad_cohort FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T1.chronname = 'Central Alabama Community College' AND T2.year = 2011
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: Which cohort had the higher percentage of students who graduated from Central Alabama Community College in 2011 within 150 percent of normal/expected time, female White students or male White students?
Evidence: amount of percentage = SUM(grad_150 WHERE gender = 'F') as female; percentage = SUM(grad_150 WHERE gender = 'M') as male; Central Alabama Community College refers to chronname = 'Central Alabama Community College'; in 2011 refers to year = 2011; graduated within 150 percent of normal/expected time refers to grad_150; female refers to gender = 'F'; White refers to race = 'w'; male refers to gender = 'M';
SQL: SELECT IIF(SUM(CASE WHEN T2.gender = 'F' THEN T2.grad_150 ELSE 0 END) > SUM(CASE WHEN T2.gender = 'M' THEN T2.grad_150 ELSE 0 END), 'female White students', 'male White students') FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T2.unitid = T1.unitid WHERE T1.chronname = 'Central Alabama Community College' AND T2.year = 2011 AND T2.race = 'W'