NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
How many tries where points is 77?
CREATE TABLE table_13758945_1 ( tries_for VARCHAR, points VARCHAR )
SELECT tries_for FROM table_13758945_1 WHERE points = "77"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3072, 3914, 2128, 834, 536, 41, 3, 9000, 834, 1161, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3, 9000, 213, 979, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 9000, 834, 1161, 21680, 953, 834, 2368, 3072, 3914, 2128, 834, 536, 549, 17444, 427, 979, 3274, 96, 4013, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give me the comparison about Team_ID over the All_Neutral by a bar chart, and display in desc by the y-axis please.
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 ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT All_Neutral, Team_ID FROM basketball_match ORDER BY Team_ID DESC
[ 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, 432, 834, 26288, 8792, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 2271, 834, 4309, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the decision for the 1983 season for the game played against the New York Yankees?
CREATE TABLE table_63224 ( "Season" text, "Pitcher" text, "Decision" text, "Opponent" text, "Location" text )
SELECT "Decision" FROM table_63224 WHERE "Opponent" = 'new york yankees' AND "Season" = '1983'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 24622, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 345, 155, 1703, 121, 1499, 6, 96, 2962, 18901, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 434, 32, 75, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2962, 18901, 121, 21680, 953, 834, 3891, 24622, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 5534, 25453, 3, 63, 5979, 15, 15, 7, 31, 3430, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 2294, 4591, 31, ...
Which Decision has a Series of 3 3?
CREATE TABLE table_46388 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Series" text )
SELECT "Decision" FROM table_46388 WHERE "Series" = '3 – 3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 519, 4060, 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, 2962, 18901, 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, 2962, 18901, 121, 21680, 953, 834, 4448, 519, 4060, 549, 17444, 427, 96, 12106, 7, 121, 3274, 3, 31, 519, 3, 104, 220, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Please give me a bar chart that counts the number of grape of wine, could you sort Y from high to low order?
CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases INTEGER, Drink TEXT )
SELECT Grape, COUNT(Grape) FROM wine GROUP BY Grape ORDER BY COUNT(Grape) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8319, 6105, 7, 41, 465, 3, 21342, 17966, 6, 3, 27794, 257, 3, 3463, 4, 382, 6, 1334, 3, 3463, 4, 382, 6, 1015, 3, 3463, 4, 382, 6, 5690, 3, 3463, 4, 382, 6, 19, 6968, 188, 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, 29083, 6, 2847, 17161, 599, 4744, 855, 61, 21680, 2013, 350, 4630, 6880, 272, 476, 29083, 4674, 11300, 272, 476, 2847, 17161, 599, 4744, 855, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the syrian christians for kollam
CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR)
SELECT syrian_christians FROM table_23214055_2 WHERE district = "Kollam"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23188, 22012, 3769, 834, 357, 41, 7, 63, 5288, 834, 15294, 7137, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3, 7, 63, 5288, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 7, 63, 5288, 834, 15294, 7137, 21680, 953, 834, 23188, 22012, 3769, 834, 357, 549, 17444, 427, 3939, 3274, 96, 439, 32, 195, 265, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
find the number of hispanic or latino patients who have procedure icd9 code 8191.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND procedures.icd9_code = "8191"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the submission Year of the Film The Dark Side of the Moon directed by Erik Clausen?
CREATE TABLE table_name_40 ( year INTEGER, director VARCHAR, english_title VARCHAR )
SELECT SUM(year) FROM table_name_40 WHERE director = "erik clausen" AND english_title = "the dark side of the moon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 215, 3, 21342, 17966, 6, 2090, 584, 4280, 28027, 6, 22269, 834, 21869, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 8121, 2929, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 2090, 3274, 96, 15, 9629, 14442, 29, 121, 3430, 22269, 834, 21869, 3274, 96, 532, 2164, 596, 13, 8, 8114, 121, 1, -100, -100, -100, -100, ...
Who were the winner and nominees in 2001?
CREATE TABLE table_name_27 (winner_nominee_s_ VARCHAR, year VARCHAR)
SELECT winner_nominee_s_ FROM table_name_27 WHERE year = 2001
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 3757, 687, 834, 3114, 630, 15, 834, 7, 834, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 4668, 11, 2107...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4668, 834, 3114, 630, 15, 834, 7, 834, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 215, 3274, 4402, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are the titles of the books whose writer is not 'Elaine Lee'?
CREATE TABLE book ( Title VARCHAR, Writer VARCHAR )
SELECT Title FROM book WHERE Writer <> "Elaine Lee"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 484, 41, 11029, 584, 4280, 28027, 6, 8733, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 8342, 13, 8, 1335, 3, 2544, 4346, 19, 59, 3, 31, 10991, 7043, 553...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11029, 21680, 484, 549, 17444, 427, 8733, 52, 3, 2, 3155, 96, 10991, 7043, 5531, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average Total Freshwater Withdrawal (km 3 /yr), when Industrial Use (m 3 /p/yr)(in %) is 337(63%), and when Per Capita Withdrawal (m 3 /p/yr) is greater than 535?
CREATE TABLE table_76022 ( "Country" text, "Total Freshwater Withdrawal (km 3 /yr)" real, "Per Capita Withdrawal (m 3 /p/yr)" real, "Domestic Use (m 3 /p/yr)(in %)" text, "Industrial Use (m 3 /p/yr)(in %)" text, "Agricultural Use (m 3 /p/yr)(in %)" text )
SELECT AVG("Total Freshwater Withdrawal (km 3 /yr)") FROM table_76022 WHERE "Industrial Use (m 3 /p/yr)(in %)" = '337(63%)' AND "Per Capita Withdrawal (m 3 /p/yr)" > '535'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28212, 2884, 41, 96, 10628, 651, 121, 1499, 6, 96, 3696, 1947, 8767, 3552, 438, 19489, 138, 41, 5848, 220, 3, 87, 63, 52, 61, 121, 490, 6, 96, 12988, 4000, 155, 9, 438, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 1947, 8767, 3552, 438, 19489, 138, 41, 5848, 220, 3, 87, 63, 52, 61, 8512, 21680, 953, 834, 28212, 2884, 549, 17444, 427, 96, 1570, 8655, 17, 12042, 2048, 41, 51, 220, 3, 87, 102, 87, ...
What country is the Debemur Morti prod. label from?
CREATE TABLE table_78788 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalog Nr." text )
SELECT "Country" FROM table_78788 WHERE "Label" = 'debemur morti prod.'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 3940, 927, 41, 96, 10628, 651, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 2152, 16750, 535,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3940, 3940, 927, 549, 17444, 427, 96, 434, 10333, 121, 3274, 3, 31, 221, 346, 11054, 7971, 23, 813, 26, 5, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
List all the dates of enrollment and completion of students.
CREATE TABLE Student_Course_Enrolment ( date_of_enrolment VARCHAR, date_of_completion VARCHAR )
SELECT date_of_enrolment, date_of_completion FROM Student_Course_Enrolment
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 834, 3881, 3589, 15, 834, 8532, 3491, 297, 41, 833, 834, 858, 834, 35, 3491, 297, 584, 4280, 28027, 6, 833, 834, 858, 834, 7699, 109, 1575, 584, 4280, 28027, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 834, 858, 834, 35, 3491, 297, 6, 833, 834, 858, 834, 7699, 109, 1575, 21680, 6341, 834, 3881, 3589, 15, 834, 8532, 3491, 297, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Return a bar chart about the distribution of All_Games and All_Games_Percent , display Y-axis in ascending order.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) 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 )
SELECT All_Games, All_Games_Percent FROM basketball_match ORDER BY All_Games_Percent
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 432, 834, 23055, 7, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 432, 834, 23055, 7, 834, 12988, 3728, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me the age and also the diagnoses icd9 code for estrella carroll
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.age, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Estrella Carroll"
[ 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, 14798, 5, 545, 6, 18730, 7, 5, 447, 26, 1298, 834, 4978, 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, 549, 17444, 427, 147...
Find the average prices of all products from each manufacture, and list each company's name.
CREATE TABLE products (price INTEGER, Manufacturer VARCHAR); CREATE TABLE manufacturers (name VARCHAR, code VARCHAR)
SELECT AVG(T1.price), T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 494, 41, 102, 4920, 3, 21342, 17966, 6, 15248, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5360, 41, 4350, 584, 4280, 28027, 6, 1081, 584, 4280, 28027, 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, 71, 17217, 599, 382, 5411, 102, 4920, 201, 332, 4416, 4350, 21680, 494, 6157, 332, 536, 3, 15355, 3162, 5360, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 4978, 350, 4630, 6880, 272, 47...
Which pre-season has May 5 of 21?
CREATE TABLE table_name_21 (pre__season VARCHAR, may_5 VARCHAR)
SELECT pre__season FROM table_name_21 WHERE may_5 = "21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 2026, 834, 834, 9476, 584, 4280, 28027, 6, 164, 834, 755, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 554, 18, 9476, 65, 932, 305, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 554, 834, 834, 9476, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 164, 834, 755, 3274, 96, 2658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Computer Model papers
CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE writes ( paperid int, authorid int )
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'Computer Model' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 8464, 41, 3, 17994, 19587, 23, 26, 16, 17, 6, 3, 11675, 19587, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 41, 1040, 23, 26, 16, 17, 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, 15438, 25424, 6227, 1040, 5, 19587, 23, 26, 21680, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 549, 17444, 427, 843, 27111, 5, 4397, 27111, 4350, 3274, 3, 31, 5890, 2562, 49, 5154, 31, 3430, 1040, 4397, 27111, 5, ...
Name the 3 where weightlifter is m. van der goten ( bel )
CREATE TABLE table_16779068_5 ( weightlifter VARCHAR )
SELECT 3 FROM table_16779068_5 WHERE weightlifter = "M. Van der Goten ( BEL )"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4013, 2394, 3651, 834, 755, 41, 1293, 9253, 49, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 220, 213, 1293, 9253, 49, 19, 3, 51, 5, 4049, 74, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 220, 21680, 953, 834, 2938, 4013, 2394, 3651, 834, 755, 549, 17444, 427, 1293, 9253, 49, 3274, 96, 329, 5, 4480, 74, 13031, 35, 41, 272, 3577, 3, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the first round when team 1 was toulouse fc (d1)?
CREATE TABLE table_name_44 (team_1 VARCHAR)
SELECT 1 AS st_round FROM table_name_44 WHERE team_1 = "toulouse fc (d1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 11650, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 166, 1751, 116, 372, 209, 47, 12, 83, 1162, 15, 3, 89, 75, 41, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 209, 6157, 3, 7, 17, 834, 7775, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 372, 834, 536, 3274, 96, 235, 83, 1162, 15, 3, 89, 75, 41, 26, 6982, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When is the first broadcast for episodes where Rufus's guest is Jack Whitehall?
CREATE TABLE table_2194 ( "Episode" text, "First broadcast" text, "Rufus guest" text, "Marcus guest" text, "Winner" text )
SELECT "First broadcast" FROM table_2194 WHERE "Rufus guest" = 'Jack Whitehall'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 4240, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 25171, 6878, 121, 1499, 6, 96, 17137, 89, 302, 3886, 121, 1499, 6, 96, 7286, 1071, 7, 3886, 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, 25171, 6878, 121, 21680, 953, 834, 2658, 4240, 549, 17444, 427, 96, 17137, 89, 302, 3886, 121, 3274, 3, 31, 683, 4365, 1945, 11516, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the opponent at the game attended by 45,000?
CREATE TABLE table_74965 ( "Date" text, "Opponent#" text, "Site" text, "Result" text, "Attendance" text )
SELECT "Opponent#" FROM table_74965 WHERE "Attendance" = '45,000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3647, 4122, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 4663, 121, 1499, 6, 96, 26030, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 4663, 121, 21680, 953, 834, 940, 3647, 4122, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 591, 5898, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was Gongbo's title?
CREATE TABLE table_45234 ( "State" text, "Type" text, "Name" text, "Title" text, "Royal house" text )
SELECT "Title" FROM table_45234 WHERE "Name" = 'gongbo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 357, 3710, 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, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 2128, 357, 3710, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 122, 2444, 115, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Against is the highest one that has a Difference of 12?
CREATE TABLE table_name_14 (against INTEGER, difference VARCHAR)
SELECT MAX(against) FROM table_name_14 WHERE difference = "12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 9, 16720, 7, 17, 3, 21342, 17966, 6, 1750, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 20749, 19, 8, 2030, 80, 24, 65, 3, 9, 27187,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 1750, 3274, 96, 2122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the record where high assists is pierce (6)?
CREATE TABLE table_11959669_6 ( record VARCHAR, high_assists VARCHAR )
SELECT record FROM table_11959669_6 WHERE high_assists = "Pierce (6)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 3301, 4314, 3951, 834, 948, 41, 1368, 584, 4280, 28027, 6, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 213, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 2596, 3301, 4314, 3951, 834, 948, 549, 17444, 427, 306, 834, 6500, 7, 17, 7, 3274, 96, 345, 972, 565, 3, 18669, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the tyres with a year earlier than 1961 for a climax l4 engine?
CREATE TABLE table_79881 ( "Year" real, "Chassis" text, "Engine" text, "Tyres" text, "Points" text )
SELECT "Tyres" FROM table_79881 WHERE "Year" < '1961' AND "Engine" = 'climax l4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 4060, 536, 41, 96, 476, 2741, 121, 490, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 382, 63, 60, 7, 121, 1499, 6, 96, 22512, 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, 382, 63, 60, 7, 121, 21680, 953, 834, 4440, 4060, 536, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 4241, 31, 3430, 96, 31477, 121, 3274, 3, 31, 14758, 9128, 3, 40, 591, 31, 1, -100, -100, -100,...
What party is Charles Van Wyck part of?
CREATE TABLE table_name_4 ( party VARCHAR, incumbent VARCHAR )
SELECT party FROM table_name_4 WHERE incumbent = "charles van wyck"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 1088, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1088, 19, 5417, 4480, 11314, 2406, 294, 13, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 28406, 3274, 96, 4059, 965, 4049, 3, 210, 63, 2406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the sum of laps that has a car number of larger than 1, is a ford, and has 155 points?
CREATE TABLE table_name_54 (laps INTEGER, points VARCHAR, car__number VARCHAR, make VARCHAR)
SELECT SUM(laps) FROM table_name_54 WHERE car__number > 1 AND make = "ford" AND points = 155
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 8478, 7, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 6, 443, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 143, 584, 4280, 28027, 61, 3, 32102, 32103, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 443, 834, 834, 5525, 1152, 2490, 209, 3430, 143, 3274, 96, 2590, 121, 3430, 979, 3274, 3, 20896, 1, -100, -100, -100, -100, -100, -100,...
What is NiCd, when Type is 'Capacity under 500mA constant Drain'?
CREATE TABLE table_name_23 ( nicd VARCHAR, type VARCHAR )
SELECT nicd FROM table_name_23 WHERE type = "capacity under 500ma constant drain"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 3, 2532, 26, 584, 4280, 28027, 6, 686, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2504, 254, 26, 6, 116, 6632, 19, 3, 31, 19566...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 2532, 26, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 686, 3274, 96, 4010, 9, 6726, 365, 2899, 51, 9, 3917, 7128, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the source of the poll that gave McAuliffe 30% on June 8?
CREATE TABLE table_21535453_1 (source VARCHAR, terry_mcauliffe VARCHAR, dates_administered VARCHAR)
SELECT source FROM table_21535453_1 WHERE terry_mcauliffe = "30%" AND dates_administered = "June 8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 4867, 5062, 4867, 834, 536, 41, 7928, 584, 4280, 28027, 6, 3, 449, 651, 834, 51, 658, 83, 5982, 15, 584, 4280, 28027, 6, 5128, 834, 9, 26, 17791, 15, 26, 584, 4280,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1391, 21680, 953, 834, 2658, 4867, 5062, 4867, 834, 536, 549, 17444, 427, 3, 449, 651, 834, 51, 658, 83, 5982, 15, 3274, 96, 1458, 1454, 121, 3430, 5128, 834, 9, 26, 17791, 15, 26, 3274, 96, 683, 444, 505, 121, ...
in a game against st kilda, what was the away team's score?
CREATE TABLE table_name_33 ( away_team VARCHAR, home_team VARCHAR )
SELECT away_team FROM table_name_33 WHERE home_team = "st kilda"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 550, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 16, 3, 9, 467, 581, 3, 7, 17, 3, 157, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 834, 11650, 21680, 953, 834, 4350, 834, 4201, 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, ...
For those employees who was hired before 2002-06-21, return a scatter chart about the correlation between salary and manager_id .
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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) )
SELECT SALARY, MANAGER_ID FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 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, 180, 4090, 24721, 6, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What tv season was episode 23 broadcast?
CREATE TABLE table_2669287_1 ( tv_season VARCHAR, episodes VARCHAR )
SELECT tv_season FROM table_2669287_1 WHERE episodes = 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3951, 357, 4225, 834, 536, 41, 3, 17, 208, 834, 9476, 584, 4280, 28027, 6, 13562, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3, 17, 208, 774, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17, 208, 834, 9476, 21680, 953, 834, 2688, 3951, 357, 4225, 834, 536, 549, 17444, 427, 13562, 3274, 1902, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
count the number of patients whose primary disease is chest pain and procedure short title is endosc inser stent bile?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "CHEST PAIN" AND procedures.short_title = "Endosc inser stent bile"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What was the score when the record 56-46 was met?
CREATE TABLE table_name_7 ( score VARCHAR, record VARCHAR )
SELECT score FROM table_name_7 WHERE record = "56-46"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 2604, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 116, 8, 1368, 11526, 18, 4448, 47, 1736, 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, 2604, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1368, 3274, 96, 4834, 18, 4448, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
who has written the most papers on semantic parsing ?
CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE author ( authorid int, authorname varchar )
SELECT DISTINCT COUNT(paper.paperid), writes.authorid FROM keyphrase, paper, paperkeyphrase, writes WHERE keyphrase.keyphrasename = 'semantic parsing' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND writes.paperid = paper.paperid GROUP BY writes.authorid ORDER BY COUNT(paper.paperid) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 1846, 41, 1057, 23, 26, 16, 17, 6, 1040, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 6757, 2244, 41, 1040, 23, 26, 16, 17, 6, 17953, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 2847, 17161, 599, 19587, 5, 19587, 23, 26, 201, 11858, 5, 17415, 23, 26, 21680, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 6, 11858, 549, 17444, 427, 843, 27111, 5, 4397, 27111, 4350, 3274, 3,...
What is the completed date of ?
CREATE TABLE table_name_87 ( completed VARCHAR, kanji VARCHAR )
SELECT completed FROM table_name_87 WHERE kanji = "蓬"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 2012, 584, 4280, 28027, 6, 3, 1258, 21391, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2012, 833, 13, 3, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2012, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 3, 1258, 21391, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many times was fabio fabiani jay ten winner ?
CREATE TABLE table_204_137 ( id number, "race" number, "race name" text, "pole position" text, "fastest lap" text, "winning driver" text, "winning team" text, "yokohama winner" text, "jay-ten winner" text, "report" text )
SELECT COUNT(*) FROM table_204_137 WHERE "jay-ten winner" = 'fabio fabiani'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 24636, 41, 3, 23, 26, 381, 6, 96, 12614, 121, 381, 6, 96, 12614, 564, 121, 1499, 6, 96, 14332, 1102, 121, 1499, 6, 96, 11584, 222, 14941, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 24636, 549, 17444, 427, 96, 1191, 63, 18, 324, 4668, 121, 3274, 3, 31, 89, 9, 6420, 3, 12644, 23, 2738, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the director of the episode with a production code of 2393059?
CREATE TABLE table_10953197_2 ( director VARCHAR, production_code VARCHAR )
SELECT director FROM table_10953197_2 WHERE production_code = "2393059"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 4867, 27181, 834, 357, 41, 2090, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2090, 13, 8, 5640, 28, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2090, 21680, 953, 834, 17304, 4867, 27181, 834, 357, 549, 17444, 427, 999, 834, 4978, 3274, 96, 357, 3288, 1458, 3390, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the molecular target listed under the compounded name of hemiasterlin (e7974)
CREATE TABLE table_12715053_1 (molecular_target VARCHAR, compound_name VARCHAR)
SELECT molecular_target FROM table_12715053_1 WHERE compound_name = "Hemiasterlin (E7974)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22367, 12278, 4867, 834, 536, 41, 4641, 15, 4866, 834, 24315, 584, 4280, 28027, 6, 12771, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2288, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2288, 109, 4866, 834, 24315, 21680, 953, 834, 22367, 12278, 4867, 834, 536, 549, 17444, 427, 12771, 834, 4350, 3274, 96, 566, 11658, 1370, 40, 77, 41, 427, 4440, 4581, 61, 121, 1, -100, -100, -100, -100, -100, -100, ...
What is the winning score of the tournament on 16 May 1993?
CREATE TABLE table_name_20 (winning_score VARCHAR, date VARCHAR)
SELECT winning_score FROM table_name_20 WHERE date = "16 may 1993"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 8163, 834, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3447, 2604, 13, 8, 5892, 30, 898, 932, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3447, 834, 7, 9022, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 833, 3274, 96, 2938, 164, 8388, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the away team's score at brunswick street oval?
CREATE TABLE table_name_80 ( away_team VARCHAR, venue VARCHAR )
SELECT away_team AS score FROM table_name_80 WHERE venue = "brunswick street oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 550, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 550, 372, 31, 7, 2604, 44, 25376, 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, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2079, 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...
If the season is before 2000, the runner up was north melbourne, and it's the pre-season cup, what's the sum of attendees?
CREATE TABLE table_name_8 (attendance INTEGER, season VARCHAR, premiership VARCHAR, runner_up VARCHAR)
SELECT SUM(attendance) FROM table_name_8 WHERE premiership = "pre-season cup" AND runner_up = "north melbourne" AND season < 2000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 15116, 663, 3, 21342, 17966, 6, 774, 584, 4280, 28027, 6, 2761, 2009, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 61, 3, 32102, 32103, 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, 180, 6122, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 2761, 2009, 3274, 96, 2026, 18, 9476, 4119, 121, 3430, 3, 10806, 834, 413, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 3430, 774, ...
Show the number of heads of departments born in each state with a bar chart.
CREATE TABLE head ( head_ID int, name text, born_state text, age real ) CREATE TABLE management ( department_ID int, head_ID int, temporary_acting text ) CREATE TABLE department ( Department_ID int, Name text, Creation text, Ranking int, Budget_in_Billions real, Num_Employees real )
SELECT born_state, COUNT(born_state) FROM head GROUP BY born_state
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 819, 41, 819, 834, 4309, 16, 17, 6, 564, 1499, 6, 2170, 834, 5540, 1499, 6, 1246, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 758, 41, 3066, 834, 4309, 16, 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, 2170, 834, 5540, 6, 2847, 17161, 599, 7473, 834, 5540, 61, 21680, 819, 350, 4630, 6880, 272, 476, 2170, 834, 5540, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average total medals of the soviet union, which has more than 2 bronze and more than 0 silver medals?
CREATE TABLE table_name_2 (total INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_2 WHERE bronze > 2 AND silver > 0 AND nation = "soviet union"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 235, 1947, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 13467, 2490, 204, 3430, 4294, 2490, 3, 632, 3430, 2982, 3274, 96, 7, 9881, 15, 17, 7021, 121, 1, -100, -100, -100, -100, -100, -100, ...
What is the sum of the total of player rich beem, who has a to par greater than 17?
CREATE TABLE table_62611 ( "Player" text, "Country" text, "Year won" real, "Total" real, "To par" real )
SELECT SUM("Total") FROM table_62611 WHERE "Player" = 'rich beem' AND "To par" > '17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2688, 2596, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 751, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, 3696, 260, 121, 490, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 948, 2688, 2596, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 3723, 36, 15, 51, 31, 3430, 96, 3696, 260, 121, 2490, 3, 31, 2517, 31, 1, -100, -100, -1...
What is Gold, when Total is 6?
CREATE TABLE table_name_79 ( gold VARCHAR, total VARCHAR )
SELECT gold FROM table_name_79 WHERE total = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 2045, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2540, 6, 116, 9273, 19, 431, 58, 1, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2045, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 792, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many patients whose death status is 1 and drug name is gentamicin sulfate?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "1" AND prescriptions.drug = "Gentamicin Sulfate"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
For all employees who have the letters D or S in their first name, find hire_date and the sum of employee_id bin hire_date by weekday, and visualize them by a bar chart.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) 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) )
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8...
What is Country, when Player is 'Billy Maxwell'?
CREATE TABLE table_48863 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Country" FROM table_48863 WHERE "Player" = 'billy maxwell'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 3840, 519, 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, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 3707, 3840, 519, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 3727, 120, 9858, 2091, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
WHat status had an against larger than 6 and a date of 01/02/1975?
CREATE TABLE table_name_30 ( status VARCHAR, against VARCHAR, date VARCHAR )
SELECT status FROM table_name_30 WHERE against > 6 AND date = "01/02/1975"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 2637, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3, 15313, 144, 2637, 141, 46, 581, 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, 2637, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 581, 2490, 431, 3430, 833, 3274, 96, 4542, 87, 4305, 13523, 3072, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Prize, when the Event is Ept Deauville?
CREATE TABLE table_name_10 (prize VARCHAR, event VARCHAR)
SELECT prize FROM table_name_10 WHERE event = "ept deauville"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 2246, 776, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11329, 6, 116, 8, 8042, 19, 10395, 17, 374, 402, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6441, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 605, 3274, 96, 6707, 20, 402, 1420, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the col location for the location of france / italy?
CREATE TABLE table_2731431_1 (col_location VARCHAR, location VARCHAR)
SELECT col_location FROM table_2731431_1 WHERE location = "France / Italy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 519, 2534, 3341, 834, 536, 41, 3297, 834, 14836, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7632, 1128, 21, 8, 1128, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7632, 834, 14836, 21680, 953, 834, 2555, 519, 2534, 3341, 834, 536, 549, 17444, 427, 1128, 3274, 96, 371, 5219, 3, 87, 5308, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return the average, minimum, maximum, and total transaction amounts.
CREATE TABLE orders ( order_id number, customer_id number, date_order_placed time, order_details text ) CREATE TABLE invoice_line_items ( order_item_id number, invoice_number number, product_id number, product_title text, product_quantity text, product_price number, derived_product_cost number, derived_vat_payable number, derived_total_cost number ) CREATE TABLE accounts ( account_id number, customer_id number, date_account_opened time, account_name text, other_account_details text ) CREATE TABLE order_items ( order_item_id number, order_id number, product_id number, product_quantity text, other_order_item_details text ) CREATE TABLE financial_transactions ( transaction_id number, account_id number, invoice_number number, transaction_type text, transaction_date time, transaction_amount number, transaction_comment text, other_transaction_details text ) CREATE TABLE product_categories ( production_type_code text, product_type_description text, vat_rating number ) CREATE TABLE invoices ( invoice_number number, order_id number, invoice_date time ) CREATE TABLE customers ( customer_id number, customer_first_name text, customer_middle_initial text, customer_last_name text, gender text, email_address text, login_name text, login_password text, phone_number text, town_city text, state_county_province text, country text ) CREATE TABLE products ( product_id number, parent_product_id number, production_type_code text, unit_price number, product_name text, product_color text, product_size text )
SELECT AVG(transaction_amount), MIN(transaction_amount), MAX(transaction_amount), SUM(transaction_amount) FROM financial_transactions
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5022, 41, 455, 834, 23, 26, 381, 6, 884, 834, 23, 26, 381, 6, 833, 834, 9397, 834, 4687, 26, 97, 6, 455, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7031, 4787, 834, 9, 11231, 201, 3, 17684, 599, 7031, 4787, 834, 9, 11231, 201, 4800, 4, 599, 7031, 4787, 834, 9, 11231, 201, 180, 6122, 599, 7031, 4787, 834, 9, 11231, 61, 21680, 981, 834, 7031, 47...
Which state is West Spanish Peak in?
CREATE TABLE table_name_4 ( state VARCHAR, mountain_peak VARCHAR )
SELECT state FROM table_name_4 WHERE mountain_peak = "west spanish peak"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 538, 584, 4280, 28027, 6, 4180, 834, 14661, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 538, 19, 1244, 5093, 18996, 16, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 538, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 4180, 834, 14661, 3274, 96, 12425, 8438, 1273, 6734, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For artist names who are not from the United States, how many names in each year?
CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int )
SELECT Year_Join, COUNT(Year_Join) FROM artist WHERE Country <> 'United States' GROUP BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4473, 41, 22371, 834, 4309, 16, 17, 6, 2929, 16, 17, 6, 37, 526, 1499, 6, 9152, 834, 4309, 16, 17, 6, 3, 15569, 834, 345, 4920, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 604...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 834, 683, 32, 77, 6, 2847, 17161, 599, 476, 2741, 834, 683, 32, 77, 61, 21680, 2377, 549, 17444, 427, 6993, 3, 2, 3155, 3, 31, 5110, 23, 1054, 1323, 31, 350, 4630, 6880, 272, 476, 5570, 1, -100, -100, -100...
what is the number of patients whose lab test abnormal status is abnormal and lab test name is gentamicin?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.flag = "abnormal" AND lab.label = "Gentamicin"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the code nickname where Steve Mayne is the coach?
CREATE TABLE table_18752986_1 (nickname VARCHAR, coach VARCHAR)
SELECT nickname FROM table_18752986_1 WHERE coach = "Steve Mayne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3072, 3166, 3840, 834, 536, 41, 11191, 4350, 584, 4280, 28027, 6, 3763, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1081, 24649, 213, 5659, 932, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 24649, 21680, 953, 834, 2606, 3072, 3166, 3840, 834, 536, 549, 17444, 427, 3763, 3274, 96, 14337, 162, 932, 29, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what country is the only country with at least 20 gold medals ?
CREATE TABLE table_203_716 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_203_716 WHERE "gold" >= 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 940, 2938, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 257, 121, 21680, 953, 834, 23330, 834, 940, 2938, 549, 17444, 427, 96, 14910, 121, 2490, 2423, 460, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the title of the production code 1acx09?
CREATE TABLE table_22575 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text )
SELECT "Title" FROM table_22575 WHERE "Production code" = '1ACX09'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20489, 3072, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 20489, 3072, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 536, 5173, 4, 4198, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Label has a Release of liebesgr sse aus ost-berlin?
CREATE TABLE table_name_16 ( label VARCHAR, release VARCHAR )
SELECT label FROM table_name_16 WHERE release = "liebesgrüsse aus ost-berlin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 3783, 584, 4280, 28027, 6, 1576, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 16229, 65, 3, 9, 13048, 13, 23803, 7, 122, 52, 3, 7, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3783, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 1576, 3274, 96, 8980, 15, 7, 122, 52, 12079, 403, 3, 3481, 18, 27995, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Wins has a Top-5 of 6?
CREATE TABLE table_name_26 (wins INTEGER, top_5 VARCHAR)
SELECT AVG(wins) FROM table_name_26 WHERE top_5 = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 3757, 7, 3, 21342, 17966, 6, 420, 834, 755, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4871, 7, 65, 3, 9, 2224, 4525, 13, 431, 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, 0...
[ 3, 23143, 14196, 71, 17217, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 420, 834, 755, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the attendance on May 26?
CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_86 WHERE date = "may 26"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 15116, 663, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 30, 932, 2208, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11364, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 833, 3274, 96, 13726, 2208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What Score points has a Rank points of defending champion?
CREATE TABLE table_59511 ( "Shooter" text, "Event" text, "Rank points" text, "Score points" text, "Total" text )
SELECT "Score points" FROM table_59511 WHERE "Rank points" = 'defending champion'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3301, 2596, 41, 96, 10499, 32, 32, 449, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 22557, 979, 121, 1499, 6, 96, 134, 9022, 979, 121, 1499, 6, 96, 3696, 1947, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 979, 121, 21680, 953, 834, 755, 3301, 2596, 549, 17444, 427, 96, 22557, 979, 121, 3274, 3, 31, 20309, 6336, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many countries had 21 points
CREATE TABLE table_74377 ( "Rk" real, "Name" text, "Country" text, "Matches Played" real, "Matches Won" real, "Points" real, "Prize Money (USD)" real )
SELECT COUNT("Country") FROM table_74377 WHERE "Points" = '21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 519, 4013, 41, 96, 448, 157, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 329, 144, 2951, 2911, 15, 26, 121, 490, 6, 96, 329, 144, 2951...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10628, 651, 8512, 21680, 953, 834, 4581, 519, 4013, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 2658, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many times did the 2nd season have a finale?
CREATE TABLE table_1348989_2 (season VARCHAR)
SELECT COUNT(season) AS Finale FROM table_1348989_2 WHERE season = "2nd"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 3914, 3914, 834, 357, 41, 9476, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 410, 8, 204, 727, 774, 43, 3, 9, 13604, 58, 1, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9476, 61, 6157, 6514, 15, 21680, 953, 834, 23747, 3914, 3914, 834, 357, 549, 17444, 427, 774, 3274, 96, 357, 727, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
List all of the NLL Toronto Rock players.
CREATE TABLE table_22102 ( "Player" text, "Alma Mater" text, "National Lacrosse League" text, "Major League Lacrosse" text, "International Competition" text )
SELECT "Player" FROM table_22102 WHERE "National Lacrosse League" = 'Toronto Rock'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 14388, 41, 96, 15800, 49, 121, 1499, 6, 96, 188, 40, 51, 9, 5708, 49, 121, 1499, 6, 96, 24732, 325, 11465, 15, 3815, 121, 1499, 6, 96, 329, 9, 12775, 3815, 325, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 2884, 14388, 549, 17444, 427, 96, 24732, 325, 11465, 15, 3815, 121, 3274, 3, 31, 3696, 4438, 32, 3120, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Game 3 has a Game 1 of brett kenny?
CREATE TABLE table_name_75 ( game_3 VARCHAR, game_1 VARCHAR )
SELECT game_3 FROM table_name_75 WHERE game_1 = "brett kenny"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 467, 834, 519, 584, 4280, 28027, 6, 467, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4435, 220, 65, 3, 9, 4435, 209, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 467, 834, 519, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 467, 834, 536, 3274, 96, 1999, 17, 17, 3, 9376, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the lowest number of goals joe keenan, who has more than 1 assists, had in 2007/08?
CREATE TABLE table_name_84 (goals INTEGER, assists VARCHAR, years VARCHAR, name VARCHAR)
SELECT MIN(goals) FROM table_name_84 WHERE years = "2007/08" AND name = "joe keenan" AND assists > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 839, 5405, 3, 21342, 17966, 6, 13041, 584, 4280, 28027, 6, 203, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 203, 3274, 96, 20615, 87, 4018, 121, 3430, 564, 3274, 96, 1927, 15, 9805, 152, 121, 3430, 13041, 2490, 209, 1, -100, -100, -100, -100,...
What is Tom Kite with a Score of 68's To Par?
CREATE TABLE table_62251 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT "To par" FROM table_62251 WHERE "Score" = '68' AND "Player" = 'tom kite'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 1828, 536, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 490, 6, 96, 3696, 260, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3696, 260, 121, 21680, 953, 834, 4056, 1828, 536, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 3651, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 235, 51, 3650, 15, 31, 1, -100, -100, -100, -100, -100, -1...
How many distinct characteristic names does the product 'cumin' have?
CREATE TABLE characteristics ( characteristic_id number, characteristic_type_code text, characteristic_data_type text, characteristic_name text, other_characteristic_details text ) CREATE TABLE product_characteristics ( product_id number, characteristic_id number, product_characteristic_value text ) CREATE TABLE ref_characteristic_types ( characteristic_type_code text, characteristic_type_description text ) CREATE TABLE ref_colors ( color_code text, color_description text ) CREATE TABLE products ( product_id number, color_code text, product_category_code text, product_name text, typical_buying_price text, typical_selling_price text, product_description text, other_product_details text ) CREATE TABLE ref_product_categories ( product_category_code text, product_category_description text, unit_of_measure text )
SELECT COUNT(DISTINCT t3.characteristic_name) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN characteristics AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6803, 41, 16115, 834, 23, 26, 381, 6, 16115, 834, 6137, 834, 4978, 1499, 6, 16115, 834, 6757, 834, 6137, 1499, 6, 16115, 834, 4350, 1499, 6, 119, 834, 31886, 3040, 834, 221, 5756, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 3, 17, 5787, 31886, 3040, 834, 4350, 61, 21680, 494, 6157, 3, 17, 536, 3, 15355, 3162, 556, 834, 31886, 3040, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 15892, 834, 23, 26, 3274,...
What is the lowest Premiere peaking at more than 35 with a Rank of 10 and Finale greater than 33?
CREATE TABLE table_name_25 (premiere INTEGER, finale VARCHAR, peak VARCHAR, rank VARCHAR)
SELECT MIN(premiere) FROM table_name_25 WHERE peak > 35 AND rank = 10 AND finale > 33
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 2026, 2720, 60, 3, 21342, 17966, 6, 13604, 584, 4280, 28027, 6, 6734, 584, 4280, 28027, 6, 11003, 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, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 2026, 2720, 60, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 6734, 2490, 3097, 3430, 11003, 3274, 335, 3430, 13604, 2490, 5400, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What amount is the junior high school where the gender is male and the specification is minimum diameter of sakigawa?
CREATE TABLE table_13555999_1 ( junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR, specification VARCHAR )
SELECT junior_high_school__12_15_yrs_ FROM table_13555999_1 WHERE gender = "Male" AND specification = "Minimum diameter of sakigawa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 28803, 19446, 834, 536, 41, 9212, 834, 6739, 834, 6646, 834, 834, 2122, 834, 1808, 834, 63, 52, 7, 834, 584, 4280, 28027, 6, 7285, 584, 4280, 28027, 6, 16726, 584, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 9212, 834, 6739, 834, 6646, 834, 834, 2122, 834, 1808, 834, 63, 52, 7, 834, 21680, 953, 834, 2368, 28803, 19446, 834, 536, 549, 17444, 427, 7285, 3274, 96, 329, 9, 109, 121, 3430, 16726, 3274, 96, 12858, 603, 440, ...
What is the score in the 6 atlas stones event of the player who got 2 (6 in 30.89s) in the 3 dead lift event?
CREATE TABLE table_24302700_6 (event_6_atlas_stones VARCHAR, event_3_dead_lift VARCHAR)
SELECT COUNT(event_6_atlas_stones) FROM table_24302700_6 WHERE event_3_dead_lift = "2 (6 in 30.89s)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27730, 4305, 9295, 834, 948, 41, 15, 2169, 834, 948, 834, 144, 521, 7, 834, 3009, 7, 584, 4280, 28027, 6, 605, 834, 519, 834, 221, 9, 26, 834, 9253, 584, 4280, 28027, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15, 2169, 834, 948, 834, 144, 521, 7, 834, 3009, 7, 61, 21680, 953, 834, 27730, 4305, 9295, 834, 948, 549, 17444, 427, 605, 834, 519, 834, 221, 9, 26, 834, 9253, 3274, 96, 357, 11372, 16, 604, ...
What is the date with home team of Stockport County?
CREATE TABLE table_10032 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Date" FROM table_10032 WHERE "Home team" = 'stockport county'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 2668, 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, 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, 308, 342, 121, 21680, 953, 834, 2915, 2668, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 7149, 1493, 5435, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what's the pts with team being kopron team scot
CREATE TABLE table_19144 ( "Season" real, "Class" text, "Team" text, "Motorcycle" text, "Type" text, "Races" real, "Wins" real, "Podiums" real, "Poles" real, "Fastest Laps" real, "Pts" text, "Position" text )
SELECT "Pts" FROM table_19144 WHERE "Team" = 'Kopron Team Scot'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 20885, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 21486, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 329, 32, 17, 127, 10136, 121, 1499, 6, 96, 25160, 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, 345, 17, 7, 121, 21680, 953, 834, 2294, 20885, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 439, 32, 1409, 29, 2271, 10711, 17, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many departments are led by heads who are not mentioned?
CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR)
SELECT COUNT(*) FROM department WHERE NOT department_id IN (SELECT department_id FROM management)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 758, 41, 221, 2274, 297, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 221, 2274, 297, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 3066, 549, 17444, 427, 4486, 3066, 834, 23, 26, 3388, 41, 23143, 14196, 3066, 834, 23, 26, 21680, 758, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Tournament had Jack Nicklaus as Runner(s)-up?
CREATE TABLE table_65561 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Tournament" FROM table_65561 WHERE "Runner(s)-up" = 'jack nicklaus'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 4834, 536, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 7286, 122, 77, 13, 6224, 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, 382, 1211, 20205, 17, 121, 21680, 953, 834, 4122, 4834, 536, 549, 17444, 427, 96, 23572, 599, 7, 61, 18, 413, 121, 3274, 3, 31, 9325, 3, 11191, 40, 2064, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is on at 5pm on the channel where As the World Turns is on at 2pm?
CREATE TABLE table_61209 ( "7:00 am" text, "7:30 am" text, "8:00 am" text, "9:00 am" text, "10:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:00 pm" text, "3:30 pm" text, "5:00 pm" text, "6:30 pm" text )
SELECT "5:00 pm" FROM table_61209 WHERE "2:00 pm" = 'as the world turns'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 357, 4198, 41, 96, 18735, 183, 121, 1499, 6, 96, 18078, 183, 121, 1499, 6, 96, 15692, 183, 121, 1499, 6, 96, 1298, 10, 1206, 183, 121, 1499, 6, 96, 536, 25713, 183,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19870, 6366, 121, 21680, 953, 834, 4241, 357, 4198, 549, 17444, 427, 96, 24112, 6366, 121, 3274, 3, 31, 9, 7, 8, 296, 5050, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the locations that have more than one railways.
CREATE TABLE railway (LOCATION VARCHAR)
SELECT LOCATION FROM railway GROUP BY LOCATION HAVING COUNT(*) > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14421, 41, 5017, 254, 8015, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 3248, 24, 43, 72, 145, 80, 14421, 7, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 301, 5618, 8015, 21680, 14421, 350, 4630, 6880, 272, 476, 301, 5618, 8015, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Week 2 that has a Week 1 of mackenzie ryan?
CREATE TABLE table_name_81 (week_2 VARCHAR, week_1 VARCHAR)
SELECT week_2 FROM table_name_81 WHERE week_1 = "mackenzie ryan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 8041, 834, 357, 584, 4280, 28027, 6, 471, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 6551, 204, 24, 65, 3, 9, 6551, 209, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 471, 834, 357, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 471, 834, 536, 3274, 96, 20072, 35, 5600, 3, 651, 152, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many games had 41 rushes and were than 197 yards?
CREATE TABLE table_31613 ( "Year" text, "Games" real, "Rushes" real, "Yards" real, "Average" real )
SELECT COUNT("Games") FROM table_31613 WHERE "Rushes" = '41' AND "Yards" < '197'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25946, 2368, 41, 96, 476, 2741, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 17137, 7, 88, 7, 121, 490, 6, 96, 476, 986, 7, 121, 490, 6, 96, 188, 624, 545, 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, 23055, 7, 8512, 21680, 953, 834, 25946, 2368, 549, 17444, 427, 96, 17137, 7, 88, 7, 121, 3274, 3, 31, 4853, 31, 3430, 96, 476, 986, 7, 121, 3, 2, 3, 31, 27181, 31, 1, -100, -100, -100, -...
What label is in download format in the United States?
CREATE TABLE table_name_88 ( label VARCHAR, region VARCHAR, format VARCHAR )
SELECT label FROM table_name_88 WHERE region = "united states" AND format = "download"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 3783, 584, 4280, 28027, 6, 1719, 584, 4280, 28027, 6, 1910, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3783, 19, 16, 946, 1910, 16, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3783, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 1719, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 1910, 3274, 96, 26036, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is primary disease and diagnoses icd9 code of subject id 84129?
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, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT demographic.diagnosis, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "84129"
[ 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, 14798, 5, 25930, 4844, 159, 6, 18730, 7, 5, 447, 26, 1298, 834, 4978, 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, 549, 17...
What is the title when 18.58 u.s. viewers (millions) watched?
CREATE TABLE table_22211 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (millions)" text )
SELECT "Title" FROM table_22211 WHERE "U.S. viewers (millions)" = '18.58'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26144, 2596, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 26144, 2596, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 17030, 7, 61, 121, 3274, 3, 31, 2606, 5, 3449, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Throws have a Position of 3b/rhp?
CREATE TABLE table_name_1 ( throws VARCHAR, position VARCHAR )
SELECT throws FROM table_name_1 WHERE position = "3b/rhp"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 3793, 7, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 26191, 7, 43, 3, 9, 14258, 13, 220, 115, 87, 52, 107...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3793, 7, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 1102, 3274, 96, 519, 115, 87, 52, 107, 102, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Find the dates on which more than one revisions were made.
CREATE TABLE Catalogs ( date_of_latest_revision VARCHAR )
SELECT date_of_latest_revision FROM Catalogs GROUP BY date_of_latest_revision HAVING COUNT(*) > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 22424, 7, 41, 833, 834, 858, 834, 521, 4377, 834, 60, 6610, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 5128, 30, 84, 72, 145, 80, 14724, 7, 130, 263, 5, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 834, 858, 834, 521, 4377, 834, 60, 6610, 21680, 22424, 7, 350, 4630, 6880, 272, 476, 833, 834, 858, 834, 521, 4377, 834, 60, 6610, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 209, 1, -100, -100, -100, ...
What is the minimum number of bypass ports listed?
CREATE TABLE table_16731248_1 ( bypass_ports INTEGER )
SELECT MIN(bypass_ports) FROM table_16731248_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4552, 2122, 3707, 834, 536, 41, 20720, 834, 1493, 7, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2559, 381, 13, 20720, 13897, 2616, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 969, 3968, 834, 1493, 7, 61, 21680, 953, 834, 2938, 4552, 2122, 3707, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
provide the number of patients who are aged less than 68 years with posterior communicating aneurysm/sda.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE 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, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "POSTERIOR COMMUNICATING ANEURYSM/SDA" AND demographic.age < "68"
[ 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, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 16034, 5946, 196, 2990, 3, 6657, 329, 14284, 18911, 2365, 3, 5033, 262...
Which Mascot has a School of logansport community?
CREATE TABLE table_66115 ( "School" text, "Location" text, "Mascot" text, "# / County" text, "Enrollment" real, "IHSAA Class / Football/Soccer" text, "Year Joined" real, "Previous Conference" text )
SELECT "Mascot" FROM table_66115 WHERE "School" = 'logansport community'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 15660, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 329, 9, 7, 4310, 121, 1499, 6, 96, 4663, 3, 87, 1334, 121, 1499, 6, 96, 8532, 4046, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9, 7, 4310, 121, 21680, 953, 834, 3539, 15660, 549, 17444, 427, 96, 29364, 121, 3274, 3, 31, 2152, 152, 6661, 573, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
total number of episodes released in region 2 in 2007
CREATE TABLE table_203_461 ( id number, "dvd title" text, "discs" number, "year" text, "no. of ep." number, "dvd release\nregion 2" text, "dvd release\nregion 4" text )
SELECT SUM("no. of ep.") FROM table_203_461 WHERE "dvd release\nregion 2" = 2007
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4448, 536, 41, 3, 23, 26, 381, 6, 96, 26, 208, 26, 2233, 121, 1499, 6, 96, 19315, 7, 121, 381, 6, 96, 1201, 121, 1499, 6, 96, 29, 32, 5, 13, 3, 15, 102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29, 32, 5, 13, 3, 15, 102, 5, 8512, 21680, 953, 834, 23330, 834, 4448, 536, 549, 17444, 427, 96, 26, 208, 26, 1576, 2, 29, 18145, 204, 121, 3274, 4101, 1, -100, -100, -100, -100, -100, -100,...
What was the highest number of students in attendance for the university of north texas?
CREATE TABLE table_30424 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Team Nickname" text, "Primary conference" text )
SELECT MAX("Enrollment") FROM table_30424 WHERE "Institution" = 'University of North Texas'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23702, 2266, 41, 96, 1570, 17448, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 188, 89, 8027, 23, 257, 121, 1499, 6, 96, 8532, 4046, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 8532, 4046, 297, 8512, 21680, 953, 834, 23702, 2266, 549, 17444, 427, 96, 1570, 17448, 121, 3274, 3, 31, 8313, 485, 13, 1117, 2514, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many competitors from venezuela qualified for the final ?
CREATE TABLE table_204_886 ( id number, "rank" number, "swimmer" text, "country" text, "time" text, "note" text )
SELECT COUNT("swimmer") FROM table_204_886 WHERE "country" = 'venezuela'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 3840, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 7, 210, 12174, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 715, 121, 1499, 6, 96, 7977, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 7, 210, 12174, 8512, 21680, 953, 834, 26363, 834, 927, 3840, 549, 17444, 427, 96, 17529, 121, 3274, 3, 31, 25277, 76, 15, 521, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what team played on april 9
CREATE TABLE table_name_58 ( opponent VARCHAR, date VARCHAR )
SELECT opponent FROM table_name_58 WHERE date = "april 9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 15264, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 372, 1944, 30, 3, 9, 2246, 40, 668, 1, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 668, 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 least amount of matches?
CREATE TABLE table_27922491_8 (matches INTEGER)
SELECT MIN(matches) FROM table_27922491_8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4508, 2266, 4729, 834, 927, 41, 19515, 15, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 709, 866, 13, 6407, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 19515, 15, 7, 61, 21680, 953, 834, 2555, 4508, 2266, 4729, 834, 927, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Draw a bar chart about the distribution of ACC_Road and the amount of ACC_Road , and group by attribute ACC_Road.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) 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 )
SELECT ACC_Road, COUNT(ACC_Road) FROM basketball_match GROUP BY ACC_Road
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14775, 834, 448, 32, 9, 26, 6, 2847, 17161, 599, 14775, 834, 448, 32, 9, 26, 61, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 448, 32, 9, 26, 1, -100, -100, -100, -100, -100, -100, -100,...
What was the Indians record during the game that had 19,823 fans attending?
CREATE TABLE table_name_75 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_75 WHERE attendance = "19,823"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 60, 7621, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2557, 7, 1368, 383, 8, 467, 24, 141, 12370, 4613...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 11364, 3274, 96, 2294, 6, 4613, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
total serum protein > 9 g / dl
CREATE TABLE table_train_117 ( "id" int, "mini_mental_state_examination_mmse" int, "systolic_blood_pressure_sbp" int, "renal_disease" bool, "total_serum_protein" int, "diastolic_blood_pressure_dbp" int, "geriatric_depression_scale_gds" int, "serum_creatinine" float, "uncontrolled_blood_pressure" bool, "NOUSE" float )
SELECT * FROM table_train_117 WHERE total_serum_protein > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 20275, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7619, 834, 13974, 834, 5540, 834, 994, 9, 14484, 834, 635, 7, 15, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 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, 1429, 21680, 953, 834, 9719, 834, 20275, 549, 17444, 427, 792, 834, 7, 49, 440, 834, 23083, 2490, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many patients whose religion is protestant quaker and lab test name is prot. electrophoresis, urine?
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 text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "PROTESTANT QUAKER" AND lab.label = "Prot. Electrophoresis, Urine"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Get me the list of patients who died on or before 2126 that had drug code ggac5l.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2126.0" AND prescriptions.formulary_drug_cd = "GGAC5L"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...