NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Where is the Locale when L is 2.
CREATE TABLE table_19830 ( "Locale" text, "Skip" text, "W" real, "L" real, "PF" real, "PA" real, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot Pct." text )
SELECT "Locale" FROM table_19830 WHERE "L" = '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24151, 1458, 41, 96, 434, 32, 1489, 15, 121, 1499, 6, 96, 134, 2168, 102, 121, 1499, 6, 96, 518, 121, 490, 6, 96, 434, 121, 490, 6, 96, 12017, 121, 490, 6, 96, 3965, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1489, 15, 121, 21680, 953, 834, 24151, 1458, 549, 17444, 427, 96, 434, 121, 3274, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who wrote the episode with a production code of ip03007?
CREATE TABLE table_31036 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text )
SELECT "Written by" FROM table_31036 WHERE "Production code" = 'IP03007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19947, 3420, 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, 24965, 324, 57, 121, 21680, 953, 834, 19947, 3420, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 4629, 632, 5426, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total population with less than 789 males?
CREATE TABLE table_65016 ( "District" text, "Number of Households" real, "Total Population" real, "Male" real, "Female" real )
SELECT COUNT("Total Population") FROM table_65016 WHERE "Male" < '789'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15348, 2938, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 567, 5937, 49, 13, 1384, 6134, 7, 121, 490, 6, 96, 3696, 1947, 29659, 121, 490, 6, 96, 329, 9, 109, 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, 2847, 17161, 599, 121, 3696, 1947, 29659, 8512, 21680, 953, 834, 15348, 2938, 549, 17444, 427, 96, 329, 9, 109, 121, 3, 2, 3, 31, 940, 3914, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Electorate is from vic, a labor party, and is David Charles a member of?
CREATE TABLE table_name_6 (electorate VARCHAR, member VARCHAR, state VARCHAR, party VARCHAR)
SELECT electorate FROM table_name_6 WHERE state = "vic" AND party = "labor" AND member = "david charles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 400, 5317, 342, 584, 4280, 28027, 6, 1144, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11924, 127, 342, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 538, 3274, 96, 7287, 121, 3430, 1088, 3274, 96, 9456, 121, 3430, 1144, 3274, 96, 26, 9, 6961, 3, 4059, 965, 121, 1, -100, -100, -100, -100, -100, ...
history of exposure to hiv
CREATE TABLE table_train_181 ( "id" int, "systolic_blood_pressure_sbp" int, "fasting_plasma_glucose_fpg" float, "hemoglobin_a1c_hba1c" float, "hepatitis_c" bool, "hepatitis_b" bool, "exposure_to_hiv" bool, "diastolic_blood_pressure_dbp" int, "hypertension" bool, "NOUSE" float )
SELECT * FROM table_train_181 WHERE exposure_to_hiv = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 2606, 536, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16, 17, 6, 96, 11584, 53, 834, 21178, 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, 1429, 21680, 953, 834, 9719, 834, 2606, 536, 549, 17444, 427, 4773, 834, 235, 834, 107, 23, 208, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
find out how many patients were discharged from the hospital during the previous year.
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( c...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL AND DATETIME(patient.hospitaldischargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2179, 9339, 41, 2179, 521, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1543, 3585, 1499, 6, 9329, 1499, 6, 1543, 4914, 29, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4486, 1868, 5, 31386, 26, 159, 7993, 715, 6827, 13046, 10376, 3430, 309, 6048, 382, 15382, 599, 10061, 5, 31386, 26, 1...
What is the Home Team Score at VFL Park?
CREATE TABLE table_name_97 ( home_team VARCHAR, venue VARCHAR )
SELECT home_team AS score FROM table_name_97 WHERE venue = "vfl park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 234, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1210, 2271, 17763, 44, 584, 10765, 1061, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 5669, 3274, 96, 208, 89, 40, 2447, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the names of climbers and the corresponding heights of the mountains that they climb Show bar chart, display by the Y-axis from high to low please.
CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text ) CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int )
SELECT T1.Name, T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T2.Height DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4180, 41, 5617, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24231, 490, 6, 749, 1109, 1433, 490, 6, 10971, 1499, 6, 6993, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 332, 5411, 23954, 6, 332, 4416, 3845, 2632, 21680, 8147, 49, 6157, 332, 536, 3, 15355, 3162, 4180, 6157, 332, 357, 9191, 332, 5411, 329, 32, 14016, 77, 834, 4309, 3274, 332, 4416, 329, 32, 14016, 77, 834, 4309, 4674...
What is the yam amount when the Cassava amount is 0.11?
CREATE TABLE table_4509 ( "STAPLE:" text, "Maize / Corn [A ]" text, "Rice [B ]" text, "Wheat [C ]" text, "Potato [D ]" text, "Cassava [E ]" text, "Soybean (Green) [F ]" text, "Sweet potato [G ]" text, "Yam [Y ]" text )
SELECT "Yam [Y ]" FROM table_4509 WHERE "Cassava [E ]" = '0.11'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 4198, 41, 96, 134, 3221, 27872, 10, 121, 1499, 6, 96, 21978, 776, 3, 87, 11673, 784, 188, 3, 908, 121, 1499, 6, 96, 448, 867, 784, 279, 3, 908, 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, 476, 265, 784, 476, 3, 908, 121, 21680, 953, 834, 2128, 4198, 549, 17444, 427, 96, 254, 9, 7, 7, 8644, 784, 427, 3, 908, 121, 3274, 3, 31, 16029, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the title of the episode seen by 3.8 million people in the US?
CREATE TABLE table_23503 ( "No. in series" text, "No. in season" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text )
SELECT "Title" FROM table_23503 WHERE "U.S. viewers (millions)" = '3.8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25174, 4928, 41, 96, 4168, 5, 16, 939, 121, 1499, 6, 96, 4168, 5, 16, 774, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 249...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25174, 4928, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 17030, 7, 61, 121, 3274, 3, 31, 26195, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who are the Batsmen from the year 2002?
CREATE TABLE table_43867 ( "Score" text, "Batsmen" text, "Against" text, "Location" text, "Year" text )
SELECT "Batsmen" FROM table_43867 WHERE "Year" = '2002'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3747, 3708, 41, 96, 134, 9022, 121, 1499, 6, 96, 279, 144, 7, 904, 121, 1499, 6, 96, 20749, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 476, 2741, 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, 279, 144, 7, 904, 121, 21680, 953, 834, 591, 3747, 3708, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 24898, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show me about the correlation between People_ID and Snatch in a scatter chart.
CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text )
SELECT People_ID, Snatch FROM body_builder
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 643, 834, 16422, 49, 41, 8501, 834, 24752, 49, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 180, 29, 14547, 490, 6, 7433, 834, 683, 49, 157, 490, 6, 9273, 490, 3, 61, 3, 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, 2449, 834, 4309, 6, 180, 29, 14547, 21680, 643, 834, 16422, 49, 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, -100, ...
What week of the season had a date of october 5, 1975?
CREATE TABLE table_6545 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MIN("Week") FROM table_6545 WHERE "Date" = 'october 5, 1975'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 2128, 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, 3, 17684, 599, 121, 518, 10266, 8512, 21680, 953, 834, 4122, 2128, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 32, 75, 235, 1152, 7836, 16312, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What season was School/Club Team perpetual help in the guard position?
CREATE TABLE table_43171 ( "Name" text, "Position" text, "Number" text, "School/Club Team" text, "Season" text, "Acquisition via" text )
SELECT "Season" FROM table_43171 WHERE "Position" = 'guard' AND "School/Club Team" = 'perpetual help'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 2517, 536, 41, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 567, 5937, 49, 121, 1499, 6, 96, 29364, 87, 254, 11158, 2271, 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, 1...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 4906, 2517, 536, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 11010, 31, 3430, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 883, 4995, 3471, 199, 31, ...
What is the position for round 5 from alabama state?
CREATE TABLE table_name_39 (position VARCHAR, round VARCHAR, college VARCHAR)
SELECT position FROM table_name_39 WHERE round = 5 AND college = "alabama state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 4718, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1102, 21, 1751, 305, 45, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 1751, 3274, 305, 3430, 1900, 3274, 96, 9, 9339, 265, 9, 538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the June playmate with the November playmate Lorraine Olivia?
CREATE TABLE table_14373 ( "January" text, "February" text, "March" text, "April" text, "June" text, "July" text, "August" text, "September" text, "October" text, "November" text, "December" text )
SELECT "June" FROM table_14373 WHERE "November" = 'lorraine olivia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25133, 4552, 41, 96, 30404, 121, 1499, 6, 96, 31122, 121, 1499, 6, 96, 25019, 121, 1499, 6, 96, 23323, 121, 1499, 6, 96, 683, 444, 121, 1499, 6, 96, 683, 83, 63, 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, 1...
[ 3, 23143, 14196, 96, 683, 444, 121, 21680, 953, 834, 25133, 4552, 549, 17444, 427, 96, 28635, 121, 3274, 3, 31, 322, 6559, 15, 3, 4172, 5907, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which venue was fouded before 2000 for basketball?
CREATE TABLE table_name_31 (venue VARCHAR, founded VARCHAR, sport VARCHAR)
SELECT venue FROM table_name_31 WHERE founded < 2000 AND sport = "basketball"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 15098, 584, 4280, 28027, 6, 5710, 584, 4280, 28027, 6, 2600, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5669, 47, 21114, 221, 26, 274, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 5710, 3, 2, 2766, 3430, 2600, 3274, 96, 4883, 8044, 3184, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Season ha spvgg bayreuth and eintracht trier?
CREATE TABLE table_name_19 (season VARCHAR, oberliga_bayern VARCHAR, oberliga_südwest VARCHAR)
SELECT season FROM table_name_19 WHERE oberliga_bayern = "spvgg bayreuth" AND oberliga_südwest = "eintracht trier"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 9476, 584, 4280, 28027, 6, 18299, 17140, 834, 11119, 49, 29, 584, 4280, 28027, 6, 18299, 17140, 834, 7, 1272, 26, 12425, 584, 4280, 28027, 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, 774, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 18299, 17140, 834, 11119, 49, 29, 3274, 96, 7, 102, 208, 4102, 10210, 60, 76, 189, 121, 3430, 18299, 17140, 834, 7, 1272, 26, 12425, 3274, 96, 2455, 1313, 3997...
How much money, in millions, is paid to Infotalent?
CREATE TABLE table_name_92 (amount__millions_ VARCHAR, payee VARCHAR)
SELECT amount__millions_ FROM table_name_92 WHERE payee = "infotalent"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 9, 11231, 834, 834, 17030, 7, 834, 584, 4280, 28027, 6, 726, 15, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 540, 6, 16, 4040, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 866, 834, 834, 17030, 7, 834, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 726, 15, 15, 3274, 96, 9583, 1947, 295, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many average wins does bruce fleisher have?
CREATE TABLE table_name_40 (wins INTEGER, player VARCHAR)
SELECT AVG(wins) FROM table_name_40 WHERE player = "bruce fleisher"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 3757, 7, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1348, 9204, 405, 3, 9052, 565, 8079, 1273, 49, 43, 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, 71, 17217, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 1959, 3274, 96, 9052, 565, 8079, 1273, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Province, when 2006 is less than 153748, when Date of Official Foundation of Municipality is after 1958, and when City is 'Pakdasht'?
CREATE TABLE table_name_46 ( province VARCHAR, city VARCHAR, date_of_official_foundation_of_municipality VARCHAR )
SELECT province FROM table_name_46 WHERE 2006 < 153748 AND date_of_official_foundation_of_municipality > 1958 AND city = "pakdasht"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 7985, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 6, 833, 834, 858, 834, 20884, 834, 19732, 257, 834, 858, 834, 11760, 3389, 10355, 584, 4280, 28027, 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, 7985, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 3581, 3, 2, 627, 4118, 3707, 3430, 833, 834, 858, 834, 20884, 834, 19732, 257, 834, 858, 834, 11760, 3389, 10355, 2490, 22306, 3430, 690, 3274, 96, 16864, 26, ...
give me the number of patients whose days of hospital stay is greater than 27 and drug code is cafcit?
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 te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "27" AND prescriptions.formulary_drug_cd = "CAFCIT"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Tell me the report for bugatti and brooklands
CREATE TABLE table_name_96 ( report VARCHAR, winning_constructor VARCHAR, circuit VARCHAR )
SELECT report FROM table_name_96 WHERE winning_constructor = "bugatti" AND circuit = "brooklands"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 934, 584, 4280, 28027, 6, 3447, 834, 15982, 5317, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 934, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 934, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 3447, 834, 15982, 5317, 3274, 96, 14588, 15817, 121, 3430, 4558, 3274, 96, 14370, 6347, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
allergy to the contrast agent gadolinium
CREATE TABLE table_train_101 ( "id" int, "systolic_blood_pressure_sbp" int, "uncontrolled_diabetes" bool, "hemoglobin_a1c_hba1c" float, "allergy_to_contrast_agent_gadolinium" bool, "diastolic_blood_pressure_dbp" int, "hypotension" bool, "hypertension" bool, "NOUSE" float )
SELECT * FROM table_train_101 WHERE allergy_to_contrast_agent_gadolinium = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 19621, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16, 17, 6, 96, 202, 20388, 834, 26, 23, 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, 1429, 21680, 953, 834, 9719, 834, 19621, 549, 17444, 427, 23886, 834, 235, 834, 1018, 17, 20484, 834, 9, 5560, 834, 122, 9, 26, 12057, 2552, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score of the match with deportes savio as the away team?
CREATE TABLE table_name_57 ( score VARCHAR, away VARCHAR )
SELECT score FROM table_name_57 WHERE away = "deportes savio"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 2604, 584, 4280, 28027, 6, 550, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 1588, 28, 20, 1493, 15, 7, 3, 7, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 550, 3274, 96, 221, 1493, 15, 7, 3, 7, 2960, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is discharge location of subject name edward schafer?
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, ...
SELECT demographic.discharge_location FROM demographic WHERE demographic.name = "Edward Schafer"
[ 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, 14798, 5, 26, 159, 7993, 834, 14836, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 427, 26, 2239, 27320, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Count job title of all people ordered by their names using a bar chart.
CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER )
SELECT job, COUNT(job) FROM Person GROUP BY job ORDER BY name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 41, 564, 3, 4331, 4059, 599, 1755, 201, 1246, 3, 21342, 17966, 6, 690, 3, 3463, 4, 382, 6, 7285, 3, 3463, 4, 382, 6, 613, 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, 613, 6, 2847, 17161, 599, 16899, 61, 21680, 5780, 350, 4630, 6880, 272, 476, 613, 4674, 11300, 272, 476, 564, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the shipping agent names?
CREATE TABLE Ref_Shipping_Agents (shipping_agent_name VARCHAR)
SELECT shipping_agent_name FROM Ref_Shipping_Agents
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, 834, 10499, 23, 5341, 834, 188, 5560, 7, 41, 2009, 2462, 834, 9, 5560, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3365, 3102, 3056, 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, 0...
[ 3, 23143, 14196, 3365, 834, 9, 5560, 834, 4350, 21680, 419, 89, 834, 10499, 23, 5341, 834, 188, 5560, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For all employees who have the letters D or S in their first name, give me the comparison about the sum of department_id over the job_id , and group by attribute job_id, show total number in ascending order.
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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_...
SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY SUM(DEPARTMENT_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 446, 10539, 834, 4309, 6, 180, 6122, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, ...
Name the pinyin for 487 area
CREATE TABLE table_1638437_2 ( pinyin VARCHAR, area VARCHAR )
SELECT pinyin FROM table_1638437_2 WHERE area = "487"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3747, 591, 4118, 834, 357, 41, 4522, 63, 77, 584, 4280, 28027, 6, 616, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 4522, 63, 77, 21, 314, 4225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4522, 63, 77, 21680, 953, 834, 2938, 3747, 591, 4118, 834, 357, 549, 17444, 427, 616, 3274, 96, 591, 4225, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which school has more than 3 rounds with jason odom?
CREATE TABLE table_11511 ( "Pick" real, "Round" real, "Player" text, "Position" text, "School" text )
SELECT "School" FROM table_11511 WHERE "Round" > '3' AND "Player" = 'jason odom'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15660, 2596, 41, 96, 345, 3142, 121, 490, 6, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 121, 1499, 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, 29364, 121, 21680, 953, 834, 15660, 2596, 549, 17444, 427, 96, 448, 32, 1106, 121, 2490, 3, 31, 519, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 1191, 739, 3, 32, 5012, 31, 1, -100, -100, -100, -100, -100, -1...
Name the result for january 14, 2008
CREATE TABLE table_15492 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Result" FROM table_15492 WHERE "Date" = 'january 14, 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27308, 4508, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 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, 0, 0...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 27308, 4508, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 7066, 76, 1208, 11363, 2628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of climbers for each mountain? Show me a bar chart, list by the x-axis in ascending.
CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int ) CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text )
SELECT T2.Name, COUNT(T2.Name) FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID GROUP BY T2.Name ORDER BY T2.Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8147, 49, 41, 205, 9577, 49, 834, 4309, 16, 17, 6, 5570, 1499, 6, 6993, 1499, 6, 2900, 1499, 6, 4564, 7, 490, 6, 5617, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 332, 4416, 23954, 6, 2847, 17161, 599, 382, 4416, 23954, 61, 21680, 8147, 49, 6157, 332, 536, 3, 15355, 3162, 4180, 6157, 332, 357, 9191, 332, 5411, 329, 32, 14016, 77, 834, 4309, 3274, 332, 4416, 329, 32, 14016, 77...
For Angelique Kerber who had an RR Rate of less than 0.33, what's the appeared?
CREATE TABLE table_6291 ( "Player" text, "Result" text, "Appeared" real, "RR W\u2013L" text, "RR W Rate" real )
SELECT SUM("Appeared") FROM table_6291 WHERE "RR W Rate" < '0.33' AND "Player" = 'angelique kerber'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 4729, 41, 96, 15800, 49, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 9648, 15, 9, 1271, 121, 490, 6, 96, 12224, 549, 2, 76, 11138, 434, 121, 1499, 6, 96, 12224, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9648, 15, 9, 1271, 8512, 21680, 953, 834, 4056, 4729, 549, 17444, 427, 96, 12224, 549, 13002, 121, 3, 2, 3, 31, 19997, 519, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 3280, 11036, 3, 2304, 1...
What institution joined in 1988?
CREATE TABLE table_27724 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real )
SELECT "Institution" FROM table_27724 WHERE "Joined" = '1988'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4013, 2266, 41, 96, 1570, 17448, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 567, 3142, 4350, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 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, 1570, 17448, 121, 21680, 953, 834, 357, 4013, 2266, 549, 17444, 427, 96, 683, 32, 630, 26, 121, 3274, 3, 31, 2294, 4060, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many episodes have the production code ip04004?
CREATE TABLE table_31050 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text )
SELECT COUNT("Title") FROM table_31050 WHERE "Production code" = 'IP04004'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19947, 1752, 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, 2847, 17161, 599, 121, 382, 155, 109, 8512, 21680, 953, 834, 19947, 1752, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 4629, 632, 5548, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many team numbers have john keane as the player?
CREATE TABLE table_67670 ( "Position" text, "Player" text, "County team" text, "Club team(s)" text, "Team Number" real )
SELECT COUNT("Team Number") FROM table_67670 WHERE "Player" = 'john keane'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 3708, 632, 41, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 63, 372, 121, 1499, 6, 96, 254, 11158, 372, 599, 7, 61, 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, 2847, 17161, 599, 121, 18699, 7720, 8512, 21680, 953, 834, 3708, 3708, 632, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 27341, 3, 1050, 152, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what game had a score of 86-71
CREATE TABLE table_name_8 ( attendance VARCHAR, record VARCHAR )
SELECT attendance FROM table_name_8 WHERE record = "86-71"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 11364, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 467, 141, 3, 9, 2604, 13, 3, 3840, 18, 4450, 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, 11364, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 1368, 3274, 96, 3840, 18, 4450, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What kind of chassis did a winning car with a Foyt engine have in 1979?
CREATE TABLE table_19091 ( "Season" real, "Race Name" text, "Winning Driver" text, "Chassis" text, "Engine" text, "Tires" text, "Team" text )
SELECT "Chassis" FROM table_19091 WHERE "Season" = '1979' AND "Engine" = 'Foyt'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11776, 4729, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 448, 3302, 5570, 121, 1499, 6, 96, 518, 10503, 10546, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3541, 6500, 7, 121, 21680, 953, 834, 11776, 4729, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 2294, 4440, 31, 3430, 96, 31477, 121, 3274, 3, 31, 371, 32, 63, 17, 31, 1, -100, -100, -100, -100, ...
Find the number of employees of each gender whose salary is lower than 50000 Visualize by bar chart, rank in ascending by the X-axis please.
CREATE TABLE dept_locations ( Dnumber INTEGER, Dlocation TEXT ) CREATE TABLE dependent ( Essn INTEGER, Dependent_name TEXT, Sex TEXT, Bdate TEXT, Relationship TEXT ) CREATE TABLE works_on ( Essn INTEGER, Pno INTEGER, Hours REAL ) CREATE TABLE employee ( Fname TEXT, Min...
SELECT Sex, COUNT(*) FROM employee WHERE Salary < 50000 GROUP BY Sex ORDER BY Sex
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 20, 102, 17, 834, 14836, 7, 41, 309, 5525, 1152, 3, 21342, 17966, 6, 309, 14836, 3, 3463, 4, 382, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 8976, 41, 1122, 7, 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, 679, 226, 6, 2847, 17161, 599, 1935, 61, 21680, 3490, 549, 17444, 427, 5158, 1208, 3, 2, 943, 2313, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 679, 226, 1, -100, -100, -100, -100, -100, -100, -100, ...
On what day(s) did the Gophers play against Michigan?
CREATE TABLE table_name_88 ( date VARCHAR, opponent_number VARCHAR )
SELECT date FROM table_name_88 WHERE opponent_number = "michigan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 833, 584, 4280, 28027, 6, 15264, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 239, 599, 7, 61, 410, 8, 350, 10775...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4060, 549, 17444, 427, 15264, 834, 5525, 1152, 3274, 96, 51, 362, 12588, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What stroke has a max power of 109 ps(80kw)@4000 rpm?
CREATE TABLE table_name_39 ( stroke VARCHAR, max_power VARCHAR )
SELECT stroke FROM table_name_39 WHERE max_power = "109 ps(80kw)@4000 rpm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 9529, 584, 4280, 28027, 6, 9858, 834, 6740, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 9529, 65, 3, 9, 9858, 579, 13, 3, 17304, 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, 9529, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 9858, 834, 6740, 3274, 96, 17304, 3, 102, 7, 599, 2079, 157, 210, 61, 1741, 591, 2313, 3, 52, 2028, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is every director with production code of NABF13?
CREATE TABLE table_2384 ( "\u2116" real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text )
SELECT "Directed by" FROM table_2384 WHERE "Production code" = 'NABF13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4608, 41, 96, 2, 76, 2658, 2938, 121, 490, 6, 96, 4663, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23620, 15, 26, 57, 121, 21680, 953, 834, 2773, 4608, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 5999, 19780, 2368, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the score for the tie that had Shrewsbury Town as home team?
CREATE TABLE table_name_87 ( score VARCHAR, home_team VARCHAR )
SELECT score FROM table_name_87 WHERE home_team = "shrewsbury town"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 2604, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 21, 8, 6177, 24, 141, 180, 13296,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 13296, 7, 7165, 1511, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the sum of Grid, when Time is '+16.687'?
CREATE TABLE table_59553 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real )
SELECT SUM("Grid") FROM table_59553 WHERE "Time" = '+16.687'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 3769, 519, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 279, 5208, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 121, 1499, 6, 96, 13313, 26, 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, 180, 6122, 599, 121, 13313, 26, 8512, 21680, 953, 834, 3390, 3769, 519, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 18446, 28833, 4225, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is h.t. brewer when j.e. armstrong is a.j. wilson?
CREATE TABLE table_1320857_1 ( ht_brewer VARCHAR, je_armstrong VARCHAR )
SELECT ht_brewer FROM table_1320857_1 WHERE je_armstrong = "A.J. Wilson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 23946, 3436, 834, 536, 41, 3, 107, 17, 834, 1999, 3321, 584, 4280, 28027, 6, 528, 834, 6768, 25866, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 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, 1, 1, 1...
[ 3, 23143, 14196, 3, 107, 17, 834, 1999, 3321, 21680, 953, 834, 2368, 23946, 3436, 834, 536, 549, 17444, 427, 528, 834, 6768, 25866, 3274, 96, 188, 5, 683, 5, 9439, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What venue was the 2000 AFC Asian Cup qualification held at?
CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 15098, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5669, 47, 8, 2766, 71, 5390, 6578, 3802, 15513, 1213, 44, 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, 5669, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 2259, 3274, 96, 13527, 3, 9, 89, 75, 3, 9, 10488, 4119, 15513, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Inns of 435 Runs?
CREATE TABLE table_name_80 (inns VARCHAR, runs VARCHAR)
SELECT inns FROM table_name_80 WHERE runs = 435
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 77, 29, 7, 584, 4280, 28027, 6, 3154, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 86, 29, 7, 13, 314, 2469, 7113, 7, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 16, 29, 7, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 3154, 3274, 314, 2469, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
who has the largest amount of apps ?
CREATE TABLE table_204_340 ( id number, "name" text, "year inducted" number, "position" text, "apps" number, "goals" number )
SELECT "name" FROM table_204_340 ORDER BY "apps" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 21129, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 1201, 16, 21336, 121, 381, 6, 96, 4718, 121, 1499, 6, 96, 3096, 7, 121, 381, 6, 96, 839, 5405, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 121, 21680, 953, 834, 26363, 834, 21129, 4674, 11300, 272, 476, 96, 3096, 7, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the number of companies presented ?
CREATE TABLE table_204_325 ( id number, "class" text, "name" text, "company" text, "residence" text, "term expires dec 31" number, "notes" text )
SELECT COUNT("company") FROM table_204_325
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 519, 1828, 41, 3, 23, 26, 381, 6, 96, 4057, 121, 1499, 6, 96, 4350, 121, 1499, 6, 96, 29179, 121, 1499, 6, 96, 60, 1583, 3772, 121, 1499, 6, 96, 1987, 8982,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29179, 8512, 21680, 953, 834, 26363, 834, 519, 1828, 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 difference between the number of times the record has been set by the czech republic and the number of times the record has been set by china ?
CREATE TABLE table_204_678 ( id number, "record" text, "athlete" text, "nation" text, "venue" text, "date" text, "#" number )
SELECT ABS((SELECT COUNT(*) FROM table_204_678 WHERE "nation" = 'czech republic') - (SELECT COUNT(*) FROM table_204_678 WHERE "nation" = 'china'))
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3708, 927, 41, 3, 23, 26, 381, 6, 96, 60, 7621, 121, 1499, 6, 96, 26170, 15, 121, 1499, 6, 96, 29, 257, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 5522, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 3708, 927, 549, 17444, 427, 96, 29, 257, 121, 3274, 3, 31, 75, 776, 524, 20237, 31, 61, 3, 18, 41, 23143, 14196, 2847, 17161, ...
If second is Sergey Sirotkin, what is the third name?
CREATE TABLE table_25563779_4 (third VARCHAR, second VARCHAR)
SELECT third FROM table_25563779_4 WHERE second = "Sergey Sirotkin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4834, 4118, 4440, 834, 591, 41, 14965, 584, 4280, 28027, 6, 511, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 511, 19, 20843, 63, 925, 2719, 2917, 6, 125, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1025, 21680, 953, 834, 1828, 4834, 4118, 4440, 834, 591, 549, 17444, 427, 511, 3274, 96, 134, 49, 397, 63, 925, 2719, 2917, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
on 19 april 1985 how many of number last flew
CREATE TABLE table_1997759_1 ( number VARCHAR, last_flew VARCHAR )
SELECT COUNT(number) FROM table_1997759_1 WHERE last_flew = "19 April 1985"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19479, 4013, 3390, 834, 536, 41, 381, 584, 4280, 28027, 6, 336, 834, 89, 109, 210, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 30, 957, 3, 9, 2246, 40, 13200, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 5525, 1152, 61, 21680, 953, 834, 19479, 4013, 3390, 834, 536, 549, 17444, 427, 336, 834, 89, 109, 210, 3274, 96, 2294, 1186, 13200, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
provide the number of patients whose ethnicity is black/african american and drug name is collagenase ointment?
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 ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND prescriptions.drug = "Collagenase Ointment"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
what is the average number of patients diagnosed with cardiac arrest daily in 2102?
CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime...
SELECT AVG(t1.c1) FROM (SELECT COUNT(DISTINCT diagnosis.patientunitstayid) AS c1 FROM diagnosis WHERE diagnosis.diagnosisname = 'cardiac arrest' AND STRFTIME('%y', diagnosis.diagnosistime) = '2102' GROUP BY STRFTIME('%y-%m-%d', diagnosis.diagnosistime)) AS t1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11963, 670, 2562, 41, 11963, 670, 2562, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2358, 8292, 1499, 6, 2358, 40, 10333, 1499, 6, 2358, 7480, 35, 76, 17552, 381, 6, 11963, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, ...
Which major has most number of students?
CREATE TABLE Student ( major VARCHAR )
SELECT major FROM Student GROUP BY major ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 779, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 779, 65, 167, 381, 13, 481, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 779, 21680, 6341, 350, 4630, 6880, 272, 476, 779, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had a finish of t20?
CREATE TABLE table_name_20 ( player VARCHAR, finish VARCHAR )
SELECT player FROM table_name_20 WHERE finish = "t20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 1959, 584, 4280, 28027, 6, 1992, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 3, 9, 1992, 13, 3, 17, 1755, 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, 1959, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 1992, 3274, 96, 17, 1755, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which region has a date of 1970?
CREATE TABLE table_name_58 ( region VARCHAR, date VARCHAR )
SELECT region FROM table_name_58 WHERE date = "1970"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1719, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1719, 65, 3, 9, 833, 13, 7434, 58, 1, 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, 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, 1719, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 833, 3274, 96, 2294, 2518, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Bar chart of total number of height from each sex, could you order in ascending by the x-axis?
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate re...
SELECT Sex, SUM(Height) FROM people GROUP BY Sex ORDER BY Sex
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 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, 679, 226, 6, 180, 6122, 599, 3845, 2632, 61, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 679, 226, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the method when the result is loss on january 19, 2008?
CREATE TABLE table_name_30 ( method VARCHAR, result VARCHAR, date VARCHAR )
SELECT method FROM table_name_30 WHERE result = "loss" AND date = "january 19, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 1573, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1573, 116, 8, 741, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1573, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 741, 3274, 96, 2298, 7, 121, 3430, 833, 3274, 96, 7066, 76, 1208, 12370, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year did the rank of 31 happen in?
CREATE TABLE table_80353 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real )
SELECT "Year" FROM table_80353 WHERE "Rank" = '31'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 2469, 519, 41, 96, 476, 2741, 121, 1499, 6, 96, 7681, 17, 121, 1499, 6, 96, 5991, 138, 121, 1499, 6, 96, 22557, 121, 1499, 6, 96, 371, 77, 1273, 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, 476, 2741, 121, 21680, 953, 834, 2079, 2469, 519, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 3341, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was the game that has tie no 2?
CREATE TABLE table_name_91 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_91 WHERE tie_no = "2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 5522, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 467, 24, 65, 6177, 150, 204, 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, 833, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Return all the committees that have delegates from Democratic party, and count them by a bar chart
CREATE TABLE party ( Party_ID int, Year real, Party text, Governor text, Lieutenant_Governor text, Comptroller text, Attorney_General text, US_Senate text ) CREATE TABLE election ( Election_ID int, Counties_Represented text, District int, Delegate text, Party int, ...
SELECT Committee, COUNT(Committee) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = "Democratic" GROUP BY Committee
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1088, 41, 3450, 834, 4309, 16, 17, 6, 2929, 490, 6, 3450, 1499, 6, 10510, 1499, 6, 30943, 834, 27304, 127, 1499, 6, 4961, 17, 4046, 49, 1499, 6, 10154, 834, 20857, 1499, 6, 837, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3201, 6, 2847, 17161, 599, 10205, 155, 17, 15, 15, 61, 21680, 4356, 6157, 332, 536, 3, 15355, 3162, 1088, 6157, 332, 357, 9191, 332, 5411, 13725, 63, 3274, 332, 4416, 13725, 63, 834, 4309, 549, 17444, 427, 332, 4416...
what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26?
CREATE TABLE table_name_44 (goals_scored INTEGER, goals_conceded VARCHAR, draw VARCHAR, points VARCHAR)
SELECT SUM(goals_scored) FROM table_name_44 WHERE draw < 8 AND points = 19 AND goals_conceded > 26
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 839, 5405, 834, 3523, 1271, 3, 21342, 17966, 6, 1766, 834, 11620, 221, 26, 584, 4280, 28027, 6, 3314, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 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, 180, 6122, 599, 839, 5405, 834, 3523, 1271, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 3314, 3, 2, 505, 3430, 979, 3274, 957, 3430, 1766, 834, 11620, 221, 26, 2490, 2208, 1, -100, -100, -100, -100, -100,...
For those products with a price between 60 and 120, a bar chart shows the distribution of name and code .
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Name, Code FROM Products WHERE Price BETWEEN 60 AND 120
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 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, 5570, 6, 3636, 21680, 7554, 549, 17444, 427, 5312, 272, 7969, 518, 23394, 1640, 3430, 5864, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the city with july of 88 °f / 31.1 °c
CREATE TABLE table_name_74 (city VARCHAR, jul VARCHAR)
SELECT city FROM table_name_74 WHERE jul = "88 °f / 31.1 °c"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 6726, 584, 4280, 28027, 6, 3, 354, 83, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 690, 28, 3, 2047, 120, 13, 3, 4060, 3, 1956, 89,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 690, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 3, 354, 83, 3274, 96, 4060, 3, 1956, 89, 3, 87, 220, 11039, 3, 1956, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the year for avg start being 22.4
CREATE TABLE table_2308381_1 ( year VARCHAR, avg_start VARCHAR )
SELECT year FROM table_2308381_1 WHERE avg_start = "22.4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 13427, 4591, 4959, 834, 536, 41, 215, 584, 4280, 28027, 6, 3, 9, 208, 122, 834, 10208, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 215, 21, 3, 9, 208...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 21680, 953, 834, 13427, 4591, 4959, 834, 536, 549, 17444, 427, 3, 9, 208, 122, 834, 10208, 3274, 96, 2884, 5, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377?
CREATE TABLE table_75898 ( "Team" text, "Year 2007" real, "Year 2006" real, "Year 2005" real, "Change 06/07" text )
SELECT SUM("Year 2007") FROM table_75898 WHERE "Year 2005" > '29,377'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 3914, 927, 41, 96, 18699, 121, 1499, 6, 96, 476, 2741, 4101, 121, 490, 6, 96, 476, 2741, 3581, 121, 490, 6, 96, 476, 2741, 3105, 121, 490, 6, 96, 3541, 3280, 13574,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 476, 2741, 4101, 8512, 21680, 953, 834, 3072, 3914, 927, 549, 17444, 427, 96, 476, 2741, 3105, 121, 2490, 3, 31, 3166, 6, 519, 4013, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Motion Picture after 2003 had Viola Davis nominated for Best Supporting Actress?
CREATE TABLE table_41054 ( "Year" real, "Actor" text, "Award" text, "Motion Picture" text, "Result" text )
SELECT "Motion Picture" FROM table_41054 WHERE "Year" > '2003' AND "Result" = 'nominated' AND "Actor" = 'viola davis' AND "Award" = 'best supporting actress'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24175, 5062, 41, 96, 476, 2741, 121, 490, 6, 96, 188, 5317, 121, 1499, 6, 96, 188, 2239, 121, 1499, 6, 96, 329, 32, 1575, 15440, 121, 1499, 6, 96, 20119, 121, 1499, 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, 329, 32, 1575, 15440, 121, 21680, 953, 834, 24175, 5062, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 23948, 31, 3430, 96, 20119, 121, 3274, 3, 31, 3114, 77, 920, 31, 3430, 96, 188, 5317, 121, 3274, 3, ...
Show the member name and hometown who registered a branch in 2016.
CREATE TABLE member ( name VARCHAR, hometown VARCHAR, member_id VARCHAR ) CREATE TABLE membership_register_branch ( member_id VARCHAR, register_year VARCHAR )
SELECT T2.name, T2.hometown FROM membership_register_branch AS T1 JOIN member AS T2 ON T1.member_id = T2.member_id WHERE T1.register_year = 2016
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 41, 564, 584, 4280, 28027, 6, 22295, 584, 4280, 28027, 6, 1144, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4757, 834, 22149, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 332, 4416, 4350, 6, 332, 4416, 5515, 3540, 21680, 4757, 834, 22149, 834, 1939, 5457, 6157, 332, 536, 3, 15355, 3162, 1144, 6157, 332, 357, 9191, 332, 5411, 12066, 834, 23, 26, 3274, 332, 4416, 12066, 834, 23, 26, 54...
what is the number of patients whose diagnoses short title is arthropathy nos-unspec and lab test fluid is blood?
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 ) C...
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.short_title = "Arthropathy NOS-unspec" AND lab.fluid = "Blood"
[ 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, 3...
What is the 8:30 program that airs on the station that airs various programs at 7:30?
CREATE TABLE table_35274 ( "7:00" text, "7:30" text, "8:00" text, "8:30" text, "9:00" text, "9:30" text, "10:00" text, "10:30" text )
SELECT "8:30" FROM table_35274 WHERE "7:30" = 'various programs'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 2555, 591, 41, 96, 18735, 121, 1499, 6, 96, 18078, 121, 1499, 6, 96, 15692, 121, 1499, 6, 96, 927, 10, 1458, 121, 1499, 6, 96, 1298, 10, 1206, 121, 1499, 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, 96, 927, 10, 1458, 121, 21680, 953, 834, 2469, 2555, 591, 549, 17444, 427, 96, 18078, 121, 3274, 3, 31, 9504, 1162, 1356, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many games did they play the carolina hurricanes?
CREATE TABLE table_23453931_8 ( game VARCHAR, opponent VARCHAR )
SELECT COUNT(game) FROM table_23453931_8 WHERE opponent = "Carolina Hurricanes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2128, 3288, 3341, 834, 927, 41, 467, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1031, 410, 79, 577, 8, 443, 12057, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 7261, 61, 21680, 953, 834, 2773, 2128, 3288, 3341, 834, 927, 549, 17444, 427, 15264, 3274, 96, 6936, 12057, 9, 19927, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
List all of the player ids with a height of at least 180cm and an overall rating higher than 85.
CREATE TABLE Player_Attributes ( player_api_id VARCHAR, height VARCHAR, overall_rating INTEGER ) CREATE TABLE Player ( player_api_id VARCHAR, height VARCHAR, overall_rating INTEGER )
SELECT player_api_id FROM Player WHERE height >= 180 INTERSECT SELECT player_api_id FROM Player_Attributes WHERE overall_rating > 85
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 12387, 834, 188, 17, 5135, 1422, 41, 1959, 834, 13306, 834, 23, 26, 584, 4280, 28027, 6, 3902, 584, 4280, 28027, 6, 1879, 834, 52, 1014, 3, 21342, 17966, 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, 1959, 834, 13306, 834, 23, 26, 21680, 12387, 549, 17444, 427, 3902, 2490, 2423, 8003, 3, 21342, 5249, 14196, 3, 23143, 14196, 1959, 834, 13306, 834, 23, 26, 21680, 12387, 834, 188, 17, 5135, 1422, 549, 17444, 427, 187...
What is Fonsi Nieto's average grid when he's riding a Suzuki GSX-R1000?
CREATE TABLE table_name_25 (grid INTEGER, bike VARCHAR, rider VARCHAR)
SELECT AVG(grid) FROM table_name_25 WHERE bike = "suzuki gsx-r1000" AND rider = "fonsi nieto"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 3496, 26, 3, 21342, 17966, 6, 3724, 584, 4280, 28027, 6, 2564, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 377, 106, 7, 23, 17584...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3496, 26, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 3724, 3274, 96, 7, 76, 1000, 2168, 3, 122, 7, 226, 18, 52, 16824, 121, 3430, 2564, 52, 3274, 96, 89, 106, 7, 23, 6691, 235, 121, ...
How many rooms does the Lamberton building have?
CREATE TABLE classroom ( building VARCHAR )
SELECT COUNT(*) FROM classroom WHERE building = 'Lamberton'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4858, 41, 740, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2801, 405, 8, 30700, 106, 740, 43, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 4858, 549, 17444, 427, 740, 3274, 3, 31, 434, 265, 7041, 106, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Tell me the circuit for 20 august
CREATE TABLE table_name_99 (circuit VARCHAR, date VARCHAR)
SELECT circuit FROM table_name_99 WHERE date = "20 august"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 15357, 21560, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 4558, 21, 460, 14663, 1, 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, 4558, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 833, 3274, 96, 1755, 14663, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the To Par of winning score 71-66-70-67=274?
CREATE TABLE table_name_52 (to_par VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_name_52 WHERE winning_score = 71 - 66 - 70 - 67 = 274
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 235, 834, 1893, 584, 4280, 28027, 6, 3447, 834, 7, 9022, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 304, 2180, 13, 3447, 2604, 48...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 834, 1893, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 3447, 834, 7, 9022, 3274, 3, 4450, 3, 18, 3, 3539, 3, 18, 2861, 3, 18, 3, 3708, 3274, 204, 4581, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Name the polyunsaturated fat with total fat of 100g and saturated fat of 7g
CREATE TABLE table_name_39 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, saturated_fat VARCHAR)
SELECT polyunsaturated_fat FROM table_name_39 WHERE total_fat = "100g" AND saturated_fat = "7g"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 3233, 63, 202, 7, 6010, 920, 834, 6589, 584, 4280, 28027, 6, 792, 834, 6589, 584, 4280, 28027, 6, 25703, 834, 6589, 584, 4280, 28027, 61, 3, 32102, 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, 4251, 202, 7, 6010, 920, 834, 6589, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 792, 834, 6589, 3274, 96, 2915, 122, 121, 3430, 25703, 834, 6589, 3274, 96, 940, 122, 121, 1, -100, -100, -100, -100, -100, -100...
Tell me the name for time of 25.74
CREATE TABLE table_name_2 (name VARCHAR, time VARCHAR)
SELECT name FROM table_name_2 WHERE time = 25.74
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 4350, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 564, 21, 97, 13, 944, 5, 4581, 1, 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, 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, 564, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 97, 3274, 944, 5, 4581, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
if the best run was 138, what is the amount of games lost?
CREATE TABLE table_27533947_1 (games_lost VARCHAR, best_run VARCHAR)
SELECT games_lost FROM table_27533947_1 WHERE best_run = 138
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4867, 3288, 4177, 834, 536, 41, 7261, 7, 834, 2298, 17, 584, 4280, 28027, 6, 200, 834, 4312, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3, 99, 8, 200, 661, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 1031, 834, 2298, 17, 21680, 953, 834, 2555, 4867, 3288, 4177, 834, 536, 549, 17444, 427, 200, 834, 4312, 3274, 3, 22744, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
when did patient 010-6010 last undergo the procedure in the first hospital visit?
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 medication ( medi...
SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-6010' AND NOT patient.hospitaldischargetime IS NULL ORDER BY ...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1058, 5, 26889, 715, 21680, 1058, 549, 17444, 427, 1058, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, ...
what's the grand finalist where winners is collingwood
CREATE TABLE table_1139835_3 ( grand_finalist VARCHAR, winners VARCHAR )
SELECT grand_finalist FROM table_1139835_3 WHERE winners = "Collingwood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20522, 3916, 2469, 834, 519, 41, 1907, 834, 12406, 343, 584, 4280, 28027, 6, 8969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 1907, 804, 343, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1907, 834, 12406, 343, 21680, 953, 834, 20522, 3916, 2469, 834, 519, 549, 17444, 427, 8969, 3274, 96, 9939, 697, 2037, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Round is the lowest one that has a School/Club Team of virginia?
CREATE TABLE table_39243 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text )
SELECT MIN("Round") FROM table_39243 WHERE "School/Club Team" = 'virginia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 27730, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 87, 254, 11158,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 448, 32, 1106, 8512, 21680, 953, 834, 3288, 27730, 549, 17444, 427, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 5771, 122, 77, 23, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Name the tournament for march 25, 2012
CREATE TABLE table_67239 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Tournament" FROM table_67239 WHERE "Date" = 'march 25, 2012'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 357, 3288, 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, 667, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1211, 20205, 17, 121, 21680, 953, 834, 3708, 357, 3288, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 51, 7064, 14105, 1673, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the latest episode number with the title of Jerusalem?
CREATE TABLE table_19517621_4 (episode__number INTEGER, title VARCHAR)
SELECT MAX(episode__number) FROM table_19517621_4 WHERE title = "Jerusalem"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22464, 26782, 2658, 834, 591, 41, 15, 102, 159, 32, 221, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 15, 102, 159, 32, 221, 834, 834, 5525, 1152, 61, 21680, 953, 834, 22464, 26782, 2658, 834, 591, 549, 17444, 427, 2233, 3274, 96, 7851, 4502, 9, 109, 51, 121, 1, -100, -100, -100, -100, -100, -100, -1...
what's the preliminaries with average being 9.360
CREATE TABLE table_11970261_2 ( preliminaries VARCHAR, average VARCHAR )
SELECT preliminaries FROM table_11970261_2 WHERE average = "9.360"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19993, 2518, 357, 4241, 834, 357, 41, 554, 4941, 77, 5414, 584, 4280, 28027, 6, 1348, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 554, 4941, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 554, 4941, 77, 5414, 21680, 953, 834, 19993, 2518, 357, 4241, 834, 357, 549, 17444, 427, 1348, 3274, 96, 8797, 19208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the segment A on episode 237?
CREATE TABLE table_19924 ( "Series Ep." text, "Episode" real, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text )
SELECT "Segment A" FROM table_19924 WHERE "Episode" = '237'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19479, 2266, 41, 96, 12106, 7, 10395, 535, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 134, 15, 122, 297, 71, 121, 1499, 6, 96, 134, 15, 122, 297, 272, 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, 134, 15, 122, 297, 71, 121, 21680, 953, 834, 19479, 2266, 549, 17444, 427, 96, 427, 102, 159, 32, 221, 121, 3274, 3, 31, 357, 4118, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the sum of code , and group by attribute name, and display by the y axis in ascending please.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 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, 332, 5411, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 5411, 2...
Which result did the Republican have with the incumbent, Billy Tauzin?
CREATE TABLE table_1341472_20 ( result VARCHAR, party VARCHAR, incumbent VARCHAR )
SELECT result FROM table_1341472_20 WHERE party = "Republican" AND incumbent = "Billy Tauzin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 24719, 357, 834, 1755, 41, 741, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 741, 410, 8, 8994,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 23747, 24719, 357, 834, 1755, 549, 17444, 427, 1088, 3274, 96, 1649, 15727, 152, 121, 3430, 28406, 3274, 96, 279, 173, 120, 11452, 7196, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What organization had the founding date of 1998-11-08?
CREATE TABLE table_2538117_12 (organization VARCHAR, founding_date VARCHAR)
SELECT organization FROM table_2538117_12 WHERE founding_date = "1998-11-08"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3747, 20275, 834, 2122, 41, 17939, 257, 584, 4280, 28027, 6, 16072, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1470, 141, 8, 16072, 833, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1470, 21680, 953, 834, 1828, 3747, 20275, 834, 2122, 549, 17444, 427, 16072, 834, 5522, 3274, 96, 2294, 3916, 9169, 18, 4018, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What rank has 1 silver, more than 2 gold, and a total larger than 3?
CREATE TABLE table_name_61 ( rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR )
SELECT COUNT(rank) FROM table_name_61 WHERE silver = 1 AND total > 3 AND gold > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 11003, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 11003...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 4294, 3274, 209, 3430, 792, 2490, 220, 3430, 2045, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the winning score for the tournament with a margin of victory of 7 strokes?
CREATE TABLE table_40654 ( "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Winning score" FROM table_40654 WHERE "Margin of victory" = '7 strokes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 4122, 591, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, 96, 7286, 122, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 518, 10503, 2604, 121, 21680, 953, 834, 2445, 4122, 591, 549, 17444, 427, 96, 7286, 122, 77, 13, 6224, 121, 3274, 3, 31, 940, 9529, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which party has a first elected of 1966, qld as the state, and donald milner cameron as the member?
CREATE TABLE table_name_25 ( party VARCHAR, member VARCHAR, first_elected VARCHAR, state VARCHAR )
SELECT party FROM table_name_25 WHERE first_elected = "1966" AND state = "qld" AND member = "donald milner cameron"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 1088, 584, 4280, 28027, 6, 1144, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 3, 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, 1, 1, 1...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 166, 834, 19971, 3274, 96, 2294, 3539, 121, 3430, 538, 3274, 96, 1824, 40, 26, 121, 3430, 1144, 3274, 96, 26, 9533, 26, 15533, 687, 764, 52, 106, 121, 1, -1...
what is the average amount of the total hospital cost which involves av block?
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 patient ( uniquep...
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'av block')) GROUP BY cost.patienthealthsyste...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 11290, 5, 11290, 61, 6157, 3, 75, 536, 21680, 583, 549, 17444, 427, 583, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 186...
When was successor George E. Harris (R) seated?
CREATE TABLE table_3006 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text )
SELECT "Date successor seated" FROM table_3006 WHERE "Successor" = 'George E. Harris (R)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 948, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 25203, 1016, 121, 1499, 6, 96, 1649, 9, 739, 21, 483, 121, 1499, 6, 96, 134, 17431, 24901, 121, 1499, 6, 96, 308, 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, 308, 342, 22261, 3, 22933, 121, 21680, 953, 834, 5426, 948, 549, 17444, 427, 96, 134, 17431, 24901, 121, 3274, 3, 31, 31317, 262, 5, 12551, 41, 448, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which School/Club Team has a Round smaller than 5, a Pick larger than 1, and a Player of reggie mckenzie?
CREATE TABLE table_name_97 ( school_club_team VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR )
SELECT school_club_team FROM table_name_97 WHERE round < 5 AND pick > 1 AND player = "reggie mckenzie"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 3, 61, 3, 32102, 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, 1, 1, 1...
[ 3, 23143, 14196, 496, 834, 13442, 834, 11650, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 1751, 3, 2, 305, 3430, 1432, 2490, 209, 3430, 1959, 3274, 96, 60, 15406, 15, 3, 51, 4695, 5600, 121, 1, -100, -100, -100, -100, -100, ...
What nationality is Daryn Fersovich?
CREATE TABLE table_name_47 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_47 WHERE player = "daryn fersovich"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 16557, 485, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1157, 485, 19, 1920, 63, 29, 7566, 7, 13388, 107, 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, 1157, 485, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 1959, 3274, 96, 26, 1208, 29, 3, 1010, 7, 13388, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
let me know the number of patients with diagnoses icd9 code 29634 who were admitted in hospital before 2124.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2124" AND diagnoses.icd9_code = "29634"
[ 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...
was chuck bednarik or frank tripucka the first draft pick ?
CREATE TABLE table_203_735 ( id number, "rd" number, "pick" number, "player" text, "position" text, "school" text )
SELECT "player" FROM table_203_735 WHERE "pick" = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 940, 2469, 41, 3, 23, 26, 381, 6, 96, 52, 26, 121, 381, 6, 96, 17967, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 6646, 121, 1499, 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, 20846, 121, 21680, 953, 834, 23330, 834, 940, 2469, 549, 17444, 427, 96, 17967, 121, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...