NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What area did Julius Boros play at?
CREATE TABLE table_name_92 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_92 WHERE player = "julius boros"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 4687, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 616, 410, 9983, 302, 1491, 1859, 577, 44, 58, 1, 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, 286, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 1959, 3274, 96, 2047, 29705, 3, 14901, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which player is from Joliet Catholic HIgh School?
CREATE TABLE table_11677691_7 ( player VARCHAR, school VARCHAR )
SELECT player FROM table_11677691_7 WHERE school = "Joliet Catholic High school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 3708, 3959, 4729, 834, 940, 41, 1959, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 19, 45, 2194, 1896, 17, 6502, 3, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 2596, 3708, 3959, 4729, 834, 940, 549, 17444, 427, 496, 3274, 96, 683, 4172, 15, 17, 6502, 1592, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average number of wins for events larger than 28?
CREATE TABLE table_name_22 (wins INTEGER, events INTEGER)
SELECT AVG(wins) FROM table_name_22 WHERE events > 28
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 3757, 7, 3, 21342, 17966, 6, 984, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 9204, 21, 984, 2186, 145, 2059, 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, 2884, 549, 17444, 427, 984, 2490, 2059, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
is patient 003-29149 prescribed any drugs in 2105?
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 COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-29149')) AND STRFTIME('%y', medication.drugstarttime) = '2105'
[ 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, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 7757, 549, 17444, 427, 7757, 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,...
Draw a bar chart about the distribution of Nationality and the sum of ID , and group by attribute Nationality, order by the Y in descending.
CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimme...
SELECT Nationality, SUM(ID) FROM swimmer GROUP BY Nationality ORDER BY SUM(ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 4699, 16, 17, 6, 5570, 1499, 6, 12750, 834, 4309, 16, 17, 6, 2929, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1368, 41, 4699, 16, 17, 6, 3, 20119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 868, 485, 6, 180, 6122, 599, 4309, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 868, 485, 4674, 11300, 272, 476, 180, 6122, 599, 4309, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the score of the game when the record was 50-85?
CREATE TABLE table_name_73 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_73 WHERE record = "50-85"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 7, 9022, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 467, 116, 8, 1368, 47, 943, 18, 443...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 1368, 3274, 96, 1752, 18, 4433, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Original air date for the episode directed by lev l. spiro, with a Production code of 07-00-109?
CREATE TABLE table_name_35 ( original_air_date VARCHAR, directed_by VARCHAR, production_code VARCHAR )
SELECT original_air_date FROM table_name_35 WHERE directed_by = "lev l. spiro" AND production_code = "07-00-109"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 6640, 834, 969, 3274, 96, 10912, 3, 40, 5, 3, 7, 2388, 32, 121, 3430, 999, 834, 4978, 3274, 96, 4560, 18, 1206, 18, 17304, 121, 1, -1...
What is the barrel length for a cold model le6921sp?
CREATE TABLE table_12834315_5 ( barrel_length VARCHAR, colt_model_no VARCHAR )
SELECT barrel_length FROM table_12834315_5 WHERE colt_model_no = "LE6921SP"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4591, 4906, 1808, 834, 755, 41, 10650, 834, 19457, 584, 4280, 28027, 6, 7632, 17, 834, 21770, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10650, 834, 19457, 21680, 953, 834, 2122, 4591, 4906, 1808, 834, 755, 549, 17444, 427, 7632, 17, 834, 21770, 834, 29, 32, 3274, 96, 3765, 3951, 2658, 4274, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the candidates for selah r. hobbie
CREATE TABLE table_2668243_17 ( candidates VARCHAR, incumbent VARCHAR )
SELECT candidates FROM table_2668243_17 WHERE incumbent = "Selah R. Hobbie"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3651, 27730, 834, 2517, 41, 4341, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 4341, 21, 142, 521, 107, 3, 52, 5, 3534...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4341, 21680, 953, 834, 2688, 3651, 27730, 834, 2517, 549, 17444, 427, 28406, 3274, 96, 134, 15, 521, 107, 391, 5, 26100, 23, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the earliest year that had a category of best supporting actress at the asian film awards?
CREATE TABLE table_name_46 (year INTEGER, category VARCHAR, award VARCHAR)
SELECT MIN(year) FROM table_name_46 WHERE category = "best supporting actress" AND award = "asian film awards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 1201, 3, 21342, 17966, 6, 3295, 584, 4280, 28027, 6, 2760, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 3, 16454, 215, 24, 141, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 3, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 3295, 3274, 96, 9606, 3956, 15676, 121, 3430, 2760, 3274, 96, 9, 10488, 814, 6120, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the salaray and name of the employee with the most certificates to fly planes more than 5000?
CREATE TABLE flight ( flno number, origin text, destination text, distance number, departure_date time, arrival_date time, price number, aid number ) CREATE TABLE aircraft ( aid number, name text, distance number ) CREATE TABLE certificate ( eid number, aid number )...
SELECT T1.name FROM employee AS T1 JOIN certificate AS T2 ON T1.eid = T2.eid JOIN aircraft AS T3 ON T3.aid = T2.aid WHERE T3.distance > 5000 GROUP BY T1.eid ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3777, 41, 3, 89, 40, 29, 32, 381, 6, 5233, 1499, 6, 3954, 1499, 6, 2357, 381, 6, 12028, 834, 5522, 97, 6, 6870, 834, 5522, 97, 6, 594, 381, 6, 3052, 381, 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, 332, 5411, 4350, 21680, 3490, 6157, 332, 536, 3, 15355, 3162, 6017, 6157, 332, 357, 9191, 332, 5411, 15, 23, 26, 3274, 332, 4416, 15, 23, 26, 3, 15355, 3162, 6442, 6157, 332, 519, 9191, 332, 5787, 6146, 3274, 332, ...
Name the date when week is 9
CREATE TABLE table_14945881_1 (date VARCHAR, week VARCHAR)
SELECT date FROM table_14945881_1 WHERE week = 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 2128, 4060, 536, 834, 536, 41, 5522, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 116, 471, 19, 668, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 24816, 2128, 4060, 536, 834, 536, 549, 17444, 427, 471, 3274, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the score for hawthorn opponent
CREATE TABLE table_name_64 ( score VARCHAR, opponent VARCHAR )
SELECT score FROM table_name_64 WHERE opponent = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 2604, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2604, 21, 4244, 210, 17, 6293, 15264, 1, 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, 2604, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 15264, 3274, 96, 1024, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In the game where the home team was St Kilda, what was the attendance?
CREATE TABLE table_name_52 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_52 WHERE home_team = "st kilda"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 75, 3623, 26, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 8, 467, 213, 8, 234, 372, 47, 472, 12672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4374, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 17, 3, 157, 173, 26, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the result in 1995?
CREATE TABLE table_38529 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Event" text )
SELECT "Result" FROM table_38529 WHERE "Year" = '1995'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4433, 3166, 41, 96, 476, 2741, 121, 490, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 427, 2169, 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, 0, 0, 0...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 519, 4433, 3166, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 2294, 3301, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which home team plays at Punt Road Oval?
CREATE TABLE table_name_40 ( home_team VARCHAR, venue VARCHAR )
SELECT home_team FROM table_name_40 WHERE venue = "punt road oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 234, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 234, 372, 4805, 44, 18266, 17, 2409, 411, 2165,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 5669, 3274, 96, 6225, 17, 1373, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the location and attendance when d. wilkins (29) had the high points?
CREATE TABLE table_27882867_9 ( location_attendance VARCHAR, high_points VARCHAR )
SELECT location_attendance FROM table_27882867_9 WHERE high_points = "D. Wilkins (29)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4060, 2577, 3708, 834, 1298, 41, 1128, 834, 15116, 663, 584, 4280, 28027, 6, 306, 834, 2700, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 1128, 834, 15116, 663, 21680, 953, 834, 2555, 4060, 2577, 3708, 834, 1298, 549, 17444, 427, 306, 834, 2700, 7, 3274, 96, 308, 5, 8540, 7815, 4743, 11728, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average start with wins larger than 0 and 32nd position?
CREATE TABLE table_46800 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" real, "Avg. Finish" real, "Winnings" text, "Position" text, "Team(s)" text )
SELECT AVG("Starts") FROM table_46800 WHERE "Wins" > '0' AND "Position" = '32nd'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 6192, 41, 96, 476, 2741, 121, 490, 6, 96, 7681, 17, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 3, 17395, 490, 6, 96, 22481, 335, 121, 490, 6, 96, 893...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 7681, 17, 7, 8512, 21680, 953, 834, 4448, 6192, 549, 17444, 427, 96, 18455, 7, 121, 2490, 3, 31, 632, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 2668, 727, 31, 1, -100, -100, -100, ...
What's the result when the score is 2-2?
CREATE TABLE table_name_10 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_10 WHERE score = "2-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 741, 116, 8, 2604, 19, 3, 22451, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 2604, 3274, 96, 22451, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which month and year held the Bolivia Special title?
CREATE TABLE table_name_18 (month_ VARCHAR, _year VARCHAR, title VARCHAR)
SELECT month_ & _year FROM table_name_18 WHERE title = "bolivia special"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 7393, 834, 584, 4280, 28027, 6, 3, 834, 1201, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 847, 11, 215, 1213, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 847, 834, 3, 184, 3, 834, 1201, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 2233, 3274, 96, 4243, 11687, 9, 534, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who is the womens doubles on the tour french super series?
CREATE TABLE table_27753492_2 (womens_doubles VARCHAR, tour VARCHAR)
SELECT womens_doubles FROM table_27753492_2 WHERE tour = "French Super Series"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3072, 3710, 4508, 834, 357, 41, 210, 32, 904, 7, 834, 25761, 7, 584, 4280, 28027, 6, 1552, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 887, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 887, 7, 834, 25761, 7, 21680, 953, 834, 2555, 3072, 3710, 4508, 834, 357, 549, 17444, 427, 1552, 3274, 96, 371, 60, 5457, 2011, 4531, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Find the name of customers who have more than one loan.
CREATE TABLE bank ( branch_id number, bname text, no_of_customers number, city text, state text ) CREATE TABLE loan ( loan_id text, loan_type text, cust_id text, branch_id text, amount number ) CREATE TABLE customer ( cust_id text, cust_name text, acc_type text, ...
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name HAVING COUNT(*) > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2137, 41, 6421, 834, 23, 26, 381, 6, 3, 115, 4350, 1499, 6, 150, 834, 858, 834, 25697, 277, 381, 6, 690, 1499, 6, 538, 1499, 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, 1071, 7, 17, 834, 4350, 21680, 884, 6157, 332, 536, 3, 15355, 3162, 2289, 6157, 332, 357, 9191, 332, 5411, 1071, 7, 17, 834, 23, 26, 3274, 332, 4416, 1071, 7, 17, 834, 23, 26, 350, 4630, 6880, 272, 47...
How many games were lost when the club got 34 points
CREATE TABLE table_22868 ( "Position" real, "Club" text, "Played" real, "Won" real, "Drawn" real, "Lost" real, "Pts For" real, "Pts Agst" real, "Pts Diff" real, "B.P." real, "Points" real )
SELECT MIN("Lost") FROM table_22868 WHERE "Points" = '34'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 3651, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 518, 106, 121, 490, 6, 96, 308, 10936, 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, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 434, 3481, 8512, 21680, 953, 834, 357, 2577, 3651, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 3710, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What did the visiting team score at brunswick street oval?
CREATE TABLE table_name_67 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_67 WHERE venue = "brunswick street oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 410, 8, 3644, 372, 2604, 44, 25376, 7, 5981, 2815,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 5669, 3274, 96, 9052, 29, 7, 5981, 2815, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose religion is greek orthodox and admission year is less than 2103?
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 WHERE demographic.religion = "GREEK ORTHODOX" AND demographic.admityear < "2103"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 60, 2825, 23, 106, 3274, 96, 8727, 5080, 439, 4674, 4611, 7039, 667, 4, 121, 3430, 14798, 5, 204...
What is the most divisional titles won by a school with an enrollment of 30049?
CREATE TABLE table_20190834_1 ( divisional_titles INTEGER, enrollment VARCHAR )
SELECT MAX(divisional_titles) FROM table_20190834_1 WHERE enrollment = 30049
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 8584, 4018, 3710, 834, 536, 41, 4889, 138, 834, 21869, 7, 3, 21342, 17966, 6, 17938, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 167, 4889, 138, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 26, 23, 6610, 138, 834, 21869, 7, 61, 21680, 953, 834, 8584, 4018, 3710, 834, 536, 549, 17444, 427, 17938, 3274, 3147, 3647, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many female patients are diagnosed with icd9 code 2948?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.icd9_code = "2948"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 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...
how many female patients are with procedure icd9 code 8968?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.icd9_code = "8968"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
When did they play against Wales?
CREATE TABLE table_name_41 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_41 WHERE opponent = "wales"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 5522, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 79, 577, 581, 10256, 58, 1, 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, 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...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 15264, 3274, 96, 210, 4529, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
tell me the number of female patients who have rheumatoid arthritis diagnoses.
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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.short_title = "Rheumatoid arthritis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Which WNBA team that won at least 2 championships was established most recently?
CREATE TABLE table_51936 ( "Club" text, "Sport" text, "League" text, "Venue" text, "Established" real, "Championships" real )
SELECT MAX("Established") FROM table_51936 WHERE "League" = 'wnba' AND "Championships" > '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2294, 3420, 41, 96, 254, 11158, 121, 1499, 6, 96, 17682, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 14997, 15403, 11904, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 14997, 15403, 11904, 8512, 21680, 953, 834, 755, 2294, 3420, 549, 17444, 427, 96, 2796, 9, 5398, 121, 3274, 3, 31, 210, 29, 115, 9, 31, 3430, 96, 254, 1483, 12364, 2009, 7, 121, 2490, 3, 31, 3...
List the name of artworks that are not nominated.
CREATE TABLE Artwork ( Name VARCHAR, Artwork_ID VARCHAR ) CREATE TABLE nomination ( Name VARCHAR, Artwork_ID VARCHAR )
SELECT Name FROM Artwork WHERE NOT Artwork_ID IN (SELECT Artwork_ID FROM nomination)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1261, 1981, 41, 5570, 584, 4280, 28027, 6, 1261, 1981, 834, 4309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 13588, 41, 5570, 584, 4280, 28027, 6, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 21680, 1261, 1981, 549, 17444, 427, 4486, 1261, 1981, 834, 4309, 3388, 41, 23143, 14196, 1261, 1981, 834, 4309, 21680, 13588, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the country for athlete of ziedonis za kalns
CREATE TABLE table_57664 ( "Athlete" text, "Country" text, "Wins" real, "Years" text, "Distance" text )
SELECT "Country" FROM table_57664 WHERE "Athlete" = 'ziedonis zaļkalns'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 3539, 591, 41, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 308, 23, 8389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 3436, 3539, 591, 549, 17444, 427, 96, 188, 189, 1655, 15, 121, 3274, 3, 31, 5600, 2029, 159, 3, 1629, 2, 4766, 29, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which ZX Spectrum has a Year larger than 1984, and a Genre of arcade/strategy?
CREATE TABLE table_36826 ( "Title" text, "Genre" text, "C=64" text, "ZX Spectrum" text, "Others" text, "Year" real, "Format" text )
SELECT "ZX Spectrum" FROM table_36826 WHERE "Year" > '1984' AND "Genre" = 'arcade/strategy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3651, 2688, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 13714, 60, 121, 1499, 6, 96, 254, 2423, 4389, 121, 1499, 6, 96, 956, 4, 29998, 121, 1499, 6, 96, 667, 189, 277...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 956, 4, 29998, 121, 21680, 953, 834, 519, 3651, 2688, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 4608, 31, 3430, 96, 13714, 60, 121, 3274, 3, 31, 291, 6615, 87, 7, 17, 2206, 122, 63, 31, 1, -1...
What is Curtis Strange's Score?
CREATE TABLE table_47459 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text )
SELECT "Score" FROM table_47459 WHERE "Player" = 'curtis strange'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 591, 3390, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 4177, 591, 3390, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 3663, 17, 159, 6765, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the order # for the original artist sarah mclachlan?
CREATE TABLE table_28485 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text )
SELECT "Order #" FROM table_28485 WHERE "Original artist" = 'Sarah McLachlan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4608, 4433, 41, 96, 518, 10266, 1713, 121, 1499, 6, 96, 634, 526, 121, 1499, 6, 96, 134, 2444, 1160, 121, 1499, 6, 96, 667, 3380, 10270, 2377, 121, 1499, 6, 96, 7395...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7395, 588, 1713, 121, 21680, 953, 834, 357, 4608, 4433, 549, 17444, 427, 96, 667, 3380, 10270, 2377, 121, 3274, 3, 31, 134, 2551, 107, 3038, 434, 1836, 1618, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Give a bar chart that bins year into weekday interval, group by year and count them, display in descending by the how many year.
CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real...
SELECT Year, COUNT(Year) FROM exhibition ORDER BY COUNT(Year) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4473, 834, 60, 7621, 41, 22371, 834, 4309, 16, 17, 6, 7678, 1499, 6, 22497, 663, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2377, 41, 9152, 834, 4309, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2929, 6, 2847, 17161, 599, 476, 2741, 61, 21680, 4473, 4674, 11300, 272, 476, 2847, 17161, 599, 476, 2741, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many Seat Orders (Right to Left) have a Series 3 of deborah meaden?
CREATE TABLE table_78695 ( "Seat Order (Right to Left)" real, "Series 1" text, "Series 2" text, "Series 3" text, "Series 5" text, "Series 9" text, "Series 11" text )
SELECT COUNT("Seat Order (Right to Left)") FROM table_78695 WHERE "Series 3" = 'deborah meaden'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 3951, 755, 41, 96, 134, 1544, 5197, 41, 448, 2632, 12, 14298, 61, 121, 490, 6, 96, 12106, 7, 209, 121, 1499, 6, 96, 12106, 7, 204, 121, 1499, 6, 96, 12106, 7, 220...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 134, 1544, 5197, 41, 448, 2632, 12, 14298, 61, 8512, 21680, 953, 834, 3940, 3951, 755, 549, 17444, 427, 96, 12106, 7, 220, 121, 3274, 3, 31, 221, 6693, 9, 107, 140, 9, 537, 31, 1, -100, -1...
How many draws have french as the language, with a place less than 1?
CREATE TABLE table_name_93 ( draw INTEGER, language VARCHAR, place VARCHAR )
SELECT SUM(draw) FROM table_name_93 WHERE language = "french" AND place < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 3314, 3, 21342, 17966, 6, 1612, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14924, 43, 20609, 38, 8, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 19489, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 1612, 3274, 96, 89, 60, 5457, 121, 3430, 286, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which series occurred in which the semi-finalist was runner-up and the 7800.00 was 6420.00?
CREATE TABLE table_2544694_3 (indonesia_super_series_2008 VARCHAR, runner_up VARCHAR)
SELECT indonesia_super_series_2008 FROM table_2544694_3 WHERE runner_up = "Semi-Finalist" AND 780000 = "6420.00"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3628, 3951, 591, 834, 519, 41, 77, 2029, 15, 7, 23, 9, 834, 21771, 834, 10833, 7, 834, 16128, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16, 2029, 15, 7, 23, 9, 834, 21771, 834, 10833, 7, 834, 16128, 21680, 953, 834, 1828, 3628, 3951, 591, 834, 519, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 134, 15, 51, 23, 18, 371, 10270, 343, 121, 3430, 3,...
What is the score of the away team when the home team is Footscray?
CREATE TABLE table_name_95 ( away_team VARCHAR, home_team VARCHAR )
SELECT away_team AS score FROM table_name_95 WHERE home_team = "footscray"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 550, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 550, 372, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 234, 834, 11650, 3274, 96, 6259, 7, 2935, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show me a scatter chart for how many students are there for each major?
CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), ...
SELECT Major, COUNT(*) FROM Student GROUP BY Major
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4498, 834, 6838, 49, 122, 63, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 432, 49, 122, 63, 584, 4280, 28027, 599, 1755, 61, 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, 9236, 6, 2847, 17161, 599, 1935, 61, 21680, 6341, 350, 4630, 6880, 272, 476, 9236, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of tries for the player who is larger than 16?
CREATE TABLE table_4693 ( "Played" real, "Lost" real, "Drawn" real, "Tries" real, "Points" real, "% Won" real )
SELECT SUM("Tries") FROM table_4693 WHERE "Played" > '16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 4271, 41, 96, 15800, 15, 26, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 382, 2593, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 382, 2593, 8512, 21680, 953, 834, 4448, 4271, 549, 17444, 427, 96, 15800, 15, 26, 121, 2490, 3, 31, 2938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Col entry for the peak with an elevation of 2,308 meters?
CREATE TABLE table_65077 ( "Peak" text, "Country" text, "Elevation (m)" real, "Prominence (m)" real, "Col (m)" real )
SELECT COUNT("Col (m)") FROM table_65077 WHERE "Elevation (m)" = '2,308'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15348, 4013, 41, 96, 345, 15, 1639, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 427, 10912, 257, 41, 51, 61, 121, 490, 6, 96, 3174, 1109, 1433, 41, 51, 61, 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, 2847, 17161, 599, 121, 9939, 41, 51, 61, 8512, 21680, 953, 834, 15348, 4013, 549, 17444, 427, 96, 427, 10912, 257, 41, 51, 61, 121, 3274, 3, 31, 4482, 1458, 927, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What are the names of movies that get 3 star and 4 star?
CREATE TABLE movie ( mid number, title text, year number, director text ) CREATE TABLE reviewer ( rid number, name text ) CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time )
SELECT T2.title FROM rating AS T1 JOIN movie AS T2 ON T1.mid = T2.mid WHERE T1.stars = 3 INTERSECT SELECT T2.title FROM rating AS T1 JOIN movie AS T2 ON T1.mid = T2.mid WHERE T1.stars = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1974, 41, 2076, 381, 6, 2233, 1499, 6, 215, 381, 6, 2090, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1132, 49, 41, 5413, 381, 6, 564, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 21869, 21680, 5773, 6157, 332, 536, 3, 15355, 3162, 1974, 6157, 332, 357, 9191, 332, 5411, 6983, 3274, 332, 4416, 6983, 549, 17444, 427, 332, 5411, 3624, 7, 3274, 220, 3, 21342, 5249, 14196, 3, 23143, 14196...
For those employees who do not work in departments with managers that have ids between 100 and 200, a bar chart shows the distribution of hire_date and the amount of hire_date bin hire_date by time, and could you order by the Y from low to high?
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL v...
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY COUNT(HIRE_DATE)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 2847, 17161, 599, 566, 14132, 834, 308, 6048, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 54...
What is the Score of the Chicago Black Hawks Home game on March 28?
CREATE TABLE table_49518 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Score" FROM table_49518 WHERE "Home" = 'chicago black hawks' AND "Date" = 'march 28'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3301, 2606, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 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, 134, 9022, 121, 21680, 953, 834, 591, 3301, 2606, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 1436, 658, 839, 1001, 3, 14400, 7, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 51, 7064, 2059, 31, 1, -100, -100,...
What is Stop No., when Destination is Perth, and when Line is Midland?
CREATE TABLE table_name_23 (stop_no VARCHAR, destination VARCHAR, line VARCHAR)
SELECT stop_no FROM table_name_23 WHERE destination = "perth" AND line = "midland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 7618, 834, 29, 32, 584, 4280, 28027, 6, 3954, 584, 4280, 28027, 6, 689, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 9078, 465, 5, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1190, 834, 29, 32, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 3954, 3274, 96, 883, 189, 121, 3430, 689, 3274, 96, 6983, 40, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the 5 most recent papers of Mirella Lapata ?
CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE writes ( paperid int, ...
SELECT DISTINCT paper.paperid, paper.year FROM author, paper, writes WHERE author.authorname = 'Mirella Lapata' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid ORDER BY paper.year DESC LIMIT 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 41, 1040, 23, 26, 16, 17, 6, 2233, 3, 4331, 4059, 6, 5669, 23, 26, 16, 17, 6, 215, 16, 17, 6, 3, 5525, 17994, 16, 17, 6, 3, 5525, 11675, 969, 16, 17, 6, 6378, 23, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1040, 5, 19587, 23, 26, 6, 1040, 5, 1201, 21680, 2291, 6, 1040, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 329, 2060, 195, 9, 325, 4665, 9, 31, 3430, 11858, 5, 17415, 23...
WHAT IS THE DIRECTOR WITH FILM hope and pain?
CREATE TABLE table_12536 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Director" text, "Result" text )
SELECT "Director" FROM table_12536 WHERE "Film title used in nomination" = 'hope and pain'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10124, 3420, 41, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 1499, 6, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23620, 127, 121, 21680, 953, 834, 10124, 3420, 549, 17444, 427, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 3274, 3, 31, 10776, 15, 11, 1406, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List all directors from episodes with viewership of 1.945 million.
CREATE TABLE table_22835602_1 (directed_by VARCHAR, viewers__in_millions_ VARCHAR)
SELECT directed_by FROM table_22835602_1 WHERE viewers__in_millions_ = "1.945"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4591, 4834, 4305, 834, 536, 41, 22955, 834, 969, 584, 4280, 28027, 6, 13569, 834, 834, 77, 834, 17030, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6640, 834, 969, 21680, 953, 834, 2884, 4591, 4834, 4305, 834, 536, 549, 17444, 427, 13569, 834, 834, 77, 834, 17030, 7, 834, 3274, 96, 22493, 2128, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the least number of poins for San Lorenzo?
CREATE TABLE table_18594107_1 (points INTEGER, team VARCHAR)
SELECT MIN(points) FROM table_18594107_1 WHERE team = "San Lorenzo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21594, 4240, 18057, 834, 536, 41, 2700, 7, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 709, 381, 13, 1977, 77, 7, 21, 1051, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 2700, 7, 61, 21680, 953, 834, 21594, 4240, 18057, 834, 536, 549, 17444, 427, 372, 3274, 96, 134, 152, 1815, 20276, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the 2003 statistic for general cargo?
CREATE TABLE table_name_94 (product VARCHAR)
SELECT 2003 FROM table_name_94 WHERE product = "general cargo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 15892, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3888, 19720, 21, 879, 15470, 58, 1, 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, 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...
[ 3, 23143, 14196, 3888, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 556, 3274, 96, 27369, 15470, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When was the show originally aired that had a TV broadcast of S07E04?
CREATE TABLE table_16090262_1 (originalairdate VARCHAR, tv_broadcast VARCHAR)
SELECT originalairdate FROM table_16090262_1 WHERE tv_broadcast = "S07E04"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19129, 2394, 2688, 357, 834, 536, 41, 21878, 2256, 5522, 584, 4280, 28027, 6, 3, 17, 208, 834, 115, 8635, 5254, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 926, 2256, 5522, 21680, 953, 834, 19129, 2394, 2688, 357, 834, 536, 549, 17444, 427, 3, 17, 208, 834, 115, 8635, 5254, 3274, 96, 134, 4560, 427, 6348, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the result of the match with clyde as the opponent in the h venue?
CREATE TABLE table_7937 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" text )
SELECT "Result" FROM table_7937 WHERE "Opponent" = 'clyde' AND "Venue" = 'h'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 4118, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 4440, 4118, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 75, 120, 221, 31, 3430, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 107, 31, 1, -100, -100, -100, -100, -100, -100, ...
who is the home team when tie no is less than 7 and the away team is havant & waterlooville?
CREATE TABLE table_53730 ( "Tie no" real, "Home team" text, "Score" text, "Away team" text, "Attendance" real )
SELECT "Home team" FROM table_53730 WHERE "Tie no" < '7' AND "Away team" = 'havant & waterlooville'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4118, 1458, 41, 96, 382, 23, 15, 150, 121, 490, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 17, 324, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 755, 4118, 1458, 549, 17444, 427, 96, 382, 23, 15, 150, 121, 3, 2, 3, 31, 940, 31, 3430, 96, 188, 1343, 372, 121, 3274, 3, 31, 107, 15990, 3, 184, 387, 40, 32, 32, 1420, ...
What is average ratings for Japanese title of , with episodes larger than 9?
CREATE TABLE table_name_38 ( average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR )
SELECT average_ratings FROM table_name_38 WHERE episodes > 9 AND japanese_title = "ホタルノヒカリ"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 1348, 834, 52, 1014, 7, 584, 4280, 28027, 6, 13562, 584, 4280, 28027, 6, 2662, 2837, 15, 7, 15, 834, 21869, 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, 0, 0...
[ 3, 23143, 14196, 1348, 834, 52, 1014, 7, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 13562, 2490, 668, 3430, 2662, 2837, 15, 7, 15, 834, 21869, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
have there been any microbiological test history for patient 031-3355 in 12/2105?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patie...
SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355')) AND STRFTIME('%y-%m', microlab.culturetakentime) = '2105-12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7690, 4350, 1499, 6, 50, 1999, 7, 83, 17, 381, 6, 50, 1999, 7, 83, 17, 715, 97, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 2179, 9339, 549, 17444, 427, 2179, 9339, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 186...
what is the number of patients whose admission type is elective and lab test category is hematology?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab."CATEGORY" = "Hematology"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 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, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the height of the person that weighs 320 pounds?
CREATE TABLE table_10966926_2 ( height VARCHAR, weight VARCHAR )
SELECT height FROM table_10966926_2 WHERE weight = 320
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 4314, 3951, 2688, 834, 357, 41, 3902, 584, 4280, 28027, 6, 1293, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3902, 13, 8, 568, 24, 11385, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3902, 21680, 953, 834, 1714, 4314, 3951, 2688, 834, 357, 549, 17444, 427, 1293, 3274, 3, 15003, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of Yi's state?
CREATE TABLE table_45235 ( "State" text, "Type" text, "Name" text, "Title" text, "Royal house" text )
SELECT "State" FROM table_45235 WHERE "Name" = 'yi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 25174, 41, 96, 134, 4748, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 448, 32, 63, 138, 629, 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, 134, 4748, 121, 21680, 953, 834, 2128, 25174, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 63, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of job_id and manager_id in a bar chart.
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal...
SELECT JOB_ID, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 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, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610, ...
What is the name with the builder of Kerr Stuart
CREATE TABLE table_142159_1 ( name VARCHAR, builder VARCHAR )
SELECT name FROM table_142159_1 WHERE builder = "Kerr Stuart"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24978, 27904, 834, 536, 41, 564, 584, 4280, 28027, 6, 918, 49, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 28, 8, 918, 49, 13, 10703, 52, 233...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 24978, 27904, 834, 536, 549, 17444, 427, 918, 49, 3274, 96, 439, 49, 52, 23338, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who drove the Marlboro Mclaren Peugeot?
CREATE TABLE table_name_40 (driver VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_40 WHERE entrant = "marlboro mclaren peugeot"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 13739, 52, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 10719, 8, 1571, 40, 14901, 283, 23982, 35, 31288...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2535, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 3, 295, 3569, 3274, 96, 1635, 40, 14901, 3, 51, 23982, 35, 2277, 397, 32, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which patients had operations on chordae tendineae?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.short_title = "Chordae tendineae ops"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
For those employees who do not work in departments with managers that have ids between 100 and 200, a bar chart shows the distribution of first_name and department_id , and rank by the bar in desc.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE T...
SELECT FIRST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30085, 834, 567, 17683, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610...
Please use a bar chart to show the total amount of payment by each payment method code, rank total number in ascending order.
CREATE TABLE Payments ( Payment_ID INTEGER, Settlement_ID INTEGER, Payment_Method_Code VARCHAR(255), Date_Payment_Made DATE, Amount_Payment INTEGER ) CREATE TABLE Customers ( Customer_ID INTEGER, Customer_Details VARCHAR(255) ) CREATE TABLE Settlements ( Settlement_ID INTEGER, Clai...
SELECT Payment_Method_Code, SUM(Amount_Payment) FROM Payments GROUP BY Payment_Method_Code ORDER BY SUM(Amount_Payment)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 12248, 7, 41, 12248, 834, 4309, 3, 21342, 17966, 6, 31044, 834, 4309, 3, 21342, 17966, 6, 12248, 834, 23351, 107, 32, 26, 834, 22737, 584, 4280, 28027, 599, 25502, 201, 7678, 834, 1970...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12248, 834, 23351, 107, 32, 26, 834, 22737, 6, 180, 6122, 599, 188, 11231, 834, 19702, 297, 61, 21680, 12248, 7, 350, 4630, 6880, 272, 476, 12248, 834, 23351, 107, 32, 26, 834, 22737, 4674, 11300, 272, 476, 180, 612...
what are the ids and names of all start stations that were the beginning of at least 200 trips?, sort start_station_id from high to low order.
CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE weather ( date TEX...
SELECT start_station_name, start_station_id FROM trip ORDER BY start_station_id DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1469, 41, 3, 23, 26, 3, 21342, 17966, 6, 8659, 3, 21342, 17966, 6, 456, 834, 5522, 3, 3463, 4, 382, 6, 456, 834, 6682, 834, 4350, 3, 3463, 4, 382, 6, 456, 834, 6682, 834, 23, 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, 456, 834, 6682, 834, 4350, 6, 456, 834, 6682, 834, 23, 26, 21680, 1469, 4674, 11300, 272, 476, 456, 834, 6682, 834, 23, 26, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the title of the episode written by daniel sackheim?
CREATE TABLE table_2618061_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_2618061_1 WHERE directed_by = "Daniel Sackheim"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 20829, 4241, 834, 536, 41, 21869, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2233, 13, 8, 5640, 1545, 57, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 2688, 20829, 4241, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 308, 2738, 15, 40, 180, 4365, 3254, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which operator has a Reserve of 100 bbbl?
CREATE TABLE table_name_96 (operator_s_ VARCHAR, reserves VARCHAR)
SELECT operator_s_ FROM table_name_96 WHERE reserves = "100 bbbl"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 32, 883, 1016, 834, 7, 834, 584, 4280, 28027, 6, 11222, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 7221, 65, 3, 9, 9473, 13, 910, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7221, 834, 7, 834, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 11222, 3274, 96, 2915, 3, 115, 115, 115, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the film title used for nomination with the original title sedamdeset i dva dana?
CREATE TABLE table_name_65 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_65 WHERE original_title = "sedamdeset i dva dana"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 9988, 834, 21869, 834, 10064, 834, 77, 834, 29, 32, 14484, 584, 4280, 28027, 6, 926, 834, 21869, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 814, 834, 21869, 834, 10064, 834, 77, 834, 29, 32, 14484, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 926, 834, 21869, 3274, 96, 3843, 265, 221, 2244, 3, 23, 3, 26, 900, 3, 3768, 9, 121, 1, -100, -100, -1...
How many numbers were recorded for high points when the team played against Oklahoma City?
CREATE TABLE table_17311783_6 (high_points VARCHAR, team VARCHAR)
SELECT COUNT(high_points) FROM table_17311783_6 WHERE team = "Oklahoma City"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3341, 2517, 4591, 834, 948, 41, 6739, 834, 2700, 7, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2302, 130, 4381, 21, 306, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 6739, 834, 2700, 7, 61, 21680, 953, 834, 2517, 3341, 2517, 4591, 834, 948, 549, 17444, 427, 372, 3274, 96, 667, 8142, 10207, 9, 896, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Tell me the average goals with apps less than 3
CREATE TABLE table_name_16 (goals INTEGER, apps INTEGER)
SELECT AVG(goals) FROM table_name_16 WHERE apps < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 839, 5405, 3, 21342, 17966, 6, 4050, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 1348, 1766, 28, 4050, 705, 145, 220, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 4050, 3, 2, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the number of students who participate in the tryout for each college ordered by descending count.
CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) CREATE TABLE college ( cname text, state text, enr number )
SELECT COUNT(*), cname FROM tryout GROUP BY cname ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 3, 12417, 381, 6, 3, 102, 4350, 1499, 6, 3, 63, 6043, 1499, 6, 3, 107, 7, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 653, 670, 41, 3, 12417, 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, 2847, 17161, 599, 1935, 201, 3, 75, 4350, 21680, 653, 670, 350, 4630, 6880, 272, 476, 3, 75, 4350, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Display a pie chart for what are the total enrollments of universities of each affiliation type?
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT Affiliation, SUM(Enrollment) FROM university GROUP BY Affiliation
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 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, 71, 89, 8027, 23, 257, 6, 180, 6122, 599, 8532, 4046, 297, 61, 21680, 3819, 350, 4630, 6880, 272, 476, 71, 89, 8027, 23, 257, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the vehicle code where the bore is 79.4?
CREATE TABLE table_23722304_2 (vehicle_code VARCHAR, bore__mm_ VARCHAR)
SELECT vehicle_code FROM table_23722304_2 WHERE bore__mm_ = "79.4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4118, 2884, 23702, 834, 357, 41, 162, 107, 23, 2482, 834, 4978, 584, 4280, 28027, 6, 18033, 834, 834, 635, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1689, 834, 4978, 21680, 953, 834, 357, 4118, 2884, 23702, 834, 357, 549, 17444, 427, 18033, 834, 834, 635, 834, 3274, 96, 4440, 5, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Tie No., when Away Team is 'Manchester United'?
CREATE TABLE table_49921 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Tie no" FROM table_49921 WHERE "Away team" = 'manchester united'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3264, 2658, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 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, 382, 23, 15, 150, 121, 21680, 953, 834, 591, 3264, 2658, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 348, 13263, 18279, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the name of the home team playing at the Junction Oval venue?
CREATE TABLE table_name_10 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_10 WHERE venue = "junction oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 564, 13, 8, 234, 372, 1556, 44, 8, 29092,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 5669, 3274, 96, 6959, 4985, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the number of rank world for bhutan
CREATE TABLE table_2248784_3 ( rank_world VARCHAR, country VARCHAR )
SELECT COUNT(rank_world) FROM table_2248784_3 WHERE country = "Bhutan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24622, 4225, 4608, 834, 519, 41, 11003, 834, 7276, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 11003, 296, 21, 3, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 6254, 834, 7276, 61, 21680, 953, 834, 24622, 4225, 4608, 834, 519, 549, 17444, 427, 684, 3274, 96, 279, 13985, 152, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many students are advised by each rank of faculty? List the rank and the number of students, and rank by the Y in ascending.
CREATE TABLE Participates_in ( stuid INTEGER, actid INTEGER ) CREATE TABLE Activity ( actid INTEGER, activity_name varchar(25) ) CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Ag...
SELECT Rank, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.Advisor GROUP BY T1.Rank ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15077, 6203, 834, 77, 41, 21341, 23, 26, 3, 21342, 17966, 6, 1810, 23, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 22536, 41, 1810, 23, 26, 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, 3, 22557, 6, 2847, 17161, 599, 1935, 61, 21680, 16896, 6157, 332, 536, 3, 15355, 3162, 6341, 6157, 332, 357, 9191, 332, 5411, 371, 9, 75, 4309, 3274, 332, 4416, 188, 26, 24680, 350, 4630, 6880, 272, 476, 332, 5411, ...
What is Outcome, when Score is 1-6, 3-6?
CREATE TABLE table_name_5 ( outcome VARCHAR, score VARCHAR )
SELECT outcome FROM table_name_5 WHERE score = "1-6, 3-6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 6138, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3387, 287, 15, 6, 116, 17763, 19, 3, 27019, 6, 3, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6138, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 2604, 3274, 96, 27019, 6, 3, 25342, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the lowest recorded record for a player with an average larger than 13?
CREATE TABLE table_54132 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "TD's" real, "Long" real )
SELECT MIN("Rec.") FROM table_54132 WHERE "Avg." > '13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 23757, 41, 96, 15800, 49, 121, 1499, 6, 96, 1649, 75, 535, 490, 6, 96, 476, 986, 7, 121, 490, 6, 96, 188, 208, 122, 535, 490, 6, 96, 10494, 31, 7, 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, 3, 17684, 599, 121, 1649, 75, 5, 8512, 21680, 953, 834, 5062, 23757, 549, 17444, 427, 96, 188, 208, 122, 535, 2490, 3, 31, 2368, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many tries were against when the number won was 14?
CREATE TABLE table_18082 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Tries against" FROM table_18082 WHERE "Won" = '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20829, 4613, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 518, 106, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 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, 382, 2593, 581, 121, 21680, 953, 834, 20829, 4613, 549, 17444, 427, 96, 518, 106, 121, 3274, 3, 31, 2534, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the date for Colorado?
CREATE TABLE table_67454 ( "State" text, "Date" text, "Yes vote" text, "No vote" text, "Vote outcome" text )
SELECT "Date" FROM table_67454 WHERE "State" = 'colorado'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 2128, 591, 41, 96, 134, 4748, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 19739, 2902, 121, 1499, 6, 96, 4168, 2902, 121, 1499, 6, 96, 553, 32, 17, 15, 6138, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3708, 2128, 591, 549, 17444, 427, 96, 134, 4748, 121, 3274, 3, 31, 8135, 19042, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
where did glenn greenough come from
CREATE TABLE table_2850912_8 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_2850912_8 WHERE player = "Glenn Greenough"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 1752, 4729, 357, 834, 927, 41, 3297, 7883, 834, 6959, 23, 127, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 21680, 953, 834, 2577, 1752, 4729, 357, 834, 927, 549, 17444, 427, 1959, 3274, 96, 517, 40, 35, 29, 1862, 4607, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What's the clock speed of the model that costs $910?
CREATE TABLE table_12740151_8 (clock_speed VARCHAR, price___usd__ VARCHAR)
SELECT clock_speed FROM table_12740151_8 WHERE price___usd__ = "$910"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22367, 2445, 26578, 834, 927, 41, 17407, 834, 9993, 584, 4280, 28027, 6, 594, 834, 834, 834, 302, 26, 834, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6702, 834, 9993, 21680, 953, 834, 22367, 2445, 26578, 834, 927, 549, 17444, 427, 594, 834, 834, 834, 302, 26, 834, 834, 3274, 96, 3229, 1298, 1714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest Version, when Release Date is '2011-04-01'?
CREATE TABLE table_58999 ( "Title" text, "Developer" text, "Genre" text, "Release date" text, "Version" real )
SELECT MAX("Version") FROM table_58999 WHERE "Release date" = '2011-04-01'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 19446, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 2962, 162, 8745, 49, 121, 1499, 6, 96, 13714, 60, 121, 1499, 6, 96, 1649, 40, 14608, 833, 121, 1499, 6, 96, 5000, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 5000, 1938, 8512, 21680, 953, 834, 3449, 19446, 549, 17444, 427, 96, 1649, 40, 14608, 833, 121, 3274, 3, 31, 13907, 18083, 14772, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Player has a Date of 13 july 2007?
CREATE TABLE table_name_41 (player VARCHAR, date VARCHAR)
SELECT player FROM table_name_41 WHERE date = "13 july 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 20846, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 12387, 65, 3, 9, 7678, 13, 1179, 3, 2047, 120, 4101, 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, 1959, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 833, 3274, 96, 2368, 3, 2047, 120, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total amount of trees when district is leninsky?
CREATE TABLE table_10342194_3 (total_amount_of_trees INTEGER, district VARCHAR)
SELECT MAX(total_amount_of_trees) FROM table_10342194_3 WHERE district = "Leninsky"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 3710, 2658, 4240, 834, 519, 41, 235, 1947, 834, 9, 11231, 834, 858, 834, 929, 15, 7, 3, 21342, 17966, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 235, 1947, 834, 9, 11231, 834, 858, 834, 929, 15, 7, 61, 21680, 953, 834, 1714, 3710, 2658, 4240, 834, 519, 549, 17444, 427, 3939, 3274, 96, 434, 35, 77, 5352, 121, 1, -100, -100, -100, -100, -100, ...
Name the title for marion burns leading lady and role of john mason
CREATE TABLE table_name_89 ( title VARCHAR, leading_lady VARCHAR, role VARCHAR )
SELECT title FROM table_name_89 WHERE leading_lady = "marion burns" AND role = "john mason"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 2233, 584, 4280, 28027, 6, 1374, 834, 521, 26, 63, 584, 4280, 28027, 6, 1075, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2233, 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, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 1374, 834, 521, 26, 63, 3274, 96, 17289, 106, 5958, 7, 121, 3430, 1075, 3274, 96, 27341, 954, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the tie number when the away team was Wrexham?
CREATE TABLE table_8267 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Tie no" FROM table_8267 WHERE "Away team" = 'wrexham'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4613, 3708, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 17, 324, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 23, 15, 150, 121, 21680, 953, 834, 4613, 3708, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 210, 60, 226, 1483, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the transfer fee for the summer transfer involving the SCO named Crainey?
CREATE TABLE table_name_83 ( transfer_fee VARCHAR, name VARCHAR, transfer_window VARCHAR, country VARCHAR )
SELECT transfer_fee FROM table_name_83 WHERE transfer_window = "summer" AND country = "sco" AND name = "crainey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 2025, 834, 89, 15, 15, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 6, 2025, 834, 5165, 2381, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2025, 834, 89, 15, 15, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 2025, 834, 5165, 2381, 3274, 96, 23541, 52, 121, 3430, 684, 3274, 96, 3523, 121, 3430, 564, 3274, 96, 2935, 630, 63, 121, 1, -100, -100, -1...
how many tv shows did natalia oreiro between 1998 and 2002 ?
CREATE TABLE table_204_871 ( id number, "ano" text, "title" text, "role" text, "channel" text, "notes" text )
SELECT COUNT("title") FROM table_204_871 WHERE "ano" >= 1998 AND "ano" <= 2002
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4225, 536, 41, 3, 23, 26, 381, 6, 96, 152, 32, 121, 1499, 6, 96, 21869, 121, 1499, 6, 96, 3491, 15, 121, 1499, 6, 96, 19778, 121, 1499, 6, 96, 7977, 7, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 21869, 8512, 21680, 953, 834, 26363, 834, 4225, 536, 549, 17444, 427, 96, 152, 32, 121, 2490, 2423, 6260, 3430, 96, 152, 32, 121, 3, 2, 2423, 4407, 1, -100, -100, -100, -100, -100, -100, -100,...
Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina?
CREATE TABLE table_17518 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text )
SELECT "Mens doubles" FROM table_17518 WHERE "Womens doubles" = 'Anastasia Chervyakova Romina Gabdullina'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 3072, 2606, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 35, 7, 712, 7, 121, 1499, 6, 96, 518, 32, 904, 7, 712, 7, 121, 1499, 6, 96, 329, 35, 7, 1486, 7, 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, 329, 35, 7, 1486, 7, 121, 21680, 953, 834, 536, 3072, 2606, 549, 17444, 427, 96, 518, 32, 904, 7, 1486, 7, 121, 3274, 3, 31, 188, 29, 9, 7, 17, 15974, 16028, 208, 20856, 6194, 12583, 77, 9, 15894, 26, 83, ...
Which model number has socket pga2 bga2 mmc-2?
CREATE TABLE table_9498 ( "Model number" text, "sSpec number" text, "Frequency" text, "L2 cache" text, "Mult." text, "Voltage" text, "Socket" text, "Part number(s)" text )
SELECT "Model number" FROM table_9498 WHERE "Socket" = 'μpga2 bga2 mmc-2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4240, 3916, 41, 96, 24663, 381, 121, 1499, 6, 96, 7, 7727, 381, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 434, 357, 11800, 121, 1499, 6, 96, 329, 83, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24663, 381, 121, 21680, 953, 834, 4240, 3916, 549, 17444, 427, 96, 5231, 8849, 17, 121, 3274, 3, 31, 2, 102, 122, 9, 357, 3, 115, 122, 9, 357, 3, 635, 75, 4949, 31, 1, -100, -100, -100, -100, -100, -100, -...
What is the average number of played of the team with 3 losses, more than 9 points, a position of 5, and less than 12 against?
CREATE TABLE table_39125 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text )
SELECT AVG("Played") FROM table_39125 WHERE "Lost" = '3' AND "Points" > '9' AND "Position" = '5' AND "Against" < '12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 10124, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 15800, 15, 26, 8512, 21680, 953, 834, 3288, 10124, 549, 17444, 427, 96, 434, 3481, 121, 3274, 3, 31, 519, 31, 3430, 96, 22512, 7, 121, 2490, 3, 31, 1298, 31, 3430, 96, 345, 32, 7, 4749, 121,...
Find the number of students taught by TARRING LEIA.
CREATE TABLE teachers ( lastname text, firstname text, classroom number ) CREATE TABLE list ( lastname text, firstname text, grade number, classroom number )
SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "TARRING" AND T2.lastname = "LEIA"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3081, 41, 336, 4350, 1499, 6, 166, 4350, 1499, 6, 4858, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 570, 41, 336, 4350, 1499, 6, 166, 4350, 1499, 6, 2769, 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, 2847, 17161, 599, 1935, 61, 21680, 570, 6157, 332, 536, 3, 15355, 3162, 3081, 6157, 332, 357, 9191, 332, 5411, 4057, 3082, 3274, 332, 4416, 4057, 3082, 549, 17444, 427, 332, 4416, 14672, 4350, 3274, 96, 28588, 21034, ...
What office did Henry Hagner run for on the prohibition ticket?
CREATE TABLE table_name_31 (office VARCHAR, prohibition_ticket VARCHAR)
SELECT office FROM table_name_31 WHERE prohibition_ticket = "henry hagner"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 19632, 584, 4280, 28027, 6, 30693, 834, 26639, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 828, 410, 7780, 19905, 687, 661, 21, 30, 8, 3069...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 828, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 30693, 834, 26639, 3274, 96, 3225, 651, 4244, 122, 687, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
With a statistic of most points, what is the stage?
CREATE TABLE table_59139 ( "Statistic" text, "Name" text, "Total" text, "School" text, "Opponent" text, "Stage" text )
SELECT "Stage" FROM table_59139 WHERE "Statistic" = 'most points'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 24090, 41, 96, 134, 17, 144, 3040, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 3696, 1947, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 6505, 121, 21680, 953, 834, 3390, 24090, 549, 17444, 427, 96, 134, 17, 144, 3040, 121, 3274, 3, 31, 5463, 979, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
With 0 Goals and less than 1 Tries, what is Matt James position?
CREATE TABLE table_name_38 (position VARCHAR, player VARCHAR, goals VARCHAR, tries VARCHAR)
SELECT position FROM table_name_38 WHERE goals = "0" AND tries < 1 AND player = "matt james"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 4718, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 6, 3, 9000, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 438, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 1766, 3274, 96, 632, 121, 3430, 3, 9000, 3, 2, 209, 3430, 1959, 3274, 96, 3357, 17, 7620, 15, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...