NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18?
CREATE TABLE table_name_81 ( took_office VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR )
SELECT COUNT(took_office) FROM table_name_81 WHERE party = "democratic" AND home_town = "victoria" AND district < 18
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 808, 834, 19632, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 6, 234, 834, 3540, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 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, 2847, 17161, 599, 235, 1825, 834, 19632, 61, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 1088, 3274, 96, 23319, 447, 121, 3430, 234, 834, 3540, 3274, 96, 7287, 3600, 9, 121, 3430, 3939, 3, 2, 507, 1, -100, ...
What is the highest points for the JBW chassis with a climax straight-4 engine, later than 1961?
CREATE TABLE table_14467 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT MAX("Points") FROM table_14467 WHERE "Chassis" = 'jbw' AND "Engine" = 'climax straight-4' AND "Year" > '1961'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20885, 3708, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22512, 7, 8512, 21680, 953, 834, 20885, 3708, 549, 17444, 427, 96, 3541, 6500, 7, 121, 3274, 3, 31, 354, 115, 210, 31, 3430, 96, 31477, 121, 3274, 3, 31, 14758, 9128, 2541, 4278, 31, 3430, 96, ...
What is the season # for the production code 3.89?
CREATE TABLE table_31120 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text )
SELECT "Season #" FROM table_31120 WHERE "Production code" = '3.89'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 15518, 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, 134, 15, 9, 739, 1713, 121, 21680, 953, 834, 3341, 15518, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 5787, 3914, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Visualize a bar chart, the x-axis is the arrival time, and the y-axis is the total number of trains in each arrival time.
CREATE TABLE train ( Train_ID int, Train_Num text, Name text, From text, Arrival text, Railway_ID int ) CREATE TABLE railway_manage ( Railway_ID int, Manager_ID int, From_Year text ) CREATE TABLE railway ( Railway_ID int, Railway text, Builder text, Built text, ...
SELECT Arrival, COUNT(Arrival) FROM train GROUP BY Arrival
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 15059, 834, 4309, 16, 17, 6, 15059, 834, 567, 440, 1499, 6, 5570, 1499, 6, 1029, 1499, 6, 20559, 138, 1499, 6, 18025, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20559, 138, 6, 2847, 17161, 599, 188, 52, 25295, 61, 21680, 2412, 350, 4630, 6880, 272, 476, 20559, 138, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the goal low with caps less than 38 and an average less than 1.083?
CREATE TABLE table_name_93 ( goals INTEGER, caps VARCHAR, average VARCHAR )
SELECT MIN(goals) FROM table_name_93 WHERE caps < 38 AND average < 1.083
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 1766, 3, 21342, 17966, 6, 16753, 584, 4280, 28027, 6, 1348, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1288, 731, 28, 16753, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 16753, 3, 2, 6654, 3430, 1348, 3, 2, 3, 12734, 4591, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many drivers did not make more than 60 laps ?
CREATE TABLE table_204_496 ( id number, "pos" number, "no" number, "driver" text, "team" text, "laps" number, "time/retired" text, "grid" number, "points" number )
SELECT COUNT("driver") FROM table_204_496 WHERE "laps" <= 60
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 591, 4314, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 381, 6, 96, 29, 32, 121, 381, 6, 96, 13739, 52, 121, 1499, 6, 96, 11650, 121, 1499, 6, 96, 8478, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 13739, 52, 8512, 21680, 953, 834, 26363, 834, 591, 4314, 549, 17444, 427, 96, 8478, 7, 121, 3, 2, 2423, 1640, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When did Northeastern University join?
CREATE TABLE table_name_59 ( joined INTEGER, institution VARCHAR )
SELECT SUM(joined) FROM table_name_59 WHERE institution = "northeastern university"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 3311, 3, 21342, 17966, 6, 6568, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 21732, 49, 29, 636, 1715, 58, 1, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 1927, 630, 26, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 6568, 3274, 96, 29, 127, 532, 9, 13072, 3819, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the original air date of an episode set in 1544?
CREATE TABLE table_10413597_5 (original_air_date VARCHAR, setting VARCHAR)
SELECT original_air_date FROM table_10413597_5 WHERE setting = "1544"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 4853, 2469, 4327, 834, 755, 41, 21878, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 1898, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 926, 799, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 926, 834, 2256, 834, 5522, 21680, 953, 834, 1714, 4853, 2469, 4327, 834, 755, 549, 17444, 427, 1898, 3274, 96, 27308, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What papers has written by Dan Suciu ?
CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ...
SELECT DISTINCT writes.paperid FROM author, writes WHERE author.authorname = 'Dan Suciu' AND writes.authorid = author.authorid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11858, 41, 1040, 23, 26, 16, 17, 6, 2291, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6378, 41, 6378, 23, 26, 16, 17, 6, 6378, 4350, 3, 4331, 4059...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11858, 5, 19587, 23, 26, 21680, 2291, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 308, 152, 1923, 8469, 31, 3430, 11858, 5, 17415, 23, 26, 3274, 2291, 5, 17415, 23, 26, 1, ...
What class did eddie cheever raul boesel race in?
CREATE TABLE table_67859 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text, "Class Pos." text )
SELECT "Class" FROM table_67859 WHERE "Co-Drivers" = 'eddie cheever raul boesel'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 927, 3390, 41, 96, 476, 2741, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 3881, 18, 20982, 52, 7, 121, 1499, 6, 96, 21486, 121, 1499, 6, 96, 3612, 102, 7, 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, 96, 21486, 121, 21680, 953, 834, 3708, 927, 3390, 549, 17444, 427, 96, 3881, 18, 20982, 52, 7, 121, 3274, 3, 31, 15, 26, 2498, 3, 1033, 3258, 3, 4565, 40, 3005, 20736, 31, 1, -100, -100, -100, -100, -100, -100, ...
How many deductions have 56.5 as tosses/pyramids?
CREATE TABLE table_24715 ( "Rank" real, "Team Name" text, "Basic Elements" text, "Tumbling" text, "Stunts" text, "Tosses/Pyramids" text, "Deductions" text, "Total" text )
SELECT "Deductions" FROM table_24715 WHERE "Tosses/Pyramids" = '56.5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4177, 1808, 41, 96, 22557, 121, 490, 6, 96, 18699, 5570, 121, 1499, 6, 96, 14885, 447, 1289, 10420, 121, 1499, 6, 96, 382, 22345, 121, 1499, 6, 96, 13076, 29, 17, 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, 96, 2962, 8291, 7, 121, 21680, 953, 834, 357, 4177, 1808, 549, 17444, 427, 96, 382, 13526, 7, 87, 345, 63, 2375, 23, 26, 7, 121, 3274, 3, 31, 755, 17255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
On what date was the Loss by Flanagan (6-7)?
CREATE TABLE table_69982 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text )
SELECT "Date" FROM table_69982 WHERE "Loss" = 'flanagan (6-7)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 3916, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 1649, 7621, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3951, 3916, 357, 549, 17444, 427, 96, 434, 32, 7, 7, 121, 3274, 3, 31, 89, 1618, 9, 2565, 41, 25302, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
which season came in last place ?
CREATE TABLE table_204_717 ( id number, "season" text, "level" number, "division" text, "place" text )
SELECT "season" FROM table_204_717 ORDER BY "place" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 940, 2517, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 4563, 121, 381, 6, 96, 26, 23, 6610, 121, 1499, 6, 96, 4687, 121, 1499, 3, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 9476, 121, 21680, 953, 834, 26363, 834, 940, 2517, 4674, 11300, 272, 476, 96, 4687, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Nationality has a School/Club Team of louisiana state?
CREATE TABLE table_name_63 ( nationality VARCHAR, school_club_team VARCHAR )
SELECT nationality FROM table_name_63 WHERE school_club_team = "louisiana state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 1157, 485, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 868, 485, 65, 3, 9, 1121, 87...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1157, 485, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 40, 1063, 159, 13662, 538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Show the ids and names of festivals that have at least two nominations for artworks Plot them as bar chart, could you show by the X-axis from low to high?
CREATE TABLE nomination ( Artwork_ID int, Festival_ID int, Result text ) CREATE TABLE festival_detail ( Festival_ID int, Festival_Name text, Chair_Name text, Location text, Year int, Num_of_Audience int ) CREATE TABLE artwork ( Artwork_ID int, Type text, Name text )
SELECT T3.Festival_Name, T1.Festival_ID FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID ORDER BY T3.Festival_Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 13588, 41, 1261, 1981, 834, 4309, 16, 17, 6, 3397, 834, 4309, 16, 17, 6, 3, 20119, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3994, 834, 221, 5756, 41, 3397, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5787, 371, 24742, 834, 23954, 6, 332, 5411, 371, 24742, 834, 4309, 21680, 13588, 6157, 332, 536, 3, 15355, 3162, 7924, 6157, 332, 357, 9191, 332, 5411, 7754, 1981, 834, 4309, 3274, 332, 4416, 7754, 1981, 834, 430...
Opponent of @ phoenix suns had what sum of game?
CREATE TABLE table_name_52 (game INTEGER, opponent VARCHAR)
SELECT SUM(game) FROM table_name_52 WHERE opponent = "@ phoenix suns"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 7261, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4495, 9977, 13, 3320, 3, 9553, 35, 2407, 1997, 7, 141, 125, 4505, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 7261, 61, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 15264, 3274, 96, 1741, 3, 9553, 35, 2407, 1997, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the game number when the game was against phoenix?
CREATE TABLE table_name_83 (game VARCHAR, team VARCHAR)
SELECT game FROM table_name_83 WHERE team = "phoenix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 7261, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 467, 381, 116, 8, 467, 47, 581, 3, 9553, 35, 2407, 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...
[ 3, 23143, 14196, 467, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 372, 3274, 96, 9553, 35, 2407, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
calculate the total number of asian patients.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 3291, 21758, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the name of the team with a Games listing of 7?
CREATE TABLE table_name_27 (team VARCHAR, games VARCHAR)
SELECT team FROM table_name_27 WHERE games = "7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 11650, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 372, 28, 3, 9, 5880, 6437, 13, 489, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 1031, 3274, 96, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the most common builder of railways.
CREATE TABLE railway ( Builder VARCHAR )
SELECT Builder FROM railway GROUP BY Builder ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14421, 41, 16799, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 167, 1017, 918, 49, 13, 14421, 7, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 16799, 21680, 14421, 350, 4630, 6880, 272, 476, 16799, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is IATA, when ICAO is 'Hesh'?
CREATE TABLE table_8824 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text )
SELECT "IATA" FROM table_8824 WHERE "ICAO" = 'hesh'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4060, 2266, 41, 96, 254, 485, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 196, 19282, 121, 1499, 6, 96, 15038, 667, 121, 1499, 6, 96, 20162, 1493, 121, 1499, 3, 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, 96, 196, 19282, 121, 21680, 953, 834, 4060, 2266, 549, 17444, 427, 96, 15038, 667, 121, 3274, 3, 31, 88, 7, 107, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the location code, the starting date and ending data in that location for all the documents.
CREATE TABLE employees ( employee_id number, role_code text, employee_name text, gender_mfu text, date_of_birth time, other_details text ) CREATE TABLE ref_calendar ( calendar_date time, day_number number ) CREATE TABLE documents_to_be_destroyed ( document_id number, destructio...
SELECT location_code, date_in_location_from, date_in_locaton_to FROM document_locations
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 3490, 834, 23, 26, 381, 6, 1075, 834, 4978, 1499, 6, 3490, 834, 4350, 1499, 6, 7285, 834, 51, 89, 76, 1499, 6, 833, 834, 858, 834, 20663, 97, 6, 119, 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, 1128, 834, 4978, 6, 833, 834, 77, 834, 14836, 834, 7152, 6, 833, 834, 77, 834, 5133, 144, 106, 834, 235, 21680, 1708, 834, 14836, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What region goes along with January 1974?
CREATE TABLE table_name_93 ( region VARCHAR, date VARCHAR )
SELECT region FROM table_name_93 WHERE date = "january 1974"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 1719, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1719, 1550, 590, 28, 1762, 17184, 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, 1719, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 833, 3274, 96, 7066, 76, 1208, 17184, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest round for College of Nebraska if the Overall is under 190?
CREATE TABLE table_name_18 ( round INTEGER, college VARCHAR, overall VARCHAR )
SELECT MAX(round) FROM table_name_18 WHERE college = "nebraska" AND overall < 190
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 1751, 3, 21342, 17966, 6, 1900, 584, 4280, 28027, 6, 1879, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 1751, 21, 1888, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1900, 3274, 96, 29, 15, 1939, 10717, 121, 3430, 1879, 3, 2, 3, 11776, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the activity that has the most faculty members involved in?
CREATE TABLE Faculty_participates_in ( actID VARCHAR ) CREATE TABLE Activity ( activity_name VARCHAR, actID VARCHAR )
SELECT T1.activity_name FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16896, 834, 2274, 23, 3389, 6203, 834, 77, 41, 1810, 4309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 22536, 41, 1756, 834, 4350, 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, 332, 5411, 21661, 834, 4350, 21680, 22536, 6157, 332, 536, 3, 15355, 3162, 16896, 834, 2274, 23, 3389, 6203, 834, 77, 6157, 332, 357, 9191, 332, 5411, 2708, 4309, 3274, 332, 4416, 2708, 4309, 350, 4630, 6880, 272, 476...
Name the total number of period for yvon le roux
CREATE TABLE table_24565004_13 (period VARCHAR, name VARCHAR)
SELECT COUNT(period) FROM table_24565004_13 WHERE name = "Yvon Le Roux"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4834, 2560, 591, 834, 2368, 41, 4267, 32, 26, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 1059, 21, 3, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 4267, 32, 26, 61, 21680, 953, 834, 2266, 4834, 2560, 591, 834, 2368, 549, 17444, 427, 564, 3274, 96, 476, 5951, 312, 10898, 226, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many minutes below giandomenico basso did luca betti finish ?
CREATE TABLE table_204_538 ( id number, "pos." number, "driver" text, "co-driver" text, "car" text, "time" text )
SELECT "time" FROM table_204_538 WHERE "driver" = 'luca betti'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 755, 3747, 41, 3, 23, 26, 381, 6, 96, 2748, 535, 381, 6, 96, 13739, 52, 121, 1499, 6, 96, 509, 18, 13739, 52, 121, 1499, 6, 96, 1720, 121, 1499, 6, 96, 71...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 715, 121, 21680, 953, 834, 26363, 834, 755, 3747, 549, 17444, 427, 96, 13739, 52, 121, 3274, 3, 31, 11525, 9, 3, 8805, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Location of the Bridge Built in 1869?
CREATE TABLE table_name_58 ( location VARCHAR, built VARCHAR )
SELECT location FROM table_name_58 WHERE built = "1869"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1128, 584, 4280, 28027, 6, 1192, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 10450, 13, 8, 6132, 14862, 16, 507, 3951, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 1192, 3274, 96, 2606, 3951, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients whose days of hospital stay is greater than 2 and lab test fluid is ascites?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "2" AND lab.fluid = "Ascites"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377?
CREATE TABLE table_name_23 (year_2007 INTEGER, year_2005 INTEGER)
SELECT SUM(year_2007) FROM table_name_23 WHERE year_2005 > 29 OFFSET 377
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 1201, 834, 20615, 3, 21342, 17966, 6, 215, 834, 22594, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 2929, 4101, 599, 7, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 1201, 834, 20615, 61, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 215, 834, 22594, 2490, 2838, 3, 15316, 20788, 220, 4013, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18?
CREATE TABLE table_name_15 ( grid INTEGER, driver VARCHAR, laps VARCHAR )
SELECT MAX(grid) FROM table_name_15 WHERE driver = "ralph firman" AND laps < 18
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 8634, 3, 21342, 17966, 6, 2535, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2015, 8634, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 4800, 4, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 2535, 3274, 96, 4900, 102, 107, 1669, 152, 121, 3430, 14941, 7, 3, 2, 507, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many people were in attendance when the home team scored 9.11 (65)?
CREATE TABLE table_10626 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT COUNT("Crowd") FROM table_10626 WHERE "Home team score" = '9.11 (65)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16431, 2688, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 254, 3623, 26, 8512, 21680, 953, 834, 16431, 2688, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 8797, 2596, 11372, 9120, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What day has a callback Venue of total tickets to hollywood? Question
CREATE TABLE table_77701 ( "Episode Air Date" text, "Audition City" text, "Date" text, "First Audition Venue" text, "Callback Date" text, "Callback Venue" text, "Golden Tickets" real )
SELECT "Date" FROM table_77701 WHERE "Callback Venue" = 'total tickets to hollywood'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26225, 4542, 41, 96, 427, 102, 159, 32, 221, 1761, 7678, 121, 1499, 6, 96, 188, 76, 10569, 896, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 25171, 9835, 1575, 29940, 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, 308, 342, 121, 21680, 953, 834, 26225, 4542, 549, 17444, 427, 96, 254, 1748, 1549, 29940, 121, 3274, 3, 31, 235, 1947, 3500, 12, 3, 107, 30322, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the largest amount of bronze medals when the silver medals are less than 1, and Belgium (BEL) is the nation, and the gold medals are less than 0?
CREATE TABLE table_name_18 (bronze INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT MAX(bronze) FROM table_name_18 WHERE silver < 1 AND nation = "belgium (bel)" AND gold < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 13711, 776, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 2982, 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, 4800, 4, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 4294, 3, 2, 209, 3430, 2982, 3274, 96, 2370, 122, 2552, 41, 2370, 61, 121, 3430, 2045, 3, 2, 3, 632, 1, -100, -100, -100, -100, -1...
Who was the Original West End Cast when the irst US Tour Cast was lael van keuren?
CREATE TABLE table_name_55 (original_west_end_cast VARCHAR, first_us_tour_cast VARCHAR)
SELECT original_west_end_cast FROM table_name_55 WHERE first_us_tour_cast = "lael van keuren"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 21878, 834, 12425, 834, 989, 834, 5254, 584, 4280, 28027, 6, 166, 834, 302, 834, 17, 1211, 834, 5254, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 926, 834, 12425, 834, 989, 834, 5254, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 166, 834, 302, 834, 17, 1211, 834, 5254, 3274, 96, 521, 15, 40, 4049, 3, 157, 1238, 35, 121, 1, -100, -100, -100, -100, -100...
What is Tina Sachdev's position?
CREATE TABLE table_name_60 (position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
SELECT position FROM table_name_60 WHERE co_contestant__yaar_vs_pyaar_ = "tina sachdev"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 4718, 584, 4280, 28027, 6, 576, 834, 1018, 4377, 288, 834, 834, 63, 9, 291, 834, 208, 7, 834, 102, 63, 9, 291, 834, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 576, 834, 1018, 4377, 288, 834, 834, 63, 9, 291, 834, 208, 7, 834, 102, 63, 9, 291, 834, 3274, 96, 17, 77, 9, 3, 7, 1836, 9776, 121, 1, -100, -100, -100...
What was the total attendance at rugby park?
CREATE TABLE table_29175 ( "Team" text, "Stadium" text, "Capacity" real, "Total" real, "Highest" real, "Lowest" real, "Average" real )
SELECT "Total" FROM table_29175 WHERE "Stadium" = 'Rugby Park'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4729, 3072, 41, 96, 18699, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 19566, 9, 6726, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, 21417, 222, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1947, 121, 21680, 953, 834, 357, 4729, 3072, 549, 17444, 427, 96, 134, 17, 9, 12925, 121, 3274, 3, 31, 17137, 122, 969, 1061, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who won in 1979 with +8 to par?
CREATE TABLE table_name_46 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_46 WHERE to_par = "+8" AND year_s__won = "1979"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 20846, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 215, 834, 7, 834, 834, 210, 106, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 12, 834, 1893, 3274, 96, 1220, 927, 121, 3430, 215, 834, 7, 834, 834, 210, 106, 3274, 96, 2294, 4440, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is every example for the equivalent of NTE160?
CREATE TABLE table_31427 ( "Prefix class" text, "Type and usage" text, "Example" text, "Equivalent" text, "Reference" text )
SELECT "Example" FROM table_31427 WHERE "Equivalent" = 'NTE160'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2534, 2555, 41, 96, 10572, 12304, 853, 121, 1499, 6, 96, 25160, 11, 4742, 121, 1499, 6, 96, 5420, 9, 9208, 121, 1499, 6, 96, 427, 1169, 15592, 121, 1499, 6, 96, 1649...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5420, 9, 9208, 121, 21680, 953, 834, 519, 2534, 2555, 549, 17444, 427, 96, 427, 1169, 15592, 121, 3274, 3, 31, 567, 3463, 19129, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many of the patients on urgent admission received oral therapy?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "URGENT" AND prescriptions.route = "ORAL"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Draw a bar chart that counts the number of venues of each workshop, could you rank by the total number in asc?
CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text ) CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text ) CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text )
SELECT Venue, COUNT(Venue) FROM workshop GROUP BY Venue ORDER BY COUNT(Venue)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8121, 41, 29779, 834, 4309, 16, 17, 6, 17763, 7, 490, 6, 10236, 1499, 6, 1888, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 20592, 663, 41, 29779, 834, 4309, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 29940, 6, 2847, 17161, 599, 553, 35, 76, 15, 61, 21680, 4786, 350, 4630, 6880, 272, 476, 29940, 4674, 11300, 272, 476, 2847, 17161, 599, 553, 35, 76, 15, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Can you tell me the Name that has the Height of 6-5, and the Year of junior?
CREATE TABLE table_name_55 (name VARCHAR, height VARCHAR, year VARCHAR)
SELECT name FROM table_name_55 WHERE height = "6-5" AND year = "junior"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 4350, 584, 4280, 28027, 6, 3902, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 5570, 24, 65, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 3902, 3274, 96, 948, 18, 17395, 3430, 215, 3274, 96, 6959, 23, 127, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who rides a bike that is the same as troy bayliss ' bike ?
CREATE TABLE table_203_142 ( id number, "pos" text, "no" number, "rider" text, "bike" text, "laps" number, "time" text, "grid" number, "points" number )
SELECT "rider" FROM table_203_142 WHERE "rider" <> 'troy bayliss' AND "bike" = (SELECT "bike" FROM table_203_142 WHERE "rider" = 'troy bayliss')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 24978, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 1499, 6, 96, 29, 32, 121, 381, 6, 96, 4055, 49, 121, 1499, 6, 96, 15214, 121, 1499, 6, 96, 8478, 7, 121, 381,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4055, 49, 121, 21680, 953, 834, 23330, 834, 24978, 549, 17444, 427, 96, 4055, 49, 121, 3, 2, 3155, 3, 31, 17, 8170, 10210, 40, 159, 7, 31, 3430, 96, 15214, 121, 3274, 41, 23143, 14196, 96, 15214, 121, 21680, ...
for patient id 3623, specify the type of admission and location he was discharged to
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 procedures ( ...
SELECT demographic.admission_type, demographic.discharge_location FROM demographic WHERE demographic.subject_id = "3623"
[ 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, 9, 26, 5451, 834, 6137, 6, 14798, 5, 26, 159, 7993, 834, 14836, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 3420, 2773, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose gender is m and procedure icd9 code is 3799?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "M" AND procedures.icd9_code = "3799"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is Date, when Runner(s)-Up is Oliver Wilson?
CREATE TABLE table_name_71 ( date VARCHAR, runner_s__up VARCHAR )
SELECT date FROM table_name_71 WHERE runner_s__up = "oliver wilson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 833, 584, 4280, 28027, 6, 3, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7678, 6, 116, 3, 23572, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 3, 10806, 834, 7, 834, 834, 413, 3274, 96, 4172, 624, 3, 210, 173, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
body mass index ( bmi ) of 19.5 _ 35.5 kg / m2, and a total body weight of > 50 kg ( 110 lbs ) .
CREATE TABLE table_dev_24 ( "id" int, "active_ocular_disease" bool, "systolic_blood_pressure_sbp" int, "active_infection" bool, "hemoglobin_a1c_hba1c" float, "body_weight" float, "diabetic" string, "seasonal_allergy" bool, "retinal_nerve_disease" bool, "diastolic_blood_pressure_d...
SELECT * FROM table_dev_24 WHERE body_mass_index_bmi >= 19.5 AND body_mass_index_bmi <= 35.5 AND body_weight > 50
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 2266, 41, 96, 23, 26, 121, 16, 17, 6, 96, 6645, 834, 32, 4866, 834, 26, 159, 14608, 121, 3, 12840, 40, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9776, 834, 2266, 549, 17444, 427, 643, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 2490, 2423, 209, 22321, 3430, 643, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 3, 2, 2423, 220, 15938, 3430...
how many patients whose diagnoses icd9 code is e8859 and drug type is additive?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "E8859" AND prescriptions.drug_type = "ADDITIVE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
How long was the course from Naples to Foggia?
CREATE TABLE table_name_2 (distance VARCHAR, course VARCHAR)
SELECT distance FROM table_name_2 WHERE course = "naples to foggia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 26, 23, 8389, 584, 4280, 28027, 6, 503, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 307, 47, 8, 503, 45, 29287, 12, 4452, 15406, 9, 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, 2357, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 503, 3274, 96, 29, 9, 4788, 7, 12, 5575, 15406, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Return a bar chart on what are the names of the different bank branches, and what are their total loan amounts?
CREATE TABLE bank ( branch_ID int, bname varchar(20), no_of_customers int, city varchar(10), state varchar(20) ) CREATE TABLE customer ( cust_ID varchar(3), cust_name varchar(20), acc_type char(1), acc_bal int, no_of_loans int, credit_score int, branch_ID int, state ...
SELECT bname, SUM(amount) FROM bank AS T1 JOIN loan AS T2 ON T1.branch_ID = T2.branch_ID GROUP BY T1.bname
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2137, 41, 6421, 834, 4309, 16, 17, 6, 3, 115, 4350, 3, 4331, 4059, 599, 1755, 201, 150, 834, 858, 834, 25697, 277, 16, 17, 6, 690, 3, 4331, 4059, 599, 16968, 6, 538, 3, 4331, 405...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 115, 4350, 6, 180, 6122, 599, 9, 11231, 61, 21680, 2137, 6157, 332, 536, 3, 15355, 3162, 2289, 6157, 332, 357, 9191, 332, 5411, 1939, 5457, 834, 4309, 3274, 332, 4416, 1939, 5457, 834, 4309, 350, 4630, 6880, 272,...
WHAT IS THE LOWEST $25-1/4 OZ COIN WITH A $10-1/10 OZ OF $70,250?
CREATE TABLE table_44058 ( "Year" real, "$10 \u2013 1/10 oz." text, "$25 \u2013 1/4 oz." real, "$50 \u2013 1/2 oz." real, "$100 \u2013 1 oz." text )
SELECT MIN("$25 \u2013 1/4 oz.") FROM table_44058 WHERE "$10 \u2013 1/10 oz." = '70,250'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22335, 3449, 41, 96, 476, 2741, 121, 490, 6, 96, 3229, 1714, 3, 2, 76, 11138, 209, 11476, 3, 32, 172, 535, 1499, 6, 96, 3229, 1828, 3, 2, 76, 11138, 13004, 3, 32, 172, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 3229, 1828, 3, 2, 76, 11138, 13004, 3, 32, 172, 5, 8512, 21680, 953, 834, 22335, 3449, 549, 17444, 427, 96, 3229, 1714, 3, 2, 76, 11138, 209, 11476, 3, 32, 172, 535, 3274, 3, 31, 2518, 6, 1...
What is the Equatorial bulge of the Body: Earth?
CREATE TABLE table_name_74 ( equatorial_bulge VARCHAR, body VARCHAR )
SELECT equatorial_bulge FROM table_name_74 WHERE body = "earth"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 3, 15, 4960, 17, 11929, 834, 6724, 397, 584, 4280, 28027, 6, 643, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 25262, 7265, 138,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 15, 4960, 17, 11929, 834, 6724, 397, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 643, 3274, 96, 15, 10702, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the actor with a duration of 61 years?
CREATE TABLE table_name_84 (actor VARCHAR, duration VARCHAR)
SELECT actor FROM table_name_84 WHERE duration = "61 years"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 9, 5317, 584, 4280, 28027, 6, 8659, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 7556, 28, 3, 9, 8659, 13, 3, 4241, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7556, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 8659, 3274, 96, 4241, 203, 121, 1, -100, -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 whose drug code is nvan500i and lab test category is blood gas?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "NVAN500I" AND lab."CATEGORY" = "Blood Gas"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 338...
What are the state and country of all the cities that have post codes starting with 4.\
CREATE TABLE order_items ( order_id number, product_id number, order_quantity text ) CREATE TABLE customer_addresses ( customer_id number, address_id number, date_address_from time, address_type text, date_address_to time ) CREATE TABLE customer_contact_channels ( customer_id numbe...
SELECT state_province_county, country FROM addresses WHERE zip_postcode LIKE "4%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 455, 834, 23, 3524, 7, 41, 455, 834, 23, 26, 381, 6, 556, 834, 23, 26, 381, 6, 455, 834, 13158, 485, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 884, 834, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 538, 834, 1409, 2494, 565, 834, 13362, 63, 6, 684, 21680, 7181, 549, 17444, 427, 10658, 834, 5950, 4978, 8729, 9914, 96, 5988, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the score of the golfer from the united states who had a To par of e?
CREATE TABLE table_47058 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT SUM("Score") FROM table_47058 WHERE "To par" = 'e' AND "Country" = 'united states'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27760, 3449, 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, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 134, 9022, 8512, 21680, 953, 834, 27760, 3449, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 15, 31, 3430, 96, 10628, 651, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 1, -100, -100, -100, ...
How many total games were played by the team which had a total of 16 points and less than 4 draws?
CREATE TABLE table_name_33 (played INTEGER, points VARCHAR, draws VARCHAR)
SELECT SUM(played) FROM table_name_33 WHERE points = 16 AND draws < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 4895, 15, 26, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 6, 14924, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 792, 1031, 130, 1944, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 979, 3274, 898, 3430, 14924, 3, 2, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
If the latitude is 08.979 s, what is the depth?
CREATE TABLE table_25675509_1 ( depth VARCHAR, latitude VARCHAR )
SELECT depth FROM table_25675509_1 WHERE latitude = "08.979° S"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3708, 3769, 4198, 834, 536, 41, 4963, 584, 4280, 28027, 6, 50, 6592, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 50, 6592, 19, 3, 15000, 4327, 129...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4963, 21680, 953, 834, 1828, 3708, 3769, 4198, 834, 536, 549, 17444, 427, 50, 6592, 3274, 96, 15000, 4327, 1298, 1956, 180, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
The match of at Michael's Eighth Avenue venue against Tim Coleman that went 3:00 has what record?
CREATE TABLE table_50741 ( "Date" text, "Result" text, "Opponent" text, "Venue" text, "Location" text, "Method" text, "Round" real, "Time" text, "Record" text )
SELECT "Record" FROM table_50741 WHERE "Time" = '3:00' AND "Venue" = 'michael''s eighth avenue' AND "Opponent" = 'tim coleman'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 4581, 536, 41, 96, 308, 342, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 434, 32, 75, 257, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 1752, 4581, 536, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 519, 10, 1206, 31, 3430, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 51, 362, 9, 15, 40, 31, 31, 7, 21227, 18836,...
What chassis had fewer than 0 points in a year before 1954?
CREATE TABLE table_name_39 (chassis VARCHAR, year VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_39 WHERE year < 1954 AND points = 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 524, 6500, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 22836, 141, 3, 10643, 145, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22836, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 215, 3, 2, 24970, 3430, 979, 3274, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many constructors won the III Redex Trophy?
CREATE TABLE table_1140113_5 (constructor VARCHAR, race_name VARCHAR)
SELECT COUNT(constructor) FROM table_1140113_5 WHERE race_name = "III RedeX Trophy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 20016, 2368, 834, 755, 41, 15982, 5317, 584, 4280, 28027, 6, 1964, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 6774, 127, 7, 751, 8, 6289,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15982, 5317, 61, 21680, 953, 834, 2596, 20016, 2368, 834, 755, 549, 17444, 427, 1964, 834, 4350, 3274, 96, 13671, 1624, 15, 4, 26912, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Tell me the name with area of eketahuna
CREATE TABLE table_name_16 ( name VARCHAR, area VARCHAR )
SELECT name FROM table_name_16 WHERE area = "eketahuna"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 564, 584, 4280, 28027, 6, 616, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 564, 28, 616, 13, 3, 15, 8044, 9, 107, 202, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 616, 3274, 96, 15, 8044, 9, 107, 202, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the location of statesmen
CREATE TABLE table_1974482_1 ( location VARCHAR, nickname VARCHAR )
SELECT location FROM table_1974482_1 WHERE nickname = "Statesmen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 3628, 4613, 834, 536, 41, 1128, 584, 4280, 28027, 6, 24649, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1128, 13, 2315, 904, 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, 1128, 21680, 953, 834, 27181, 3628, 4613, 834, 536, 549, 17444, 427, 24649, 3274, 96, 134, 4748, 7, 904, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lwoest round of wild bill's fight night 21 at 5:00?
CREATE TABLE table_name_8 ( round INTEGER, time VARCHAR, event VARCHAR )
SELECT MIN(round) FROM table_name_8 WHERE time = "5:00" AND event = "wild bill's fight night 21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 1751, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 40, 210, 32, 222, 1751,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 7775, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 97, 3274, 96, 19870, 121, 3430, 605, 3274, 96, 23282, 2876, 31, 7, 2870, 706, 1401, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many votes did Obama get in Geauga?
CREATE TABLE table_20453681_1 ( obama_number VARCHAR, county VARCHAR )
SELECT obama_number FROM table_20453681_1 WHERE county = "Geauga"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 2128, 3420, 4959, 834, 536, 41, 3, 32, 115, 265, 9, 834, 5525, 1152, 584, 4280, 28027, 6, 5435, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1183...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 32, 115, 265, 9, 834, 5525, 1152, 21680, 953, 834, 1755, 2128, 3420, 4959, 834, 536, 549, 17444, 427, 5435, 3274, 96, 517, 15, 9, 12204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many digital terrestrial channels are there for channel 4?
CREATE TABLE table_182410_10 ( digital_terrestrial_channel VARCHAR, channel VARCHAR )
SELECT COUNT(digital_terrestrial_channel) FROM table_182410_10 WHERE channel = "channel 4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 2266, 1714, 834, 1714, 41, 1125, 834, 449, 6216, 12042, 834, 19778, 584, 4280, 28027, 6, 4245, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1125, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9206, 138, 834, 449, 6216, 12042, 834, 19778, 61, 21680, 953, 834, 2606, 2266, 1714, 834, 1714, 549, 17444, 427, 4245, 3274, 96, 19778, 3, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Bin the settlement date for each settlement case into the day of week interval and count them for visualizing a bar chart.
CREATE TABLE Claims ( Claim_ID INTEGER, Policy_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER ) CREATE TABLE Payments ( Payment_ID INTEGER, Settlement_ID INTEGER, Payment_Method_Code VARCHAR(255), Date_Payment_Made DATE,...
SELECT Date_Claim_Settled, COUNT(Date_Claim_Settled) FROM Settlements
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4779, 8345, 41, 7781, 603, 834, 4309, 3, 21342, 17966, 6, 7587, 834, 4309, 3, 21342, 17966, 6, 7678, 834, 254, 521, 603, 834, 329, 9, 221, 309, 6048, 6, 7678, 834, 254, 521, 603, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 254, 521, 603, 834, 17175, 17, 1361, 6, 2847, 17161, 599, 308, 342, 834, 254, 521, 603, 834, 17175, 17, 1361, 61, 21680, 31044, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
who are the candidates where the incumbent is sam m. gibbons?
CREATE TABLE table_721 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Candidates" FROM table_721 WHERE "Incumbent" = 'Sam M. Gibbons'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2658, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14050, 12416, 6203, 121, 21680, 953, 834, 940, 2658, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 134, 265, 283, 5, 17223, 5407, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of phone_number and manager_id , sort in ascending by the X.
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_I...
SELECT PHONE_NUMBER, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY PHONE_NUMBER
[ 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, 3, 8023, 7894, 834, 567, 6122, 12920, 6, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, ...
How many ships are named Monge?
CREATE TABLE table_39487 ( "Name" text, "Pennant number" text, "Ordered" real, "Builder" text, "Commissioned" text )
SELECT COUNT("Ordered") FROM table_39487 WHERE "Name" = 'monge'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 591, 4225, 41, 96, 23954, 121, 1499, 6, 96, 345, 35, 29, 288, 381, 121, 1499, 6, 96, 7395, 26, 3737, 121, 490, 6, 96, 24752, 49, 121, 1499, 6, 96, 5890, 5451, 15,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7395, 26, 3737, 8512, 21680, 953, 834, 3288, 591, 4225, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 2157, 397, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Game has a Score of 122 125?
CREATE TABLE table_45800 ( "Game" real, "Date" text, "Team" text, "Score" text, "Record" text, "Streak" text )
SELECT "Game" FROM table_45800 WHERE "Score" = '122–125'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 6192, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 11500, 15, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23055, 121, 21680, 953, 834, 2128, 6192, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 20889, 104, 10124, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients primarily have bowel obstruction and were admitted before the year 2203?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BOWEL OBSTRUCTION" AND demographic.admityear < "2203"
[ 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, 279, 15251, 3577, 3, 10539, 13733, 6463, 9562, 121, 3430, 14798, 5, 20...
Who is the director of the game with HIroshi Sato as the producer on the GBA platform?
CREATE TABLE table_name_41 (director VARCHAR, producer VARCHAR, platform_s_ VARCHAR)
SELECT director FROM table_name_41 WHERE producer = "hiroshi sato" AND platform_s_ = "gba"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 25982, 584, 4280, 28027, 6, 8211, 584, 4280, 28027, 6, 1585, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 2090, 13, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2090, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 8211, 3274, 96, 9288, 32, 5605, 3, 7, 9, 235, 121, 3430, 1585, 834, 7, 834, 3274, 96, 122, 115, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Opponent has a Game of 33?
CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_10 WHERE game = 33
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 32, 102, 9977, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4495, 9977, 65, 3, 9, 4435, 13, 5400, 58, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 467, 3274, 5400, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the position of the player with a pick less than 3 from team san diego?
CREATE TABLE table_name_82 (position VARCHAR, pick VARCHAR, team VARCHAR)
SELECT position FROM table_name_82 WHERE pick < 3 AND team = "san diego"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 4718, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1102, 13, 8, 1959, 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, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 1432, 3, 2, 220, 3430, 372, 3274, 96, 7, 152, 67, 839, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
was there any microbiology tests for the blood, venipuncture of patient 031-3355 in the current hospital visit?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( me...
SELECT COUNT(*) FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355' AND patient.hospitaldischargetime IS NULL)) AND microlab.culturesite = '...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 2179, 9339, 549, 17444, 427, 2179, 9339, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 1...
When Julian Illingworth was the under-19, who was the under-15?
CREATE TABLE table_26368963_1 (under_15 VARCHAR, under_19 VARCHAR)
SELECT under_15 FROM table_26368963_1 WHERE under_19 = "Julian Illingworth"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3420, 3914, 3891, 834, 536, 41, 7248, 834, 1808, 584, 4280, 28027, 6, 365, 834, 2294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 20080, 27, 12013, 7048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 365, 834, 1808, 21680, 953, 834, 2688, 3420, 3914, 3891, 834, 536, 549, 17444, 427, 365, 834, 2294, 3274, 96, 683, 76, 9928, 27, 12013, 7048, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the director who directed the movie that Raintree Pictures produced?
CREATE TABLE table_6959 ( "Date" text, "Title" text, "Director" text, "Producer" text, "Production Cost" text, "Singapore Gross" text )
SELECT "Director" FROM table_6959 WHERE "Producer" = 'raintree pictures'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 3390, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 3174, 4817, 49, 121, 1499, 6, 96, 3174, 8291, 6409, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23620, 127, 121, 21680, 953, 834, 3951, 3390, 549, 17444, 427, 96, 3174, 4817, 49, 121, 3274, 3, 31, 6559, 929, 15, 1933, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is subject name and primary disease of subject id 7578?
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 prescription...
SELECT demographic.name, demographic.diagnosis FROM demographic WHERE demographic.subject_id = "7578"
[ 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, 14798, 5, 4350, 6, 14798, 5, 25930, 4844, 159, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 3072, 3940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the name and capacity of products with price greater than 700 (in USD).
CREATE TABLE Catalog_Contents ( catalog_entry_name VARCHAR, capacity VARCHAR, price_in_dollars INTEGER )
SELECT catalog_entry_name, capacity FROM Catalog_Contents WHERE price_in_dollars > 700
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 22424, 834, 4302, 4669, 7, 41, 10173, 834, 295, 651, 834, 4350, 584, 4280, 28027, 6, 2614, 584, 4280, 28027, 6, 594, 834, 77, 834, 26748, 7, 3, 21342, 17966, 3, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 10173, 834, 295, 651, 834, 4350, 6, 2614, 21680, 22424, 834, 4302, 4669, 7, 549, 17444, 427, 594, 834, 77, 834, 26748, 7, 2490, 12283, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What date sent has cygnus as a constellation, and hd 190360 as a designation HD?
CREATE TABLE table_name_65 (date_sent VARCHAR, constellation VARCHAR, designation_hd VARCHAR)
SELECT date_sent FROM table_name_65 WHERE constellation = "cygnus" AND designation_hd = "hd 190360"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 5522, 834, 5277, 584, 4280, 28027, 6, 30872, 584, 4280, 28027, 6, 21767, 834, 107, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 162...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 5277, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 30872, 3274, 96, 75, 63, 122, 29, 302, 121, 3430, 21767, 834, 107, 26, 3274, 96, 107, 26, 3, 11776, 19208, 121, 1, -100, -100, -100, -100, -100, -...
How many Matches have an S/Rate smaller than 133.72, and a Team of yorkshire carnegie?
CREATE TABLE table_name_96 ( matches VARCHAR, s_rate VARCHAR, team VARCHAR )
SELECT COUNT(matches) FROM table_name_96 WHERE s_rate < 133.72 AND team = "yorkshire carnegie"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 6407, 584, 4280, 28027, 6, 3, 7, 834, 2206, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 12296, 15, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 19515, 15, 7, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 3, 7, 834, 2206, 3, 2, 3, 22974, 5, 5865, 3430, 372, 3274, 96, 63, 127, 157, 5718, 15460, 4044, 121, 1, -100, -100, -100, -1...
What player has a score of 79?
CREATE TABLE table_69656 ( "Player" text, "Score" text, "Balls" real, "Opponent" text, "Ground" text )
SELECT "Player" FROM table_69656 WHERE "Score" = '79'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 4122, 948, 41, 96, 15800, 49, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 279, 1748, 7, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 517, 7775, 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, 0...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 3951, 4122, 948, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 4440, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the name of the home team that played against Collingwood?
CREATE TABLE table_53422 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_53422 WHERE "Away team" = 'collingwood'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 4165, 357, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 4867, 4165, 357, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 3297, 697, 2037, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How much time did Coad make when the margin was 04:02?
CREATE TABLE table_63885 ( "Driver" text, "Navigator" text, "Vehicle" text, "Class" text, "Capacity" real, "Total Time" text, "Margin" text )
SELECT "Total Time" FROM table_63885 WHERE "Margin" = '04:02' AND "Driver" = 'coad'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 4060, 755, 41, 96, 20982, 52, 121, 1499, 6, 96, 22192, 23, 19306, 121, 1499, 6, 96, 553, 15, 107, 23, 2482, 121, 1499, 6, 96, 21486, 121, 1499, 6, 96, 19566, 9, 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, 1947, 2900, 121, 21680, 953, 834, 3891, 4060, 755, 549, 17444, 427, 96, 7286, 122, 77, 121, 3274, 3, 31, 6348, 10, 4305, 31, 3430, 96, 20982, 52, 121, 3274, 3, 31, 509, 9, 26, 31, 1, -100, -100, -100, ...
How many years did the team place 2nd in Auckland, New Zealand?
CREATE TABLE table_name_30 (year VARCHAR, result VARCHAR, venue VARCHAR)
SELECT COUNT(year) FROM table_name_30 WHERE result = "2nd" AND venue = "auckland, new zealand"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 1201, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, 410, 8, 372, 286, 204, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 741, 3274, 96, 357, 727, 121, 3430, 5669, 3274, 96, 9, 4636, 40, 232, 6, 126, 3, 776, 138, 232, 121, 1, -100, -100, -100, -100, -100, ...
Who won the race at Magny-Cours
CREATE TABLE table_15187794_1 ( race_winner VARCHAR, circuit VARCHAR )
SELECT race_winner FROM table_15187794_1 WHERE circuit = "Magny-Cours"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 27697, 4240, 834, 536, 41, 1964, 834, 3757, 687, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 751, 8, 1964, 44, 14767, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1964, 834, 3757, 687, 21680, 953, 834, 26578, 27697, 4240, 834, 536, 549, 17444, 427, 4558, 3274, 96, 22909, 29, 63, 18, 3881, 3589, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
WHAT IS THE SAKA ERA OF VIRGO?
CREATE TABLE table_name_31 ( saka_era VARCHAR, sign_of_zodiac VARCHAR )
SELECT saka_era FROM table_name_31 WHERE sign_of_zodiac = "virgo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 3, 7, 5667, 834, 1498, 584, 4280, 28027, 6, 1320, 834, 858, 834, 172, 23193, 75, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 7, 5667, 834, 1498, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 1320, 834, 858, 834, 172, 23193, 75, 3274, 96, 5771, 839, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the party affiliation for Senator David Goodman?
CREATE TABLE table_3472 ( "District" real, "Senator" text, "Party" text, "Residence" text, "First elected" text, "Term Limited" real )
SELECT "Party" FROM table_3472 WHERE "Senator" = 'David Goodman'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 5865, 41, 96, 308, 23, 20066, 121, 490, 6, 96, 134, 35, 1016, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 1649, 1583, 3772, 121, 1499, 6, 96, 25171, 8160, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13725, 63, 121, 21680, 953, 834, 3710, 5865, 549, 17444, 427, 96, 134, 35, 1016, 121, 3274, 3, 31, 308, 9, 6961, 1804, 348, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of Total for 0 gold and less than 2, silver with a rank of 6?
CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT SUM(total) FROM table_name_11 WHERE gold = 0 AND silver < 2 AND rank = "6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 235, 1947, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 2045, 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, 0...
[ 3, 23143, 14196, 180, 6122, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 2045, 3274, 3, 632, 3430, 4294, 3, 2, 204, 3430, 11003, 3274, 96, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Zakspeed 1500/4 1.5 l4 t chassis?
CREATE TABLE table_52154 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text )
SELECT "Chassis" FROM table_52154 WHERE "Engine" = 'zakspeed 1500/4 1.5 l4 t'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 27308, 41, 96, 16924, 3569, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 382, 63, 60, 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, 3541, 6500, 7, 121, 21680, 953, 834, 5373, 27308, 549, 17444, 427, 96, 31477, 121, 3274, 3, 31, 1629, 157, 9993, 15011, 13572, 8613, 3, 40, 591, 3, 17, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
provide the procedure title and lab test category of subject id 2110.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT procedures.short_title, lab."CATEGORY" FROM procedures INNER JOIN lab ON procedures.hadm_id = lab.hadm_id WHERE procedures.subject_id = "2110"
[ 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, 4293, 5, 7, 14184, 834, 21869, 6, 7690, 535, 254, 6048, 5577, 11824, 121, 21680, 4293, 3388, 18206, 3, 15355, 3162, 7690, 9191, 4293, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444, 427...
What is the average Height when the weight is less than 91 and the position is d, and a Birthdate of july 4, 1975?
CREATE TABLE table_name_66 ( height__cm_ INTEGER, birthdate VARCHAR, weight__kg_ VARCHAR, position VARCHAR )
SELECT AVG(height__cm_) FROM table_name_66 WHERE weight__kg_ < 91 AND position = "d" AND birthdate = "july 4, 1975"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 3902, 834, 834, 75, 51, 834, 3, 21342, 17966, 6, 3879, 5522, 584, 4280, 28027, 6, 1293, 834, 834, 8711, 834, 584, 4280, 28027, 6, 1102, 584, 4280, 2802...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 88, 2632, 834, 834, 75, 51, 834, 61, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 1293, 834, 834, 8711, 834, 3, 2, 3, 4729, 3430, 1102, 3274, 96, 26, 121, 3430, 3879, 5522, 3274, 96, 2047, ...
Show the number of male and female assistant professors with a bar chart.
CREATE TABLE Activity ( actid INTEGER, activity_name varchar(25) ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Participates_in ( stuid INTEG...
SELECT Sex, COUNT(*) FROM Faculty WHERE Rank = "AsstProf" GROUP BY Sex
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 22536, 41, 1810, 23, 26, 3, 21342, 17966, 6, 1756, 834, 4350, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 16896, 41, 1699, 75, 4309, 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, 679, 226, 6, 2847, 17161, 599, 1935, 61, 21680, 16896, 549, 17444, 427, 3, 22557, 3274, 96, 188, 7, 7, 17, 23057, 121, 350, 4630, 6880, 272, 476, 679, 226, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many opponents did they play on 17/05/2009?
CREATE TABLE table_21378160_2 (opponent VARCHAR, date VARCHAR)
SELECT COUNT(opponent) FROM table_21378160_2 WHERE date = "17/05/2009"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2368, 3940, 19129, 834, 357, 41, 32, 102, 9977, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 16383, 410, 79, 577, 30, 1003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 32, 102, 9977, 61, 21680, 953, 834, 357, 2368, 3940, 19129, 834, 357, 549, 17444, 427, 833, 3274, 96, 2517, 31911, 16660, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What max processor has a maximum memory of 256 gb?
CREATE TABLE table_10818465_1 (max_processors VARCHAR, max_memory VARCHAR)
SELECT max_processors FROM table_10818465_1 WHERE max_memory = "256 GB"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16169, 25987, 4122, 834, 536, 41, 9128, 834, 15056, 127, 7, 584, 4280, 28027, 6, 9858, 834, 526, 2528, 63, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 9858, 750...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9858, 834, 15056, 127, 7, 21680, 953, 834, 16169, 25987, 4122, 834, 536, 549, 17444, 427, 9858, 834, 526, 2528, 63, 3274, 96, 19337, 3, 3443, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What opposition do 31.1% of Social Democrats have?
CREATE TABLE table_39239 ( "Polling Firm" text, "Date" text, "Venstre (V)" text, "Social Democrats (A)" text, "Danish People's Party (O)" text, "Socialist People's Party (F)" text, "Conservative People's Party (C)" text, "Social Liberal Party (B)" text, "Liberal Alliance (I)" text, ...
SELECT "Opposition" FROM table_39239 WHERE "Social Democrats (A)" = '31.1%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 357, 3288, 41, 96, 8931, 697, 13530, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 7, 929, 41, 553, 61, 121, 1499, 6, 96, 5231, 4703, 11882, 41, 188, 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, 96, 667, 102, 4718, 121, 21680, 953, 834, 3288, 357, 3288, 549, 17444, 427, 96, 5231, 4703, 11882, 41, 188, 61, 121, 3274, 3, 31, 3341, 5, 4704, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the score for detroit home and record of 33-18-9
CREATE TABLE table_name_85 (score VARCHAR, home VARCHAR, record VARCHAR)
SELECT score FROM table_name_85 WHERE home = "detroit" AND record = "33-18-9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 7, 9022, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2604, 21, 3, 26, 15252, 155...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 234, 3274, 96, 26, 15252, 155, 121, 3430, 1368, 3274, 96, 4201, 6996, 7141, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For all employees in the same department as Clara excluding Clara, bin their hire date into the month interval, and count how many employees in each month for a bar chart.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID...
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE DEPARTMENT_ID = (SELECT DEPARTMENT_ID FROM employees WHERE FIRST_NAME = "Clara") AND FIRST_NAME <> "Clara"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 2847, 17161, 599, 566, 14132, 834, 308, 6048, 61, 21680, 1652, 549, 17444, 427, 3396, 19846, 11810, 834, 4309, 3274, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 1744...
What is the season 4 # for the production code of 4abb07?
CREATE TABLE table_28195898_1 (_number VARCHAR, production_code VARCHAR)
SELECT _number FROM table_28195898_1 WHERE production_code = "4ABB07"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2294, 3449, 3916, 834, 536, 41, 834, 5525, 1152, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 774, 314, 1713, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 834, 5525, 1152, 21680, 953, 834, 2577, 2294, 3449, 3916, 834, 536, 549, 17444, 427, 999, 834, 4978, 3274, 96, 591, 188, 7640, 4560, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...