NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which Goals have a Club of hallelujah fc, and a Rank of 7?
CREATE TABLE table_name_78 ( goals INTEGER, club VARCHAR, rank VARCHAR )
SELECT SUM(goals) FROM table_name_78 WHERE club = "hallelujah fc" AND rank = "7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 1766, 3, 21342, 17966, 6, 1886, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17916, 7, 43, 3, 9, 1949, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 1886, 3274, 96, 18369, 21927, 9, 107, 3, 89, 75, 121, 3430, 11003, 3274, 96, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Who directed episode number 3?
CREATE TABLE table_158088_2 (directed_by VARCHAR, episode_no VARCHAR)
SELECT directed_by FROM table_158088_2 WHERE episode_no = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 2079, 4060, 834, 357, 41, 22955, 834, 969, 584, 4280, 28027, 6, 5640, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 6640, 5640, 381, 220, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6640, 834, 969, 21680, 953, 834, 1808, 2079, 4060, 834, 357, 549, 17444, 427, 5640, 834, 29, 32, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the highest # Of Constituency Votes, when Election is before 1976, when Leader is Eisaku Sat , and when # Of Candidates is less than 328?
CREATE TABLE table_name_18 ( _number_of_constituency_votes INTEGER, _number_of_candidates VARCHAR, election VARCHAR, leader VARCHAR )
SELECT MAX(_number_of_constituency_votes) FROM table_name_18 WHERE election < 1976 AND leader = "eisaku satō" AND _number_of_candidates < 328
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 3, 834, 5525, 1152, 834, 858, 834, 8056, 17, 155, 76, 4392, 834, 1621, 1422, 3, 21342, 17966, 6, 3, 834, 5525, 1152, 834, 858, 834, 1608, 12416, 6203, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 834, 5525, 1152, 834, 858, 834, 8056, 17, 155, 76, 4392, 834, 1621, 1422, 61, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 4356, 3, 2, 16164, 3430, 2488, 3274, 96, 15, 159, 16296, 3, 7, 144, ...
what is the daily maximum of patient 007-9626's weight since 2105?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time )
SELECT MAX(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-9626') AND NOT patient.admissionweight IS NULL AND STRFTIME('%y', patient.unitadmittime) >= '2105' GROUP BY STRFTIME('%y-%m-%d', patient.unitadmittime)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 10061, 5, 9, 26, 5451, 9378, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 21680, 1868, 549, 17444, 4...
what is the name of the episode whose director is Michael Pressman and the number of that episode in that season is less than 10.0?
CREATE TABLE table_2791668_1 ( title VARCHAR, directed_by VARCHAR, no_in_season VARCHAR )
SELECT title FROM table_2791668_1 WHERE directed_by = "Michael Pressman" AND no_in_season < 10.0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4440, 2938, 3651, 834, 536, 41, 2233, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 6, 150, 834, 77, 834, 9476, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 357, 4440, 2938, 3651, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 329, 362, 9, 15, 40, 3373, 348, 121, 3430, 150, 834, 77, 834, 9476, 3, 2, 209, 11739, 1, -100, -100, -100, -100, ...
When the Away team score equaled 15.20 (110) what was the Date of the game?
CREATE TABLE table_57747 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_57747 WHERE "Away team score" = '15.20 (110)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4013, 4177, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 755, 4013, 4177, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 1808, 5, 1755, 4077, 16968, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Club or province has a caps larger than 15 and has Chris Cusiter playing for them?
CREATE TABLE table_name_88 (club_province VARCHAR, caps VARCHAR, player VARCHAR)
SELECT club_province FROM table_name_88 WHERE caps > 15 AND player = "chris cusiter"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 13442, 834, 1409, 2494, 565, 584, 4280, 28027, 6, 16753, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1949, 42, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 1886, 834, 1409, 2494, 565, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 16753, 2490, 627, 3430, 1959, 3274, 96, 524, 52, 159, 123, 3585, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the away captain when Hugh Trumble was the home captain and the result was Aus by 32 runs?
CREATE TABLE table_name_65 (away_captain VARCHAR, home_captain VARCHAR, result VARCHAR)
SELECT away_captain FROM table_name_65 WHERE home_captain = "hugh trumble" AND result = "aus by 32 runs"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 8006, 834, 4010, 17, 9, 77, 584, 4280, 28027, 6, 234, 834, 4010, 17, 9, 77, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 550, 834, 4010, 17, 9, 77, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 234, 834, 4010, 17, 9, 77, 3274, 96, 107, 14439, 3, 17, 52, 13514, 121, 3430, 741, 3274, 96, 2064, 57, 3538, 3154, 121, 1, -100, -100...
who was the only person to win a bronze medal in new delhi in 1982 in singles ?
CREATE TABLE table_204_765 ( id number, "year" number, "location" text, "gold" text, "silver" text, "bronze" text )
SELECT "bronze" FROM table_204_765 WHERE "year" = 1982
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3959, 755, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 14836, 121, 1499, 6, 96, 14910, 121, 1499, 6, 96, 7, 173, 624, 121, 1499, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13711, 776, 121, 21680, 953, 834, 26363, 834, 3959, 755, 549, 17444, 427, 96, 1201, 121, 3274, 14505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of Mike Thomas?
CREATE TABLE table_20860739_1 (position VARCHAR, player VARCHAR)
SELECT COUNT(position) FROM table_20860739_1 WHERE player = "Mike Thomas"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3840, 4560, 3288, 834, 536, 41, 4718, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 4794, 3576, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 4718, 61, 21680, 953, 834, 1755, 3840, 4560, 3288, 834, 536, 549, 17444, 427, 1959, 3274, 96, 329, 5208, 3576, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
In what position did skipper Mark Richards place?
CREATE TABLE table_25561560_2 (position VARCHAR, skipper VARCHAR)
SELECT position FROM table_25561560_2 WHERE skipper = "Mark Richards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4834, 1808, 3328, 834, 357, 41, 4718, 584, 4280, 28027, 6, 26205, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 1102, 410, 26205, 52, 2185, 4117, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 1828, 4834, 1808, 3328, 834, 357, 549, 17444, 427, 26205, 52, 3274, 96, 19762, 4117, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the home with a 1-1 away in the 2004-05 season?
CREATE TABLE table_name_99 (home VARCHAR, away VARCHAR, season VARCHAR)
SELECT home FROM table_name_99 WHERE away = "1-1" AND season = "2004-05"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 5515, 584, 4280, 28027, 6, 550, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 234, 28, 3, 9, 209, 2292, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 550, 3274, 96, 536, 2292, 121, 3430, 774, 3274, 96, 21653, 18, 3076, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For days had a minimum dew point smaller than any day in zip code 94107, show the total number of such days using a bar chart, could you sort by the Y in descending?
CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT ) CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_sea_level_pressure_inches NUMERIC, mean_sea_level_pressure_inches NUMERIC, min_sea_level_pressure_inches NUMERIC, max_visibility_miles INTEGER, mean_visibility_miles INTEGER, min_visibility_miles INTEGER, max_wind_Speed_mph INTEGER, mean_wind_speed_mph INTEGER, max_gust_speed_mph INTEGER, precipitation_inches INTEGER, cloud_cover INTEGER, events TEXT, wind_dir_degrees INTEGER, zip_code INTEGER ) CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER )
SELECT date, COUNT(date) FROM weather WHERE min_dew_point_f < (SELECT MIN(min_dew_point_f) FROM weather WHERE zip_code = 94107) GROUP BY date ORDER BY COUNT(date) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2637, 41, 2478, 834, 23, 26, 3, 21342, 17966, 6, 13490, 834, 28843, 3, 21342, 17966, 6, 12908, 7, 834, 28843, 3, 21342, 17966, 6, 97, 3, 3463, 4, 382, 3, 61, 3, 32102, 32103, 32102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 6, 2847, 17161, 599, 5522, 61, 21680, 1969, 549, 17444, 427, 3519, 834, 221, 210, 834, 2700, 834, 89, 3, 2, 41, 23143, 14196, 3, 17684, 599, 1109, 834, 221, 210, 834, 2700, 834, 89, 61, 21680, 1969, 549, 1744...
What is the resident state for the president elected in 1864?
CREATE TABLE table_11585 ( "Name" text, "Election Year" real, "Party" text, "Birth State" text, "Resident State" text )
SELECT "Resident State" FROM table_11585 WHERE "Election Year" = '1864'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15660, 4433, 41, 96, 23954, 121, 1499, 6, 96, 427, 12252, 2929, 121, 490, 6, 96, 13725, 63, 121, 1499, 6, 96, 279, 23, 52, 189, 1015, 121, 1499, 6, 96, 1649, 7, 4215, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7, 4215, 1015, 121, 21680, 953, 834, 15660, 4433, 549, 17444, 427, 96, 427, 12252, 2929, 121, 3274, 3, 31, 2606, 4389, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What score has august 25 as the date?
CREATE TABLE table_34319 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT "Score" FROM table_34319 WHERE "Date" = 'august 25'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 519, 2294, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3710, 519, 2294, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 402, 17198, 944, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the lowest position when points is more than 11, name is ea schongau and lost is less than 3?
CREATE TABLE table_name_47 (position INTEGER, lost VARCHAR, points VARCHAR, name VARCHAR)
SELECT MIN(position) FROM table_name_47 WHERE points > 11 AND name = "ea schongau" AND lost < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 4718, 3, 21342, 17966, 6, 1513, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 74...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 4718, 61, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 979, 2490, 850, 3430, 564, 3274, 96, 15, 9, 1594, 20038, 121, 3430, 1513, 3, 2, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the largest overall number of major hurricanes?
CREATE TABLE table_2930244_3 (number_of_major_hurricanes INTEGER)
SELECT MAX(number_of_major_hurricanes) FROM table_2930244_3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 1458, 357, 3628, 834, 519, 41, 5525, 1152, 834, 858, 834, 16547, 127, 834, 10666, 2234, 9, 1496, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2015, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 5525, 1152, 834, 858, 834, 16547, 127, 834, 10666, 2234, 9, 1496, 61, 21680, 953, 834, 3166, 1458, 357, 3628, 834, 519, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the date of the discus throw for Bulgaria?
CREATE TABLE table_name_40 ( date VARCHAR, nationality VARCHAR, event VARCHAR )
SELECT date FROM table_name_40 WHERE nationality = "bulgaria" AND event = "discus throw"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 833, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 5025, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 1157, 485, 3274, 96, 6724, 122, 6286, 121, 3430, 605, 3274, 96, 26, 28679, 3793, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Played has a Lost larger than 9, and a Points smaller than 15, and a Position smaller than 12, and a Drawn smaller than 2?
CREATE TABLE table_76073 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text )
SELECT AVG("Played") FROM table_76073 WHERE "Lost" > '9' AND "Points" < '15' AND "Position" < '12' AND "Drawn" < '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28212, 4552, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 15800, 15, 26, 8512, 21680, 953, 834, 28212, 4552, 549, 17444, 427, 96, 434, 3481, 121, 2490, 3, 31, 1298, 31, 3430, 96, 22512, 7, 121, 3, 2, 3, 31, 1808, 31, 3430, 96, 345, 32, 7, 4749, 1...
What is the highest value of area when capital is San Juan?
CREATE TABLE table_298550_1 ( area__km²_ INTEGER, capital VARCHAR )
SELECT MAX(area__km²_) FROM table_298550_1 WHERE capital = "San Juan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 4433, 1752, 834, 536, 41, 616, 834, 834, 5848, 357, 834, 3, 21342, 17966, 6, 1784, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 701, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 498, 834, 834, 5848, 357, 834, 61, 21680, 953, 834, 3166, 4433, 1752, 834, 536, 549, 17444, 427, 1784, 3274, 96, 134, 152, 15597, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What date did 'the big giant head returns again (part 1)' originally air?
CREATE TABLE table_31147 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT "Original air date" FROM table_31147 WHERE "Title" = 'The Big Giant Head Returns Again (Part 1)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 24719, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 3380, 10270, 799, 833, 121, 21680, 953, 834, 3341, 24719, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 634, 2734, 3156, 288, 3642, 9778, 7, 7204, 41, 13725, 8925, 31, 1, -100, -100, -100, -100, -...
Which round is the player from Oregon from?
CREATE TABLE table_name_32 ( round VARCHAR, college VARCHAR )
SELECT round FROM table_name_32 WHERE college = "oregon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 1751, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1751, 19, 8, 1959, 45, 8687, 45, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1751, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1900, 3274, 96, 127, 15, 5307, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
give me the number of patients diagnosed with alzheimer's disease who were admitted before 2144.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2144" AND diagnoses.long_title = "Alzheimer's disease"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the highest number of points that Justin Hodges earned with 0 field goals and 0 regular goals?
CREATE TABLE table_60107 ( "Player" text, "Tries" real, "Goals" text, "Field Goals" real, "Points" real )
SELECT MAX("Points") FROM table_60107 WHERE "Field Goals" = '0' AND "Goals" = '0' AND "Player" = 'justin hodges'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 18057, 41, 96, 15800, 49, 121, 1499, 6, 96, 382, 2593, 121, 490, 6, 96, 6221, 5405, 121, 1499, 6, 96, 3183, 8804, 17916, 7, 121, 490, 6, 96, 22512, 7, 121, 490, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22512, 7, 8512, 21680, 953, 834, 3328, 18057, 549, 17444, 427, 96, 3183, 8804, 17916, 7, 121, 3274, 3, 31, 632, 31, 3430, 96, 6221, 5405, 121, 3274, 3, 31, 632, 31, 3430, 96, 15800, 49, 121, 3...
What is the season number for Series #23, the Runway Job?
CREATE TABLE table_20704243_3 (season__number VARCHAR, series__number VARCHAR)
SELECT season__number FROM table_20704243_3 WHERE series__number = 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 6348, 27730, 834, 519, 41, 9476, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 939, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 834, 834, 5525, 1152, 21680, 953, 834, 26426, 6348, 27730, 834, 519, 549, 17444, 427, 939, 834, 834, 5525, 1152, 3274, 1902, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Is there a Position for Notes 53.96?
CREATE TABLE table_name_82 (position VARCHAR, notes VARCHAR)
SELECT position FROM table_name_82 WHERE notes = "53.96"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 4718, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 27, 7, 132, 3, 9, 14258, 21, 2507, 7, 12210, 5, 4314, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 3358, 3274, 96, 4867, 5, 4314, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Report the number of patients who died on or before 2115 and suffered from coronary artery disease or coronary artery bypass graft with mvr maze as their primary disease.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT WITH MVR; ? MAZE" AND demographic.dod_year <= "2115.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 5911, 13044, 24721, 11155, 5946, 476, 309, 19056, 17892, 2, 5911, 13044,...
Which Date has a Novick of 26%?
CREATE TABLE table_name_48 ( date VARCHAR, novick VARCHAR )
SELECT date FROM table_name_48 WHERE novick = "26%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 833, 584, 4280, 28027, 6, 3, 5326, 3142, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 7678, 65, 3, 9, 5098, 3142, 13, 204, 6370, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 3, 5326, 3142, 3274, 96, 357, 6370, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For those employees who did not have any job in the past, visualize a bar chart about the distribution of hire_date and the sum of salary bin hire_date by time, sort total number in ascending order.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(SALARY)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 613...
what is the name of the place listed last on this chart ?
CREATE TABLE table_204_279 ( id number, "name of place" text, "number\nof\ncounties" number, "principal\ncounty" text, "zip code\nlower" number, "zip code\nupper" number )
SELECT "name of place" FROM table_204_279 ORDER BY id DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 4440, 41, 3, 23, 26, 381, 6, 96, 4350, 13, 286, 121, 1499, 6, 96, 5525, 1152, 2, 29, 858, 2, 29, 13362, 725, 121, 381, 6, 96, 12298, 3389, 138, 2, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4350, 13, 286, 121, 21680, 953, 834, 26363, 834, 357, 4440, 4674, 11300, 272, 476, 3, 23, 26, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country had a July 1, 2010 density of 41?
CREATE TABLE table_59597 ( "Rank" text, "County" text, "State" text, "Land area (km\u00b2)" text, "Land area (mi\u00b2)" text, "April 1, 2010 census" text, "April 1, 2010 density (/km\u00b2)" text, "April 1, 2010 density (/mi\u00b2)" text, "July 1, 2010 official estimate" text, "July 1, 2010 density (/km\u00b2)" text, "July 1, 2010 density (/mi\u00b2)" text, "July 1, 2011 official estimate" text, "July 1, 2011 density (/km\u00b2)" text, "July 1, 2011 density (/mi\u00b2)" text, "Mid-2010 to mid-2011 change (Absolute)" text, "Mid-2010 to mid-2011 change (%)" text, "County seat or courthouse" text )
SELECT "County" FROM table_59597 WHERE "July 1, 2010 density (/km\u00b2)" = '41'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 3390, 940, 41, 96, 22557, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 134, 4748, 121, 1499, 6, 96, 434, 232, 616, 41, 5848, 2, 76, 1206, 115, 7318, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 63, 121, 21680, 953, 834, 3390, 3390, 940, 549, 17444, 427, 96, 683, 83, 63, 1914, 2735, 11048, 41, 87, 5848, 2, 76, 1206, 115, 7318, 121, 3274, 3, 31, 4853, 31, 1, -100, -100, -100, -100, -100, -100, ...
What was the average of games that were one in 1978 that were smaller than 141?
CREATE TABLE table_name_42 (wins INTEGER, years VARCHAR, games VARCHAR)
SELECT AVG(wins) FROM table_name_42 WHERE years = "1978" AND games < 141
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 3757, 7, 3, 21342, 17966, 6, 203, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1348, 13, 1031, 24, 130, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 203, 3274, 96, 2294, 3940, 121, 3430, 1031, 3, 2, 3, 26059, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the population of Krager ?
CREATE TABLE table_42258 ( "City" text, "Municipality" text, "County" text, "Town status" text, "Population" real )
SELECT MIN("Population") FROM table_42258 WHERE "City" = 'kragerø'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 357, 3449, 41, 96, 254, 485, 121, 1499, 6, 96, 329, 202, 23, 3389, 10355, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 382, 9197, 2637, 121, 1499, 6, 96, 27773, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 27773, 7830, 8512, 21680, 953, 834, 4165, 357, 3449, 549, 17444, 427, 96, 254, 485, 121, 3274, 3, 31, 9669, 1304, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what was the average monthly number of patients who had cardiac arrest in 2105?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time )
SELECT AVG(t1.c1) FROM (SELECT COUNT(DISTINCT diagnosis.patientunitstayid) AS c1 FROM diagnosis WHERE diagnosis.diagnosisname = 'cardiac arrest' AND STRFTIME('%y', diagnosis.diagnosistime) = '2105' GROUP BY STRFTIME('%y-%m', diagnosis.diagnosistime)) AS t1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7690, 4350, 1499, 6, 50, 1999, 7, 83, 17, 381, 6, 50, 1999, 7, 83, 17, 715, 97, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 17, 5411, 75, 6982, 21680, 41, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 8209, 5, 10061, 15129, 21545, 23, 26, 61, 6157, 3, 75, 536, 21680, 8209, 549, 17444, 427, 8209, 5, 25930, 4844, 159, ...
What player was drafted by the philadelphia union?
CREATE TABLE table_27735 ( "Pick #" real, "MLS Team" text, "Player" text, "Position" text, "Affiliation" text )
SELECT "Player" FROM table_27735 WHERE "MLS Team" = 'Philadelphia Union'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4013, 2469, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 17976, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 188, 89, 8027...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 357, 4013, 2469, 549, 17444, 427, 96, 17976, 2271, 121, 3274, 3, 31, 23305, 15311, 11692, 9, 3545, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the frequency when the format is contemporary christian music?
CREATE TABLE table_name_68 (frequency VARCHAR, format VARCHAR)
SELECT frequency FROM table_name_68 WHERE format = "contemporary christian music"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 30989, 584, 4280, 28027, 6, 1910, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 7321, 116, 8, 1910, 19, 4092, 3, 15294, 23, 152, 723...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 1910, 3274, 96, 1018, 13089, 52, 1208, 3, 15294, 23, 152, 723, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was his minimum number wins in a single year?
CREATE TABLE table_25557880_1 (wins INTEGER)
SELECT MIN(wins) FROM table_25557880_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3769, 3940, 2079, 834, 536, 41, 3757, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 112, 2559, 381, 9204, 16, 3, 9, 712, 215, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3757, 7, 61, 21680, 953, 834, 1828, 3769, 3940, 2079, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the number of bronze medals when the total medals were 78 and there were less than 12 golds?
CREATE TABLE table_name_39 (bronze INTEGER, total VARCHAR, gold VARCHAR)
SELECT SUM(bronze) FROM table_name_39 WHERE total = 78 AND gold < 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 13711, 776, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 13467, 9365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 792, 3274, 3, 3940, 3430, 2045, 3, 2, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average Finish, when Team is "Buck Baker", and when Start is less than 13?
CREATE TABLE table_name_39 (finish INTEGER, team VARCHAR, start VARCHAR)
SELECT AVG(finish) FROM table_name_39 WHERE team = "buck baker" AND start < 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 25535, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 456, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 17578, 6, 116, 2271, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 25535, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 372, 3274, 96, 13863, 11091, 52, 121, 3430, 456, 3, 2, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What are the student scores on the NAEP math exam for 8th graders in North Carolina and South Carolina?
CREATE TABLE ndecoreexcel_math_grade8 ( year number, state text, all_students text, average_scale_score number ) CREATE TABLE finrev_fed_key_17 ( state_code number, state text, #_records text ) CREATE TABLE finrev_fed_17 ( state_code number, idcensus number, school_district text, nces_id text, yr_data number, t_fed_rev number, c14 number, c25 number )
SELECT average_scale_score FROM ndecoreexcel_math_grade8 WHERE state = "North Carolina" UNION SELECT average_scale_score FROM ndecoreexcel_math_grade8 WHERE state = "South Carolina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 29, 221, 9022, 994, 7125, 834, 3357, 107, 834, 6801, 927, 41, 215, 381, 6, 538, 1499, 6, 66, 834, 8637, 295, 7, 1499, 6, 1348, 834, 6649, 834, 7, 9022, 381, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1348, 834, 6649, 834, 7, 9022, 21680, 3, 29, 221, 9022, 994, 7125, 834, 3357, 107, 834, 6801, 927, 549, 17444, 427, 538, 3274, 96, 22969, 5089, 121, 4417, 9215, 3, 23143, 14196, 1348, 834, 6649, 834, 7, 9022, 21680,...
Who played in the Toronto Raptors from 1995-96?
CREATE TABLE table_10015132_14 (player VARCHAR, years_in_toronto VARCHAR)
SELECT player FROM table_10015132_14 WHERE years_in_toronto = "1995-96"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 1808, 23757, 834, 2534, 41, 20846, 584, 4280, 28027, 6, 203, 834, 77, 834, 235, 4438, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 1944, 16, 8, 7030, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 2915, 1808, 23757, 834, 2534, 549, 17444, 427, 203, 834, 77, 834, 235, 4438, 32, 3274, 96, 2294, 3301, 18, 4314, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the Home Captain and the Result for AUS by 4 wkts?
CREATE TABLE table_42570 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text )
SELECT "Home captain" FROM table_42570 WHERE "Result" = 'aus by 4 wkts'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 28363, 41, 96, 308, 342, 121, 1499, 6, 96, 19040, 14268, 121, 1499, 6, 96, 188, 1343, 14268, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 14268, 121, 21680, 953, 834, 4165, 28363, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 2064, 57, 314, 3, 210, 157, 17, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Case type has a Base diameter of 13.03 (.513), and a Case length of 63.5 (2.5)?
CREATE TABLE table_name_29 (case_type VARCHAR, base_diameter VARCHAR, case_length VARCHAR)
SELECT case_type FROM table_name_29 WHERE base_diameter = "13.03 (.513)" AND case_length = "63.5 (2.5)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 6701, 834, 6137, 584, 4280, 28027, 6, 1247, 834, 26, 23, 9, 4401, 584, 4280, 28027, 6, 495, 834, 19457, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 495, 834, 6137, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 1247, 834, 26, 23, 9, 4401, 3274, 96, 2368, 5, 4928, 41, 5, 5553, 5268, 121, 3430, 495, 834, 19457, 3274, 96, 948, 9285, 41, 15967, 61, 121, 1, ...
How many patients are of urgent admission type and diagnosed for icd9 code 7596?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "URGENT" AND diagnoses.icd9_code = "7596"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the sum of Rank, when Province is G l n, when Date of Official Foundation of Municipality is after 1922, and when 2006 is greater than 557366?
CREATE TABLE table_44170 ( "Rank" real, "City" text, "Province" text, "Date of Official Foundation of Municipality" real, "2006" real )
SELECT SUM("Rank") FROM table_44170 WHERE "Province" = 'gīlān' AND "Date of Official Foundation of Municipality" > '1922' AND "2006" > '557366'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 536, 2518, 41, 96, 22557, 121, 490, 6, 96, 254, 485, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 308, 342, 13, 13686, 2941, 13, 16492, 485, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 22557, 8512, 21680, 953, 834, 3628, 536, 2518, 549, 17444, 427, 96, 3174, 2494, 565, 121, 3274, 3, 31, 122, 2, 40, 2, 29, 31, 3430, 96, 308, 342, 13, 13686, 2941, 13, 16492, 485, 121, 2490, ...
What is the lowest number of Losses when the number of Wins is less than 4, the number of Tie is 2, and the Place is 5?
CREATE TABLE table_31574 ( "Place" real, "Team" text, "Wins" real, "Ties" real, "Losses" real, "Points" text )
SELECT MIN("Losses") FROM table_31574 WHERE "Wins" < '4' AND "Ties" = '2' AND "Place" = '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 1808, 4581, 41, 96, 345, 11706, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 382, 725, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 434, 13526, 7, 8512, 21680, 953, 834, 519, 1808, 4581, 549, 17444, 427, 96, 18455, 7, 121, 3, 2, 3, 31, 591, 31, 3430, 96, 382, 725, 121, 3274, 3, 31, 357, 31, 3430, 96, 345, 11706, 121, 32...
List all the MCs with peak ranking of 6 who were inducted in 2007.
CREATE TABLE table_4178 ( "Position" real, "Top MC" text, "Year inducted" real, "Appearances" real, "Peak ranking" real )
SELECT "Top MC" FROM table_4178 WHERE "Year inducted" = '2007' AND "Peak ranking" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 3940, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 22481, 3, 3698, 121, 1499, 6, 96, 476, 2741, 16, 21336, 121, 490, 6, 96, 9648, 2741, 663, 7, 121, 490, 6, 96, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22481, 3, 3698, 121, 21680, 953, 834, 4853, 3940, 549, 17444, 427, 96, 476, 2741, 16, 21336, 121, 3274, 3, 31, 20615, 31, 3430, 96, 345, 15, 1639, 11592, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, ...
Return a bar chart on how many gymnasts are from each hometown?
CREATE TABLE people ( People_ID int, Name text, Age real, Height real, Hometown text ) CREATE TABLE gymnast ( Gymnast_ID int, Floor_Exercise_Points real, Pommel_Horse_Points real, Rings_Points real, Vault_Points real, Parallel_Bars_Points real, Horizontal_Bar_Points real, Total_Points real )
SELECT Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 5570, 1499, 6, 7526, 490, 6, 24231, 490, 6, 1210, 3540, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 23379, 17, 41, 31560, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1210, 3540, 6, 2847, 17161, 599, 1935, 61, 21680, 23379, 17, 6157, 332, 536, 3, 15355, 3162, 151, 6157, 332, 357, 9191, 332, 5411, 517, 63, 51, 29, 9, 7, 17, 834, 4309, 3274, 332, 4416, 24337, 834, 4309, 350, 4630...
What is Pronunciation Spelled Free, when Pronunciation Spelled Checked is ' '?
CREATE TABLE table_78604 ( "Letter" text, "Pronunciation spelled free" text, "Pronunciation spelled checked" text, "Example spelled free" text, "Example spelled checked" text )
SELECT "Pronunciation spelled free" FROM table_78604 WHERE "Pronunciation spelled checked" = 'ʏ'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 3328, 591, 41, 96, 434, 15583, 121, 1499, 6, 96, 3174, 29, 15254, 257, 3, 7, 14528, 339, 121, 1499, 6, 96, 3174, 29, 15254, 257, 3, 7, 14528, 7122, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3174, 29, 15254, 257, 3, 7, 14528, 339, 121, 21680, 953, 834, 3940, 3328, 591, 549, 17444, 427, 96, 3174, 29, 15254, 257, 3, 7, 14528, 7122, 121, 3274, 3, 31, 2, 31, 1, -100, -100, -100, -100, -100, -100, -1...
How many weeks have a Date of december 4, 1976, and an Attendance larger than 57,366?
CREATE TABLE table_9683 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT SUM("Week") FROM table_9683 WHERE "Date" = 'december 4, 1976' AND "Attendance" > '57,366'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4314, 4591, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 518, 10266, 8512, 21680, 953, 834, 4314, 4591, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 221, 75, 18247, 6464, 16164, 31, 3430, 96, 188, 17, 324, 26, 663, 121, 2490, 3, 31, 3436, 6, 5...
What date(s) was the game(s) at Candlestick Park?
CREATE TABLE table_62564 ( "Year" real, "Date" text, "Home Team" text, "Result" text, "Visiting Team" text, "Venue" text )
SELECT "Date" FROM table_62564 WHERE "Venue" = 'candlestick park'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 1828, 4389, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 2271, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 30338, 2271, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 948, 1828, 4389, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 75, 232, 109, 9656, 2447, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many brandings are there where the Power kW (ERP) is 1kW (29.94kW ERP)?
CREATE TABLE table_2610582_2 ( branding VARCHAR, power_kw__erp_ VARCHAR )
SELECT COUNT(branding) FROM table_2610582_2 WHERE power_kw__erp_ = "1kW (29.94kW ERP)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 12869, 4613, 834, 357, 41, 14282, 584, 4280, 28027, 6, 579, 834, 157, 210, 834, 834, 49, 102, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 12164, 53, 61, 21680, 953, 834, 2688, 12869, 4613, 834, 357, 549, 17444, 427, 579, 834, 157, 210, 834, 834, 49, 102, 834, 3274, 96, 536, 21729, 41, 3166, 5, 4240, 21729, 22568, 61, 121, 1, -100, ...
Which major has least number of students? List the major and the number of students.
CREATE TABLE restaurant_type ( restypeid number, restypename text, restypedescription text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE type_of_restaurant ( resid number, restypeid number ) CREATE TABLE restaurant ( resid number, resname text, address text, rating number ) CREATE TABLE visits_restaurant ( stuid number, resid number, time time, spent number )
SELECT major, COUNT(*) FROM student GROUP BY major ORDER BY COUNT(major) LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2062, 834, 6137, 41, 3, 60, 7, 6137, 23, 26, 381, 6, 3, 60, 7, 6137, 4350, 1499, 6, 880, 63, 3138, 15, 11830, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 779, 6, 2847, 17161, 599, 1935, 61, 21680, 1236, 350, 4630, 6880, 272, 476, 779, 4674, 11300, 272, 476, 2847, 17161, 599, 16547, 127, 61, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When looking at new entries this round and seeing 8; what number in total is there for clubs remaining?
CREATE TABLE table_1281200_1 ( clubs_remaining VARCHAR, new_entries_this_round VARCHAR )
SELECT COUNT(clubs_remaining) FROM table_1281200_1 WHERE new_entries_this_round = "8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4959, 3632, 834, 536, 41, 8122, 834, 60, 7484, 53, 584, 4280, 28027, 6, 126, 834, 35, 9000, 834, 8048, 834, 7775, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 13442, 7, 834, 60, 7484, 53, 61, 21680, 953, 834, 2122, 4959, 3632, 834, 536, 549, 17444, 427, 126, 834, 35, 9000, 834, 8048, 834, 7775, 3274, 96, 927, 121, 1, -100, -100, -100, -100, -100, -100, ...
What language is telemarket for you with a content of televendita?
CREATE TABLE table_name_59 (language VARCHAR, content VARCHAR, television_service VARCHAR)
SELECT language FROM table_name_59 WHERE content = "televendita" AND television_service = "telemarket for you"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 24925, 584, 4280, 28027, 6, 738, 584, 4280, 28027, 6, 4390, 834, 5114, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1612, 19, 3, 1931, 8809,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1612, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 738, 3274, 96, 1931, 1926, 26, 155, 9, 121, 3430, 4390, 834, 5114, 3274, 96, 1931, 8809, 21, 25, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the ranking when Archie Compston is the player and the money is $73?
CREATE TABLE table_name_6 ( place VARCHAR, money___$__ VARCHAR, player VARCHAR )
SELECT place FROM table_name_6 WHERE money___$__ = "73" AND player = "archie compston"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 286, 584, 4280, 28027, 6, 540, 834, 834, 834, 3229, 834, 834, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 540, 834, 834, 834, 3229, 834, 834, 3274, 96, 4552, 121, 3430, 1959, 3274, 96, 291, 9781, 2890, 4411, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was Dainty June when Boyd Gaines was Herbie?
CREATE TABLE table_52471 ( "Productions" text, "Rose" text, "Louise" text, "Dainty June" text, "Herbie" text, "Director" text )
SELECT "Dainty June" FROM table_52471 WHERE "Herbie" = 'boyd gaines'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2266, 4450, 41, 96, 3174, 8291, 7, 121, 1499, 6, 96, 448, 32, 7, 15, 121, 1499, 6, 96, 28365, 15, 121, 1499, 6, 96, 308, 9, 77, 17, 63, 1515, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 9, 77, 17, 63, 1515, 121, 21680, 953, 834, 755, 2266, 4450, 549, 17444, 427, 96, 12636, 4232, 121, 3274, 3, 31, 7531, 26, 2485, 15, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of silver medals of the nation Cuba, which has less than 0 gold?
CREATE TABLE table_name_7 ( silver INTEGER, nation VARCHAR, gold VARCHAR )
SELECT SUM(silver) FROM table_name_7 WHERE nation = "cuba" AND gold < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 4294, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 4294, 9365, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 2982, 3274, 96, 16377, 121, 3430, 2045, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many patients had stayed in the hospital for more than 23 days with 1504 as their diagnosis icd9 code?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "23" AND diagnoses.icd9_code = "1504"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What year was the ranking 1?
CREATE TABLE table_name_47 ( year VARCHAR, rank VARCHAR )
SELECT year FROM table_name_47 WHERE rank = "1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 215, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 8, 11592, 209, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 11003, 3274, 96, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the code for a Le Haut-Saint-Laurent municipality that has 16 or more regions?
CREATE TABLE table_name_14 ( code INTEGER, regional_county_municipality VARCHAR, region VARCHAR )
SELECT MIN(code) FROM table_name_14 WHERE regional_county_municipality = "le haut-saint-laurent" AND region > 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 1081, 3, 21342, 17966, 6, 3518, 834, 13362, 63, 834, 11760, 3389, 10355, 584, 4280, 28027, 6, 1719, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 4978, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 3518, 834, 13362, 63, 834, 11760, 3389, 10355, 3274, 96, 109, 7438, 18, 7, 9, 77, 17, 18, 40, 402, 5320, 121, 3430, 1719, 2490, 898, 1, ...
Name the total number of tie number for team 2 osijek
CREATE TABLE table_20819379_2 ( tie_no VARCHAR, team_2 VARCHAR )
SELECT COUNT(tie_no) FROM table_20819379_2 WHERE team_2 = "Osijek"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4959, 4271, 4440, 834, 357, 41, 6177, 834, 29, 32, 584, 4280, 28027, 6, 372, 834, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 17, 23, 15, 834, 29, 32, 61, 21680, 953, 834, 1755, 4959, 4271, 4440, 834, 357, 549, 17444, 427, 372, 834, 357, 3274, 96, 667, 7, 23, 1924, 157, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Who is the opponent at the IFA: Clash of the Champions?
CREATE TABLE table_name_71 (opponent VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_71 WHERE event = "ifa: clash of the champions"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 32, 102, 9977, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 15264, 44, 8, 27, 4795, 10, 205, 8058, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 605, 3274, 96, 99, 9, 10, 21500, 13, 8, 6336, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What single was written by the artist cap D?
CREATE TABLE table_name_17 (single VARCHAR, artist VARCHAR)
SELECT single FROM table_name_17 WHERE artist = "cap d"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 7, 53, 109, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 712, 47, 1545, 57, 8, 2377, 2468, 309, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 712, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 2377, 3274, 96, 4010, 3, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which team has far rabat as the team 1?
CREATE TABLE table_name_64 (team_2 VARCHAR, team_1 VARCHAR)
SELECT team_2 FROM table_name_64 WHERE team_1 = "far rabat"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 11650, 834, 357, 584, 4280, 28027, 6, 372, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 65, 623, 3, 7093, 144, 38, 8, 372,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 834, 357, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 372, 834, 536, 3274, 96, 5544, 3, 7093, 144, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the date for goal of 5
CREATE TABLE table_31652 ( "Goal" real, "Date" text, "Score" text, "Result" text, "Competition" text )
SELECT "Date" FROM table_31652 WHERE "Goal" = '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25946, 5373, 41, 96, 6221, 138, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 25946, 5373, 549, 17444, 427, 96, 6221, 138, 121, 3274, 3, 31, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest first prize of the Mercedes Championships tournament in California?
CREATE TABLE table_34705 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" real )
SELECT MIN("1st prize ( $ )") FROM table_34705 WHERE "Location" = 'california' AND "Tournament" = 'mercedes championships'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4177, 3076, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 9022...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 536, 7, 17, 6441, 41, 1514, 3, 61, 8512, 21680, 953, 834, 519, 4177, 3076, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 15534, 1161, 29, 23, 9, 31, 3430, 96, 382, 1211, 20205, 1...
what was the difference in attendance between the july 7th game and the july 8th game ?
CREATE TABLE table_204_147 ( id number, "#" number, "date" text, "opponent" text, "score" text, "win" text, "loss" text, "save" text, "attendance" number, "record" text )
SELECT ABS((SELECT "attendance" FROM table_204_147 WHERE "date" = 'july 7') - (SELECT "attendance" FROM table_204_147 WHERE "date" = 'july 8'))
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 24719, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 3757, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20798, 599, 599, 23143, 14196, 96, 15116, 663, 121, 21680, 953, 834, 26363, 834, 24719, 549, 17444, 427, 96, 5522, 121, 3274, 3, 31, 2047, 120, 489, 31, 61, 3, 18, 41, 23143, 14196, 96, 15116, 663, 121, 21680, 953, ...
Which team had a game of 82?
CREATE TABLE table_name_60 ( team VARCHAR, game VARCHAR )
SELECT team FROM table_name_60 WHERE game = 82
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 372, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 141, 3, 9, 467, 13, 3, 4613, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 467, 3274, 3, 4613, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many total television shows has gauri starred in ?
CREATE TABLE table_203_485 ( id number, "year" text, "show" text, "role" text, "notes" text )
SELECT COUNT("show") FROM table_203_485
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 4433, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 1499, 6, 96, 10049, 121, 1499, 6, 96, 3491, 15, 121, 1499, 6, 96, 7977, 7, 121, 1499, 3, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 10049, 8512, 21680, 953, 834, 23330, 834, 591, 4433, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals?
CREATE TABLE table_70917 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Bronze") FROM table_70917 WHERE "Gold" < '2' AND "Nation" = 'uganda' AND "Total" > '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 1298, 2517, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22780, 29, 776, 8512, 21680, 953, 834, 2518, 1298, 2517, 549, 17444, 427, 96, 23576, 121, 3, 2, 3, 31, 357, 31, 3430, 96, 567, 257, 121, 3274, 3, 31, 12204, 727, 9, 31, 3430, 96, 3696, 194...
Which Fate has a Nationality of united kingdom, and a Tonnage of 1,809?
CREATE TABLE table_13187 ( "Date" text, "Ship" text, "Tonnage" text, "Nationality" text, "Fate" text )
SELECT "Fate" FROM table_13187 WHERE "Nationality" = 'united kingdom' AND "Tonnage" = '1,809'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 25828, 41, 96, 308, 342, 121, 1499, 6, 96, 134, 10462, 121, 1499, 6, 96, 382, 106, 9761, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 371, 342, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 342, 121, 21680, 953, 834, 2368, 25828, 549, 17444, 427, 96, 24732, 485, 121, 3274, 3, 31, 15129, 15, 26, 14740, 31, 3430, 96, 382, 106, 9761, 121, 3274, 3, 31, 4347, 2079, 1298, 31, 1, -100, -100, -100, ...
Which Record has a Visitor of pittsburgh, and a Score of 4 0?
CREATE TABLE table_44387 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Attendance" real, "Record" text, "Points" real )
SELECT "Record" FROM table_44387 WHERE "Visitor" = 'pittsburgh' AND "Score" = '4–0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 519, 4225, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 188, 17, 324, 26, 663, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3628, 519, 4225, 549, 17444, 427, 96, 553, 159, 155, 127, 121, 3274, 3, 31, 5230, 17, 7289, 107, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 591, 104, 632, 31, 1, -100, -100,...
what is the number of patients diagnosed with aortic aneurysm - thoracic until 1 year ago?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time )
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'aortic aneurysm - thoracic' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-1 year'))
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 8209, 5, 10061, 15129, 21545, 23, 26, 21680, 8209, 549, ...
Show the average age of heads of departments born in each state with a bar chart, list by the X-axis in desc.
CREATE TABLE department ( Department_ID int, Name text, Creation text, Ranking int, Budget_in_Billions real, Num_Employees real ) CREATE TABLE head ( head_ID int, name text, born_state text, age real ) CREATE TABLE management ( department_ID int, head_ID int, temporary_acting text )
SELECT born_state, AVG(age) FROM head GROUP BY born_state ORDER BY born_state DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 1775, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24589, 1499, 6, 29153, 16, 17, 6, 12532, 834, 77, 834, 279, 14916, 7, 490, 6, 1174, 51, 834, 427, 51, 7379, 63, 15, 15, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2170, 834, 5540, 6, 71, 17217, 599, 545, 61, 21680, 819, 350, 4630, 6880, 272, 476, 2170, 834, 5540, 4674, 11300, 272, 476, 2170, 834, 5540, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest production code
CREATE TABLE table_23546 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (million)" text, "Original air date" text, "Production code" real )
SELECT MIN("Production code") FROM table_23546
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25174, 4448, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 3174, 8291, 1081, 8512, 21680, 953, 834, 25174, 4448, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
when was joe clark first elected ?
CREATE TABLE table_203_214 ( id number, "member" text, "party" text, "electorate" text, "state" text, "first elected" text )
SELECT "first elected" FROM table_203_214 WHERE "member" = 'joe clark'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 27357, 41, 3, 23, 26, 381, 6, 96, 12066, 121, 1499, 6, 96, 8071, 121, 1499, 6, 96, 400, 5317, 342, 121, 1499, 6, 96, 5540, 121, 1499, 6, 96, 14672, 8160, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14672, 8160, 121, 21680, 953, 834, 23330, 834, 27357, 549, 17444, 427, 96, 12066, 121, 3274, 3, 31, 1927, 15, 6860, 157, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who built the grid 2 car?
CREATE TABLE table_57846 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Constructor" FROM table_57846 WHERE "Grid" = '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3940, 4448, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 4302, 7593, 127, 121, 21680, 953, 834, 755, 3940, 4448, 549, 17444, 427, 96, 13313, 26, 121, 3274, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the package/option for Italy when the language is italian?
CREATE TABLE table_40744 ( "Television service" text, "Country" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text )
SELECT "Package/Option" FROM table_40744 WHERE "Country" = 'italy' AND "Language" = 'italian'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 4581, 591, 41, 96, 382, 400, 6610, 313, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 4302, 4669, 121, 1499, 6, 96, 11083, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24376, 545, 87, 9546, 106, 121, 21680, 953, 834, 2445, 4581, 591, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 9538, 63, 31, 3430, 96, 434, 1468, 76, 545, 121, 3274, 3, 31, 155, 9, 9928, 31, 1, -100, ...
List the population density per kilometer for the city of calintaan?
CREATE TABLE table_261951_1 (pop_density__per_km²_ VARCHAR, municipality VARCHAR)
SELECT pop_density__per_km²_ FROM table_261951_1 WHERE municipality = "Calintaan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2294, 5553, 834, 536, 41, 9791, 834, 537, 7, 485, 834, 834, 883, 834, 5848, 357, 834, 584, 4280, 28027, 6, 27597, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2783, 834, 537, 7, 485, 834, 834, 883, 834, 5848, 357, 834, 21680, 953, 834, 2688, 2294, 5553, 834, 536, 549, 17444, 427, 27597, 3274, 96, 14318, 77, 17, 9, 152, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
How many Points have a Position larger than 4, and Losses larger than 5, and a Conceded of 15, and a Scored larger than 11?
CREATE TABLE table_name_70 (points VARCHAR, scored VARCHAR, conceded VARCHAR, position VARCHAR, losses VARCHAR)
SELECT COUNT(points) FROM table_name_70 WHERE position > 4 AND losses > 5 AND conceded = 15 AND scored > 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 2700, 7, 584, 4280, 28027, 6, 5799, 584, 4280, 28027, 6, 28325, 26, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 1102, 2490, 314, 3430, 8467, 2490, 305, 3430, 28325, 26, 3274, 627, 3430, 5799, 2490, 850, 1, -100, -100, -100, -100, -100, -100, -100,...
Who is the voice actor of the character with the Japanese voice actor Yoku Shioya?
CREATE TABLE table_name_48 ( voice_actor__harmony_gold_ova_dub_ VARCHAR, japanese_voice_actor VARCHAR )
SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_48 WHERE japanese_voice_actor = "yoku shioya"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 2249, 834, 9, 5317, 834, 834, 3272, 21208, 834, 14910, 834, 6194, 834, 1259, 115, 834, 584, 4280, 28027, 6, 2662, 2837, 15, 7, 15, 834, 23235, 834, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2249, 834, 9, 5317, 834, 834, 3272, 21208, 834, 14910, 834, 6194, 834, 1259, 115, 834, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 2662, 2837, 15, 7, 15, 834, 23235, 834, 9, 5317, 3274, 96, 63, 18512, 3, 56...
give me the number of patients whose diagnoses long title is diabetes with ophthalmic manifestations, type ii or unspecified type, not stated as uncontrolled and lab test abnormal status is abnormal?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Diabetes with ophthalmic manifestations, type II or unspecified type, not stated as uncontrolled" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Which Outcome has a Score in the final of 3 6, 1 6?
CREATE TABLE table_13030 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text )
SELECT "Outcome" FROM table_13030 WHERE "Score in the final" = '3–6, 1–6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21448, 1458, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, 687, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15767, 287, 15, 121, 21680, 953, 834, 21448, 1458, 549, 17444, 427, 96, 134, 9022, 16, 8, 804, 121, 3274, 3, 31, 519, 104, 11071, 209, 104, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What type has a scratch of 750 GB?
CREATE TABLE table_name_2 ( type VARCHAR, scratch VARCHAR )
SELECT type FROM table_name_2 WHERE scratch = "750 gb"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 686, 584, 4280, 28027, 6, 8629, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 686, 65, 3, 9, 8629, 13, 3, 9979, 3, 3443, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 686, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 8629, 3274, 96, 9979, 3, 122, 115, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What positions does the college/junior/club team, molot perm (russia) have?
CREATE TABLE table_1013129_1 (position VARCHAR, college_junior_club_team VARCHAR)
SELECT position FROM table_1013129_1 WHERE college_junior_club_team = "Molot Perm (Russia)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 2368, 22174, 834, 536, 41, 4718, 584, 4280, 28027, 6, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 4655, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 1714, 2368, 22174, 834, 536, 549, 17444, 427, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 3274, 96, 329, 32, 3171, 1915, 51, 41, 29613, 61, 121, 1, -100, -100, -100, -100, -100, -100, -1...
Which constructor was there for the race with 25 laps?
CREATE TABLE table_name_31 (constructor VARCHAR, laps VARCHAR)
SELECT constructor FROM table_name_31 WHERE laps = 25
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 15982, 5317, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 6774, 127, 47, 132, 21, 8, 1964, 28, 944, 14941, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6774, 127, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 14941, 7, 3274, 944, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the enrollment at the school with IHSAA class A and where mascot is the Vikings?
CREATE TABLE table_13621 ( "School" text, "Location" text, "Mascot" text, "Enrollment" real, "IHSAA Class" text, "# / County" text )
SELECT "Enrollment" FROM table_13621 WHERE "IHSAA Class" = 'a' AND "Mascot" = 'vikings'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23459, 2658, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 329, 9, 7, 4310, 121, 1499, 6, 96, 8532, 4046, 297, 121, 490, 6, 96, 196, 4950, 5498, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 8532, 4046, 297, 121, 21680, 953, 834, 23459, 2658, 549, 17444, 427, 96, 196, 4950, 5498, 4501, 121, 3274, 3, 31, 9, 31, 3430, 96, 329, 9, 7, 4310, 121, 3274, 3, 31, 21346, 53, 7, 31, 1, -100, -100, -100, ...
what were the three procedures that were the most frequent in the previous year?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time )
SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11963, 670, 2562, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 26889, 4350, 21680, 41, 23143, 14196, 1058, 5, 26889, 4350, 6, 3, 22284, 4132, 834, 16375, 439, 9960, 3, 23288, 41, 2990, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 61, 6157, 3, 75, 536, ...
What is the technical number for Jiang Tingting & Jiang Wenwen, and the total was more than 96.334?
CREATE TABLE table_name_77 (technical INTEGER, athlete VARCHAR, total VARCHAR)
SELECT MAX(technical) FROM table_name_77 WHERE athlete = "jiang tingting & jiang wenwen" AND total > 96.334
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 3470, 29, 1950, 3, 21342, 17966, 6, 17893, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2268, 381, 21, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 3470, 29, 1950, 61, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 17893, 3274, 96, 354, 23, 1468, 3, 1222, 1222, 3, 184, 3, 354, 23, 1468, 62, 29, 210, 35, 121, 3430, 792, 2490, 668, 27865, 37...
What was the lowest attendance when the Green Bay Packers played?
CREATE TABLE table_name_31 (attendance INTEGER, opponent VARCHAR)
SELECT MIN(attendance) FROM table_name_31 WHERE opponent = "green bay packers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 15116, 663, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7402, 11364, 116, 8, 1862, 2474, 26698, 1944, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 15264, 3274, 96, 9423, 10210, 4153, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When the total score is 740, what is tromso?
CREATE TABLE table_73116 ( "Song" text, "Porsgrunn" real, "Bergen" real, "Bod\u00f8" real, "Stavanger" real, "\u00c5lesund" real, "Elverum" real, "Troms\u00f8" real, "Fredrikstad" real, "Trondheim" real, "Oslo" real, "Total" real )
SELECT MIN("Troms\u00f8") FROM table_73116 WHERE "Total" = '740'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 20159, 41, 96, 134, 2444, 121, 1499, 6, 96, 345, 127, 7, 9667, 29, 29, 121, 490, 6, 96, 279, 49, 729, 121, 490, 6, 96, 279, 32, 26, 2, 76, 1206, 89, 927, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 382, 3522, 7, 2, 76, 1206, 89, 927, 8512, 21680, 953, 834, 4552, 20159, 549, 17444, 427, 96, 3696, 1947, 121, 3274, 3, 31, 940, 2445, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What's the title of the episode with a season number 25?
CREATE TABLE table_17549 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT "Title" FROM table_17549 WHERE "No. in season" = '25'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 3072, 3647, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 536, 3072, 3647, 549, 17444, 427, 96, 4168, 5, 16, 774, 121, 3274, 3, 31, 1828, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For Ynysybwl RFC, what was the losing bonus for 416 points?
CREATE TABLE table_68685 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Losing bonus" FROM table_68685 WHERE "Points for" = '416' AND "Club" = 'ynysybwl rfc'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 3651, 755, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, 6, 96, 22512, 7, 21, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 7, 53, 4023, 121, 21680, 953, 834, 3651, 3651, 755, 549, 17444, 427, 96, 22512, 7, 21, 121, 3274, 3, 31, 591, 2938, 31, 3430, 96, 254, 11158, 121, 3274, 3, 31, 63, 29, 63, 7, 63, 115, 210, 40, 3...
WHAT IS THE ATTENDANCE WITH A READING AWAY TEAM?
CREATE TABLE table_10059 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Attendance" FROM table_10059 WHERE "Away team" = 'reading'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 3390, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 17, 324, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 2915, 3390, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 20316, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many different cities do have some airport in the country of Greenland?
CREATE TABLE airports (city VARCHAR, country VARCHAR)
SELECT COUNT(DISTINCT city) FROM airports WHERE country = 'Greenland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3761, 7, 41, 6726, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 315, 3119, 103, 43, 128, 3761, 16, 8, 684, 13, 1862, 40, 232, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 690, 61, 21680, 3761, 7, 549, 17444, 427, 684, 3274, 3, 31, 22918, 40, 232, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total enrollment for the school in garden city, new york?
CREATE TABLE table_1969634_1 ( enrollment VARCHAR, location VARCHAR )
SELECT enrollment FROM table_1969634_1 WHERE location = "Garden City, New York"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26937, 4314, 3710, 834, 536, 41, 17938, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 17938, 21, 8, 496, 16, 2004, 690...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 17938, 21680, 953, 834, 26937, 4314, 3710, 834, 536, 549, 17444, 427, 1128, 3274, 96, 21846, 537, 896, 6, 368, 1060, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What team lost a game by a score of 6-0?
CREATE TABLE table_32509 ( "Year" real, "Game" text, "Team" text, "Runner-up" text, "Score" text )
SELECT "Runner-up" FROM table_32509 WHERE "Score" = '6-0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 1828, 4198, 41, 96, 476, 2741, 121, 490, 6, 96, 23055, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 23572, 18, 413, 121, 1499, 6, 96, 134, 9022, 121, 1499, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23572, 18, 413, 121, 21680, 953, 834, 519, 1828, 4198, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 28625, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
give me the number of patients whose ethnicity is white and primary disease is hypertension;rule out coronary artery disease\cardiac cath?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.diagnosis = "HYPERTENSION;RULE OUT CORONARY ARTERY DISEASE\CARDIAC CATH"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 15313, 14871, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 15761...
nejat konuk and dervi &#351; ero &#287; lu are from which party ?
CREATE TABLE table_203_694 ( id number, "#" number, "name" text, "took office" text, "left office" text, "party" text )
SELECT "party" FROM table_203_694 WHERE "name" IN ('nejat konuk', 'dervis eroglu')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3951, 591, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 4350, 121, 1499, 6, 96, 235, 1825, 828, 121, 1499, 6, 96, 17068, 828, 121, 1499, 6, 96, 8071, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 8071, 121, 21680, 953, 834, 23330, 834, 3951, 591, 549, 17444, 427, 96, 4350, 121, 3388, 41, 31, 29, 15, 1191, 17, 10447, 1598, 31, 6, 3, 31, 588, 3466, 3, 49, 32, 13492, 31, 61, 1, -100, -100, -100, -100, ...