NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
How many courses are there in total?
CREATE TABLE member_of ( facid number, dno number, appt_type text ) CREATE TABLE department ( dno number, division text, dname text, room text, building text, dphone number ) CREATE TABLE enrolled_in ( stuid number, cid text, grade text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE gradeconversion ( lettergrade text, gradepoint number ) CREATE TABLE faculty ( facid number, lname text, fname text, rank text, sex text, phone number, room text, building text ) CREATE TABLE course ( cid text, cname text, credits number, instructor number, days text, hours text, dno number ) CREATE TABLE minor_in ( stuid number, dno number )
SELECT COUNT(*) FROM course
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 834, 858, 41, 7076, 26, 381, 6, 3, 26, 29, 32, 381, 6, 1120, 17, 834, 6137, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 3, 26, 29, 32, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 503, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the result when the attendance is 54,814?
CREATE TABLE table_43462 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Result" FROM table_43462 WHERE "Attendance" = '54,814'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 4448, 357, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 4906, 4448, 357, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 5062, 6, 927, 2534, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Andreas Kiligkaridis rank?
CREATE TABLE table_name_80 ( rank VARCHAR, athletes VARCHAR )
SELECT rank FROM table_name_80 WHERE athletes = "andreas kiligkaridis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 11003, 584, 4280, 28027, 6, 9227, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 11813, 7, 4320, 2825, 1258, 4055, 159, 11003, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 9227, 3274, 96, 232, 864, 7, 3, 2168, 2825, 1258, 4055, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the opponent at the game with a result of l 27 3?
CREATE TABLE table_name_52 ( opponent VARCHAR, result VARCHAR )
SELECT opponent FROM table_name_52 WHERE result = "l 27–3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 15264, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 44, 8, 467, 28, 3, 9, 741, 13, 3, 40, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 741, 3274, 96, 40, 2307, 104, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the height in meters for a building in Frankfurt that is 850 feet tall?
CREATE TABLE table_name_66 (height__m_ VARCHAR, city VARCHAR, height__ft_ VARCHAR)
SELECT height__m_ FROM table_name_66 WHERE city = "frankfurt" AND height__ft_ = 850
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 88, 2632, 834, 834, 51, 834, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 6, 3902, 834, 834, 89, 17, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3902, 834, 834, 51, 834, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 690, 3274, 96, 89, 6254, 9827, 17, 121, 3430, 3902, 834, 834, 89, 17, 834, 3274, 3, 17246, 1, -100, -100, -100, -100, -100, -100, -100, -...
How many teams have skyhawks as a nickname?
CREATE TABLE table_2105 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" real, "Division" text )
SELECT COUNT("Division") FROM table_2105 WHERE "Nickname" = 'Skyhawks'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 12869, 41, 96, 1570, 17448, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 121, 1499, 6, 96, 8532, 4046, 297, 121, 490, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 308, 23, 6610, 8512, 21680, 953, 834, 357, 12869, 549, 17444, 427, 96, 567, 3142, 4350, 121, 3274, 3, 31, 134, 3781, 14400, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many laps were completed by Piers Courage when BRM was the constructor and the grid is larger than 8?
CREATE TABLE table_12009 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT COUNT("Laps") FROM table_12009 WHERE "Constructor" = 'brm' AND "Driver" = 'piers courage' AND "Grid" > '8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 16660, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3612, 102, 7, 8512, 21680, 953, 834, 536, 16660, 549, 17444, 427, 96, 4302, 7593, 127, 121, 3274, 3, 31, 115, 52, 51, 31, 3430, 96, 20982, 52, 121, 3274, 3, 31, 8343, 7, 11578, 31, 3430, 9...
Name the population for
CREATE TABLE table_2562572_37 ( population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR )
SELECT COUNT(population__2011_) FROM table_2562572_37 WHERE cyrillic_name_other_names = "Александрово"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19337, 1828, 5865, 834, 4118, 41, 2074, 834, 834, 13907, 834, 584, 4280, 28027, 6, 3, 75, 63, 52, 173, 2176, 834, 4350, 834, 9269, 834, 4350, 7, 584, 4280, 28027, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9791, 7830, 834, 834, 13907, 834, 61, 21680, 953, 834, 19337, 1828, 5865, 834, 4118, 549, 17444, 427, 3, 75, 63, 52, 173, 2176, 834, 4350, 834, 9269, 834, 4350, 7, 3274, 96, 2, 19229, 6652, 5345, ...
When was there a Result of 8–0 and a Score of 1–0?
CREATE TABLE table_name_48 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT date FROM table_name_48 WHERE result = "8–0" AND score = "1–0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 5522, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 132, 3, 9, 3, 20119, 13, 505, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 741, 3274, 96, 927, 104, 632, 121, 3430, 2604, 3274, 96, 536, 104, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Score when Set 2 shows 25-20, and a Total of 75 - 49?
CREATE TABLE table_name_27 ( score VARCHAR, set_2 VARCHAR, total VARCHAR )
SELECT score FROM table_name_27 WHERE set_2 = "25-20" AND total = "75 - 49"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 2604, 584, 4280, 28027, 6, 356, 834, 357, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 17763, 116, 282...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 356, 834, 357, 3274, 96, 1828, 7988, 121, 3430, 792, 3274, 96, 3072, 3, 18, 9526, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average last cf of the st. louis blues, who has less than 4 cf appearances and less than 1 cf wins?
CREATE TABLE table_name_44 (last_cf INTEGER, team VARCHAR, cf_appearances VARCHAR, cf_wins VARCHAR)
SELECT AVG(last_cf) FROM table_name_44 WHERE cf_appearances < 4 AND cf_wins < 1 AND team = "st. louis blues"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 5064, 834, 75, 89, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 3, 75, 89, 834, 3096, 2741, 663, 7, 584, 4280, 28027, 6, 3, 75, 89, 834, 3757, 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, 71, 17217, 599, 5064, 834, 75, 89, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 3, 75, 89, 834, 3096, 2741, 663, 7, 3, 2, 314, 3430, 3, 75, 89, 834, 3757, 7, 3, 2, 209, 3430, 372, 3274, 96, 7, 17, ...
Which season was one of the players rated +33?
CREATE TABLE table_name_79 ( season VARCHAR, rating VARCHAR )
SELECT season FROM table_name_79 WHERE rating = "+33"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 774, 584, 4280, 28027, 6, 5773, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 774, 47, 80, 13, 8, 1508, 3, 4094, 1768, 4201, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 5773, 3274, 96, 1220, 4201, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When rank is 5, what is the rowers?
CREATE TABLE table_name_32 (rowers VARCHAR, rank VARCHAR)
SELECT rowers FROM table_name_32 WHERE rank = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 3623, 277, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 11003, 19, 7836, 125, 19, 8, 7358, 277, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7358, 277, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 11003, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many vehicle in total?
CREATE TABLE Vehicles (Id VARCHAR)
SELECT COUNT(*) FROM Vehicles
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15095, 7, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1689, 16, 792, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 15095, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the budget for 'Thirteen Ghosts'?
CREATE TABLE table_24725 ( "Year" real, "Film" text, "Budget" text, "Domestic Box Office" text, "Foreign Box Office" text, "Total" text, "US DVD sales" text, "Total (with DVD sales)" text )
SELECT "Budget" FROM table_24725 WHERE "Film" = 'Thirteen Ghosts'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4177, 1828, 41, 96, 476, 2741, 121, 490, 6, 96, 371, 173, 51, 121, 1499, 6, 96, 279, 13164, 17, 121, 1499, 6, 96, 4135, 2687, 1225, 5179, 2126, 121, 1499, 6, 96, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 279, 13164, 17, 121, 21680, 953, 834, 357, 4177, 1828, 549, 17444, 427, 96, 371, 173, 51, 121, 3274, 3, 31, 382, 9288, 6808, 17644, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What Player has more than 1 Touchdowns with 0 Extra Points and less than 50 Points?
CREATE TABLE table_name_61 ( player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR )
SELECT player FROM table_name_61 WHERE touchdowns > 1 AND extra_points = 0 AND points < 50
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 1959, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 19396, 7, 584, 4280, 28027, 6, 996, 834, 2700, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 19396, 7, 2490, 209, 3430, 996, 834, 2700, 7, 3274, 3, 632, 3430, 979, 3, 2, 943, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which year has a total of 0 points and a chassis of Toleman tg181?
CREATE TABLE table_57290 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT AVG("Year") FROM table_57290 WHERE "Points" = '0' AND "Chassis" = 'toleman tg181'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 23838, 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, 71, 17217, 599, 121, 476, 2741, 8512, 21680, 953, 834, 3436, 23838, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 632, 31, 3430, 96, 3541, 6500, 7, 121, 3274, 3, 31, 235, 109, 348, 3, 17, 122, 2606, 536, 31, ...
What player is from Ohio State college?
CREATE TABLE table_17105 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text )
SELECT "Player" FROM table_17105 WHERE "College" = 'Ohio State'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 12869, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 9939, 7883, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 2517, 12869, 549, 17444, 427, 96, 9939, 7883, 121, 3274, 3, 31, 15046, 23, 32, 1015, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
On what date did the home team score 5.8 (38)?
CREATE TABLE table_33289 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_33289 WHERE "Home team score" = '5.8 (38)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2668, 3914, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 519, 2668, 3914, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 9125, 927, 6918, 13520, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What county has a football team in IHSAA class AAAAA and a school macot of the Grizzly Cubs?
CREATE TABLE table_66271 ( "School" text, "Mascot" text, "Location" text, "Enrollment" real, "IHSAA Class" text, "IHSAA Football Class" text, "County" text )
SELECT "County" FROM table_66271 WHERE "IHSAA Football Class" = 'aaaaa' AND "Mascot" = 'grizzly cubs'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 2555, 536, 41, 96, 29364, 121, 1499, 6, 96, 329, 9, 7, 4310, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 8532, 4046, 297, 121, 490, 6, 96, 196, 4950, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 63, 121, 21680, 953, 834, 3539, 2555, 536, 549, 17444, 427, 96, 196, 4950, 5498, 10929, 4501, 121, 3274, 3, 31, 9, 9, 9, 9, 9, 31, 3430, 96, 329, 9, 7, 4310, 121, 3274, 3, 31, 3496, 5271, 120, 123, ...
Name the date when bye was opponent
CREATE TABLE table_14957 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" text )
SELECT "Date" FROM table_14957 WHERE "Opponent" = 'bye'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 3436, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 23055, 353, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 24816, 3436, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 969, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the names of states that have some college students playing in the mid position but not in the goalie position.
CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 653, 670, 41, 75, 23954, 584, 4280, 28027, 6, 3, 102, 345, 32, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1900, 41, 5540, 584, 4280, 28027, 6, 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, 332, 5411, 5540, 21680, 1900, 6157, 332, 536, 3, 15355, 3162, 653, 670, 6157, 332, 357, 9191, 332, 5411, 75, 23954, 3274, 332, 4416, 75, 23954, 549, 17444, 427, 332, 4416, 102, 345, 32, 7, 3274, 3, 31, 6983, 31, 2...
what's the camp with estimated deaths of 600,000
CREATE TABLE table_10335_1 (camp VARCHAR, estimated_deaths VARCHAR)
SELECT camp FROM table_10335_1 WHERE estimated_deaths = "600,000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17864, 2469, 834, 536, 41, 12389, 584, 4280, 28027, 6, 5861, 834, 221, 9, 189, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 2856, 28, 5861, 14319,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2856, 21680, 953, 834, 17864, 2469, 834, 536, 549, 17444, 427, 5861, 834, 221, 9, 189, 7, 3274, 96, 6007, 6, 2313, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many years did the new york giants win with a result of 15-7 at lincoln financial field?
CREATE TABLE table_47791 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text )
SELECT COUNT("Year") FROM table_47791 WHERE "Location" = 'lincoln financial field' AND "Winner" = 'new york giants' AND "Result" = '15-7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 4440, 536, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 434, 32, 7, 49, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 476, 2741, 8512, 21680, 953, 834, 4177, 4440, 536, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 40, 77, 3297, 29, 981, 1057, 31, 3430, 96, 18455, 687, 121, 3274, 3, 31, 5534, 2...
count the number of patients whose marital status is married and age is less than 70?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.age < "70"
[ 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, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 13845, 25858, 308, 121, 3430, 14798, 5, 545, 3, 2, 96, 251...
what is the average points when the goal difference is less than 17, the club is getafe cf and the goals for is more than 30?
CREATE TABLE table_name_86 (points INTEGER, goals_for VARCHAR, goal_difference VARCHAR, club VARCHAR)
SELECT AVG(points) FROM table_name_86 WHERE goal_difference < 17 AND club = "getafe cf" AND goals_for > 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 2700, 7, 3, 21342, 17966, 6, 1766, 834, 1161, 584, 4280, 28027, 6, 1288, 834, 26, 99, 11788, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 1288, 834, 26, 99, 11788, 3, 2, 1003, 3430, 1886, 3274, 96, 2782, 9, 89, 15, 3, 75, 89, 121, 3430, 1766, 834, 1161, 2490, 604, 1, ...
What is the games played when the category is points per game?
CREATE TABLE table_4069 ( "Category" text, "Player" text, "Team" text, "Games played" real, "Totals" text, "Average" text )
SELECT MIN("Games played") FROM table_4069 WHERE "Category" = 'Points per game'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 3951, 41, 96, 18610, 6066, 651, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 23055, 7, 1944, 121, 490, 6, 96, 3696, 1947, 7, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 23055, 7, 1944, 8512, 21680, 953, 834, 2445, 3951, 549, 17444, 427, 96, 18610, 6066, 651, 121, 3274, 3, 31, 22512, 7, 399, 467, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What score is the team of charlotte?
CREATE TABLE table_name_48 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_48 WHERE team = "charlotte"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 7, 9022, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2604, 19, 8, 372, 13, 3, 4059, 21538, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 372, 3274, 96, 4059, 21538, 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?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.days_stay > "2"
[ 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, 549, 17444, 427, 14798, 5, 1135, 7, 834, 21545, 2490, 96, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what was the next number to be retired after february 6 , 2000 ?
CREATE TABLE table_203_754 ( id number, "no." number, "player" text, "position" text, "career" text, "date no. retired" text )
SELECT "no." FROM table_203_754 WHERE "date no. retired" > (SELECT "date no. retired" FROM table_203_754 WHERE "date no. retired" = 'february 6, 2000') ORDER BY "date no. retired" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3072, 591, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 20846, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 2864, 49, 121, 1499, 6, 96, 5522, 150, 5, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 32, 535, 21680, 953, 834, 23330, 834, 3072, 591, 549, 17444, 427, 96, 5522, 150, 5, 10611, 121, 2490, 41, 23143, 14196, 96, 5522, 150, 5, 10611, 121, 21680, 953, 834, 23330, 834, 3072, 591, 549, 17444, 427, ...
What is the percentage of Judaism associated with Christianity at 2.51%?
CREATE TABLE table_45947 ( "Ethnicity" text, "Islam" text, "Christianity" text, "Judaism" text, "Buddhism" text, "Other" text, "Atheism" text )
SELECT "Judaism" FROM table_45947 WHERE "Christianity" = '2.51%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3390, 4177, 41, 96, 427, 189, 2532, 485, 121, 1499, 6, 96, 30791, 121, 1499, 6, 96, 28412, 485, 121, 1499, 6, 96, 683, 76, 26, 9, 159, 51, 121, 1499, 6, 96, 7793, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 683, 76, 26, 9, 159, 51, 121, 21680, 953, 834, 591, 3390, 4177, 549, 17444, 427, 96, 28412, 485, 121, 3274, 3, 31, 15967, 4704, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the replication site when the species is enveloped and is of the bunyaviridae family?
CREATE TABLE table_name_58 (replication_site VARCHAR, envelopment VARCHAR, family VARCHAR)
SELECT replication_site FROM table_name_58 WHERE envelopment = "enveloped" AND family = "bunyaviridae"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 60, 13555, 834, 3585, 584, 4280, 28027, 6, 3, 15, 17430, 297, 584, 4280, 28027, 6, 384, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 29328, 834, 3585, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 3, 15, 17430, 297, 3274, 96, 15, 17430, 15, 26, 121, 3430, 384, 3274, 96, 9617, 63, 2960, 4055, 9, 15, 121, 1, -100, -100, -100, -100, -100, -10...
What's the 1991 census of the city of Carpi?
CREATE TABLE table_15976 ( "#" real, "City" text, "1981 Census" real, "1991 Census" real, "2001 Census" real, "2010 Est." real, "Region" text )
SELECT MAX("1991 Census") FROM table_15976 WHERE "City" = 'Carpi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27904, 3959, 41, 96, 4663, 121, 490, 6, 96, 254, 485, 121, 1499, 6, 96, 2294, 4959, 23086, 121, 490, 6, 96, 2294, 4729, 23086, 121, 490, 6, 96, 23658, 23086, 121, 490, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 2294, 4729, 23086, 8512, 21680, 953, 834, 27904, 3959, 549, 17444, 427, 96, 254, 485, 121, 3274, 3, 31, 6936, 102, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Record, when Date is October 31?
CREATE TABLE table_name_37 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_name_37 WHERE date = "october 31"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 11392, 6, 116, 7678, 19, 1797, 2664, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 2664, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Manufacturer has a Style of steel sit down, and an Opened larger than 2008?
CREATE TABLE table_name_31 ( manufacturer VARCHAR, style VARCHAR, opened VARCHAR )
SELECT manufacturer FROM table_name_31 WHERE style = "steel sit down" AND opened > 2008
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 4818, 584, 4280, 28027, 6, 869, 584, 4280, 28027, 6, 2946, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 15248, 65, 3, 9, 7936, 13, 247...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4818, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 869, 3274, 96, 849, 15, 40, 2561, 323, 121, 3430, 2946, 2490, 2628, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the long-term gain for commercial buildings with a short-term capital gain rate of 15%?
CREATE TABLE table_55787 ( "Ordinary income rate" text, "Long-term capital gain rate" text, "Short-term capital gain rate" text, "Long-term gain on commercial buildings*" text, "Long-term gain on collectibles" text )
SELECT "Long-term gain on commercial buildings*" FROM table_55787 WHERE "Short-term capital gain rate" = '15%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3436, 4225, 41, 96, 7395, 2644, 1208, 2055, 1080, 121, 1499, 6, 96, 434, 2444, 18, 1987, 1784, 2485, 1080, 121, 1499, 6, 96, 134, 14184, 18, 1987, 1784, 2485, 1080, 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, 434, 2444, 18, 1987, 2485, 30, 1328, 3950, 1935, 121, 21680, 953, 834, 755, 3436, 4225, 549, 17444, 427, 96, 134, 14184, 18, 1987, 1784, 2485, 1080, 121, 3274, 3, 31, 536, 2712, 31, 1, -100, -100, -100, -100, ...
What location is Jimmy Smith fighting in?
CREATE TABLE table_57562 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text, "Time" text, "Location" text )
SELECT "Location" FROM table_57562 WHERE "Opponent" = 'jimmy smith'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 4834, 357, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 3436, 4834, 357, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 354, 603, 2258, 3, 16331, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
count the number of patients whose age is less than 55 and days of hospital stay is greater than 4?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "55" AND demographic.days_stay > "4"
[ 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, 549, 17444, 427, 14798, 5, 545, 3, 2, 96, 3769, 121, 3430, 14798, 5, 1135, 7, 834, 21545, 2490, 96, 20364, 1, -100, -100, ...
Visualize a bar chart for how many workshops did each author submit to? Return the author name and the number of workshops, sort workshop_id) in ascending order.
CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text ) CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text ) CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text )
SELECT Author, COUNT(DISTINCT T1.Workshop_ID) FROM Acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID ORDER BY COUNT(DISTINCT T1.Workshop_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4786, 41, 9644, 834, 4309, 16, 17, 6, 7678, 1499, 6, 29940, 1499, 6, 5570, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 20592, 663, 41, 29779, 834, 4309, 16, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10236, 6, 2847, 17161, 599, 15438, 25424, 6227, 332, 5411, 12492, 6921, 834, 4309, 61, 21680, 20592, 663, 6157, 332, 536, 3, 15355, 3162, 8121, 6157, 332, 357, 9191, 332, 5411, 25252, 5451, 834, 4309, 3274, 332, 4416, ...
when hayden roulston is the winner what is the team classification?
CREATE TABLE table_30465 ( "Stage" real, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Young rider classification" text, "Team classification" text )
SELECT "Team classification" FROM table_30465 WHERE "Winner" = 'Hayden Roulston'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23702, 4122, 41, 96, 134, 6505, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 20857, 13774, 121, 1499, 6, 96, 22512, 7, 13774, 121, 1499, 6, 96, 329, 32, 14016, 77, 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, 18699, 13774, 121, 21680, 953, 834, 23702, 4122, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 566, 9, 63, 537, 2158, 83, 4411, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What home score has an Away team of fitzroy?
CREATE TABLE table_51920 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text )
SELECT "Home team score" FROM table_51920 WHERE "Away team" = 'fitzroy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5553, 27749, 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, 96, 19040, 372, 2604, 121, 21680, 953, 834, 5553, 27749, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 89, 5615, 8170, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
During the championship where the winning score was 9 (66-69-73-71=279)?, who was the runner-up?
CREATE TABLE table_name_32 ( runner_s__up VARCHAR, winning_score VARCHAR )
SELECT runner_s__up FROM table_name_32 WHERE winning_score = −9(66 - 69 - 73 - 71 = 279)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 3, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 6, 3447, 834, 7, 9022, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3, 2092, 8, 10183, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10806, 834, 7, 834, 834, 413, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 3447, 834, 7, 9022, 3274, 3, 2, 1298, 599, 3539, 3, 18, 3, 3951, 3, 18, 3, 4552, 3, 18, 3, 4450, 3274, 2307, 11728, 1, -100, ...
Where did Konchesky move to?
CREATE TABLE table_53470 ( "Name" text, "Country" text, "Status" text, "Moving to" text, "Transfer fee" text )
SELECT "Moving to" FROM table_53470 WHERE "Name" = 'konchesky'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 27760, 41, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 329, 32, 3745, 12, 121, 1499, 6, 96, 18474, 1010, 2572, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 329, 32, 3745, 12, 121, 21680, 953, 834, 4867, 27760, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 4470, 1033, 5352, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which 2008 has a City of durban?
CREATE TABLE table_name_56 ( city VARCHAR )
SELECT AVG(2008) FROM table_name_56 WHERE city = "durban"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 690, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2628, 65, 3, 9, 896, 13, 3, 26, 19413, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 16128, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 690, 3274, 96, 26, 19413, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Tell me the listed when cerclis id is msd004006995
CREATE TABLE table_57969 ( "CERCLIS ID" text, "Name" text, "County" text, "Proposed" text, "Listed" text, "Construction completed" text, "Partially deleted" text, "Deleted" text )
SELECT "Listed" FROM table_57969 WHERE "CERCLIS ID" = 'msd004006995'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4440, 3951, 41, 96, 4770, 4902, 25769, 4699, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 3174, 12151, 121, 1499, 6, 96, 28886, 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, 28886, 121, 21680, 953, 834, 755, 4440, 3951, 549, 17444, 427, 96, 4770, 4902, 25769, 4699, 121, 3274, 3, 31, 51, 7, 26, 1206, 5548, 3951, 3301, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is the home team at arden street oval?
CREATE TABLE table_name_63 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_63 WHERE venue = "arden street oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 234, 372, 44, 3, 986, 35, 2815, 17986, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 5669, 3274, 96, 986, 35, 2815, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the runner-up in the RR Donnelley LPGA Founders Cup?
CREATE TABLE table_77180 ( "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text, "Winner's share ( $ )" real )
SELECT "Runner(s)-up" FROM table_77180 WHERE "Tournament" = 'rr donnelley lpga founders cup'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 20829, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, 96, 7286, 122, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23572, 599, 7, 61, 18, 413, 121, 21680, 953, 834, 4013, 20829, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 52, 52, 8551, 40, 1306, 3, 40, 102, 122, 9, 7174, 7, 4119, 31, 1, -100, -100, -10...
Which school has an 1860-1878 larger than 0, and a Second Afghan War of 0?
CREATE TABLE table_71322 ( "School" text, "Location" text, "Total" real, "Crimean War" real, "Persian War" real, "Indian Mutiny" real, "1860-1878" real, "Zulu War" real, "Second Afghan War" text )
SELECT "School" FROM table_71322 WHERE "1860-1878" > '0' AND "Second Afghan War" = '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 2668, 357, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 3696, 1947, 121, 490, 6, 96, 254, 5397, 15, 152, 1602, 121, 490, 6, 96, 12988, 104...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29364, 121, 21680, 953, 834, 4450, 2668, 357, 549, 17444, 427, 96, 24700, 6996, 3940, 121, 2490, 3, 31, 632, 31, 3430, 96, 134, 15, 1018, 26, 26283, 1602, 121, 3274, 3, 31, 632, 31, 1, -100, -100, -100, -100, ...
Name the Score of spain?
CREATE TABLE table_59294 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT "Score" FROM table_59294 WHERE "Country" = 'spain'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 357, 4240, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 490, 6, 96, 3696, 260, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3390, 357, 4240, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 14147, 77, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Venue, when the Winner is iain pyman?
CREATE TABLE table_name_19 ( venue VARCHAR, winner VARCHAR )
SELECT venue FROM table_name_19 WHERE winner = "iain pyman"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 5669, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 29940, 6, 116, 8, 18125, 19, 3, 23, 9, 77, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 4668, 3274, 96, 23, 9, 77, 3, 102, 63, 348, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the opponent when there was 117 rushing yards?
CREATE TABLE table_26108103_2 ( opponent VARCHAR, rushing_yards VARCHAR )
SELECT opponent FROM table_26108103_2 WHERE rushing_yards = 117
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 16169, 17864, 834, 357, 41, 15264, 584, 4280, 28027, 6, 3, 15842, 834, 6636, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 116, 132, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15264, 21680, 953, 834, 2688, 16169, 17864, 834, 357, 549, 17444, 427, 3, 15842, 834, 6636, 7, 3274, 3, 20275, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the party of the governor under Hugh Thomas Miller.
CREATE TABLE table_32348 ( "Name" text, "Took office" text, "Left office" text, "Party" text, "Governor" text )
SELECT "Governor" FROM table_32348 WHERE "Name" = 'hugh thomas miller'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 519, 3707, 41, 96, 23954, 121, 1499, 6, 96, 3696, 1825, 828, 121, 1499, 6, 96, 2796, 89, 17, 828, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 27304, 127, 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, 27304, 127, 121, 21680, 953, 834, 2668, 519, 3707, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 107, 14439, 3, 189, 32, 2754, 3293, 49, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What league has an average attendance of 1452?
CREATE TABLE table_1939202_2 ( league VARCHAR, avg_attendance VARCHAR )
SELECT league FROM table_1939202_2 WHERE avg_attendance = 1452
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3288, 19818, 834, 357, 41, 5533, 584, 4280, 28027, 6, 3, 9, 208, 122, 834, 15116, 663, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5533, 65, 46, 1348...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5533, 21680, 953, 834, 2294, 3288, 19818, 834, 357, 549, 17444, 427, 3, 9, 208, 122, 834, 15116, 663, 3274, 968, 5373, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the average fee on a CSU campus in 1996
CREATE TABLE csu_fees (campusfee INTEGER, YEAR VARCHAR)
SELECT AVG(campusfee) FROM csu_fees WHERE YEAR = 1996
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 75, 7, 76, 834, 89, 15, 15, 7, 41, 25532, 89, 15, 15, 3, 21342, 17966, 6, 30431, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 1348, 2572, 30, 3, 9, 205, 4138,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 25532, 89, 15, 15, 61, 21680, 3, 75, 7, 76, 834, 89, 15, 15, 7, 549, 17444, 427, 30431, 3274, 6911, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many values for number of clubs have Shandong as the runner-up?
CREATE TABLE table_21838 ( "Season" real, "Winners" text, "Total wins" real, "Runners-up" text, "Third-place" text, "Number of clubs" real )
SELECT COUNT("Number of clubs") FROM table_21838 WHERE "Runners-up" = 'Shandong'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2606, 3747, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 18455, 687, 7, 121, 1499, 6, 96, 3696, 1947, 9204, 121, 490, 6, 96, 23572, 7, 18, 413, 121, 1499, 6, 96, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 567, 5937, 49, 13, 8122, 8512, 21680, 953, 834, 357, 2606, 3747, 549, 17444, 427, 96, 23572, 7, 18, 413, 121, 3274, 3, 31, 134, 2894, 2444, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8?
CREATE TABLE table_name_87 ( net_yards INTEGER, yards_per_attempt VARCHAR, touchdowns VARCHAR, attempts VARCHAR )
SELECT AVG(net_yards) FROM table_name_87 WHERE touchdowns = 9 AND attempts = 145 AND yards_per_attempt > 4.8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 3134, 834, 6636, 7, 3, 21342, 17966, 6, 6460, 834, 883, 834, 144, 17, 9045, 584, 4280, 28027, 6, 19396, 7, 584, 4280, 28027, 6, 9048, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1582, 834, 6636, 7, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 19396, 7, 3274, 668, 3430, 9048, 3274, 3, 20987, 3430, 6460, 834, 883, 834, 144, 17, 9045, 2490, 3, 27441, 1, -100, -100, ...
What was the highest lap count for Walker Racing with a grid larger than 15?
CREATE TABLE table_45541 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real )
SELECT MAX("Laps") FROM table_45541 WHERE "Team" = 'walker racing' AND "Grid" > '15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 5062, 536, 41, 96, 20982, 52, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, 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, 4800, 4, 599, 121, 3612, 102, 7, 8512, 21680, 953, 834, 2128, 5062, 536, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 24063, 8191, 31, 3430, 96, 13313, 26, 121, 2490, 3, 31, 1808, 31, 1, -100, -100, -100, -100, ...
What is the place of the Pinyin transcription Xi Wangri?
CREATE TABLE table_1805919_1 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR)
SELECT MAX(standard_order) FROM table_1805919_1 WHERE transcription__based_on_pinyin_ = "Xi Wangri"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20829, 3390, 2294, 834, 536, 41, 16020, 834, 9397, 3, 21342, 17966, 6, 20267, 834, 834, 390, 834, 106, 834, 3180, 63, 77, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 16020, 834, 9397, 61, 21680, 953, 834, 20829, 3390, 2294, 834, 536, 549, 17444, 427, 20267, 834, 834, 390, 834, 106, 834, 3180, 63, 77, 834, 3274, 96, 4, 23, 18102, 52, 23, 121, 1, -100, -100, -100, ...
What was the resolution of the fight against steve schneider?
CREATE TABLE table_name_25 ( res VARCHAR, opponent VARCHAR )
SELECT res FROM table_name_25 WHERE opponent = "steve schneider"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 3, 60, 7, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3161, 13, 8, 2870, 581, 3, 849, 162, 3, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 60, 7, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 15264, 3274, 96, 849, 162, 3, 28557, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total of First Season games with 1537 Wins and a Season greater than 109?
CREATE TABLE table_name_71 (first_season INTEGER, wins VARCHAR, seasons VARCHAR)
SELECT SUM(first_season) FROM table_name_71 WHERE wins = 1537 AND seasons > 109
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 14672, 834, 9476, 3, 21342, 17966, 6, 9204, 584, 4280, 28027, 6, 9385, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 13, 1485, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 14672, 834, 9476, 61, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 9204, 3274, 627, 4118, 3430, 9385, 2490, 3, 17304, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients whose procedure icd9 code is 4523 and drug route is iv?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE procedures.icd9_code = "4523" AND prescriptions.route = "IV"
[ 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, 3388, 18206...
What is Ship, when Nationality is 'Syria', and when Date is '26 June 1943', and when Tonnage is '80'?
CREATE TABLE table_name_39 ( ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR )
SELECT ship FROM table_name_39 WHERE nationality = "syria" AND date = "26 june 1943" AND tonnage = 80
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 4383, 584, 4280, 28027, 6, 12, 29, 9761, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4383, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 1157, 485, 3274, 96, 7, 63, 52, 23, 9, 121, 3430, 833, 3274, 96, 2688, 3, 6959, 15, 26436, 121, 3430, 12, 29, 9761, 3274, 2775, 1, -100, -100, -100, -100, ...
provide the number of patients whose admission type is emergency and lab test name is rbc, csf?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab.label = "RBC, CSF"
[ 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,...
List the full name (first and last name), and salary for those employees who earn below 6000.
CREATE TABLE countries ( country_id text, country_name text, region_id number ) CREATE TABLE jobs ( job_id text, job_title text, min_salary number, max_salary number ) CREATE TABLE regions ( region_id number, region_name text ) CREATE TABLE locations ( location_id number, street_address text, postal_code text, city text, state_province text, country_id text ) CREATE TABLE employees ( employee_id number, first_name text, last_name text, email text, phone_number text, hire_date time, job_id text, salary number, commission_pct number, manager_id number, department_id number ) CREATE TABLE job_history ( employee_id number, start_date time, end_date time, job_id text, department_id number ) CREATE TABLE departments ( department_id number, department_name text, manager_id number, location_id number )
SELECT first_name, last_name, salary FROM employees WHERE salary < 6000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 684, 834, 23, 26, 1499, 6, 684, 834, 4350, 1499, 6, 1719, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 613, 834, 23, 26, 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, 166, 834, 4350, 6, 336, 834, 4350, 6, 9090, 21680, 1652, 549, 17444, 427, 9090, 3, 2, 3, 21987, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
provide the number of patients whose diagnoses short title is gastrointest hemorr nos and drug route is iv drip?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) 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 )
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.short_title = "Gastrointest hemorr NOS" AND prescriptions.route = "IV DRIP"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What county has others at 5?
CREATE TABLE table_20573232_1 (county VARCHAR, others_number VARCHAR)
SELECT county FROM table_20573232_1 WHERE others_number = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23201, 4552, 23188, 834, 536, 41, 13362, 63, 584, 4280, 28027, 6, 717, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5435, 65, 717, 44, 305, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5435, 21680, 953, 834, 23201, 4552, 23188, 834, 536, 549, 17444, 427, 717, 834, 5525, 1152, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What comments are made in 1875?
CREATE TABLE table_10556 ( "Class" text, "Wheel arrangement" text, "Manufacturer" text, "Year made" text, "Quantity made" text, "Quantity preserved" text, "Year(s) withdrawn" text, "Comments" text )
SELECT "Comments" FROM table_10556 WHERE "Year made" = '1875'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12869, 4834, 41, 96, 21486, 121, 1499, 6, 96, 518, 88, 15, 40, 8641, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 476, 2741, 263, 121, 1499, 6, 96, 5991...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5890, 4128, 121, 21680, 953, 834, 12869, 4834, 549, 17444, 427, 96, 476, 2741, 263, 121, 3274, 3, 31, 2606, 3072, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Draw a bar chart of transaction type versus the total number
CREATE TABLE Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, date_valid_to DATETIME, other_card_details VARCHAR(255) ) CREATE TABLE Financial_Transactions ( transaction_id INTEGER, previous_transaction_id INTEGER, account_id INTEGER, card_id INTEGER, transaction_type VARCHAR(15), transaction_date DATETIME, transaction_amount DOUBLE, transaction_comment VARCHAR(255), other_transaction_details VARCHAR(255) ) CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER, account_name VARCHAR(50), other_account_details VARCHAR(255) ) CREATE TABLE Customers ( customer_id INTEGER, customer_first_name VARCHAR(20), customer_last_name VARCHAR(20), customer_address VARCHAR(255), customer_phone VARCHAR(255), customer_email VARCHAR(255), other_customer_details VARCHAR(255) )
SELECT transaction_type, COUNT(*) FROM Financial_Transactions GROUP BY transaction_type
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 834, 6936, 26, 7, 41, 895, 834, 23, 26, 3, 21342, 17966, 6, 884, 834, 23, 26, 3, 21342, 17966, 6, 895, 834, 6137, 834, 4978, 584, 4280, 28027, 599, 1808, 201, 895, 834, 5525...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5878, 834, 6137, 6, 2847, 17161, 599, 1935, 61, 21680, 5421, 834, 18474, 4787, 7, 350, 4630, 6880, 272, 476, 5878, 834, 6137, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the score of the Tournament Players Championship?
CREATE TABLE table_name_16 ( score VARCHAR, tournament VARCHAR )
SELECT score FROM table_name_16 WHERE tournament = "tournament players championship"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 2604, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 20502, 18079, 7666, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 5892, 3274, 96, 17, 1211, 20205, 17, 1508, 10183, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which countries have a 5th runner-up ranking is 2 and the 3rd runner-up ranking is 0
CREATE TABLE table_72636 ( "Rank" real, "Country/Territory" text, "Miss World" real, "1st Runner-up" real, "2nd Runner-up" real, "3rd Runner-up" real, "4th Runner-up" real, "5th Runner-up" real, "6th Runner-up" real, "Semifinalists" real, "Total" real )
SELECT "Total" FROM table_72636 WHERE "5th Runner-up" = '2' AND "3rd Runner-up" = '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2688, 3420, 41, 96, 22557, 121, 490, 6, 96, 10628, 651, 87, 382, 21301, 10972, 121, 1499, 6, 96, 329, 159, 7, 1150, 121, 490, 6, 96, 536, 7, 17, 3, 23572, 18, 413,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 940, 2688, 3420, 549, 17444, 427, 96, 755, 189, 3, 23572, 18, 413, 121, 3274, 3, 31, 357, 31, 3430, 96, 519, 52, 26, 3, 23572, 18, 413, 121, 3274, 3, 31, 632, 31, 1, -100,...
How many times was there a draw when played is more than 4 and the first game is in 2000?
CREATE TABLE table_15292 ( "First game" real, "Played" real, "Drawn" real, "Lost" real, "Percentage" text )
SELECT "Drawn" FROM table_15292 WHERE "Played" > '4' AND "First game" = '2000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26320, 4508, 41, 96, 25171, 467, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, 12988, 3728, 545, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 10936, 29, 121, 21680, 953, 834, 26320, 4508, 549, 17444, 427, 96, 15800, 15, 26, 121, 2490, 3, 31, 591, 31, 3430, 96, 25171, 467, 121, 3274, 3, 31, 13527, 31, 1, -100, -100, -100, -100, -100, -100, -100,...
What was the attendance for the week 1 game?
CREATE TABLE table_9630 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT "Attendance" FROM table_9630 WHERE "Week" = '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4314, 1458, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 4314, 1458, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
From which club is player C. Dickinson?
CREATE TABLE table_name_35 ( loan_club VARCHAR, name VARCHAR )
SELECT loan_club FROM table_name_35 WHERE name = "c. dickinson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 2289, 834, 13442, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1029, 84, 1886, 19, 1959, 205, 5, 21269, 77, 739, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2289, 834, 13442, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 564, 3274, 96, 75, 5, 3, 4370, 7815, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score of the match where paris sg (d1) was team 1?
CREATE TABLE table_name_63 ( score VARCHAR, team_1 VARCHAR )
SELECT score FROM table_name_63 WHERE team_1 = "paris sg (d1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 2604, 584, 4280, 28027, 6, 372, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 1588, 213, 260, 159, 3, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 372, 834, 536, 3274, 96, 1893, 159, 3, 7, 122, 41, 26, 6982, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are all the conjugated forms of the verb moler where the vosotros / vosotras is mol is for the yo tense?
CREATE TABLE table_1977630_2 ( yo VARCHAR, vosotros___vosotras VARCHAR )
SELECT yo FROM table_1977630_2 WHERE vosotros___vosotras = "moláis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 3959, 1458, 834, 357, 41, 3, 63, 32, 584, 4280, 28027, 6, 1507, 24497, 7, 834, 834, 834, 1621, 7, 32, 1313, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 63, 32, 21680, 953, 834, 27181, 3959, 1458, 834, 357, 549, 17444, 427, 1507, 24497, 7, 834, 834, 834, 1621, 7, 32, 1313, 7, 3274, 96, 4641, 2975, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average To Par, when Player is 'Billy Casper'?
CREATE TABLE table_49092 ( "Place" text, "Player" text, "Country" text, "Score" text, "To Par" real, "Money ( $ )" real )
SELECT AVG("To Par") FROM table_49092 WHERE "Player" = 'billy casper'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 4198, 357, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 2180, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 3696, 2180, 8512, 21680, 953, 834, 3647, 4198, 357, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 3727, 120, 212, 4339, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
let me know the type of admission and death status of patient james sloan.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) 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 )
SELECT demographic.admission_type, demographic.expire_flag FROM demographic WHERE demographic.name = "James Sloan"
[ 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, 9, 26, 5451, 834, 6137, 6, 14798, 5, 994, 2388, 15, 834, 89, 5430, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 683, 9, 2687, 18043, 152, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Name the common name for furcifer pardalis
CREATE TABLE table_21799 ( "Scientific name" text, "Common name" text, "Length (male)" text, "Length (female)" text, "Color" text, "Lifespan (years)" text )
SELECT "Common name" FROM table_21799 WHERE "Scientific name" = 'Furcifer pardalis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2517, 3264, 41, 96, 134, 75, 4741, 3286, 564, 121, 1499, 6, 96, 10205, 106, 564, 121, 1499, 6, 96, 434, 4606, 189, 41, 13513, 61, 121, 1499, 6, 96, 434, 4606, 189, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10205, 106, 564, 121, 21680, 953, 834, 357, 2517, 3264, 549, 17444, 427, 96, 134, 75, 4741, 3286, 564, 121, 3274, 3, 31, 371, 450, 75, 99, 49, 260, 26, 4288, 7, 31, 1, -100, -100, -100, -100, -100, -100, -10...
Which school has a roll larger than 26 and is located in Fairfield?
CREATE TABLE table_name_5 ( name VARCHAR, roll VARCHAR, area VARCHAR )
SELECT name FROM table_name_5 WHERE roll > 26 AND area = "fairfield"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 564, 584, 4280, 28027, 6, 3812, 584, 4280, 28027, 6, 616, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 496, 65, 3, 9, 3812, 2186, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 3812, 2490, 2208, 3430, 616, 3274, 96, 14881, 1846, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the high Population (total) from 1976 with a (Barcaldine) smaller than 1,780?
CREATE TABLE table_name_96 (population__total_ INTEGER, year VARCHAR, _barcaldine_ VARCHAR)
SELECT MAX(population__total_) FROM table_name_96 WHERE year = 1976 AND _barcaldine_ < 1 OFFSET 780
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 9791, 7830, 834, 834, 235, 1947, 834, 3, 21342, 17966, 6, 215, 584, 4280, 28027, 6, 3, 834, 1047, 1489, 26, 630, 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, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 9791, 7830, 834, 834, 235, 1947, 834, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 215, 3274, 16164, 3430, 3, 834, 1047, 1489, 26, 630, 834, 3, 2, 209, 3, 15316, 20788, 489, 2079, 1, -100, ...
How many gold medals did Denmark win?
CREATE TABLE table_66255 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MIN("Gold") FROM table_66255 WHERE "Nation" = 'denmark'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 25502, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23576, 8512, 21680, 953, 834, 3539, 25502, 549, 17444, 427, 96, 567, 257, 121, 3274, 3, 31, 537, 3920, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the investor that has invested in the most number of entrepreneurs?
CREATE TABLE entrepreneur ( Investor VARCHAR )
SELECT Investor FROM entrepreneur GROUP BY Investor ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 12290, 41, 16873, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12024, 24, 65, 11496, 16, 8, 167, 381, 13, 9970, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 16873, 21680, 3, 12290, 350, 4630, 6880, 272, 476, 16873, 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,...
what is the position of the player of height ft0in (m)
CREATE TABLE table_20898602_1 ( position VARCHAR, height VARCHAR )
SELECT position FROM table_20898602_1 WHERE height = "ft0in (m)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3914, 3840, 4305, 834, 536, 41, 1102, 584, 4280, 28027, 6, 3902, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1102, 13, 8, 1959, 13, 3902, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 1755, 3914, 3840, 4305, 834, 536, 549, 17444, 427, 3902, 3274, 96, 89, 17, 632, 77, 41, 51, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which rank has a smaller area (sq mi) than 48, and an area (km2) greater than 104, and an island of sula, sogn og fjordane?
CREATE TABLE table_name_12 ( rank VARCHAR, island VARCHAR, area__sq_mi_ VARCHAR, area__km²_ VARCHAR )
SELECT rank FROM table_name_12 WHERE area__sq_mi_ < 48 AND area__km²_ > 104 AND island = "sula, sogn og fjordane"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 11003, 584, 4280, 28027, 6, 3368, 584, 4280, 28027, 6, 616, 834, 834, 7, 1824, 834, 51, 23, 834, 584, 4280, 28027, 6, 616, 834, 834, 5848, 357, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 616, 834, 834, 7, 1824, 834, 51, 23, 834, 3, 2, 4678, 3430, 616, 834, 834, 5848, 357, 834, 2490, 3, 15442, 3430, 3368, 3274, 96, 7, 83, 9, 6, 78, 122, ...
A scatter chart shows the correlation between Team_ID and ACC_Percent , and group by attribute Team_Name.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY Team_Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2271, 834, 4309, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 2271, 834, 23954, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who is listed first , bragan a or vila ?
CREATE TABLE table_203_172 ( id number, "title" text, "date of creation" text, "surname" text, "first titular" text )
SELECT "surname" FROM table_203_172 WHERE "surname" IN ('braganca', 'avila') ORDER BY id LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 27156, 41, 3, 23, 26, 381, 6, 96, 21869, 121, 1499, 6, 96, 5522, 13, 3409, 121, 1499, 6, 96, 3042, 4350, 121, 1499, 6, 96, 14672, 29470, 121, 1499, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3042, 4350, 121, 21680, 953, 834, 23330, 834, 27156, 549, 17444, 427, 96, 3042, 4350, 121, 3388, 41, 31, 1939, 2565, 658, 31, 6, 3, 31, 2960, 521, 31, 61, 4674, 11300, 272, 476, 3, 23, 26, 8729, 12604, 209, ...
Which Drawn has a Position of 2, and a Lost larger than 2?
CREATE TABLE table_name_24 ( drawn INTEGER, position VARCHAR, lost VARCHAR )
SELECT MIN(drawn) FROM table_name_24 WHERE position = 2 AND lost > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 6796, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 19183, 29, 65, 3, 9, 14258, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 19489, 29, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 1102, 3274, 204, 3430, 1513, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what are the methods of consumption of ascorbic acid 500 mg tab?
CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time )
SELECT DISTINCT medication.routeadmin FROM medication WHERE medication.drugname = 'ascorbic acid 500 mg tab'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 583, 41, 583, 23, 26, 381, 6, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 605, 6137, 1499, 6, 605, 23, 26, 381, 6, 1567, 715, 97, 6, 583, 381, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 7757, 5, 20300, 20466, 29, 21680, 7757, 549, 17444, 427, 7757, 5, 26, 13534, 4350, 3274, 3, 31, 9, 7, 5715, 15979, 3562, 2899, 5453, 3808, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the result of the sajc king's cup race, which has a weight heavier than 8.1?
CREATE TABLE table_name_23 (result VARCHAR, weight VARCHAR, race VARCHAR)
SELECT result FROM table_name_23 WHERE weight > 8.1 AND race = "sajc king's cup"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 1293, 584, 4280, 28027, 6, 1964, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 13, 8, 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, 741, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 1293, 2490, 3, 20677, 3430, 1964, 3274, 96, 7, 9, 354, 75, 3, 1765, 31, 7, 4119, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the names of all instructors who have taught a course, as well as the corresponding course id?
CREATE TABLE teaches ( id text, course_id text, sec_id text, semester text, year number ) CREATE TABLE classroom ( building text, room_number text, capacity number ) CREATE TABLE prereq ( course_id text, prereq_id text ) CREATE TABLE instructor ( id text, name text, dept_name text, salary number ) CREATE TABLE department ( dept_name text, building text, budget number ) CREATE TABLE takes ( id text, course_id text, sec_id text, semester text, year number, grade text ) CREATE TABLE advisor ( s_id text, i_id text ) CREATE TABLE student ( id text, name text, dept_name text, tot_cred number ) CREATE TABLE time_slot ( time_slot_id text, day text, start_hr number, start_min number, end_hr number, end_min number ) CREATE TABLE course ( course_id text, title text, dept_name text, credits number ) CREATE TABLE section ( course_id text, sec_id text, semester text, year number, building text, room_number text, time_slot_id text )
SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.id = T2.id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 11749, 41, 3, 23, 26, 1499, 6, 503, 834, 23, 26, 1499, 6, 4220, 834, 23, 26, 1499, 6, 10542, 1499, 6, 215, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 485...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 503, 834, 23, 26, 21680, 10617, 6157, 332, 536, 3, 15355, 3162, 3, 11749, 6157, 332, 357, 9191, 332, 5411, 23, 26, 3274, 332, 4416, 23, 26, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which studio did The Oregon Trail?
CREATE TABLE table_name_13 (studio VARCHAR, title VARCHAR)
SELECT studio FROM table_name_13 WHERE title = "the oregon trail"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 22991, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3100, 410, 37, 8687, 8939, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3100, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 2233, 3274, 96, 532, 42, 15, 5307, 5032, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the date of the game with 36,766 fans?
CREATE TABLE table_32956 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_32956 WHERE "Crowd" > '36,766'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3166, 4834, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 519, 3166, 4834, 549, 17444, 427, 96, 254, 3623, 26, 121, 2490, 3, 31, 3420, 6, 940, 3539, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which frequency has voltage of 1.6v and part number kp80524kx300256kc80524kx300256pmg30002002aa?
CREATE TABLE table_9497 ( "Model number" text, "sSpec number" text, "Frequency" text, "L2 cache" text, "Mult." text, "Voltage" text, "Socket" text, "Part number(s)" text )
SELECT "Frequency" FROM table_9497 WHERE "Voltage" = '1.6v' AND "Part number(s)" = 'kp80524kx300256kc80524kx300256pmg30002002aa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4240, 4327, 41, 96, 24663, 381, 121, 1499, 6, 96, 7, 7727, 381, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 434, 357, 11800, 121, 1499, 6, 96, 329, 83, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 60, 835, 11298, 121, 21680, 953, 834, 4240, 4327, 549, 17444, 427, 96, 22803, 6505, 121, 3274, 3, 31, 15062, 208, 31, 3430, 96, 13725, 381, 599, 7, 61, 121, 3274, 3, 31, 157, 102, 2079, 755, 2266, 157, ...
What is the average Total, when Silver is greater than 4, and when Gold is greater than 16?
CREATE TABLE table_name_2 ( total INTEGER, silver VARCHAR, gold VARCHAR )
SELECT AVG(total) FROM table_name_2 WHERE silver > 4 AND gold > 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 792, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 9273, 6, 116, 5642, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 4294, 2490, 314, 3430, 2045, 2490, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When western carolina university is the school what is the control?
CREATE TABLE table_2076516_1 (control VARCHAR, school VARCHAR)
SELECT control FROM table_2076516_1 WHERE school = "Western Carolina University"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 4122, 2938, 834, 536, 41, 15247, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 8282, 443, 12057, 9, 3819, 19, 8, 496, 125, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 610, 21680, 953, 834, 26426, 4122, 2938, 834, 536, 549, 17444, 427, 496, 3274, 96, 1326, 13072, 5089, 636, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the title of the episode directed by Christopher Petry with the production cod 3x6006?
CREATE TABLE table_28727 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "U.S. air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT "Title" FROM table_28727 WHERE "Directed by" = 'Christopher Petry' AND "Production code" = '3X6006'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4225, 2555, 41, 96, 4168, 535, 490, 6, 96, 4663, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 357, 4225, 2555, 549, 17444, 427, 96, 23620, 15, 26, 57, 121, 3274, 3, 31, 20941, 10775, 49, 5520, 651, 31, 3430, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 519, 4, 6007, 94...
Score of 2 3 has what attendance?
CREATE TABLE table_67698 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text )
SELECT "Attendance" FROM table_67698 WHERE "Score" = '2 – 3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 3951, 927, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 3708, 3951, 927, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 357, 3, 104, 220, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Rank 6 has what notes?
CREATE TABLE table_name_10 ( notes VARCHAR, rank VARCHAR )
SELECT notes FROM table_name_10 WHERE rank = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 3358, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3, 22557, 431, 65, 125, 3358, 58, 1, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3358, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 11003, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the position of player Marcus Hogberg?
CREATE TABLE table_17215 ( "Round" real, "Overall" text, "Player" text, "Position" text, "Nationality" text, "Club team" text )
SELECT "Position" FROM table_17215 WHERE "Player" = 'Marcus Hogberg'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 1808, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 23847, 1748, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 27156, 1808, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 7286, 1071, 7, 1546, 122, 2235, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the maximum league cup goals when there has been 0 FA cup appearances, and MF is the position, with 1 league appearance, and smaller than 0 total goals?
CREATE TABLE table_name_23 (league_cup_goals INTEGER, total_goals VARCHAR, league_apps VARCHAR, fa_cup_apps VARCHAR, position VARCHAR)
SELECT MAX(league_cup_goals) FROM table_name_23 WHERE fa_cup_apps = "0" AND position = "mf" AND league_apps = "1" AND total_goals < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 29512, 834, 4658, 834, 839, 5405, 3, 21342, 17966, 6, 792, 834, 839, 5405, 584, 4280, 28027, 6, 5533, 834, 3096, 7, 584, 4280, 28027, 6, 3, 89, 9, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 29512, 834, 4658, 834, 839, 5405, 61, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 3, 89, 9, 834, 4658, 834, 3096, 7, 3274, 96, 632, 121, 3430, 1102, 3274, 96, 51, 89, 121, 3430, 5533, 834, 3...