NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by time, could you show Y in ascending order?
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(...
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, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Which Oilers points have a Record of 10–6, and Oilers first downs larger than 14?
CREATE TABLE table_name_1 (oilers_points INTEGER, record VARCHAR, oilers_first_downs VARCHAR)
SELECT AVG(oilers_points) FROM table_name_1 WHERE record = "10–6" AND oilers_first_downs > 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 32, 173, 277, 834, 2700, 7, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 6, 1043, 277, 834, 14672, 834, 3035, 7, 584, 4280, 28027, 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, 71, 17217, 599, 32, 173, 277, 834, 2700, 7, 61, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 1368, 3274, 96, 1714, 104, 948, 121, 3430, 1043, 277, 834, 14672, 834, 3035, 7, 2490, 968, 1, -100, -100, -100, -10...
What are the dates of ceremony and results for each music festival?
CREATE TABLE volume ( volume_id number, volume_issue text, issue_date text, weeks_on_top number, song text, artist_id number ) CREATE TABLE music_festival ( id number, music_festival text, date_of_ceremony text, category text, volume number, result text ) CREATE TABLE a...
SELECT date_of_ceremony, result FROM music_festival
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2908, 41, 2908, 834, 23, 26, 381, 6, 2908, 834, 13159, 1499, 6, 962, 834, 5522, 1499, 6, 1274, 834, 106, 834, 2916, 381, 6, 2324, 1499, 6, 2377, 834, 23, 26, 381, 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, 833, 834, 858, 834, 2110, 15, 21208, 6, 741, 21680, 723, 834, 89, 24742, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What season has a 6th north finish and more than 21 points?
CREATE TABLE table_name_18 (season VARCHAR, points VARCHAR, finish VARCHAR)
SELECT season FROM table_name_18 WHERE points > 21 AND finish = "6th north"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 9476, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 1992, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 774, 65, 3, 9, 431, 189, 3457, 199...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 979, 2490, 1401, 3430, 1992, 3274, 96, 948, 189, 3457, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who produced track 7?
CREATE TABLE table_name_7 (producer_s_ VARCHAR, track VARCHAR)
SELECT producer_s_ FROM table_name_7 WHERE track = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 1409, 4817, 49, 834, 7, 834, 584, 4280, 28027, 6, 1463, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 2546, 1463, 489, 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, 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, 8211, 834, 7, 834, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1463, 3274, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the prominence in m of a col in m greater than 738?
CREATE TABLE table_name_57 (prominence__m_ VARCHAR, col__m_ INTEGER)
SELECT prominence__m_ FROM table_name_57 WHERE col__m_ > 738
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 1409, 1109, 1433, 834, 834, 51, 834, 584, 4280, 28027, 6, 7632, 834, 834, 51, 834, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3182...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31829, 834, 834, 51, 834, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 7632, 834, 834, 51, 834, 2490, 489, 3747, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the average year that has a win less than 1, yamaha as the team, with points greater than 2?
CREATE TABLE table_name_30 ( year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR )
SELECT AVG(year) FROM table_name_30 WHERE wins < 1 AND team = "yamaha" AND points > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 215, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 9204, 3, 2, 209, 3430, 372, 3274, 96, 22990, 1024, 121, 3430, 979, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many times did Super Nova Racing win with a zytek engine?
CREATE TABLE table_name_14 (wins VARCHAR, engine VARCHAR, racing_team VARCHAR)
SELECT wins FROM table_name_14 WHERE engine = "zytek" AND racing_team = "super nova racing"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 3757, 7, 584, 4280, 28027, 6, 1948, 584, 4280, 28027, 6, 8191, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 410, 2011,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9204, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 1948, 3274, 96, 4164, 15150, 121, 3430, 8191, 834, 11650, 3274, 96, 21771, 3, 14979, 8191, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
List the votes of elections in descending order.
CREATE TABLE election ( Votes VARCHAR )
SELECT Votes FROM election ORDER BY Votes DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4356, 41, 3152, 1422, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 11839, 13, 9768, 16, 3, 30960, 455, 5, 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, 3152, 1422, 21680, 4356, 4674, 11300, 272, 476, 3152, 1422, 309, 25067, 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, ...
Which Partner has Opponents in the final of john bromwich frank sedgman?
CREATE TABLE table_name_20 (partner VARCHAR, opponents_in_the_final VARCHAR)
SELECT partner FROM table_name_20 WHERE opponents_in_the_final = "john bromwich frank sedgman"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 12300, 584, 4280, 28027, 6, 16383, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5793, 65, 4495, 9977, 7, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 2397, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 16383, 834, 77, 834, 532, 834, 12406, 3274, 96, 27341, 9161, 51, 210, 362, 3, 89, 6254, 3, 3843, 122, 348, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Who had the high rebounds of the game that Deron Williams (5) had the high assists?
CREATE TABLE table_name_4 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_name_4 WHERE high_assists = "deron williams (5)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 6739, 834, 23768, 584, 4280, 28027, 6, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 306, 3, 23768, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 23768, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 306, 834, 6500, 7, 17, 7, 3274, 96, 588, 106, 56, 23, 265, 7, 3, 15757, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 2013 with virgin in 2009?
CREATE TABLE table_name_5 (Id VARCHAR)
SELECT 2013 FROM table_name_5 WHERE 2009 = "virgin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2038, 28, 24556, 16, 2464, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 2038, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 2464, 3274, 96, 5771, 122, 77, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who are the incumbents elected in 1974?
CREATE TABLE table_18227 ( "District" text, "Incumbent" text, "Party" text, "Elected" text, "Status" text, "Opponent" text )
SELECT "Incumbent" FROM table_18227 WHERE "Elected" = '1974'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 357, 2555, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 21543, 15, 26, 121, 1499, 6, 96, 134, 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, 1570, 75, 5937, 295, 121, 21680, 953, 834, 2606, 357, 2555, 549, 17444, 427, 96, 21543, 15, 26, 121, 3274, 3, 31, 2294, 4581, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which network has model nForce Professional 3400 MCP?
CREATE TABLE table_name_29 ( network VARCHAR, model VARCHAR )
SELECT network FROM table_name_29 WHERE model = "nforce professional 3400 mcp"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 1229, 584, 4280, 28027, 6, 825, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1229, 65, 825, 3, 29, 3809, 565, 4751, 220, 5548, 283, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1229, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 825, 3274, 96, 29, 10880, 771, 220, 5548, 3, 51, 75, 102, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the highest rank for less than 15 Wickets?
CREATE TABLE table_13233 ( "Rank" real, "Player" text, "Wickets" real, "Average" real, "Career" text )
SELECT MAX("Rank") FROM table_13233 WHERE "Wickets" < '15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 20879, 41, 96, 22557, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 518, 447, 8044, 7, 121, 490, 6, 96, 188, 624, 545, 121, 490, 6, 96, 6936, 15, 49, 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, 4800, 4, 599, 121, 22557, 8512, 21680, 953, 834, 2368, 20879, 549, 17444, 427, 96, 518, 447, 8044, 7, 121, 3, 2, 3, 31, 1808, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many were in attendance when the game was held in Arrowhead Stadium?
CREATE TABLE table_17972193_1 ( attendance INTEGER, game_site VARCHAR )
SELECT MIN(attendance) FROM table_17972193_1 WHERE game_site = "Arrowhead Stadium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4327, 2658, 4271, 834, 536, 41, 11364, 3, 21342, 17966, 6, 467, 834, 3585, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 130, 16, 11364, 116, 8, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15116, 663, 61, 21680, 953, 834, 2517, 4327, 2658, 4271, 834, 536, 549, 17444, 427, 467, 834, 3585, 3274, 96, 28150, 2381, 3313, 12750, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a line chart about the change of employee_id over hire_date , and rank by the x axis in asc.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,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 locations ( LOCATIO...
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY HIRE_DATE
[ 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, 262, 5244, 5017, 476, 5080, 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, 4...
count the number of patients less than 58 years who have drug code maal30l.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "58" AND prescriptions.formulary_drug_cd = "MAAL30L"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Which Overall has a College of michigan state, a Position of fb, and a Round larger than 8?
CREATE TABLE table_name_46 ( overall INTEGER, round VARCHAR, college VARCHAR, position VARCHAR )
SELECT SUM(overall) FROM table_name_46 WHERE college = "michigan state" AND position = "fb" AND round > 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 1879, 3, 21342, 17966, 6, 1751, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 9126,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 1900, 3274, 96, 51, 362, 12588, 538, 121, 3430, 1102, 3274, 96, 89, 115, 121, 3430, 1751, 2490, 505, 1, -100, -100, -100, -100, -100...
what is the record when the event is 1 km time trial?
CREATE TABLE table_8713 ( "Event" text, "Record" text, "Nationality" text, "Date" text, "Meet" text, "Place" text )
SELECT "Record" FROM table_8713 WHERE "Event" = '1 km time trial'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4225, 2368, 41, 96, 427, 2169, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 329, 15, 15, 17, 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, 1649, 7621, 121, 21680, 953, 834, 4225, 2368, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 536, 2280, 97, 3689, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
for the rank of 8 and lane less than 3 what is the name?
CREATE TABLE table_name_99 ( name VARCHAR, lane VARCHAR, rank VARCHAR )
SELECT name FROM table_name_99 WHERE lane < 3 AND rank = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 564, 584, 4280, 28027, 6, 3, 8102, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21, 8, 11003, 13, 505, 11, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 3, 8102, 3, 2, 220, 3430, 11003, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the pinyin for the English name Wuping County?
CREATE TABLE table_17395 ( "English Name" text, "Simplified" text, "Traditional" text, "Pinyin" text, "Hakka" text, "Area" real, "Population" real, "Density" real )
SELECT "Pinyin" FROM table_17395 WHERE "English Name" = 'Wuping County'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 519, 3301, 41, 96, 26749, 5570, 121, 1499, 6, 96, 134, 10296, 3676, 121, 1499, 6, 96, 9402, 10569, 138, 121, 1499, 6, 96, 345, 77, 63, 77, 121, 1499, 6, 96, 566, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 77, 63, 77, 121, 21680, 953, 834, 2517, 519, 3301, 549, 17444, 427, 96, 26749, 5570, 121, 3274, 3, 31, 518, 413, 53, 1334, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
which patients are of white ethnic background?
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 ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 15313, 14871, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the average yards for Jimmie Giles in a game larger than 15 and reception larger than 2?
CREATE TABLE table_name_81 ( yards INTEGER, player VARCHAR, games VARCHAR, reception VARCHAR )
SELECT AVG(yards) FROM table_name_81 WHERE games > 15 AND reception > 2 AND player = "jimmie giles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 6460, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 6, 6839, 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, 71, 17217, 599, 6636, 7, 61, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 1031, 2490, 627, 3430, 6839, 2490, 204, 3430, 1959, 3274, 96, 354, 603, 2720, 3, 122, 699, 7, 121, 1, -100, -100, -100, -100, -100, -...
When massachusetts 6th is the district what is the reason for vacancy?
CREATE TABLE table_2417445_4 ( reason_for_vacancy VARCHAR, district VARCHAR )
SELECT reason_for_vacancy FROM table_2417445_4 WHERE district = "Massachusetts 6th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 27693, 2128, 834, 591, 41, 1053, 834, 1161, 834, 29685, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 3294, 1836, 1074, 17, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1053, 834, 1161, 834, 29685, 21680, 953, 834, 2266, 27693, 2128, 834, 591, 549, 17444, 427, 3939, 3274, 96, 27189, 1836, 1074, 17, 17, 7, 431, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What player position was drafted in 1955?
CREATE TABLE table_32637 ( "Player" text, "Nationality" text, "Position" text, "From" text, "School/Country" text )
SELECT "Position" FROM table_32637 WHERE "From" = '1955'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2688, 4118, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 22674, 121, 1499, 6, 96, 29364, 87, 10628, 651, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 345, 32, 7, 4749, 121, 21680, 953, 834, 519, 2688, 4118, 549, 17444, 427, 96, 22674, 121, 3274, 3, 31, 2294, 3769, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the sum of all gold medals for Algeria when total medals is less than 3?
CREATE TABLE table_35005 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT SUM("Gold") FROM table_35005 WHERE "Nation" = 'algeria' AND "Total" < '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16975, 3076, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 23576, 8512, 21680, 953, 834, 16975, 3076, 549, 17444, 427, 96, 567, 257, 121, 3274, 3, 31, 138, 122, 4476, 31, 3430, 96, 3696, 1947, 121, 3, 2, 3, 31, 519, 31, 1, -100, -100, -100, -100, -1...
What is the score of game 33?
CREATE TABLE table_15780049_6 ( score VARCHAR, game VARCHAR )
SELECT score FROM table_15780049_6 WHERE game = 33
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27452, 6192, 3647, 834, 948, 41, 2604, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 467, 5400, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 27452, 6192, 3647, 834, 948, 549, 17444, 427, 467, 3274, 5400, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
who is the 2nd runner-up when the 3rd runner-up is mariannys caraballo?
CREATE TABLE table_9725 ( "Year" real, "Miss Earth Venezuela" text, "1st Runner Up" text, "2nd Runner Up" text, "3rd Runner Up" text, "4th Runner Up" text )
SELECT "2nd Runner Up" FROM table_9725 WHERE "3rd Runner Up" = 'mariannys caraballo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4327, 1828, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 159, 7, 4030, 17841, 121, 1499, 6, 96, 536, 7, 17, 3, 23572, 3234, 121, 1499, 6, 96, 357, 727, 3, 23572, 3234, 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, 357, 727, 3, 23572, 3234, 121, 21680, 953, 834, 4327, 1828, 549, 17444, 427, 96, 519, 52, 26, 3, 23572, 3234, 121, 3274, 3, 31, 17289, 15159, 7, 443, 9, 3184, 32, 31, 1, -100, -100, -100, -100, -100, -100, -...
When was the game with a record of 9-3?
CREATE TABLE table_name_65 ( date VARCHAR, record VARCHAR )
SELECT date FROM table_name_65 WHERE record = "9-3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 833, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 467, 28, 3, 9, 1368, 13, 668, 3486, 58, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1368, 3274, 96, 1298, 3486, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the airport with an ICAO of ULLI?
CREATE TABLE table_name_40 (airport VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_40 WHERE icao = "ulli"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 2256, 1493, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 3761, 28, 46, 3, 15038, 66...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3761, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 3, 2617, 32, 3274, 96, 83, 40, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what were the number of patients admitted to hospitals until 1 year ago?
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 medication ( medicatio...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE DATETIME(patient.hospitaladmittime) <= DATETIME(CURRENT_TIME(), '-1 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 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, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 309, 6048, 382, 15382, 599, 10061, 5, 31386, 20466, 17, 715, 61, 3, 2, 2423, 309, 6048, 382, 15382, 599, 5211, 12224, ...
Which Draw has a Performer of jenny newman, and Points smaller than 77?
CREATE TABLE table_name_67 (draw INTEGER, performer VARCHAR, points VARCHAR)
SELECT AVG(draw) FROM table_name_67 WHERE performer = "jenny newman" AND points < 77
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 19489, 3, 21342, 17966, 6, 1912, 49, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 19183, 65, 3, 9, 22871, 49, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 19489, 61, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 1912, 49, 3274, 96, 354, 35, 29, 63, 126, 348, 121, 3430, 979, 3, 2, 3, 4013, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the average capacity for vélez sársfield?
CREATE TABLE table_name_72 (capacity INTEGER, home_team_s_ VARCHAR)
SELECT AVG(capacity) FROM table_name_72 WHERE home_team_s_ = "vélez sársfield"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 4010, 9, 6726, 3, 21342, 17966, 6, 234, 834, 11650, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1348, 2614, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 4010, 9, 6726, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 234, 834, 11650, 834, 7, 834, 3274, 96, 8825, 40, 457, 3, 7, 2975, 52, 7, 1846, 121, 1, -100, -100, -100, -100, -100, -100, -...
Which ride opened after the 2000 Peeking Heights?
CREATE TABLE table_name_32 (type VARCHAR, opened_in VARCHAR, ride_name VARCHAR)
SELECT type FROM table_name_32 WHERE opened_in > 2000 AND ride_name = "peeking heights"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 6137, 584, 4280, 28027, 6, 2946, 834, 77, 584, 4280, 28027, 6, 2564, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2564, 2946, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 686, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 2946, 834, 77, 2490, 2766, 3430, 2564, 834, 4350, 3274, 96, 855, 15, 1765, 3902, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the value for utah when texas is humphrey?
CREATE TABLE table_name_80 ( utah VARCHAR, texas VARCHAR )
SELECT utah FROM table_name_80 WHERE texas = "humphrey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 3, 76, 17, 9, 107, 584, 4280, 28027, 6, 3, 10354, 9, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 701, 21, 3, 76, 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, 0, 0...
[ 3, 23143, 14196, 3, 76, 17, 9, 107, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 3, 10354, 9, 7, 3274, 96, 4884, 102, 107, 60, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who's in the high rebounds in the verizon center 9,263 location attendance?
CREATE TABLE table_29819 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High rebounds" FROM table_29819 WHERE "Location Attendance" = 'Verizon Center 9,263'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3916, 2294, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21417, 3, 23768, 121, 21680, 953, 834, 357, 3916, 2294, 549, 17444, 427, 96, 434, 32, 75, 257, 22497, 663, 121, 3274, 3, 31, 5000, 23, 8892, 1166, 9902, 357, 3891, 31, 1, -100, -100, -100, -100, -100, -100, -1...
How many times has the points total for the afc cup competion been 289?
CREATE TABLE table_1065 ( "Pos" real, "Member Association" text, "Points (total 500)" real, "Clubs" real, "Group stage" real, "Play-off" real, "AFC Cup" real )
SELECT COUNT("AFC Cup") FROM table_1065 WHERE "Points (total 500)" = '289'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 4122, 41, 96, 345, 32, 7, 121, 490, 6, 96, 329, 18247, 2125, 121, 1499, 6, 96, 22512, 7, 41, 235, 1947, 2899, 61, 121, 490, 6, 96, 254, 11158, 7, 121, 490, 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, 2847, 17161, 599, 121, 188, 5390, 3802, 8512, 21680, 953, 834, 1714, 4122, 549, 17444, 427, 96, 22512, 7, 41, 235, 1947, 2899, 61, 121, 3274, 3, 31, 357, 3914, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which overall's pick number was 14?
CREATE TABLE table_name_65 ( overall VARCHAR, pick__number VARCHAR )
SELECT overall FROM table_name_65 WHERE pick__number = 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 1879, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1879, 31, 7, 1432, 381, 47, 968, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1879, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1432, 834, 834, 5525, 1152, 3274, 968, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the names of shops in ascending order of open year?
CREATE TABLE shop ( Shop_Name VARCHAR, Open_Year VARCHAR )
SELECT Shop_Name FROM shop ORDER BY Open_Year
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1814, 41, 3687, 834, 23954, 584, 4280, 28027, 6, 2384, 834, 476, 2741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3056, 13, 5391, 16, 25200, 53, 455, 13, 539...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3687, 834, 23954, 21680, 1814, 4674, 11300, 272, 476, 2384, 834, 476, 2741, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When are the birthdays of customer who are classified as 'Good Customer' status, and count them by a bar chart
CREATE TABLE Customers ( customer_id INTEGER, customer_address_id INTEGER, customer_status_code VARCHAR(15), date_became_customer DATETIME, date_of_birth DATETIME, first_name VARCHAR(80), last_name VARCHAR(80), amount_outstanding DOUBLE, email_address VARCHAR(250), phone_number V...
SELECT date_of_birth, COUNT(date_of_birth) FROM Customers WHERE customer_status_code = 'Good Customer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 41, 884, 834, 23, 26, 3, 21342, 17966, 6, 884, 834, 9, 26, 12039, 834, 23, 26, 3, 21342, 17966, 6, 884, 834, 8547, 302, 834, 4978, 584, 4280, 28027, 599, 1808, 201, 833, 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, 833, 834, 858, 834, 20663, 6, 2847, 17161, 599, 5522, 834, 858, 834, 20663, 61, 21680, 16423, 549, 17444, 427, 884, 834, 8547, 302, 834, 4978, 3274, 3, 31, 20639, 7327, 31, 1, -100, -100, -100, -100, -100, -100, -10...
How many points did Linda Martin have?
CREATE TABLE table_50798 ( "Draw" real, "Artist" text, "Song" text, "Points" real, "Place" text )
SELECT COUNT("Points") FROM table_50798 WHERE "Artist" = 'linda martin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 940, 3916, 41, 96, 308, 10936, 121, 490, 6, 96, 7754, 343, 121, 1499, 6, 96, 134, 2444, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 345, 11706, 121, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22512, 7, 8512, 21680, 953, 834, 1752, 940, 3916, 549, 17444, 427, 96, 7754, 343, 121, 3274, 3, 31, 9230, 9, 3157, 17, 77, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
At what venue was the 2010 FIFA World Cup Qualification?
CREATE TABLE table_name_2 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_2 WHERE competition = "2010 fifa world cup qualification"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 15098, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 486, 125, 5669, 47, 8, 2735, 23129, 1150, 3802, 31270, 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, 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, 5669, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 2259, 3274, 96, 14926, 361, 89, 9, 296, 4119, 15513, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the highest amount of silver when gold is 0 for soviet union?
CREATE TABLE table_name_50 ( silver INTEGER, gold VARCHAR, nation VARCHAR )
SELECT MAX(silver) FROM table_name_50 WHERE gold = 0 AND nation = "soviet union"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 4294, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2030, 866, 13, 4294, 116...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 2045, 3274, 3, 632, 3430, 2982, 3274, 96, 7, 9881, 15, 17, 7021, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the number of private insurance patients who were ordered c3 lab test?
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Private" AND lab.label = "C3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the number of matches for the player in rank 8?
CREATE TABLE table_name_44 ( matches INTEGER, rank VARCHAR )
SELECT MAX(matches) FROM table_name_44 WHERE rank = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 6407, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 6407, 21, 8, 1959, 16, 11003, 505, 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, 4800, 4, 599, 19515, 15, 7, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 11003, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
If the location is Yangon, Myanmar, what is the opponent total number?
CREATE TABLE table_25428629_1 (opponent VARCHAR, location VARCHAR)
SELECT COUNT(opponent) FROM table_25428629_1 WHERE location = "Yangon, Myanmar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4165, 3840, 3166, 834, 536, 41, 32, 102, 9977, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 1128, 19, 21078, 106, 6, 27274, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 32, 102, 9977, 61, 21680, 953, 834, 1828, 4165, 3840, 3166, 834, 536, 549, 17444, 427, 1128, 3274, 96, 476, 1468, 106, 6, 27274, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where was the argentine grand prix?
CREATE TABLE table_51679 ( "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text )
SELECT "Location" FROM table_51679 WHERE "Race" = 'argentine grand prix'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2938, 4440, 41, 96, 448, 3302, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 755, 2938, 4440, 549, 17444, 427, 96, 448, 3302, 121, 3274, 3, 31, 9917, 630, 1907, 3407, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the shortest song from the album ?
CREATE TABLE table_203_37 ( id number, "#" number, "title" text, "producer(s)" text, "performer(s)" text, "length" text )
SELECT "title" FROM table_203_37 ORDER BY "length" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4118, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 21869, 121, 1499, 6, 96, 1409, 4817, 49, 599, 7, 61, 121, 1499, 6, 96, 883, 2032, 49, 599, 7, 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, 21869, 121, 21680, 953, 834, 23330, 834, 4118, 4674, 11300, 272, 476, 96, 19457, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the value of total costs (2005) in the Coldstream municipality?
CREATE TABLE table_12340907_1 ( total_costs__2005_ VARCHAR, municipality VARCHAR )
SELECT total_costs__2005_ FROM table_12340907_1 WHERE municipality = "Coldstream"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14574, 2445, 2394, 940, 834, 536, 41, 792, 834, 11290, 7, 834, 834, 22594, 834, 584, 4280, 28027, 6, 27597, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 792, 834, 11290, 7, 834, 834, 22594, 834, 21680, 953, 834, 14574, 2445, 2394, 940, 834, 536, 549, 17444, 427, 27597, 3274, 96, 9939, 26, 8103, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai?
CREATE TABLE table_38061 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text )
SELECT "FCC info" FROM table_38061 WHERE "ERP W" < '222' AND "Call sign" = 'k297ai'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22671, 4241, 41, 96, 254, 1748, 1320, 121, 1499, 6, 96, 371, 60, 835, 11298, 3, 20210, 121, 490, 6, 96, 254, 485, 13, 3344, 121, 1499, 6, 96, 3316, 345, 549, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 2823, 2845, 121, 21680, 953, 834, 22671, 4241, 549, 17444, 427, 96, 3316, 345, 549, 121, 3, 2, 3, 31, 26144, 31, 3430, 96, 254, 1748, 1320, 121, 3274, 3, 31, 157, 357, 4327, 9, 23, 31, 1, -100, -100, ...
What tournament did Nadal win and had a nadal of 16?
CREATE TABLE table_name_75 (tournament VARCHAR, winner VARCHAR)
SELECT tournament FROM table_name_75 WHERE winner = "nadal" AND "nadal" = 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5892, 410, 1823, 26, 138, 1369, 11, 141, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 4668, 3274, 96, 18089, 40, 121, 3430, 96, 18089, 40, 121, 3274, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many patients had the lab test chart time 2124-07-01 03:07:00?
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 prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.charttime = "2124-07-01 03:07:00"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
find the number of patients categorized under hematology lab test who have diagnoses of insulins and antidiabetic agents causing adverse effects in therapeutic use.
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...
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.long_title = "Insulins and antidiabetic agents causing adverse effects in therapeutic use" AND lab."CATEGORY" = "Hematology"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What is the total number of each fate? Give me the result in a bar graph, and display in desc by the the number of fate please.
CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text ) CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int )
SELECT Fate, COUNT(Fate) FROM mission GROUP BY Fate ORDER BY COUNT(Fate) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2253, 41, 8960, 834, 4309, 16, 17, 6, 15508, 834, 4309, 16, 17, 6, 3636, 1499, 6, 17113, 15, 26, 834, 476, 2741, 16, 17, 6, 10450, 1499, 6, 9913, 834, 157, 2264, 7, 16, 17, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11762, 15, 6, 2847, 17161, 599, 371, 342, 61, 21680, 2253, 350, 4630, 6880, 272, 476, 11762, 15, 4674, 11300, 272, 476, 2847, 17161, 599, 371, 342, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which pick has marko makinen as the player?
CREATE TABLE table_4129 ( "Pick" text, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT "Pick" FROM table_4129 WHERE "Player" = 'Marko Makinen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 3166, 41, 96, 345, 3142, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 372, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 3142, 121, 21680, 953, 834, 4853, 3166, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 19762, 32, 15666, 77, 35, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the date which has a home team of north melbourne
CREATE TABLE table_name_3 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_3 WHERE home_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 5522, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 84, 65, 3, 9, 234, 372, 13, 3457, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 234, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628?
CREATE TABLE table_name_2 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR)
SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" AND rating > 628
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 6254, 3, 21342, 17966, 6, 5773, 584, 4280, 28027, 6, 483, 584, 4280, 28027, 6, 2050, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 22557, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 6254, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 483, 3, 2, 8537, 3430, 2050, 3274, 96, 3007, 15, 4844, 3, 4803, 121, 3430, 5773, 2490, 431, 2577, 1, -100, -100, -100, -100, -100, -100, -1...
What is the date of the munich, germany tournament?
CREATE TABLE table_7764 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in final" text, "Score in final" text )
SELECT "Date" FROM table_7764 WHERE "Tournament" = 'munich, germany'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 4389, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9977, 16, 804, 121, 1499, 6, 96, 134...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4013, 4389, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 11760, 524, 6, 13692, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose primary disease is coronary artery disease and admission year is less than 2195?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE" AND demographic.admityear < "2195"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 5911, 13044, 24721, 11155, 5946, 476, 309, 19056, 17892, 121, 3430, 1479...
Show total hours per week and number of games played for student David Shieber.
CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE video_games ( gameid number, gname text, gtype text ) CREATE TABLE sportsinfo ( stuid number, sportname text, hoursperw...
SELECT SUM(hoursperweek), SUM(gamesplayed) FROM sportsinfo AS T1 JOIN student AS T2 ON T1.stuid = T2.stuid WHERE T2.fname = "David" AND T2.lname = "Shieber"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 21341, 23, 26, 381, 6, 3, 40, 4350, 1499, 6, 3, 89, 4350, 1499, 6, 1246, 381, 6, 3, 7, 994, 1499, 6, 779, 381, 6, 8815, 381, 6, 690, 834, 4978, 1499, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 5842, 4339, 8041, 201, 180, 6122, 599, 7261, 7, 4895, 15, 26, 61, 21680, 2100, 9583, 6157, 332, 536, 3, 15355, 3162, 1236, 6157, 332, 357, 9191, 332, 5411, 7, 17, 76, 23, 26, 3274, 332, 4416, 7, ...
What is the week with a date of October 9, 1983, and attendance smaller than 40,492?
CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_27 WHERE date = "october 9, 1983" AND attendance < 40 OFFSET 492
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 8041, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 471, 28, 3, 9, 833, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 8041, 61, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 9902, 15041, 121, 3430, 11364, 3, 2, 1283, 3, 15316, 20788, 314, 4508, 1, -100, -100, -100, -100, -100...
Group and count the years played to draw a bar chart.
CREATE TABLE team ( Team_id int, Name text ) CREATE TABLE player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, Doubles_WL text, Team int ) CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team i...
SELECT Years_Played, COUNT(Years_Played) FROM player GROUP BY Years_Played
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 372, 41, 2271, 834, 23, 26, 16, 17, 6, 5570, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 12387, 834, 4309, 16, 17, 6, 12387, 1499, 6, 13825, 834, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 13825, 834, 15800, 15, 26, 6, 2847, 17161, 599, 476, 2741, 7, 834, 15800, 15, 26, 61, 21680, 1959, 350, 4630, 6880, 272, 476, 13825, 834, 15800, 15, 26, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What's the share of Episode 1?
CREATE TABLE table_name_84 (share VARCHAR, episode_no VARCHAR)
SELECT share FROM table_name_84 WHERE episode_no = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 12484, 584, 4280, 28027, 6, 5640, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 698, 13, 16112, 209, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 698, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 5640, 834, 29, 32, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest draft of player jim farrell, who has a pick greater than 197 and a round of 14?
CREATE TABLE table_12799 ( "Draft" real, "Round" real, "Pick" real, "Player" text, "Nationality" text )
SELECT MIN("Draft") FROM table_12799 WHERE "Pick" > '197' AND "Round" = '14' AND "Player" = 'jim farrell'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22367, 3264, 41, 96, 308, 10913, 121, 490, 6, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 308, 10913, 8512, 21680, 953, 834, 22367, 3264, 549, 17444, 427, 96, 345, 3142, 121, 2490, 3, 31, 27181, 31, 3430, 96, 448, 32, 1106, 121, 3274, 3, 31, 2534, 31, 3430, 96, 15800, 49, 121, 3274,...
Which Thumb stick has a Wrist pad of no, and a Supplier of sharkoon?
CREATE TABLE table_name_76 (thumb_stick VARCHAR, wrist_pad VARCHAR, supplier VARCHAR)
SELECT thumb_stick FROM table_name_76 WHERE wrist_pad = "no" AND supplier = "sharkoon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 189, 5937, 834, 9656, 584, 4280, 28027, 6, 14552, 834, 5612, 584, 4280, 28027, 6, 8106, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5791, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13447, 834, 9656, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 14552, 834, 5612, 3274, 96, 29, 32, 121, 3430, 8106, 3274, 96, 7, 3272, 157, 32, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the winner with an elapsed time of 12 h 42 min?
CREATE TABLE table_22050544_1 ( winner VARCHAR, elapsed_time VARCHAR )
SELECT winner FROM table_22050544_1 WHERE elapsed_time = "12 h 42 min"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3076, 3076, 3628, 834, 536, 41, 4668, 584, 4280, 28027, 6, 3, 15, 16543, 26, 834, 715, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 4668, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 2884, 3076, 3076, 3628, 834, 536, 549, 17444, 427, 3, 15, 16543, 26, 834, 715, 3274, 96, 2122, 3, 107, 6426, 3519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
At which Conference was the Division in the East, and the Home Stadium named fedexfield?
CREATE TABLE table_name_94 ( conference VARCHAR, division VARCHAR, home_stadium VARCHAR )
SELECT conference FROM table_name_94 WHERE division = "east" AND home_stadium = "fedexfield"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 2542, 584, 4280, 28027, 6, 4889, 584, 4280, 28027, 6, 234, 834, 2427, 12925, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 486, 84, 4379, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2542, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 4889, 3274, 96, 11535, 121, 3430, 234, 834, 2427, 12925, 3274, 96, 19565, 994, 1846, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Player that has a To standard of 7?
CREATE TABLE table_44460 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Player" FROM table_44460 WHERE "To par" = '–7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 25991, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, 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, 0...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 3628, 25991, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 104, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Points have a Game smaller than 8, and a Record of 1–0–0?
CREATE TABLE table_name_73 (points INTEGER, game VARCHAR, record VARCHAR)
SELECT SUM(points) FROM table_name_73 WHERE game < 8 AND record = "1–0–0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 2700, 7, 3, 21342, 17966, 6, 467, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4564, 7, 43, 3, 9, 4435, 2755, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 467, 3, 2, 505, 3430, 1368, 3274, 96, 536, 104, 632, 104, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What state is Tanya Plibersek from?
CREATE TABLE table_name_15 (state VARCHAR, member VARCHAR)
SELECT state FROM table_name_15 WHERE member = "tanya plibersek"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 5540, 584, 4280, 28027, 6, 1144, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 538, 19, 8331, 63, 9, 276, 10661, 7, 15, 157, 45, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 538, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 1144, 3274, 96, 17, 6820, 9, 3, 102, 10661, 7, 15, 157, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the total number of Pick, when Round is greater than 1, and when Player is 'Jim Stack'?
CREATE TABLE table_46733 ( "Round" real, "Pick" real, "Player" text, "Nationality" text, "College" text )
SELECT COUNT("Pick") FROM table_46733 WHERE "Round" > '1' AND "Player" = 'jim stack'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3708, 4201, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 9939, 7883, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 345, 3142, 8512, 21680, 953, 834, 591, 3708, 4201, 549, 17444, 427, 96, 448, 32, 1106, 121, 2490, 3, 31, 536, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 354, 603, 9013, 31, 1, -100, -100, ...
When the round of 32 was n/a and quarterfinal was did not advance, what was the round of 16?
CREATE TABLE table_name_75 (round_of_16 VARCHAR, quarterfinal VARCHAR, round_of_32 VARCHAR)
SELECT round_of_16 FROM table_name_75 WHERE quarterfinal = "did not advance" AND round_of_32 = "n/a"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 7775, 834, 858, 834, 2938, 584, 4280, 28027, 6, 2893, 12406, 584, 4280, 28027, 6, 1751, 834, 858, 834, 2668, 584, 4280, 28027, 61, 3, 32102, 32103, 32101...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1751, 834, 858, 834, 2938, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 2893, 12406, 3274, 96, 12416, 59, 3245, 121, 3430, 1751, 834, 858, 834, 2668, 3274, 96, 29, 87, 9, 121, 1, -100, -100, -100, -100, -100, ...
what is the title when the rank is less than 17 and the worldwide gross is $299,288,605?
CREATE TABLE table_name_11 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR)
SELECT title FROM table_name_11 WHERE rank < 17 AND worldwide_gross = "$299,288,605"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 21869, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 4388, 834, 3844, 7, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2233, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 11003, 3, 2, 1003, 3430, 4388, 834, 3844, 7, 7, 3274, 96, 3229, 357, 3264, 6, 2577, 11864, 3328, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Record has a Visitor of quebec nordiques with a Score of 4 5?
CREATE TABLE table_name_58 ( record VARCHAR, visitor VARCHAR, score VARCHAR )
SELECT record FROM table_name_58 WHERE visitor = "quebec nordiques" AND score = "4–5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1368, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 11392, 65, 3, 9, 4957, 127, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 7019, 3274, 96, 835, 346, 75, 9532, 5125, 121, 3430, 2604, 3274, 96, 591, 104, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the status for tennis at cleveland state who has yes for swimming, golf and soccer?
CREATE TABLE table_name_78 (tennis VARCHAR, school VARCHAR, swimming VARCHAR, golf VARCHAR, soccer VARCHAR)
SELECT tennis FROM table_name_78 WHERE golf = "yes" AND soccer = "yes" AND swimming = "yes" AND school = "cleveland state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 324, 29, 159, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 6, 5989, 584, 4280, 28027, 6, 4319, 584, 4280, 28027, 6, 10749, 584, 4280, 28027, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 9999, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 4319, 3274, 96, 10070, 121, 3430, 10749, 3274, 96, 10070, 121, 3430, 5989, 3274, 96, 10070, 121, 3430, 496, 3274, 96, 75, 4563, 232, 538, 121, 1, -100, -100, ...
What is the Place of the couple with a Rank smaller than 7 and 514.55 Points?
CREATE TABLE table_48946 ( "Rank" real, "Name" text, "Nation" text, "Points" real, "Placings" real )
SELECT SUM("Placings") FROM table_48946 WHERE "Rank" < '7' AND "Points" = '514.55'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3914, 4448, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 345, 9700, 53, 7, 121, 490, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 345, 9700, 53, 7, 8512, 21680, 953, 834, 591, 3914, 4448, 549, 17444, 427, 96, 22557, 121, 3, 2, 3, 31, 940, 31, 3430, 96, 22512, 7, 121, 3274, 3, 31, 5553, 12451, 755, 31, 1, -100, -100, ...
Who was the leading scorer on 23 February 2008?
CREATE TABLE table_name_78 (leading_scorer VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_name_78 WHERE date = "23 february 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 17103, 834, 7, 5715, 49, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 1374, 2604, 52, 30, 1902, 2083, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1374, 834, 7, 5715, 49, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 833, 3274, 96, 2773, 29976, 76, 1208, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
After December 19, what is the Game number with a Record of 21–4–7?
CREATE TABLE table_name_17 (game VARCHAR, record VARCHAR, december VARCHAR)
SELECT COUNT(game) FROM table_name_17 WHERE record = "21–4–7" AND december > 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 7261, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 6, 20, 75, 18247, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 621, 1882, 12370, 125, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7261, 61, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 1368, 3274, 96, 2658, 104, 591, 104, 940, 121, 3430, 20, 75, 18247, 2490, 957, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the defective year for the eighth numbered month?
CREATE TABLE table_28985631_1 ( defective_year VARCHAR, numbered_month VARCHAR )
SELECT defective_year FROM table_28985631_1 WHERE numbered_month = "Eighth"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3916, 4834, 3341, 834, 536, 41, 24701, 834, 1201, 584, 4280, 28027, 6, 3, 22412, 834, 7393, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 24701, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 24701, 834, 1201, 21680, 953, 834, 2577, 3916, 4834, 3341, 834, 536, 549, 17444, 427, 3, 22412, 834, 7393, 3274, 96, 427, 2632, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give me a bar chart about the average of number_of_platforms in different locations.
CREATE TABLE train ( Train_ID int, Name text, Time text, Service text ) CREATE TABLE train_station ( Train_ID int, Station_ID int ) CREATE TABLE station ( Station_ID int, Name text, Annual_entry_exit real, Annual_interchanges real, Total_Passengers real, Location text, ...
SELECT Location, AVG(Number_of_Platforms) FROM station GROUP BY Location
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 15059, 834, 4309, 16, 17, 6, 5570, 1499, 6, 2900, 1499, 6, 1387, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 834, 6682, 41, 15059, 834, 4309, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10450, 6, 71, 17217, 599, 567, 5937, 49, 834, 858, 834, 10146, 2032, 7, 61, 21680, 2478, 350, 4630, 6880, 272, 476, 10450, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return a pie chart on what is the average base price of rooms, for each bed type?
CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT ) CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adul...
SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4181, 7, 41, 4181, 196, 26, 3, 3463, 4, 382, 6, 562, 23954, 3, 3463, 4, 382, 6, 8326, 3, 21342, 17966, 6, 1953, 25160, 3, 3463, 4, 382, 6, 9858, 667, 75, 4658, 6833, 3, 21342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?
CREATE TABLE table_240936_2 (region_2__uk_ VARCHAR, region_4__australia_ VARCHAR)
SELECT region_2__uk_ FROM table_240936_2 WHERE region_4__australia_ = "July 31, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4198, 3420, 834, 357, 41, 18145, 834, 357, 834, 834, 1598, 834, 584, 4280, 28027, 6, 1719, 834, 591, 834, 834, 2064, 8792, 23, 9, 834, 584, 4280, 28027, 61, 3, 32102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1719, 834, 357, 834, 834, 1598, 834, 21680, 953, 834, 2266, 4198, 3420, 834, 357, 549, 17444, 427, 1719, 834, 591, 834, 834, 2064, 8792, 23, 9, 834, 3274, 96, 683, 83, 63, 12074, 2628, 121, 1, -100, -100, -100, -1...
What is the party of re-elected, incumbent Charles H. Grosvenor, who was first elected before 1894?
CREATE TABLE table_name_3 ( party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR )
SELECT party FROM table_name_3 WHERE result = "re-elected" AND first_elected < 1894 AND incumbent = "charles h. grosvenor"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 1088, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 741, 3274, 96, 60, 18, 19971, 121, 3430, 166, 834, 19971, 3, 2, 507, 4240, 3430, 28406, 3274, 96, 4059, 965, 3, 107, 5, 9752, 1926, 127, 121, 1, -100, -100, ...
who has been nominated for the most posthumous academy awards
CREATE TABLE table_203_17 ( id number, "name" text, "date of death" text, "ceremony" text, "year" text, "academy award" text, "film" text, "winner" text )
SELECT "name" FROM table_203_17 WHERE "date of death" <= "year" GROUP BY "name" ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 2517, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 5522, 13, 1687, 121, 1499, 6, 96, 2110, 15, 21208, 121, 1499, 6, 96, 1201, 121, 1499, 6, 96, 9, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4350, 121, 21680, 953, 834, 23330, 834, 2517, 549, 17444, 427, 96, 5522, 13, 1687, 121, 3, 2, 2423, 96, 1201, 121, 350, 4630, 6880, 272, 476, 96, 4350, 121, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 3...
Which series premiered on Acasa TV?
CREATE TABLE table_name_25 ( series_premiere VARCHAR, tv_network_s_ VARCHAR )
SELECT series_premiere FROM table_name_25 WHERE tv_network_s_ = "acasa tv"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 939, 834, 2026, 2720, 60, 584, 4280, 28027, 6, 3, 17, 208, 834, 1582, 1981, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 939, 834, 2026, 2720, 60, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 3, 17, 208, 834, 1582, 1981, 834, 7, 834, 3274, 96, 9, 6769, 9, 3, 17, 208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Sébastien Bourdais of the team Newman/Haas Racing has what qual 1?
CREATE TABLE table_name_32 (qual_1 VARCHAR, team VARCHAR, name VARCHAR)
SELECT qual_1 FROM table_name_32 WHERE team = "newman/haas racing" AND name = "sébastien bourdais"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 11433, 834, 536, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 180, 154, 4883, 15945, 12933, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3, 11433, 834, 536, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 372, 3274, 96, 5534, 348, 87, 1024, 9, 7, 8191, 121, 3430, 564, 3274, 96, 7, 154, 4883, 15945, 3, 115, 1211, 26, 9, 159, 121, 1, -100, -100,...
Name the To par that has a Year(s) won of 1988 and a Total smaller than 148?
CREATE TABLE table_name_31 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR)
SELECT MAX(to_par) FROM table_name_31 WHERE year_s__won = "1988" AND total < 148
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 235, 834, 1893, 3, 21342, 17966, 6, 215, 834, 7, 834, 834, 210, 106, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 557...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 235, 834, 1893, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 215, 834, 7, 834, 834, 210, 106, 3274, 96, 2294, 4060, 121, 3430, 792, 3, 2, 3, 24748, 1, -100, -100, -100, -100, -100, -100, ...
List all headquarters and the number of companies in each headquarter.
CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value real ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int ) ...
SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 349, 41, 1958, 834, 4309, 16, 17, 6, 3, 22557, 16, 17, 6, 1958, 1499, 6, 31282, 1499, 6, 5140, 834, 1570, 8655, 8224, 1499, 6, 7107, 834, 115, 14916, 490, 6, 14717, 7, 834, 115, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 31282, 6, 2847, 17161, 599, 1935, 61, 21680, 349, 350, 4630, 6880, 272, 476, 31282, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what year did the rush allow the most goals ?
CREATE TABLE table_204_32 ( id number, "season" number, "division" text, "w-l" text, "finish" text, "home" text, "road" text, "gf" number, "ga" number, "coach" text, "playoffs" text, "avg attendance" number )
SELECT "season" FROM table_204_32 ORDER BY "ga" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2668, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 381, 6, 96, 26, 23, 6610, 121, 1499, 6, 96, 210, 18, 40, 121, 1499, 6, 96, 25535, 121, 1499, 6, 96, 5515, 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, 9476, 121, 21680, 953, 834, 26363, 834, 2668, 4674, 11300, 272, 476, 96, 122, 9, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What reactor type that has a commercial operation of —, and a tianwan-7 unit?
CREATE TABLE table_name_25 (reactor_type VARCHAR, commercial_operation VARCHAR, unit VARCHAR)
SELECT reactor_type FROM table_name_25 WHERE commercial_operation = "—" AND unit = "tianwan-7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 864, 5317, 834, 6137, 584, 4280, 28027, 6, 1328, 834, 22280, 584, 4280, 28027, 6, 1745, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 24715, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24715, 834, 6137, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 1328, 834, 22280, 3274, 96, 318, 121, 3430, 1745, 3274, 96, 12572, 3877, 6832, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many location attendance with team being charlotte
CREATE TABLE table_13557843_7 (location_attendance VARCHAR, team VARCHAR)
SELECT COUNT(location_attendance) FROM table_13557843_7 WHERE team = "Charlotte"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3769, 3940, 4906, 834, 940, 41, 14836, 834, 15116, 663, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 1128, 11364, 28, 372, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14836, 834, 15116, 663, 61, 21680, 953, 834, 2368, 3769, 3940, 4906, 834, 940, 549, 17444, 427, 372, 3274, 96, 18947, 21538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
find all the restaurant in Texas
CREATE TABLE neighborhood ( id int, business_id varchar, neighborhood_name varchar ) CREATE TABLE category ( id int, business_id varchar, category_name varchar ) CREATE TABLE business ( bid int, business_id varchar, name varchar, full_address varchar, city varchar, lati...
SELECT business.name FROM business, category WHERE business.state = 'Texas' AND category.business_id = business.business_id AND category.category_name = 'restaurant'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5353, 41, 3, 23, 26, 16, 17, 6, 268, 834, 23, 26, 3, 4331, 4059, 6, 5353, 834, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3295, 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, 268, 5, 4350, 21680, 268, 6, 3295, 549, 17444, 427, 268, 5, 5540, 3274, 3, 31, 13598, 9, 7, 31, 3430, 3295, 5, 16394, 834, 23, 26, 3274, 268, 5, 16394, 834, 23, 26, 3430, 3295, 5, 8367, 839, 651, 834, 4350, 32...
Calculate the minimum days for which patients aged 50 or above stayed in the hospital.
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, ...
SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.age >= "50"
[ 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, 3, 17684, 599, 1778, 16587, 5, 1135, 7, 834, 21545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 545, 2490, 2423, 96, 1752, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the east with ev landsberg as the west?
CREATE TABLE table_name_83 ( east VARCHAR, west VARCHAR )
SELECT east FROM table_name_83 WHERE west = "ev landsberg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 5727, 584, 4280, 28027, 6, 4653, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5727, 28, 3, 15, 208, 3, 6347, 2235, 38, 8, 4653...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5727, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 4653, 3274, 96, 15, 208, 3, 6347, 2235, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many people were first elected when john roane was the incumbent?
CREATE TABLE table_2668243_25 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_2668243_25 WHERE incumbent = "John Roane"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3651, 27730, 834, 1828, 41, 14672, 834, 19971, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 130, 166, 8160, 116, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14672, 834, 19971, 61, 21680, 953, 834, 2688, 3651, 27730, 834, 1828, 549, 17444, 427, 28406, 3274, 96, 18300, 391, 8086, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
let me know the short title of diagnoses and time of discharge for patient cynthia robinson.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) ...
SELECT demographic.dischtime, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Cynthia Robinson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 26, 2499, 715, 6, 18730, 7, 5, 7, 14184, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 549, 17444, 42...
was the the score when the tries was 743
CREATE TABLE table_14070062_4 (points_against VARCHAR, points_for VARCHAR)
SELECT points_against FROM table_14070062_4 WHERE points_for = "743"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22012, 9295, 4056, 834, 591, 41, 2700, 7, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 47, 8, 8, 2604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 834, 9, 16720, 7, 17, 21680, 953, 834, 22012, 9295, 4056, 834, 591, 549, 17444, 427, 979, 834, 1161, 3274, 96, 4581, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average FL Cup Apps, with a FL Cup Goals greater than 0, but a Other Apps less than 0?
CREATE TABLE table_name_93 (fl_cup_apps__sub_ INTEGER, fl_cup_goals VARCHAR, other_apps VARCHAR)
SELECT AVG(fl_cup_apps__sub_) FROM table_name_93 WHERE fl_cup_goals > 0 AND other_apps < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 89, 40, 834, 4658, 834, 3096, 7, 834, 834, 7304, 834, 3, 21342, 17966, 6, 3, 89, 40, 834, 4658, 834, 839, 5405, 584, 4280, 28027, 6, 119, 834, 3096, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 89, 40, 834, 4658, 834, 3096, 7, 834, 834, 7304, 834, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 3, 89, 40, 834, 4658, 834, 839, 5405, 2490, 3, 632, 3430, 119, 834, 3096, 7, 3, 2, 3...
patients who take more than 1 g of vitamin c per day before enrollment or who take supplemental thiamine
CREATE TABLE table_train_42 ( "id" int, "taking_vitamin_c" bool, "do_not_resuscitate_dnr" bool, "allergy_to_thiamine" bool, "taking_thiamine" bool, "receiving_vasopressor" bool, "sepsis" bool, "hypotension" bool, "allergy_to_vitamin_c" bool, "glucose_6_phosphate_dehydrogenase_def...
SELECT * FROM table_train_42 WHERE taking_vitamin_c = 1 OR taking_thiamine = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 4165, 41, 96, 23, 26, 121, 16, 17, 6, 96, 14867, 834, 12411, 1109, 834, 75, 121, 3, 12840, 40, 6, 96, 26, 32, 834, 2264, 834, 60, 7, 302, 75, 1734, 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...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 4165, 549, 17444, 427, 838, 834, 12411, 1109, 834, 75, 3274, 209, 4674, 838, 834, 7436, 8721, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...