NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What division has a Rank in Respective Divisions of 5, and is the Altrincham club?
CREATE TABLE table_58083 ( "Stadium" text, "Capacity" text, "Club" text, "Division" text, "Rank in Respective Divisions" text )
SELECT "Division" FROM table_58083 WHERE "Rank in Respective Divisions" = '5' AND "Club" = 'altrincham'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 4018, 519, 41, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 19566, 9, 6726, 121, 1499, 6, 96, 254, 11158, 121, 1499, 6, 96, 308, 23, 6610, 121, 1499, 6, 96, 22557, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 23, 6610, 121, 21680, 953, 834, 3449, 4018, 519, 549, 17444, 427, 96, 22557, 16, 26795, 757, 6022, 7, 121, 3274, 3, 31, 755, 31, 3430, 96, 254, 11158, 121, 3274, 3, 31, 138, 1788, 29, 17788, 31, 1, -100...
Which American Labor candidate is running against the Socialist candidate Herman J. Hahn?
CREATE TABLE table_name_55 ( american_labor_ticket VARCHAR, socialist_ticket VARCHAR )
SELECT american_labor_ticket FROM table_name_55 WHERE socialist_ticket = "herman j. hahn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 10211, 834, 9456, 834, 26639, 584, 4280, 28027, 6, 23737, 834, 26639, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 797, 9836, 4775, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10211, 834, 9456, 834, 26639, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 23737, 834, 26639, 3274, 96, 760, 348, 3, 354, 5, 4244, 107, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What place has a score under 68?
CREATE TABLE table_name_9 ( place VARCHAR, score INTEGER )
SELECT place FROM table_name_9 WHERE score < 68
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 286, 584, 4280, 28027, 6, 2604, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 286, 65, 3, 9, 2604, 365, 3, 3651, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 2604, 3, 2, 3, 3651, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the number of silver when the total is more than 2, and bronze is less than 3, with a rank of 7?
CREATE TABLE table_name_44 ( silver VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR )
SELECT COUNT(silver) FROM table_name_44 WHERE total > 2 AND bronze < 3 AND rank = "7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 4294, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 792, 2490, 204, 3430, 13467, 3, 2, 220, 3430, 11003, 3274, 96, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the flight number and distance of the flight with maximum price.
CREATE TABLE Flight ( flno VARCHAR, distance VARCHAR, price VARCHAR )
SELECT flno, distance FROM Flight ORDER BY price DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16736, 41, 3, 89, 40, 29, 32, 584, 4280, 28027, 6, 2357, 584, 4280, 28027, 6, 594, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 3777, 381, 11, 2357, 13, 8, 3777...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 89, 40, 29, 32, 6, 2357, 21680, 16736, 4674, 11300, 272, 476, 594, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which party has 24 governments?
CREATE TABLE table_name_46 ( party VARCHAR, governments VARCHAR )
SELECT party FROM table_name_46 WHERE governments = "24"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 1088, 584, 4280, 28027, 6, 10524, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1088, 65, 997, 10524, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 10524, 3274, 96, 2266, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many Games have a Score of 5–4, and Points smaller than 49?
CREATE TABLE table_name_96 (game VARCHAR, score VARCHAR, points VARCHAR)
SELECT COUNT(game) FROM table_name_96 WHERE score = "5–4" AND points < 49
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 7261, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 5880, 43, 3, 9, 17763, 13, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7261, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 2604, 3274, 96, 755, 104, 20364, 3430, 979, 3, 2, 9526, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what was the total number of cars listed ?
CREATE TABLE table_203_19 ( id number, "number" number, "builder" text, "type" text, "date" number, "length" text, "notes" text )
SELECT COUNT(*) FROM table_203_19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 2294, 41, 3, 23, 26, 381, 6, 96, 5525, 1152, 121, 381, 6, 96, 16422, 49, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 5522, 121, 381, 6, 96, 19457, 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, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 2294, 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, -10...
Name the game for l 111 126
CREATE TABLE table_30049462_8 ( game VARCHAR, score VARCHAR )
SELECT game FROM table_30049462_8 WHERE score = "L 111–126"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 3647, 4448, 357, 834, 927, 41, 467, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 467, 21, 3, 40, 3, 15866, 3, 21976, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 467, 21680, 953, 834, 5426, 3647, 4448, 357, 834, 927, 549, 17444, 427, 2604, 3274, 96, 434, 3, 15866, 104, 21976, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
In what format was the release from the Nebt068 catalog on April 11, 2005 in?
CREATE TABLE table_name_62 ( format VARCHAR, date VARCHAR, catalog VARCHAR )
SELECT format FROM table_name_62 WHERE date = "april 11, 2005" AND catalog = "nebt068"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 1910, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 10173, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 1910, 47, 8, 1576, 45, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1910, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 9694, 3105, 121, 3430, 10173, 3274, 96, 29, 15, 115, 17, 632, 3651, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which length has a Stage of 9?
CREATE TABLE table_name_37 ( length VARCHAR, stage VARCHAR )
SELECT length FROM table_name_37 WHERE stage = "9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 2475, 584, 4280, 28027, 6, 1726, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2475, 65, 3, 9, 13578, 13, 668, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2475, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 1726, 3274, 96, 1298, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average position of Eesti Põlevkivi Jõhvi when they had less than 13 points and worse than a -12 goal differential?
CREATE TABLE table_name_54 (position INTEGER, points VARCHAR, goals_ VARCHAR, __ VARCHAR)
SELECT AVG(position) FROM table_name_54 WHERE points < 13 AND goals_ + __ > -12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 4718, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 6, 1766, 834, 584, 4280, 28027, 6, 3, 834, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 4718, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 979, 3, 2, 1179, 3430, 1766, 834, 1768, 3, 834, 834, 2490, 3, 5947, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the first star of the game with record of 17-11-5?
CREATE TABLE table_27537518_6 (first_star VARCHAR, record VARCHAR)
SELECT first_star FROM table_27537518_6 WHERE record = "17-11-5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25988, 22954, 2606, 834, 948, 41, 14672, 834, 3624, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 166, 2213, 13, 8, 467, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 3624, 21680, 953, 834, 25988, 22954, 2606, 834, 948, 549, 17444, 427, 1368, 3274, 96, 2517, 9169, 18, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When 13,895 (27.3) is the percentage against what is the toll poll percentage?
CREATE TABLE table_20683381_3 ( total_poll___percentage_ VARCHAR, against___percentage_ VARCHAR )
SELECT total_poll___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "13,895 (27.3)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3651, 4201, 4959, 834, 519, 41, 792, 834, 3233, 40, 834, 834, 834, 883, 3728, 545, 834, 584, 4280, 28027, 6, 581, 834, 834, 834, 883, 3728, 545, 834, 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, 792, 834, 3233, 40, 834, 834, 834, 883, 3728, 545, 834, 21680, 953, 834, 1755, 3651, 4201, 4959, 834, 519, 549, 17444, 427, 581, 834, 834, 834, 883, 3728, 545, 834, 3274, 96, 2368, 6, 3914, 755, 4743, 27914, 61, 1...
What's the event that happened in Gander, Newfoundland and Labrador with Randy Ferbey runner-up?
CREATE TABLE table_64928 ( "Event" text, "Date" text, "Location" text, "Winning skip" text, "Runner-up skip" text )
SELECT "Event" FROM table_64928 WHERE "Runner-up skip" = 'randy ferbey' AND "Location" = 'gander, newfoundland and labrador'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3647, 2577, 41, 96, 427, 2169, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 518, 10503, 11202, 121, 1499, 6, 96, 23572, 18, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 427, 2169, 121, 21680, 953, 834, 948, 3647, 2577, 549, 17444, 427, 96, 23572, 18, 413, 11202, 121, 3274, 3, 31, 52, 232, 63, 3, 1010, 346, 63, 31, 3430, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 122, 11849, ...
Which team has 7757 as the average?
CREATE TABLE table_73345 ( "Team" text, "Stadium" text, "Match played" text, "Highest" real, "Lowest" real, "Average" real )
SELECT "Team" FROM table_73345 WHERE "Average" = '7757'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 519, 2128, 41, 96, 18699, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 329, 14547, 1944, 121, 1499, 6, 96, 21417, 222, 121, 490, 6, 96, 434, 32, 12425, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 121, 21680, 953, 834, 4552, 519, 2128, 549, 17444, 427, 96, 188, 624, 545, 121, 3274, 3, 31, 4013, 3436, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
In 1972, how many points did the entrant with the March 721G Chassis have?
CREATE TABLE table_69830 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT "Points" FROM table_69830 WHERE "Year" > '1972' AND "Chassis" = 'march 721g'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 927, 1458, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22512, 7, 121, 21680, 953, 834, 3951, 927, 1458, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 5865, 31, 3430, 96, 3541, 6500, 7, 121, 3274, 3, 31, 51, 7064, 489, 2658, 122, 31, 1, -100, -100, -100...
count the number of patients whose insurance is medicare and procedure short title is iv infusion clofarabine?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Medicare" AND procedures.short_title = "IV infusion clofarabine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What was the distance when the weight was 6.11?
CREATE TABLE table_name_21 (distance VARCHAR, weight VARCHAR)
SELECT distance FROM table_name_21 WHERE weight = 6.11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 26, 23, 8389, 584, 4280, 28027, 6, 1293, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2357, 116, 8, 1293, 47, 4357, 2596, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2357, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 1293, 3274, 4357, 2596, 1, -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 to par difference between betty jameson and patty berg ?
CREATE TABLE table_204_355 ( id number, "#" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number )
SELECT (SELECT "to par" FROM table_204_355 WHERE "player" = 'betty jameson') - (SELECT "to par" FROM table_204_355 WHERE "player" = 'patty berg')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2469, 755, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 1499, 6, 96, 20846, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 235, 260, 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, 41, 23143, 14196, 96, 235, 260, 121, 21680, 953, 834, 26363, 834, 2469, 755, 549, 17444, 427, 96, 20846, 121, 3274, 3, 31, 8805, 63, 7620, 15, 739, 31, 61, 3, 18, 41, 23143, 14196, 96, 235, 260, 121, 21680, 953, ...
Name who wrote the episode by lawrence trilling
CREATE TABLE table_27504682_1 ( written_by VARCHAR, directed_by VARCHAR )
SELECT written_by FROM table_27504682_1 WHERE directed_by = "Lawrence Trilling"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 9979, 4448, 4613, 834, 536, 41, 1545, 834, 969, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 113, 2832, 8, 5640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1545, 834, 969, 21680, 953, 834, 357, 9979, 4448, 4613, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 3612, 210, 52, 1433, 2702, 12013, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many Losses have a Millewa of nangiloc?
CREATE TABLE table_name_13 ( losses VARCHAR, millewa VARCHAR )
SELECT COUNT(losses) FROM table_name_13 WHERE millewa = "nangiloc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 8467, 584, 4280, 28027, 6, 3293, 15, 210, 9, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3144, 2260, 43, 3, 9, 4185, 15, 210, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 3293, 15, 210, 9, 3274, 96, 29, 1468, 23, 5133, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the number of result for maroa
CREATE TABLE table_22157 ( "Year (Ceremony)" text, "Original title" text, "Film title used in nomination" text, "Director" text, "Result" text )
SELECT COUNT("Result") FROM table_22157 WHERE "Film title used in nomination" = 'Maroa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 27452, 41, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 121, 1499, 6, 96, 371, 173, 51, 2233, 261, 16, 13588, 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, 20119, 8512, 21680, 953, 834, 2884, 27452, 549, 17444, 427, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 3274, 3, 31, 7286, 32, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score of the game against the Royals when the record was 24 52?
CREATE TABLE table_name_75 ( score VARCHAR, opponent VARCHAR, record VARCHAR )
SELECT score FROM table_name_75 WHERE opponent = "royals" AND record = "24–52"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 2604, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 467, 581,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 15264, 3274, 96, 8170, 5405, 121, 3430, 1368, 3274, 96, 2266, 104, 5373, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For each zip code, find the ids of all trips that have a higher average mean temperature above 60?
CREATE TABLE status ( station_id number, bikes_available number, docks_available number, time text ) CREATE TABLE trip ( id number, duration number, start_date text, start_station_name text, start_station_id number, end_date text, end_station_name text, end_station_id number, bike_id number, subscription_type text, zip_code number ) CREATE TABLE weather ( date text, max_temperature_f number, mean_temperature_f number, min_temperature_f number, max_dew_point_f number, mean_dew_point_f number, min_dew_point_f number, max_humidity number, mean_humidity number, min_humidity number, max_sea_level_pressure_inches number, mean_sea_level_pressure_inches number, min_sea_level_pressure_inches number, max_visibility_miles number, mean_visibility_miles number, min_visibility_miles number, max_wind_speed_mph number, mean_wind_speed_mph number, max_gust_speed_mph number, precipitation_inches number, cloud_cover number, events text, wind_dir_degrees number, zip_code number ) CREATE TABLE station ( id number, name text, lat number, long number, dock_count number, city text, installation_date text )
SELECT T1.id FROM trip AS T1 JOIN weather AS T2 ON T1.zip_code = T2.zip_code GROUP BY T2.zip_code HAVING AVG(T2.mean_temperature_f) > 60
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2637, 41, 2478, 834, 23, 26, 381, 6, 13490, 834, 28843, 381, 6, 12908, 7, 834, 28843, 381, 6, 97, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1469, 41, 3, 23,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23, 26, 21680, 1469, 6157, 332, 536, 3, 15355, 3162, 1969, 6157, 332, 357, 9191, 332, 5411, 13453, 834, 4978, 3274, 332, 4416, 13453, 834, 4978, 350, 4630, 6880, 272, 476, 332, 4416, 13453, 834, 4978, 454, ...
What is the Country of the Player with a To par of +1 and a Score of 72-71=143?
CREATE TABLE table_name_99 ( country VARCHAR, to_par VARCHAR, score VARCHAR )
SELECT country FROM table_name_99 WHERE to_par = "+1" AND score = 72 - 71 = 143
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 684, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6993, 13, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 12, 834, 1893, 3274, 96, 18446, 121, 3430, 2604, 3274, 9455, 3, 18, 3, 4450, 3274, 3, 25133, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
On the date of june 7 what was the score?
CREATE TABLE table_name_31 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_name_31 WHERE date = "june 7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 8, 833, 13, 3, 6959, 15, 489, 125, 47, 8, 2604, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 833, 3274, 96, 6959, 15, 489, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average attendance that has april 12 as the date?
CREATE TABLE table_name_14 ( attendance INTEGER, date VARCHAR )
SELECT AVG(attendance) FROM table_name_14 WHERE date = "april 12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 11364, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 11364, 24, 65, 3, 9, 2246, 40, 586, 38, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 586, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which builder has a fleet series of s057-s061?
CREATE TABLE table_79347 ( "Year" text, "Builder" text, "Model" text, "Length (ft)" real, "Propulsion" text, "Fleet series" text, "Total" text, "Notes" text )
SELECT "Builder" FROM table_79347 WHERE "Fleet series" = 's057-s061'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 519, 4177, 41, 96, 476, 2741, 121, 1499, 6, 96, 24752, 49, 121, 1499, 6, 96, 24663, 121, 1499, 6, 96, 434, 4606, 189, 41, 89, 17, 61, 121, 490, 6, 96, 3174, 20567...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24752, 49, 121, 21680, 953, 834, 4440, 519, 4177, 549, 17444, 427, 96, 371, 109, 15, 17, 939, 121, 3274, 3, 31, 7, 632, 3436, 18, 7, 632, 4241, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Venue of the Friendly Competition with a Score of 1 4?
CREATE TABLE table_name_58 ( venue VARCHAR, competition VARCHAR, score VARCHAR )
SELECT venue FROM table_name_58 WHERE competition = "friendly" AND score = "1–4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 5669, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 29940, 13, 8, 27105, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 2259, 3274, 96, 4905, 121, 3430, 2604, 3274, 96, 536, 104, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What are the colors for the enrollment of 2020?
CREATE TABLE table_27653955_1 ( colors VARCHAR, enrollment VARCHAR )
SELECT colors FROM table_27653955_1 WHERE enrollment = 2020
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4122, 3288, 3769, 834, 536, 41, 2602, 584, 4280, 28027, 6, 17938, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 2602, 21, 8, 17938, 13, 6503, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2602, 21680, 953, 834, 2555, 4122, 3288, 3769, 834, 536, 549, 17444, 427, 17938, 3274, 6503, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the lowest disposable USD 2011?
CREATE TABLE table_24486462_1 ( disposable_usd_2011 INTEGER )
SELECT MIN(disposable_usd_2011) FROM table_24486462_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3707, 4389, 4056, 834, 536, 41, 26139, 834, 302, 26, 834, 13907, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 26139, 9513, 2722, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 10475, 32, 7, 179, 834, 302, 26, 834, 13907, 61, 21680, 953, 834, 2266, 3707, 4389, 4056, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which position has a club of Meralomas and a player named David Biddle?
CREATE TABLE table_name_59 (position VARCHAR, club_province VARCHAR, player VARCHAR)
SELECT position FROM table_name_59 WHERE club_province = "meralomas" AND player = "david biddle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 4718, 584, 4280, 28027, 6, 1886, 834, 1409, 2494, 565, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1102, 65, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 1886, 834, 1409, 2494, 565, 3274, 96, 935, 138, 32, 2754, 121, 3430, 1959, 3274, 96, 26, 9, 6961, 2647, 8437, 121, 1, -100, -100, -100, -100, -100, -100, -100...
What is the average number of Gold when the total is 11 with more than 2 silver?
CREATE TABLE table_34667 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT AVG("Gold") FROM table_34667 WHERE "Total" = '11' AND "Silver" > '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4448, 3708, 41, 96, 22557, 121, 490, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23576, 8512, 21680, 953, 834, 519, 4448, 3708, 549, 17444, 427, 96, 3696, 1947, 121, 3274, 3, 31, 2596, 31, 3430, 96, 134, 173, 624, 121, 2490, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100,...
How many average wins have USA as the team?
CREATE TABLE table_name_25 (wins INTEGER, team VARCHAR)
SELECT AVG(wins) FROM table_name_25 WHERE team = "usa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 3757, 7, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1348, 9204, 43, 2312, 38, 8, 372, 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, 71, 17217, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 372, 3274, 96, 302, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What event is defending champion the total?
CREATE TABLE table_name_4 ( event VARCHAR, total VARCHAR )
SELECT event FROM table_name_4 WHERE total = "defending champion"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 605, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 605, 19, 3, 20309, 6336, 8, 792, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 605, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 792, 3274, 96, 20309, 6336, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who wrote episode number 48
CREATE TABLE table_20098479_1 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_20098479_1 WHERE no_in_series = 48
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16660, 4608, 4440, 834, 536, 41, 14973, 834, 969, 584, 4280, 28027, 6, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 2832, 5640, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1545, 834, 969, 21680, 953, 834, 16660, 4608, 4440, 834, 536, 549, 17444, 427, 150, 834, 77, 834, 10833, 7, 3274, 4678, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is seat no 1 when the mayor was john j. seguier
CREATE TABLE table_2231241_1 (seat_no_1 VARCHAR, mayor VARCHAR)
SELECT seat_no_1 FROM table_2231241_1 WHERE mayor = "John J. Seguier"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2773, 2122, 4853, 834, 536, 41, 7, 1544, 834, 29, 32, 834, 536, 584, 4280, 28027, 6, 18176, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 3143, 150, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3143, 834, 29, 32, 834, 536, 21680, 953, 834, 357, 2773, 2122, 4853, 834, 536, 549, 17444, 427, 18176, 3274, 96, 18300, 446, 5, 679, 7938, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
give me the number of patients whose drug route is pb?
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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.route = "PB"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is Record, when Date is "November 22"?
CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_72 WHERE date = "november 22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 60, 7621, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 11392, 6, 116, 7678, 19, 96, 28635, 1630, 121, 58, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 1630, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many patients are diagnosed with icd9 code 7098 and have abnormal lab test status?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "7098" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What is February, when Record is "21-29-11"?
CREATE TABLE table_name_46 (february VARCHAR, record VARCHAR)
SELECT february FROM table_name_46 WHERE record = "21-29-11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 89, 15, 9052, 1208, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2083, 6, 116, 11392, 19, 96, 2658, 18, 316...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 29976, 76, 1208, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 1368, 3274, 96, 2658, 18, 3166, 9169, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Constituency number for Bikhangaon with a Reserved for ( SC / ST /None) of st?
CREATE TABLE table_name_11 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
SELECT constituency_number FROM table_name_11 WHERE reserved_for___sc___st__none_ = "st" AND name = "bikhangaon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 8056, 17, 155, 76, 4392, 834, 5525, 1152, 584, 4280, 28027, 6, 14040, 834, 1161, 834, 834, 834, 7, 75, 834, 834, 834, 7, 17, 834, 834, 29, 782, 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, 6439, 4392, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 14040, 834, 1161, 834, 834, 834, 7, 75, 834, 834, 834, 7, 17, 834, 834, 29, 782, 834, 3274, 96, 7, 17, 121, 3430, 564, 3274, 96, 11...
Which year has a fleet number of 603?
CREATE TABLE table_35930 ( "Year" text, "Model" text, "Length" text, "Width" text, "Fleet Number" text )
SELECT "Year" FROM table_35930 WHERE "Fleet Number" = '603'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3390, 1458, 41, 96, 476, 2741, 121, 1499, 6, 96, 24663, 121, 1499, 6, 96, 434, 4606, 189, 121, 1499, 6, 96, 518, 23, 26, 189, 121, 1499, 6, 96, 371, 109, 15, 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, 476, 2741, 121, 21680, 953, 834, 519, 3390, 1458, 549, 17444, 427, 96, 371, 109, 15, 17, 7720, 121, 3274, 3, 31, 3328, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the issued serial given in 1966?
CREATE TABLE table_name_71 (serials_issued VARCHAR, issued VARCHAR)
SELECT serials_issued FROM table_name_71 WHERE issued = 1966
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 7, 15, 12042, 7, 834, 13159, 26, 584, 4280, 28027, 6, 4683, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4683, 10501, 787, 16, 2065...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10501, 7, 834, 13159, 26, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 4683, 3274, 20658, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many rounds were run at Calder Park?
CREATE TABLE table_58052 ( "Round" real, "Circuit" text, "State" text, "Date" text, "Winning driver" text )
SELECT COUNT("Round") FROM table_58052 WHERE "Circuit" = 'calder park'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 3076, 357, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 134, 4748, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 518, 10503, 2535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 448, 32, 1106, 8512, 21680, 953, 834, 3449, 3076, 357, 549, 17444, 427, 96, 254, 23, 52, 21560, 121, 3274, 3, 31, 1489, 588, 2447, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give me a histogram for how many climbers are from each country?
CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int ) CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text )
SELECT Country, COUNT(*) FROM climber GROUP BY Country
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8147, 49, 41, 205, 9577, 49, 834, 4309, 16, 17, 6, 5570, 1499, 6, 6993, 1499, 6, 2900, 1499, 6, 4564, 7, 490, 6, 5617, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6993, 6, 2847, 17161, 599, 1935, 61, 21680, 8147, 49, 350, 4630, 6880, 272, 476, 6993, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
In how many rounds did USC participate in?
CREATE TABLE table_7539 ( "Round" real, "Pick" real, "Player" text, "Position" text, "College" text )
SELECT COUNT("Round") FROM table_7539 WHERE "College" = 'usc'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 3288, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 448, 32, 1106, 8512, 21680, 953, 834, 3072, 3288, 549, 17444, 427, 96, 9939, 7883, 121, 3274, 3, 31, 302, 75, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many trains have the number 99808
CREATE TABLE table_31074 ( "Train Number" real, "Train Name" text, "Departure Pune" text, "Arrival Lonavla" text, "Frequency" text, "Origin" text )
SELECT COUNT("Train Name") FROM table_31074 WHERE "Train Number" = '99808'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19947, 4581, 41, 96, 9402, 77, 7720, 121, 490, 6, 96, 9402, 77, 5570, 121, 1499, 6, 96, 2962, 2274, 1462, 19531, 121, 1499, 6, 96, 188, 52, 25295, 1815, 14128, 521, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 9402, 77, 5570, 8512, 21680, 953, 834, 19947, 4581, 549, 17444, 427, 96, 9402, 77, 7720, 121, 3274, 3, 31, 3264, 2079, 927, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the to par for Jiyai Shin when the place is t1?
CREATE TABLE table_name_70 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_70 WHERE place = "t1" AND player = "jiyai shin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 235, 834, 1893, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12, 260, 21, 7802...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 834, 1893, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 286, 3274, 96, 17, 536, 121, 3430, 1959, 3274, 96, 354, 23, 63, 9, 23, 3, 7, 2907, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the cpu type for june 2005 - april 2009
CREATE TABLE table_27765443_2 ( cpu_type VARCHAR, period_of_operation VARCHAR )
SELECT cpu_type FROM table_27765443_2 WHERE period_of_operation = "June 2005 - April 2009"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3959, 5062, 4906, 834, 357, 41, 3, 75, 4987, 834, 6137, 584, 4280, 28027, 6, 1059, 834, 858, 834, 22280, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 75, 4987, 834, 6137, 21680, 953, 834, 2555, 3959, 5062, 4906, 834, 357, 549, 17444, 427, 1059, 834, 858, 834, 22280, 3274, 96, 683, 444, 3105, 3, 18, 1186, 2464, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3?
CREATE TABLE table_name_42 (home VARCHAR, visitor VARCHAR, series VARCHAR)
SELECT home FROM table_name_42 WHERE visitor = "ny rangers" AND series = "flyers win 4–3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 5515, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 6, 939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1210, 65, 3, 9, 4957, 127, 13, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 7019, 3274, 96, 29, 63, 620, 52, 7, 121, 3430, 939, 3274, 96, 89, 120, 277, 1369, 314, 104, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What role is Kevin Bishop the actor?
CREATE TABLE table_36173 ( "Character" text, "Actor" text, "Duration" text, "Role" text, "Appearances" text )
SELECT "Role" FROM table_36173 WHERE "Actor" = 'kevin bishop'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 2517, 519, 41, 96, 18947, 2708, 49, 121, 1499, 6, 96, 188, 5317, 121, 1499, 6, 96, 12998, 2661, 121, 1499, 6, 96, 448, 32, 109, 121, 1499, 6, 96, 9648, 2741, 663, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 448, 32, 109, 121, 21680, 953, 834, 3420, 2517, 519, 549, 17444, 427, 96, 188, 5317, 121, 3274, 3, 31, 1050, 2494, 25214, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
tell me the long title of procedure for patient with patient id 29541.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) 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 procedures.long_title FROM procedures WHERE procedures.subject_id = "29541"
[ 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, 4293, 5, 2961, 834, 21869, 21680, 4293, 549, 17444, 427, 4293, 5, 7304, 11827, 834, 23, 26, 3274, 96, 357, 3301, 4853, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the FSB / HT (MHz) when the Southbridge is amd-8131 amd-8132?
CREATE TABLE table_80016 ( "Model" text, "Code name" text, "CPU support" text, "FSB / HT (MHz)" text, "Southbridge" text )
SELECT "FSB / HT (MHz)" FROM table_80016 WHERE "Southbridge" = 'amd-8131 amd-8132'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 6192, 2938, 41, 96, 24663, 121, 1499, 6, 96, 22737, 564, 121, 1499, 6, 96, 254, 10744, 380, 121, 1499, 6, 96, 7674, 279, 3, 87, 3, 10966, 41, 20210, 61, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7674, 279, 3, 87, 3, 10966, 41, 20210, 61, 121, 21680, 953, 834, 6192, 2938, 549, 17444, 427, 96, 22081, 9818, 121, 3274, 3, 31, 265, 26, 6039, 22048, 183, 26, 6039, 23757, 31, 1, -100, -100, -100, -100, -100,...
What year's Season had an Overall of 77?
CREATE TABLE table_53194 ( "Season" real, "Overall" text, "Slalom" text, "Super G" text, "Downhill" text, "Combined" text )
SELECT "Season" FROM table_53194 WHERE "Overall" = '77'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 2294, 591, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 23847, 1748, 121, 1499, 6, 96, 134, 40, 138, 32, 51, 121, 1499, 6, 96, 23290, 350, 121, 1499, 6, 96, 308, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 4867, 2294, 591, 549, 17444, 427, 96, 23847, 1748, 121, 3274, 3, 31, 4013, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who was hired before 2002-06-21, find hire_date and the amount of hire_date bin hire_date by weekday, and visualize them by a bar chart.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 2847, 17161, 599, 566, 14132, 834, 308, 6048, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 1, -100, -100, -100, -100, -100, ...
What bullet does the gun with a shoulder measurement of 12.5 (.491)?
CREATE TABLE table_33692 ( "Name" text, "Bullet" text, "Length" text, "Base" text, "Shoulder" text, "Neck" text )
SELECT "Bullet" FROM table_33692 WHERE "Shoulder" = '12.5 (.491)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 3951, 357, 41, 96, 23954, 121, 1499, 6, 96, 279, 83, 1655, 121, 1499, 6, 96, 434, 4606, 189, 121, 1499, 6, 96, 14885, 15, 121, 1499, 6, 96, 10499, 7115, 588, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 279, 83, 1655, 121, 21680, 953, 834, 4201, 3951, 357, 549, 17444, 427, 96, 10499, 7115, 588, 121, 3274, 3, 31, 9368, 755, 41, 5, 3647, 6982, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Find the average age and experience working length of journalists working on different role type.
CREATE TABLE news_report ( journalist_id number, event_id number, work_type text ) CREATE TABLE event ( event_id number, date text, venue text, name text, event_attendance number ) CREATE TABLE journalist ( journalist_id number, name text, nationality text, age text, years_working number )
SELECT AVG(t1.age), AVG(years_working), t2.work_type FROM journalist AS t1 JOIN news_report AS t2 ON t1.journalist_id = t2.journalist_id GROUP BY t2.work_type
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1506, 834, 60, 1493, 41, 9994, 834, 23, 26, 381, 6, 605, 834, 23, 26, 381, 6, 161, 834, 6137, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 605, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 17, 5411, 545, 201, 71, 17217, 599, 1201, 7, 834, 9238, 201, 3, 17, 4416, 1981, 834, 6137, 21680, 9994, 6157, 3, 17, 536, 3, 15355, 3162, 1506, 834, 60, 1493, 6157, 3, 17, 357, 9191, 3, 17, 5411,...
What date was the game played in seattle center coliseum 12,126?
CREATE TABLE table_27902171_7 (date VARCHAR, location_attendance VARCHAR)
SELECT date FROM table_27902171_7 WHERE location_attendance = "Seattle Center Coliseum 12,126"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2394, 2658, 4450, 834, 940, 41, 5522, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 8, 467, 1944, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2555, 2394, 2658, 4450, 834, 940, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 134, 15, 9, 8692, 1166, 3043, 159, 15, 440, 10440, 21976, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
What is the Higgins with a Scallon that is 2%?
CREATE TABLE table_43238 ( "Date" text, "Source" text, "Polling Agency" text, "Davis" text, "Gallagher" text, "Higgins" text, "McGuinness" text, "Mitchell" text, "Norris" text, "Scallon" text )
SELECT "Higgins" FROM table_43238 WHERE "Scallon" = '2%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2668, 3747, 41, 96, 308, 342, 121, 1499, 6, 96, 23799, 121, 1499, 6, 96, 8931, 697, 7038, 121, 1499, 6, 96, 308, 2960, 7, 121, 1499, 6, 96, 517, 138, 5430, 760, 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, 12146, 122, 19655, 121, 21680, 953, 834, 591, 2668, 3747, 549, 17444, 427, 96, 134, 16482, 106, 121, 3274, 3, 31, 5406, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the quantity made when the manufacturer was 4-6-2 oooooo pacific?
CREATE TABLE table_name_7 ( quantity_made VARCHAR, manufacturer VARCHAR )
SELECT quantity_made FROM table_name_7 WHERE manufacturer = "4-6-2 — oooooo — pacific"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 8708, 834, 4725, 584, 4280, 28027, 6, 4818, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 8708, 263, 116, 8, 4818, 47, 7769, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8708, 834, 4725, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 4818, 3274, 96, 20445, 4949, 3, 318, 3, 32, 32, 16780, 3, 318, 3, 5379, 3286, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many grids have more than 24 laps with a time/retired of +1:12.208?
CREATE TABLE table_name_96 ( grid INTEGER, time_retired VARCHAR, laps VARCHAR )
SELECT SUM(grid) FROM table_name_96 WHERE time_retired = "+1:12.208" AND laps > 24
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 8634, 3, 21342, 17966, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 8634, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 18446, 10, 9368, 23946, 121, 3430, 14941, 7, 2490, 997, 1, -100, -100, -100, -100, -100, -100, -100, -...
Draw a bar chart for what is the average base price of rooms, for each bed type?, I want to show bedType from high to low order.
CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER ) CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT )
SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType ORDER BY bedType DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 27659, 7, 41, 3636, 3, 21342, 17966, 6, 4181, 3, 3463, 4, 382, 6, 1972, 1570, 3, 3463, 4, 382, 6, 1972, 15767, 3, 3463, 4, 382, 6, 13002, 17833, 6, 2506, 23954, 3, 3463, 4, 382, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1953, 25160, 6, 71, 17217, 599, 10925, 345, 4920, 61, 21680, 4181, 7, 350, 4630, 6880, 272, 476, 1953, 25160, 4674, 11300, 272, 476, 1953, 25160, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total number of Round, when Position is 2B?
CREATE TABLE table_45027 ( "Player" text, "Position" text, "Round" real, "Overall" real, "MLB Team" text )
SELECT COUNT("Round") FROM table_45027 WHERE "Position" = '2b'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10593, 2555, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 448, 32, 1106, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 6858, 279, 2271, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 448, 32, 1106, 8512, 21680, 953, 834, 10593, 2555, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 357, 115, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients whose year of birth is less than 2098 and drug code is csa50i?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2098" AND prescriptions.formulary_drug_cd = "CSA50I"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Who are the semi finalists on the week of 12 june, when the runner-up is listed as Lori McNeil?
CREATE TABLE table_76096 ( "Week of" text, "Tier" text, "Winner" text, "Runner-up" text, "Semi finalists" text )
SELECT "Semi finalists" FROM table_76096 WHERE "Week of" = '12 june' AND "Runner-up" = 'lori mcneil'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28212, 4314, 41, 96, 518, 10266, 13, 121, 1499, 6, 96, 382, 972, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 23572, 18, 413, 121, 1499, 6, 96, 134, 15, 51, 23, 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, 134, 15, 51, 23, 3, 28077, 121, 21680, 953, 834, 28212, 4314, 549, 17444, 427, 96, 518, 10266, 13, 121, 3274, 3, 31, 2122, 3, 6959, 15, 31, 3430, 96, 23572, 18, 413, 121, 3274, 3, 31, 322, 23, 3, 51, 75, ...
provide me with the number of patients admitted before 2177 who had infusion of vasopressor.
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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2177" AND procedures.short_title = "Infusion of vasopressor"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the winners share ($) that has atlanta classic as the tournament?
CREATE TABLE table_34586 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "Winner's share ( $ )" text )
SELECT "Winner's share ( $ )" FROM table_34586 WHERE "Tournament" = 'atlanta classic'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2128, 3840, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 9022...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18455, 687, 31, 7, 698, 41, 1514, 3, 61, 121, 21680, 953, 834, 519, 2128, 3840, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 144, 6761, 9, 2431, 31, 1, -100, -100, -100, -100, -100, -100, -10...
steve maestas represented nai maestas and ward on the board of directors , bu he also served as what position on the board of directors ?
CREATE TABLE table_204_325 ( id number, "class" text, "name" text, "company" text, "residence" text, "term expires dec 31" number, "notes" text )
SELECT "notes" FROM table_204_325 WHERE "name" = 'steve maestas'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 519, 1828, 41, 3, 23, 26, 381, 6, 96, 4057, 121, 1499, 6, 96, 4350, 121, 1499, 6, 96, 29179, 121, 1499, 6, 96, 60, 1583, 3772, 121, 1499, 6, 96, 1987, 8982,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7977, 7, 121, 21680, 953, 834, 26363, 834, 519, 1828, 549, 17444, 427, 96, 4350, 121, 3274, 3, 31, 849, 162, 954, 222, 9, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the procedure short title of procedure icd9 code 598?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT procedures.short_title FROM procedures WHERE procedures.icd9_code = "598"
[ 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, 4293, 5, 7, 14184, 834, 21869, 21680, 4293, 549, 17444, 427, 4293, 5, 447, 26, 1298, 834, 4978, 3274, 96, 755, 3916, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Decile number for St Mary's Catholic School?
CREATE TABLE table_name_33 (decile VARCHAR, name VARCHAR)
SELECT decile FROM table_name_33 WHERE name = "st mary's catholic school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 24223, 109, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 14600, 109, 381, 21, 472, 3790, 31, 7, 6502, 112...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7908, 109, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 564, 3274, 96, 7, 17, 3157, 63, 31, 7, 1712, 26641, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what are the hospitals admission times of patient 006-188114 since 2105?
CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime 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 allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE 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 cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time )
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '006-188114' AND STRFTIME('%y', patient.hospitaladmittime) >= '2105'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11963, 670, 2562, 41, 11963, 670, 2562, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2358, 8292, 1499, 6, 2358, 40, 10333, 1499, 6, 2358, 7480, 35, 76, 17552, 381, 6, 11963, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 31386, 20466, 17, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 1206, 948, 18, 25794, 18959, 31, 3430, 3, 13733, 6245, 15382, 599, 31, 1454, 63, 31, 6, 1868, 5, 31386, 20466, ...
How many intro dates have the price of 686 ?
CREATE TABLE table_31332 ( "Manufacturer" text, "Model" text, "Intro Date" text, "Interface" text, "OS" text, "Price (USD)" real, "Price" text, "Throughput" text )
SELECT COUNT("Intro Date") FROM table_31332 WHERE "Price" = '686€'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2368, 2668, 41, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 24663, 121, 1499, 6, 96, 1570, 17, 52, 32, 7678, 121, 1499, 6, 96, 17555, 4861, 121, 1499, 6, 96, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 1570, 17, 52, 32, 7678, 8512, 21680, 953, 834, 519, 2368, 2668, 549, 17444, 427, 96, 345, 4920, 121, 3274, 3, 31, 3651, 948, 3378, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total attendance in a week greater than 1 with an opponent of Philadelphia Eagles?
CREATE TABLE table_name_92 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT COUNT(attendance) FROM table_name_92 WHERE week > 1 AND opponent = "philadelphia eagles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 15116, 663, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 11364, 16, 3, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 471, 2490, 209, 3430, 15264, 3274, 96, 18118, 15311, 11692, 9, 3, 15, 9, 3537, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100...
For what class is the laps 66?
CREATE TABLE table_name_65 (class VARCHAR, laps VARCHAR)
SELECT class FROM table_name_65 WHERE laps = 66
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 4057, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 242, 125, 853, 19, 8, 14941, 7, 3, 3539, 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, 853, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 14941, 7, 3274, 3, 3539, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the host team on December 19?
CREATE TABLE table_11237 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text )
SELECT "Host Team" FROM table_11237 WHERE "Date" = 'december 19'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 357, 4118, 41, 96, 308, 342, 121, 1499, 6, 96, 30338, 2271, 121, 1499, 6, 96, 371, 10270, 17763, 121, 1499, 6, 96, 566, 3481, 2271, 121, 1499, 6, 96, 134, 17, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 566, 3481, 2271, 121, 21680, 953, 834, 2596, 357, 4118, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 221, 75, 18247, 957, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score at valley parade on 10/6/01?
CREATE TABLE table_name_74 ( score VARCHAR, venue VARCHAR, date VARCHAR )
SELECT score FROM table_name_74 WHERE venue = "valley parade" AND date = "10/6/01"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 2604, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 44, 10645, 16314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 5669, 3274, 96, 2165, 1306, 16314, 121, 3430, 833, 3274, 96, 1714, 18656, 87, 4542, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the away side that playes at lake oval?
CREATE TABLE table_name_12 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_12 WHERE venue = "lake oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 550, 596, 24, 577, 15, 7, 44, 6957, 17986...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 5669, 3274, 96, 16948, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which City has a Stadium of stadio artemio franchi, florence?
CREATE TABLE table_name_80 (city VARCHAR, stadium VARCHAR)
SELECT city FROM table_name_80 WHERE stadium = "stadio artemio franchi, florence"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 6726, 584, 4280, 28027, 6, 14939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 896, 65, 3, 9, 12750, 13, 3342, 26, 23, 32, 768, 15, 51, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 690, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 14939, 3274, 96, 2427, 26, 23, 32, 768, 15, 51, 23, 32, 26168, 6, 3, 28138, 3772, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
provide the number of patients taking medication via pr route who have been diagnosed with opioid dependence-unspecified.
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Opioid dependence-unspec" AND prescriptions.route = "PR"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
For the tournament played Nov 13, 1988, ending with a margin of victory of 5 strokes, who was the runner-up?
CREATE TABLE table_40790 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Runner(s)-up" FROM table_40790 WHERE "Margin of victory" = '5 strokes' AND "Date" = 'nov 13, 1988'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 940, 2394, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 7286, 122, 77, 13, 6224, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23572, 599, 7, 61, 18, 413, 121, 21680, 953, 834, 2445, 940, 2394, 549, 17444, 427, 96, 7286, 122, 77, 13, 6224, 121, 3274, 3, 31, 755, 9529, 7, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 5326, 10670, 10414, ...
Show me the number of booking start date by booking start date in a histogram
CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT ) CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME )
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 834, 13355, 53, 7, 41, 3, 6789, 834, 2567, 53, 834, 23, 26, 3, 21342, 17966, 6, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 3886, 834, 23, 26, 3, 21342, 17966, 6, 5038, 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, 5038, 834, 10208, 834, 5522, 6, 2847, 17161, 599, 2567, 53, 834, 10208, 834, 5522, 61, 21680, 15970, 834, 13355, 53, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For the game where the opponent is listed as At Los Angeles Rams, what was the final score?
CREATE TABLE table_49722 ( "Date" text, "Opponent" text, "Result" text, "Score" text, "Record" text, "Location" text, "Attendance" real )
SELECT "Score" FROM table_49722 WHERE "Opponent" = 'at los angeles rams'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 5865, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3647, 5865, 357, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 144, 10381, 11831, 15, 7, 3, 2375, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Margin of Victory, when Tournament is Mercedes Championships (3)?
CREATE TABLE table_name_24 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_24 WHERE tournament = "mercedes championships (3)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 1635, 122, 77, 834, 858, 834, 7287, 10972, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 16409, 77, 13, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6346, 834, 858, 834, 7287, 10972, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 5892, 3274, 96, 935, 565, 1395, 10183, 7, 10153, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
who is the entrant when the points is 42 (45) and the chassis is brabham bt20?
CREATE TABLE table_name_25 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_25 WHERE points = "42 (45)" AND chassis = "brabham bt20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 295, 3569, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 113, 19, 8, 3, 295, 3569, 116, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3, 295, 3569, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 979, 3274, 96, 4165, 41, 2128, 61, 121, 3430, 22836, 3274, 96, 1939, 115, 1483, 3, 115, 17, 1755, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
How many customers are there?
CREATE TABLE bank (no_of_customers INTEGER)
SELECT SUM(no_of_customers) FROM bank
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2137, 41, 29, 32, 834, 858, 834, 25697, 277, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 722, 33, 132, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 180, 6122, 599, 29, 32, 834, 858, 834, 25697, 277, 61, 21680, 2137, 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, -1...
What director worked with Al Mackay as writer?
CREATE TABLE table_name_61 (director_s_ VARCHAR, writer_s_ VARCHAR)
SELECT director_s_ FROM table_name_61 WHERE writer_s_ = "al mackay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 25982, 834, 7, 834, 584, 4280, 28027, 6, 4346, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2090, 1279, 28, 901, 2143, 18075, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2090, 834, 7, 834, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 4346, 834, 7, 834, 3274, 96, 138, 11486, 18075, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who was hired before 2002-06-21, give me the comparison about the average of employee_id over the hire_date bin hire_date by time, and show in ascending by the Y.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY AVG(EMPLOYEE_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 7...
total number of attendees at the two games against the new england patriots during the season
CREATE TABLE table_204_443 ( id number, "week" number, "date" text, "opponent" text, "result" text, "game site" text, "attendance" number, "bye" text )
SELECT SUM("attendance") FROM table_204_443 WHERE "opponent" = 'new england patriots'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3628, 519, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 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, 180, 6122, 599, 121, 15116, 663, 8512, 21680, 953, 834, 26363, 834, 3628, 519, 549, 17444, 427, 96, 32, 102, 9977, 121, 3274, 3, 31, 5534, 3, 4606, 40, 232, 6234, 12884, 7, 31, 1, -100, -100, -100, -100, -100, -10...
Who was the constructor of the car driven by Heikki Kovalainen?
CREATE TABLE table_name_39 ( constructor VARCHAR, driver VARCHAR )
SELECT constructor FROM table_name_39 WHERE driver = "heikki kovalainen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 6774, 127, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 6774, 127, 13, 8, 443, 6737, 57, 216, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6774, 127, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 2535, 3274, 96, 88, 23, 8511, 23, 3, 9789, 138, 9, 77, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the production cost for the film directed by 2004?
CREATE TABLE table_name_39 ( production_cost VARCHAR, director VARCHAR )
SELECT production_cost FROM table_name_39 WHERE director = "2004"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 999, 834, 11290, 584, 4280, 28027, 6, 2090, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 999, 583, 21, 8, 814, 6640, 57, 4406, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 999, 834, 11290, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 2090, 3274, 96, 21653, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many games were played by the player with 127 assists?
CREATE TABLE table_name_61 ( games VARCHAR, assists VARCHAR )
SELECT games FROM table_name_61 WHERE assists = "127"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 1031, 584, 4280, 28027, 6, 13041, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1031, 130, 1944, 57, 8, 1959, 28, 3, 22367, 13041, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1031, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 13041, 3274, 96, 22367, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Find the first name of students who have cat or dog pet.
CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE student (Fname VARCHAR, stuid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR)
SELECT DISTINCT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' OR T3.pettype = 'dog'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 65, 834, 4995, 41, 7, 17, 76, 23, 26, 584, 4280, 28027, 6, 3947, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 371, 4350, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 332, 5411, 371, 4350, 21680, 1236, 6157, 332, 536, 3, 15355, 3162, 65, 834, 4995, 6157, 332, 357, 9191, 332, 5411, 7, 17, 76, 23, 26, 3274, 332, 4416, 7, 17, 76, 23, 26, 3, 15355, 3162, 86...
what investing dragons aired on episode 10?
CREATE TABLE table_name_31 ( investing_dragon_s_ VARCHAR, episode VARCHAR )
SELECT investing_dragon_s_ FROM table_name_31 WHERE episode = "episode 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 8448, 834, 3515, 5307, 834, 7, 834, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 8448, 14580, 7, 3, 2378, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8448, 834, 3515, 5307, 834, 7, 834, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 5640, 3274, 96, 15, 102, 159, 32, 221, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which mideast regional state contains the city of Seattle?
CREATE TABLE table_name_53 (state VARCHAR, region VARCHAR, city VARCHAR)
SELECT state FROM table_name_53 WHERE region = "mideast" AND city = "seattle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 5540, 584, 4280, 28027, 6, 1719, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2076, 11535, 3518, 538, 2579, 8, 69...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 538, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 1719, 3274, 96, 6983, 11535, 121, 3430, 690, 3274, 96, 7, 15, 9, 8692, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which school has the smallest amount of professors?
CREATE TABLE professor ( dept_code VARCHAR ) CREATE TABLE department ( school_code VARCHAR, dept_code VARCHAR )
SELECT T1.school_code FROM department AS T1 JOIN professor AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.school_code ORDER BY COUNT(*) LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5812, 41, 20, 102, 17, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 496, 834, 4978, 584, 4280, 28027, 6, 20, 102, 17, 834, 4978,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6646, 834, 4978, 21680, 3066, 6157, 332, 536, 3, 15355, 3162, 5812, 6157, 332, 357, 9191, 332, 5411, 26, 6707, 834, 4978, 3274, 332, 4416, 26, 6707, 834, 4978, 350, 4630, 6880, 272, 476, 332, 5411, 6646, ...
Who are all the candidates vying for Henry B. Gonzalez' seat?
CREATE TABLE table_1341586_44 ( candidates VARCHAR, incumbent VARCHAR )
SELECT candidates FROM table_1341586_44 WHERE incumbent = "Henry B. Gonzalez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 1808, 3840, 834, 3628, 41, 4341, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 33, 66, 8, 4341, 3, 208, 8149, 21, 7780, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4341, 21680, 953, 834, 23747, 1808, 3840, 834, 3628, 549, 17444, 427, 28406, 3274, 96, 566, 35, 651, 272, 5, 31403, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of job_id and manager_id , list by the X from low to high.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) )
SELECT JOB_ID, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610, ...
On channel 32, when the power is 32 kW horizontal, what is the frequency?
CREATE TABLE table_name_32 ( frequency VARCHAR, power VARCHAR, channel VARCHAR )
SELECT frequency FROM table_name_32 WHERE power = "32 kw horizontal" AND channel = 32
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 7321, 584, 4280, 28027, 6, 579, 584, 4280, 28027, 6, 4245, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 4245, 3538, 6, 116, 8, 579, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 579, 3274, 96, 2668, 3, 157, 210, 9969, 121, 3430, 4245, 3274, 3538, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...