NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Return a bar chart about the distribution of meter_200 and the sum of ID , and group by attribute meter_200. | CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
) | SELECT meter_200, SUM(ID) FROM swimmer GROUP BY meter_200 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14939,
41,
4699,
16,
17,
6,
564,
1499,
6,
4000,
9,
6726,
16,
17,
6,
896,
1499,
6,
6993,
1499,
6,
20360,
834,
1201,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
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,
3,
4401,
834,
3632,
6,
180,
6122,
599,
4309,
61,
21680,
27424,
350,
4630,
6880,
272,
476,
3,
4401,
834,
3632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which episode had bbc ranking and canle ranking of n/a? | CREATE TABLE table_24399615_10 (episode_no VARCHAR, bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR) | SELECT COUNT(episode_no) FROM table_24399615_10 WHERE bbc_three_weekly_ranking = "N/A" AND cable_rank = "N/A" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
3288,
4314,
1808,
834,
1714,
41,
15,
102,
159,
32,
221,
834,
29,
32,
584,
4280,
28027,
6,
3,
115,
115,
75,
834,
21182,
834,
8041,
120,
834,
6254,
53,
584,
4280,
280... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15,
102,
159,
32,
221,
834,
29,
32,
61,
21680,
953,
834,
2266,
3288,
4314,
1808,
834,
1714,
549,
17444,
427,
3,
115,
115,
75,
834,
21182,
834,
8041,
120,
834,
6254,
53,
3274,
96,
567,
87,
188,
... |
When 2012 is the year what is the winning boat? | CREATE TABLE table_24673710_1 (
winning_boat VARCHAR,
year VARCHAR
) | SELECT winning_boat FROM table_24673710_1 WHERE year = 2012 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
3708,
4118,
1714,
834,
536,
41,
3447,
834,
14131,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
1673,
19,
8,
215,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3447,
834,
14131,
21680,
953,
834,
2266,
3708,
4118,
1714,
834,
536,
549,
17444,
427,
215,
3274,
1673,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the total number of pick number being henry ellard | CREATE TABLE table_27365 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
) | SELECT COUNT("Pick #") FROM table_27365 WHERE "Player" = 'Henry Ellard' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
10402,
41,
96,
345,
3142,
1713,
121,
490,
6,
96,
12619,
434,
2271,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
9939,
7883,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1713,
8512,
21680,
953,
834,
2555,
10402,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
566,
35,
651,
15334,
986,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the score of cook 3/6? | CREATE TABLE table_name_40 (
result VARCHAR,
goals VARCHAR
) | SELECT result FROM table_name_40 WHERE goals = "cook 3/6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
741,
584,
4280,
28027,
6,
1766,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
13,
3989,
220,
18656,
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,
741,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
1766,
3274,
96,
509,
1825,
220,
18656,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the domestic box office for 'House on Haunted Hill'? | CREATE TABLE table_2203760_4 (
domestic_box_office VARCHAR,
film VARCHAR
) | SELECT domestic_box_office FROM table_2203760_4 WHERE film = "House on Haunted Hill" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
23330,
28212,
834,
591,
41,
4422,
834,
2689,
834,
19632,
584,
4280,
28027,
6,
814,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
4422,
1367,
828,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4422,
834,
2689,
834,
19632,
21680,
953,
834,
357,
23330,
28212,
834,
591,
549,
17444,
427,
814,
3274,
96,
4489,
1074,
30,
1626,
202,
1054,
3588,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible? | CREATE TABLE accelerator_compatible_browser (compatible_since_year VARCHAR, browser_id VARCHAR, accelerator_id VARCHAR); CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR) | SELECT T1.compatible_since_year FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id WHERE T3.name = 'CACHEbox' AND T2.name = 'Internet Explorer' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
30202,
834,
25383,
834,
14853,
7,
49,
41,
25383,
834,
27296,
834,
1201,
584,
4280,
28027,
6,
3509,
834,
23,
26,
584,
4280,
28027,
6,
30202,
834,
23,
26,
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,
332,
5411,
25383,
834,
27296,
834,
1201,
21680,
30202,
834,
25383,
834,
14853,
7,
49,
6157,
332,
536,
3,
15355,
3162,
3509,
6157,
332,
357,
9191,
332,
5411,
14853,
7,
49,
834,
23,
26,
3274,
332,
4416,
23,
26,
3,
1... |
What's the Time for an Event of 4x100 m relay and has a Venue of Frankfurt? | CREATE TABLE table_name_17 (time VARCHAR, event VARCHAR, venue VARCHAR) | SELECT time FROM table_name_17 WHERE event = "4x100 m relay" AND venue = "frankfurt" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2517,
41,
715,
584,
4280,
28027,
6,
605,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
2900,
21,
46,
8042,
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,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
97,
21680,
953,
834,
4350,
834,
2517,
549,
17444,
427,
605,
3274,
96,
591,
226,
2915,
3,
51,
16010,
121,
3430,
5669,
3274,
96,
89,
6254,
9827,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many caps have a Position of prop, and a Player of rui cordeiro? | CREATE TABLE table_77713 (
"Player" text,
"Position" text,
"Date of Birth (Age)" text,
"Caps" real,
"Club/province" text
) | SELECT COUNT("Caps") FROM table_77713 WHERE "Position" = 'prop' AND "Player" = 'rui cordeiro' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26225,
2368,
41,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
308,
342,
13,
26337,
41,
188,
397,
61,
121,
1499,
6,
96,
19566,
7,
121,
490,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
19566,
7,
8512,
21680,
953,
834,
26225,
2368,
549,
17444,
427,
96,
345,
32,
7,
4749,
121,
3274,
3,
31,
10401,
31,
3430,
96,
15800,
49,
121,
3274,
3,
31,
52,
76,
23,
7496,
21810,
31,
1,
-10... |
Which Winning Team has the Fastest Lap of brendon hartley, and a Pole Position of oliver turvey, and a Circuit of spa-francorchamps, and the Winning Driver of brendon hartley? | CREATE TABLE table_name_75 (winning_team VARCHAR, winning_driver VARCHAR, circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) | SELECT winning_team FROM table_name_75 WHERE fastest_lap = "brendon hartley" AND pole_position = "oliver turvey" AND circuit = "spa-francorchamps" AND winning_driver = "brendon hartley" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
8163,
834,
11650,
584,
4280,
28027,
6,
3447,
834,
13739,
52,
584,
4280,
28027,
6,
4558,
584,
4280,
28027,
6,
10391,
834,
8478,
584,
4280,
28027,
6,
11148... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3447,
834,
11650,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
10391,
834,
8478,
3274,
96,
1999,
29,
2029,
12479,
1306,
121,
3430,
11148,
834,
4718,
3274,
96,
4172,
624,
3,
2905,
162,
63,
121,
3430,
4558,
3274,
... |
What is the away team with a 4 tie no.? | CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_57 WHERE tie_no = "4" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
6177,
834,
29,
32,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
550,
372,
28,
3,
9,
314,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
11650,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
6177,
834,
29,
32,
3274,
96,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Sport has a League of continental basketball league, and a Venue of avalon middle school? | CREATE TABLE table_name_11 (
sport VARCHAR,
league VARCHAR,
venue VARCHAR
) | SELECT sport FROM table_name_11 WHERE league = "continental basketball league" AND venue = "avalon middle school" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2596,
41,
2600,
584,
4280,
28027,
6,
5533,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
3349,
65,
3,
9,
3815,
13,
236... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2600,
21680,
953,
834,
4350,
834,
2596,
549,
17444,
427,
5533,
3274,
96,
27339,
138,
8498,
5533,
121,
3430,
5669,
3274,
96,
9,
2165,
106,
2214,
496,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What denominations are the stamps with themes opera, léopold simoneau and pierrette alarie? | CREATE TABLE table_11900773_4 (denomination VARCHAR, theme VARCHAR) | SELECT denomination FROM table_11900773_4 WHERE theme = "Opera, Léopold Simoneau and Pierrette Alarie" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
7015,
4013,
519,
834,
591,
41,
537,
32,
14484,
584,
4280,
28027,
6,
3800,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
28730,
7,
33,
8,
7334,
7,
28,
8334... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28730,
21680,
953,
834,
2596,
7015,
4013,
519,
834,
591,
549,
17444,
427,
3800,
3274,
96,
667,
883,
9,
6,
301,
154,
32,
3233,
26,
6308,
1607,
11,
11867,
17,
17,
15,
901,
11396,
121,
1,
-100,
-100,
-100,
-100,
-100... |
how many years did the democratic party have the majority before 1876 in the south carolina house of representatives ? | CREATE TABLE table_203_95 (
id number,
"year" text,
"democratic\nparty" number,
"republican\nparty" number,
"independent\n/ other" text,
"majority" number
) | SELECT COUNT("year") FROM table_203_95 WHERE "democratic\nparty" > "republican\nparty" AND "democratic\nparty" > "independent\n/ other" AND "year" < 1876 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3301,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
1499,
6,
96,
23319,
447,
2,
29,
8071,
121,
381,
6,
96,
60,
15727,
152,
2,
29,
8071,
121,
381,
6,
96,
77,
17631... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1201,
8512,
21680,
953,
834,
23330,
834,
3301,
549,
17444,
427,
96,
23319,
447,
2,
29,
8071,
121,
2490,
96,
60,
15727,
152,
2,
29,
8071,
121,
3430,
96,
23319,
447,
2,
29,
8071,
121,
2490,
96... |
what was the longest distance traveled in the competitions ? | CREATE TABLE table_203_189 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
) | SELECT "notes" FROM table_203_189 ORDER BY "notes" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
25312,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
287,
4995,
4749,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
4718,
121,
1499,
6,
96,
7977,
7,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
7977,
7,
121,
21680,
953,
834,
23330,
834,
25312,
4674,
11300,
272,
476,
96,
7977,
7,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
which commune has the least number of inhabitants ? | CREATE TABLE table_203_413 (
id number,
"rank" text,
"city" text,
"population" number,
"area\n(km2)" number,
"density\n(inhabitants/km2)" number,
"altitude\n(mslm)" number
) | SELECT "city" FROM table_203_413 ORDER BY "population" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
591,
2368,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
1499,
6,
96,
6726,
121,
1499,
6,
96,
9791,
7830,
121,
381,
6,
96,
498,
2,
29,
599,
5848,
7318,
121,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
6726,
121,
21680,
953,
834,
23330,
834,
591,
2368,
4674,
11300,
272,
476,
96,
9791,
7830,
121,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the Money ($) amount for Cary Middlecoff? | CREATE TABLE table_name_20 (money___$__ VARCHAR, player VARCHAR) | SELECT money___$__ FROM table_name_20 WHERE player = "cary middlecoff" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
28442,
834,
834,
834,
3229,
834,
834,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
8833,
8785,
61,
866,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
834,
834,
834,
3229,
834,
834,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
1959,
3274,
96,
75,
1208,
2214,
75,
1647,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What time was the match that had an attendance of 22,329? | CREATE TABLE table_name_99 (
time VARCHAR,
attendance VARCHAR
) | SELECT time FROM table_name_99 WHERE attendance = "22,329" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
97,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
97,
47,
8,
1588,
24,
141,
46,
11364,
13,
12889,
519,
3166,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
97,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
11364,
3274,
96,
2884,
6,
519,
3166,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which film actor (actress) starred the most films? List his or her first name, last name and actor id. | CREATE TABLE film_actor (
actor_id VARCHAR
)
CREATE TABLE actor (
first_name VARCHAR,
last_name VARCHAR,
actor_id VARCHAR
) | SELECT T2.first_name, T2.last_name, T2.actor_id FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id = T2.actor_id GROUP BY T2.actor_id ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
814,
834,
9,
5317,
41,
7556,
834,
23,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
7556,
41,
166,
834,
4350,
584,
4280,
28027,
6,
336,
834,
4350,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
14672,
834,
4350,
6,
332,
4416,
5064,
834,
4350,
6,
332,
4416,
9,
5317,
834,
23,
26,
21680,
814,
834,
9,
5317,
6157,
332,
536,
3,
15355,
3162,
7556,
6157,
332,
357,
9191,
332,
5411,
9,
5317,
834,
23,
... |
What is the highest Lane used by a racer from Malta? | CREATE TABLE table_name_67 (lane INTEGER, nationality VARCHAR) | SELECT MAX(lane) FROM table_name_67 WHERE nationality = "malta" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3708,
41,
8102,
3,
21342,
17966,
6,
1157,
485,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
11834,
261,
57,
3,
9,
1964,
52,
45,
21384,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
8102,
61,
21680,
953,
834,
4350,
834,
3708,
549,
17444,
427,
1157,
485,
3274,
96,
1982,
17,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Chris Riley's Money? | CREATE TABLE table_name_46 (
money___$__ VARCHAR,
player VARCHAR
) | SELECT money___$__ FROM table_name_46 WHERE player = "chris riley" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
540,
834,
834,
834,
3229,
834,
834,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
4409,
26766,
31,
7,
883... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
834,
834,
834,
3229,
834,
834,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
1959,
3274,
96,
524,
52,
159,
3,
5493,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which championship had a margin of 10 strokes? | CREATE TABLE table_name_43 (
championship VARCHAR,
margin VARCHAR
) | SELECT championship FROM table_name_43 WHERE margin = "10 strokes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
10183,
584,
4280,
28027,
6,
6346,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
10183,
141,
3,
9,
6346,
13,
335,
9529,
7,
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,
10183,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
6346,
3274,
96,
1714,
9529,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the score of the Friendly competition where the result was 7-2? | CREATE TABLE table_name_54 (score VARCHAR, competition VARCHAR, result VARCHAR) | SELECT score FROM table_name_54 WHERE competition = "friendly" AND result = "7-2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
7,
9022,
584,
4280,
28027,
6,
2259,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
13,
8,
27105,
2259... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
2259,
3274,
96,
4905,
121,
3430,
741,
3274,
96,
940,
4949,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which total is highest with 0 gold and more than 0 silver, in Ukraine? | CREATE TABLE table_name_80 (total INTEGER, nation VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT MAX(total) FROM table_name_80 WHERE gold = 0 AND silver > 0 AND nation = "ukraine" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
235,
1947,
3,
21342,
17966,
6,
2982,
584,
4280,
28027,
6,
2045,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
792... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
2045,
3274,
3,
632,
3430,
4294,
2490,
3,
632,
3430,
2982,
3274,
96,
1598,
6559,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What Episode has a Rating of 1.8, and Viewers (m) smaller than 2.73? | CREATE TABLE table_name_35 (episode VARCHAR, rating VARCHAR, viewers__m_ VARCHAR) | SELECT episode FROM table_name_35 WHERE rating = "1.8" AND viewers__m_ < 2.73 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
15,
102,
159,
32,
221,
584,
4280,
28027,
6,
5773,
584,
4280,
28027,
6,
13569,
834,
834,
51,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5640,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
5773,
3274,
96,
16253,
121,
3430,
13569,
834,
834,
51,
834,
3,
2,
1682,
4552,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
when did patient 030-52327 have the last lab test in 12/2105? | CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
hospitaladmitsource text,
unitadmittime time,
unitdischargetime time,
hospitaldischargetime time,
hospitaldischargestatus text
) | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-52327')) AND STRFTIME('%y-%m', lab.labresulttime) = '2105-12' ORDER BY lab.labresulttime DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
583,
41,
583,
23,
26,
381,
6,
775,
12417,
1499,
6,
1868,
15878,
3734,
21545,
23,
26,
381,
6,
605,
6137,
1499,
6,
605,
23,
26,
381,
6,
1567,
715,
97,
6,
583,
381,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7690,
5,
9339,
60,
7,
83,
17,
715,
21680,
7690,
549,
17444,
427,
7690,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15129,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
10061,
1587... |
What is every score for location attendance of Madison Square Garden 19,763 and game less than 80.0? | CREATE TABLE table_25777 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Score" FROM table_25777 WHERE "Location Attendance" = 'Madison Square Garden 19,763' AND "Game" < '80.0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
26225,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
1828,
26225,
549,
17444,
427,
96,
434,
32,
75,
257,
22497,
663,
121,
3274,
3,
31,
329,
9,
26,
23,
739,
7120,
5072,
12370,
3959,
519,
31,
3430,
96,
23055,
121,
3,
2,
3,
31,
... |
What was the transfer fee for the player with an ends of 2007? | CREATE TABLE table_name_79 (
transfer_fee VARCHAR,
ends VARCHAR
) | SELECT transfer_fee FROM table_name_79 WHERE ends = 2007 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
2025,
834,
89,
15,
15,
584,
4280,
28027,
6,
5542,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2025,
2572,
21,
8,
1959,
28,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2025,
834,
89,
15,
15,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
5542,
3274,
4101,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how did patient 022-30957 last visit the hospital in 2101? | CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
hospitaladmitsource text,
unitadmittime time,
unitdischargetime time,
hospitaldischargetime time,
hospitaldischargestatus text
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
) | SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '022-30957' AND STRFTIME('%y', patient.hospitaladmittime) = '2101' ORDER BY patient.hospitaladmittime DESC LIMIT 1 | [
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,
1868,
5,
31386,
20466,
17,
7928,
21680,
1868,
549,
17444,
427,
1868,
5,
202,
1495,
12417,
3274,
3,
31,
4305,
357,
10086,
3301,
940,
31,
3430,
3,
13733,
6245,
15382,
599,
31,
1454,
63,
31,
6,
1868,
5,
31386,
20466,
... |
Which Round has a Name of john goodyear? | CREATE TABLE table_50405 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) | SELECT "Round" FROM table_50405 WHERE "Name" = 'john goodyear' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
591,
3076,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
345,
3142,
121,
490,
6,
96,
23847,
1748,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
448,
32,
1106,
121,
21680,
953,
834,
1752,
591,
3076,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
27341,
207,
1201,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the verb meaning of the word with part 3 "sufun"? | CREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_3 VARCHAR) | SELECT verb_meaning FROM table_1745843_8 WHERE part_3 = "sufun" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27693,
3449,
4906,
834,
927,
41,
11868,
834,
27639,
584,
4280,
28027,
6,
294,
834,
519,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7375,
2530,
13,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7375,
834,
27639,
21680,
953,
834,
27693,
3449,
4906,
834,
927,
549,
17444,
427,
294,
834,
519,
3274,
96,
7,
76,
89,
202,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the crowd size for st kilda as the home team? | CREATE TABLE table_name_17 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_17 WHERE home_team = "st kilda" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2517,
41,
75,
3623,
26,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4374,
812,
21,
3,
7,
17,
3,
157,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4374,
21680,
953,
834,
4350,
834,
2517,
549,
17444,
427,
234,
834,
11650,
3274,
96,
7,
17,
3,
157,
173,
26,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the IHSAA class of the Red Devils? | CREATE TABLE table_name_77 (ihsaa_class VARCHAR, mascot VARCHAR) | SELECT ihsaa_class FROM table_name_77 WHERE mascot = "red devils" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
23,
107,
7,
9,
9,
834,
4057,
584,
4280,
28027,
6,
3,
2754,
4310,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
27,
4950,
5498,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
23,
107,
7,
9,
9,
834,
4057,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
3,
2754,
4310,
3274,
96,
1271,
20,
6372,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Home has a Visitor of quebec nordiques, and a Score of 3–4, and a Record of 8–8–1? | CREATE TABLE table_name_62 (home VARCHAR, record VARCHAR, visitor VARCHAR, score VARCHAR) | SELECT home FROM table_name_62 WHERE visitor = "quebec nordiques" AND score = "3–4" AND record = "8–8–1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
5515,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
6,
7019,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1210,
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,
234,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
7019,
3274,
96,
835,
346,
75,
9532,
5125,
121,
3430,
2604,
3274,
96,
519,
104,
20364,
3430,
1368,
3274,
96,
927,
104,
927,
104,
536,
121,
1,
-100,
-100,
-100,
... |
who is the outgoing manager when the manner of departure is contract terminated and the date of vacancy is 1 september 2008? | CREATE TABLE table_name_22 (
outgoing_manager VARCHAR,
manner_of_departure VARCHAR,
date_of_vacancy VARCHAR
) | SELECT outgoing_manager FROM table_name_22 WHERE manner_of_departure = "contract terminated" AND date_of_vacancy = "1 september 2008" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
91,
9545,
834,
24185,
584,
4280,
28027,
6,
3107,
834,
858,
834,
221,
2274,
1462,
584,
4280,
28027,
6,
833,
834,
858,
834,
29685,
584,
4280,
28027,
3,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
91,
9545,
834,
24185,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
3107,
834,
858,
834,
221,
2274,
1462,
3274,
96,
20871,
13813,
26,
121,
3430,
833,
834,
858,
834,
29685,
3274,
96,
536,
16022,
18247,
2628,
121,
... |
How many field goals does the player with 84 rebounds have? | CREATE TABLE table_27211 (
"Player" text,
"Minutes" real,
"Field Goals" real,
"Rebounds" real,
"Assists" real,
"Steals" real,
"Blocks" real,
"Points" real
) | SELECT MIN("Field Goals") FROM table_27211 WHERE "Rebounds" = '84' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
27278,
41,
96,
15800,
49,
121,
1499,
6,
96,
12858,
2810,
7,
121,
490,
6,
96,
3183,
8804,
17916,
7,
121,
490,
6,
96,
1649,
6115,
7,
121,
490,
6,
96,
188,
7,
7,
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,
3,
17684,
599,
121,
3183,
8804,
17916,
7,
8512,
21680,
953,
834,
2555,
27278,
549,
17444,
427,
96,
1649,
6115,
7,
121,
3274,
3,
31,
4608,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Chipset based on with a Digital/analog signal of analog, with an Available interface of agp, with Retail name with all-in-wonder 9800? | CREATE TABLE table_10487 (
"Retail name" text,
"Chipset based on" text,
"Digital/analog signal" text,
"AVIVO" text,
"Available interface" text
) | SELECT "Chipset based on" FROM table_10487 WHERE "Digital/analog signal" = 'analog' AND "Available interface" = 'agp' AND "Retail name" = 'all-in-wonder 9800' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15442,
4225,
41,
96,
1649,
5756,
564,
121,
1499,
6,
96,
254,
10462,
2244,
3,
390,
30,
121,
1499,
6,
96,
30225,
87,
152,
9,
2152,
3240,
121,
1499,
6,
96,
23412,
8040,
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,
254,
10462,
2244,
3,
390,
30,
121,
21680,
953,
834,
15442,
4225,
549,
17444,
427,
96,
30225,
87,
152,
9,
2152,
3240,
121,
3274,
3,
31,
152,
9,
2152,
31,
3430,
96,
188,
900,
173,
179,
3459,
121,
3274,
3,
31,
... |
What was the score of the game played on December 8? | CREATE TABLE table_17316 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Score" FROM table_17316 WHERE "Date" = 'December 8' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
25946,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
2517,
25946,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
29835,
505,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the Status with a novelty of gen et sp, and the name is haplocanthosaurus? | CREATE TABLE table_name_12 (status VARCHAR, novelty VARCHAR, name VARCHAR) | SELECT status FROM table_name_12 WHERE novelty = "gen et sp" AND name = "haplocanthosaurus" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
8547,
302,
584,
4280,
28027,
6,
30372,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
19318,
28,
3,
9,
3037... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2637,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
30372,
3274,
96,
729,
3,
15,
17,
3,
7,
102,
121,
3430,
564,
3274,
96,
9516,
5133,
288,
11982,
402,
4502,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the weight in kg when the horse was Alcopop? | CREATE TABLE table_24915874_1 (
weight__kg_ VARCHAR,
horse VARCHAR
) | SELECT weight__kg_ FROM table_24915874_1 WHERE horse = "Alcopop" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
4729,
3449,
4581,
834,
536,
41,
1293,
834,
834,
8711,
834,
584,
4280,
28027,
6,
4952,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1293,
16,
91... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1293,
834,
834,
8711,
834,
21680,
953,
834,
2266,
4729,
3449,
4581,
834,
536,
549,
17444,
427,
4952,
3274,
96,
188,
40,
509,
9791,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the candidates for pennsylvania 14 | CREATE TABLE table_2668347_17 (
candidates VARCHAR,
district VARCHAR
) | SELECT candidates FROM table_2668347_17 WHERE district = "Pennsylvania 14" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3651,
519,
4177,
834,
2517,
41,
4341,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
4341,
21,
4550,
29,
7,
63,
40,
16658... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4341,
21680,
953,
834,
2688,
3651,
519,
4177,
834,
2517,
549,
17444,
427,
3939,
3274,
96,
345,
35,
29,
7,
63,
40,
16658,
9,
968,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show vote_percent from each date | CREATE TABLE election (
Election_ID int,
Representative_ID int,
Date text,
Votes real,
Vote_Percent real,
Seats real,
Place real
)
CREATE TABLE representative (
Representative_ID int,
Name text,
State text,
Party text,
Lifespan text
) | SELECT Date, Vote_Percent FROM election | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4356,
41,
19488,
834,
4309,
16,
17,
6,
13517,
834,
4309,
16,
17,
6,
7678,
1499,
6,
3152,
1422,
490,
6,
3152,
17,
15,
834,
12988,
3728,
490,
6,
15915,
7,
490,
6,
3399,
490,
3,
61,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7678,
6,
3152,
17,
15,
834,
12988,
3728,
21680,
4356,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Points have Goals against of 32, and Played larger than 38? | CREATE TABLE table_name_30 (points INTEGER, goals_against VARCHAR, played VARCHAR) | SELECT MAX(points) FROM table_name_30 WHERE goals_against = 32 AND played > 38 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
2700,
7,
3,
21342,
17966,
6,
1766,
834,
9,
16720,
7,
17,
584,
4280,
28027,
6,
1944,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
4564,
7,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
1766,
834,
9,
16720,
7,
17,
3274,
3538,
3430,
1944,
2490,
6654,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who was the outgoing manager for the team of t rgu mure ? | CREATE TABLE table_26976615_3 (
outgoing_manager VARCHAR,
team VARCHAR
) | SELECT outgoing_manager FROM table_26976615_3 WHERE team = "Târgu Mureş" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
4327,
3539,
1808,
834,
519,
41,
91,
9545,
834,
24185,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
91,
9545,
2743,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
91,
9545,
834,
24185,
21680,
953,
834,
2688,
4327,
3539,
1808,
834,
519,
549,
17444,
427,
372,
3274,
96,
382,
1439,
52,
1744,
8054,
15,
1314,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
In how many different years did the race happen on February 27? | CREATE TABLE table_2241101_1 (year VARCHAR, date VARCHAR) | SELECT COUNT(year) FROM table_2241101_1 WHERE date = "February 27" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
4853,
19621,
834,
536,
41,
1201,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
149,
186,
315,
203,
410,
8,
1964,
1837,
30,
2083,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
1201,
61,
21680,
953,
834,
2884,
4853,
19621,
834,
536,
549,
17444,
427,
833,
3274,
96,
31122,
2307,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was the winner in the Louisiana 7 district? | CREATE TABLE table_1341865_20 (
incumbent VARCHAR,
district VARCHAR
) | SELECT incumbent FROM table_1341865_20 WHERE district = "Louisiana 7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2606,
4122,
834,
1755,
41,
28406,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
4668,
16,
8,
15625,
489,
3939,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
28406,
21680,
953,
834,
23747,
2606,
4122,
834,
1755,
549,
17444,
427,
3939,
3274,
96,
28365,
13662,
489,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Date has a Score of 112 118? | CREATE TABLE table_45798 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"Record" text,
"Streak" text
) | SELECT "Date" FROM table_45798 WHERE "Score" = '112–118' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3436,
3916,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
11500,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
591,
3436,
3916,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
2596,
357,
104,
20056,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the NCBI Accession Number for the length of 5304bp/377aa? | CREATE TABLE table_16849531_2 (ncbi_accession_number__mrna_protein_ VARCHAR, length__bp_aa_ VARCHAR) | SELECT ncbi_accession_number__mrna_protein_ FROM table_16849531_2 WHERE length__bp_aa_ = "5304bp/377aa" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4608,
3301,
3341,
834,
357,
41,
29,
75,
115,
23,
834,
9,
75,
19988,
834,
5525,
1152,
834,
834,
51,
52,
29,
9,
834,
23083,
834,
584,
4280,
28027,
6,
2475,
834,
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,
3,
29,
75,
115,
23,
834,
9,
75,
19988,
834,
5525,
1152,
834,
834,
51,
52,
29,
9,
834,
23083,
834,
21680,
953,
834,
2938,
4608,
3301,
3341,
834,
357,
549,
17444,
427,
2475,
834,
834,
115,
102,
834,
9,
9,
834,
3... |
Who are the nominees who were nominated for either of the Bob Fosse or Cleavant Derricks awards, and count them by a pie chart | CREATE TABLE musical (
Musical_ID int,
Name text,
Year int,
Award text,
Category text,
Nominee text,
Result text
)
CREATE TABLE actor (
Actor_ID int,
Name text,
Musical_ID int,
Character text,
Duration text,
age int
) | SELECT Nominee, COUNT(Nominee) FROM musical WHERE Award = "Tony Award" OR Award = "Cleavant Derricks" GROUP BY Nominee | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4183,
41,
22307,
834,
4309,
16,
17,
6,
5570,
1499,
6,
2929,
16,
17,
6,
3677,
1499,
6,
17459,
1499,
6,
465,
8695,
15,
1499,
6,
3,
20119,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
465,
8695,
15,
6,
2847,
17161,
599,
4168,
8695,
15,
61,
21680,
4183,
549,
17444,
427,
3677,
3274,
96,
382,
106,
63,
3677,
121,
4674,
3677,
3274,
96,
254,
109,
15990,
660,
5206,
7,
121,
350,
4630,
6880,
272,
476,
4... |
What was the smallest crowd size at a home game for Footscray? | CREATE TABLE table_32809 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT MIN("Crowd") FROM table_32809 WHERE "Home team" = 'footscray' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
28070,
4198,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
254,
3623,
26,
8512,
21680,
953,
834,
28070,
4198,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
6259,
7,
2935,
63,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is diagnoses long title of subject name michelle skidmore? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
) | SELECT diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Michelle Skidmore" | [
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,
18730,
7,
5,
2961,
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,
427,
14798,
5,
4350,
3274,
96,
30123... |
What is Nationality, when Round is 6? | CREATE TABLE table_name_5 (nationality VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_5 WHERE round = 6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
16557,
485,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
868,
485,
6,
116,
9609,
19,
431,
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,
1157,
485,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
1751,
3274,
431,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When the home team was South Melbourne, what did the away team score? | CREATE TABLE table_52432 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team score" FROM table_52432 WHERE "Home team" = 'south melbourne' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2266,
2668,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
1343,
372,
2604,
121,
21680,
953,
834,
755,
2266,
2668,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
7,
670,
107,
3,
2341,
26255,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
tell me the health insurance and status of death for the patient hector blair. | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
) | SELECT demographic.insurance, demographic.expire_flag FROM demographic WHERE demographic.name = "Hector Blair" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
29441,
6,
14798,
5,
994,
2388,
15,
834,
89,
5430,
21680,
14798,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
3845,
5317,
25594,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many different outcomes did the final with Paul McNamee as a partner have? | CREATE TABLE table_2201541_3 (outcome VARCHAR, partner VARCHAR) | SELECT COUNT(outcome) FROM table_2201541_3 WHERE partner = "Paul McNamee" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
8651,
4853,
834,
519,
41,
670,
287,
15,
584,
4280,
28027,
6,
2397,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
315,
6353,
410,
8,
804,
28,
1838,
303... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
670,
287,
15,
61,
21680,
953,
834,
357,
8651,
4853,
834,
519,
549,
17444,
427,
2397,
3274,
96,
23183,
3038,
23954,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what was the next opponent after the detroit lions ? | CREATE TABLE table_204_207 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number,
"bye" text
) | SELECT "opponent" FROM table_204_207 WHERE "date" > (SELECT "date" FROM table_204_207 WHERE "opponent" = 'detroit lions') ORDER BY "date" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
26426,
41,
3,
23,
26,
381,
6,
96,
8041,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
60,
7,
83,
17,
121,
1499,
6,
96,
15116,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
32,
102,
9977,
121,
21680,
953,
834,
26363,
834,
26426,
549,
17444,
427,
96,
5522,
121,
2490,
41,
23143,
14196,
96,
5522,
121,
21680,
953,
834,
26363,
834,
26426,
549,
17444,
427,
96,
32,
102,
9977,
121,
3274,
3... |
What are the names of the channels owned by CCTV or HBS? | CREATE TABLE channel (
name VARCHAR,
OWNER VARCHAR
) | SELECT name FROM channel WHERE OWNER = 'CCTV' OR OWNER = 'HBS' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4245,
41,
564,
584,
4280,
28027,
6,
3,
15251,
18206,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
3056,
13,
8,
6047,
4157,
57,
27784,
42,
454,
4547,
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,
564,
21680,
4245,
549,
17444,
427,
3,
15251,
18206,
3274,
3,
31,
2823,
4562,
31,
4674,
3,
15251,
18206,
3274,
3,
31,
566,
4547,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
at least how many parties have won ? | CREATE TABLE table_203_694 (
id number,
"#" number,
"name" text,
"took office" text,
"left office" text,
"party" text
) | SELECT COUNT(DISTINCT "party") FROM table_203_694 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3951,
591,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
4350,
121,
1499,
6,
96,
235,
1825,
828,
121,
1499,
6,
96,
17068,
828,
121,
1499,
6,
96,
8071,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
96,
8071,
8512,
21680,
953,
834,
23330,
834,
3951,
591,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is reserved for Jawad? | CREATE TABLE table_66574 (
"Constituency number" text,
"Name" text,
"Reserved for ( SC / ST /None)" text,
"District" text,
"Number of electorates (2009)" real
) | SELECT "Reserved for ( SC / ST /None)" FROM table_66574 WHERE "Name" = 'jawad' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
3436,
591,
41,
96,
4302,
2248,
17,
76,
4392,
381,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
1649,
3473,
15,
26,
21,
41,
6508,
3,
87,
5097,
3,
87,
567,
782,
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,
1649,
3473,
15,
26,
21,
41,
6508,
3,
87,
5097,
3,
87,
567,
782,
61,
121,
21680,
953,
834,
3539,
3436,
591,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
354,
7396,
26,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
Who was the Best Male Artist where Bankie Travolta won the Best Male MC? | CREATE TABLE table_22546460_4 (
best_male_artist VARCHAR,
best_male_mc VARCHAR
) | SELECT best_male_artist FROM table_22546460_4 WHERE best_male_mc = "Bankie Travolta" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20489,
4448,
25991,
834,
591,
41,
200,
834,
13513,
834,
1408,
343,
584,
4280,
28027,
6,
200,
834,
13513,
834,
51,
75,
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,
0... | [
3,
23143,
14196,
200,
834,
13513,
834,
1408,
343,
21680,
953,
834,
20489,
4448,
25991,
834,
591,
549,
17444,
427,
200,
834,
13513,
834,
51,
75,
3274,
96,
21347,
23,
15,
3083,
10897,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What's the average number of silver medals for germany (GER) having more than 3 bronze? | CREATE TABLE table_name_44 (
silver INTEGER,
nation VARCHAR,
bronze VARCHAR
) | SELECT AVG(silver) FROM table_name_44 WHERE nation = "germany (ger)" AND bronze > 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
4294,
3,
21342,
17966,
6,
2982,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
1348,
381,
13,
4294,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
7,
173,
624,
61,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
2982,
3274,
96,
1304,
348,
63,
41,
1304,
61,
121,
3430,
13467,
2490,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What counties mascot are the Red Ramblers? | CREATE TABLE table_name_85 (county VARCHAR, mascot VARCHAR) | SELECT county FROM table_name_85 WHERE mascot = "red ramblers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
13362,
63,
584,
4280,
28027,
6,
3,
2754,
4310,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
16227,
3,
2754,
4310,
33,
8,
1624,
4425,
2296,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5435,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
3,
2754,
4310,
3274,
96,
1271,
3,
2375,
2296,
52,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is Arkansas State's total pick number with an overal lower than 242? | CREATE TABLE table_name_96 (pick__number VARCHAR, college VARCHAR, overall VARCHAR) | SELECT COUNT(pick__number) FROM table_name_96 WHERE college = "arkansas state" AND overall < 242 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
17967,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
1900,
584,
4280,
28027,
6,
1879,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
16622,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17967,
834,
834,
5525,
1152,
61,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
1900,
3274,
96,
6604,
3247,
9,
7,
538,
121,
3430,
1879,
3,
2,
997,
357,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is population in the world when 788 (8.1%)? | CREATE TABLE table_19017269_5 (
world INTEGER,
latin_america_caribbean VARCHAR
) | SELECT MIN(world) FROM table_19017269_5 WHERE latin_america_caribbean = "788 (8.1%)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11776,
27156,
3951,
834,
755,
41,
296,
3,
21342,
17966,
6,
3,
14098,
834,
23064,
834,
658,
6520,
346,
152,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
7276,
61,
21680,
953,
834,
11776,
27156,
3951,
834,
755,
549,
17444,
427,
3,
14098,
834,
23064,
834,
658,
6520,
346,
152,
3274,
96,
3940,
927,
41,
20677,
6210,
121,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
evidence of sensitization on pra | CREATE TABLE table_train_272 (
"id" int,
"fasting_plasma_glucose_fpg" float,
"creatinine_clearance_cl" float,
"baseline_hemoglobin_hgb" float,
"sensitization_on_pra" bool,
"age" float,
"NOUSE" float
) | SELECT * FROM table_train_272 WHERE sensitization_on_pra = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
2555,
357,
41,
96,
23,
26,
121,
16,
17,
6,
96,
11584,
53,
834,
21178,
9,
834,
13492,
509,
7,
15,
834,
89,
102,
122,
121,
3,
12660,
6,
96,
5045,
144,
77,
63... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1429,
21680,
953,
834,
9719,
834,
2555,
357,
549,
17444,
427,
3952,
155,
1707,
834,
106,
834,
5319,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the decile sum with a roll smaller than 25, and franz josef area? | CREATE TABLE table_69555 (
"Name" text,
"Years" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
) | SELECT SUM("Decile") FROM table_69555 WHERE "Roll" < '25' AND "Area" = 'franz josef' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
28803,
41,
96,
23954,
121,
1499,
6,
96,
476,
2741,
7,
121,
1499,
6,
96,
188,
864,
121,
1499,
6,
96,
23602,
127,
485,
121,
1499,
6,
96,
2962,
75,
699,
121,
490,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
2962,
75,
699,
8512,
21680,
953,
834,
3951,
28803,
549,
17444,
427,
96,
29807,
121,
3,
2,
3,
31,
1828,
31,
3430,
96,
188,
864,
121,
3274,
3,
31,
6296,
172,
7406,
15,
89,
31,
1,
-100,
-100,
... |
What was the output with no IR LEDs? | CREATE TABLE table_37523 (
"Camera" text,
"Sensor resolution" text,
"Sensor" text,
"Output" text,
"CPU usage" text,
"IR LEDs" text
) | SELECT "Output" FROM table_37523 WHERE "IR LEDs" = 'no' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22954,
2773,
41,
96,
254,
9,
935,
9,
121,
1499,
6,
96,
134,
35,
7,
127,
3161,
121,
1499,
6,
96,
134,
35,
7,
127,
121,
1499,
6,
96,
15767,
2562,
121,
1499,
6,
96,
254,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15767,
2562,
121,
21680,
953,
834,
22954,
2773,
549,
17444,
427,
96,
5705,
4429,
7,
121,
3274,
3,
31,
29,
32,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the least lane number that Natalie Coughlin was in when she was ranked greater than 1? | CREATE TABLE table_63198 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
) | SELECT MIN("Lane") FROM table_63198 WHERE "Name" = 'natalie coughlin' AND "Rank" > '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3891,
24151,
41,
96,
22557,
121,
490,
6,
96,
434,
152,
15,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
13368,
121,
1499,
3,
61,
3,
32102,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
434,
152,
15,
8512,
21680,
953,
834,
3891,
24151,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
16978,
23,
15,
19222,
40,
77,
31,
3430,
96,
22557,
121,
2490,
3,
31,
536,
31,
1,
-100,
-100,
-1... |
How many times has the points total for the afc cup competion been 289? | CREATE TABLE table_14460937_1 (afc_cup VARCHAR, points__total_500_ VARCHAR) | SELECT COUNT(afc_cup) FROM table_14460937_1 WHERE points__total_500_ = 289 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
4448,
4198,
4118,
834,
536,
41,
9,
89,
75,
834,
4658,
584,
4280,
28027,
6,
979,
834,
834,
235,
1947,
834,
2560,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
9,
89,
75,
834,
4658,
61,
21680,
953,
834,
2534,
4448,
4198,
4118,
834,
536,
549,
17444,
427,
979,
834,
834,
235,
1947,
834,
2560,
834,
3274,
204,
3914,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Site when the date is 11/11/1950? | CREATE TABLE table_name_37 (
site VARCHAR,
date VARCHAR
) | SELECT site FROM table_name_37 WHERE date = "11/11/1950" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
353,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3238,
116,
8,
833,
19,
850,
20223,
13523,
1752,
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,
353,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
833,
3274,
96,
2596,
20223,
13523,
1752,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many matches did the player that played 23 matches win | CREATE TABLE table_29302711_12 (
matches_won INTEGER,
matches_played VARCHAR
) | SELECT MIN(matches_won) FROM table_29302711_12 WHERE matches_played = 23 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
1458,
2555,
2596,
834,
2122,
41,
6407,
834,
210,
106,
3,
21342,
17966,
6,
6407,
834,
4895,
15,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
149,
186,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
19515,
15,
7,
834,
210,
106,
61,
21680,
953,
834,
3166,
1458,
2555,
2596,
834,
2122,
549,
17444,
427,
6407,
834,
4895,
15,
26,
3274,
1902,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
which has a larger diagonal : super 8mm film or imax ? | CREATE TABLE table_203_356 (
id number,
"type" text,
"diagonal (mm)" text,
"width (mm)" text,
"height (mm)" text,
"area (mm2)" text,
"stops (area)" number,
"crop factor" text
) | SELECT "type" FROM table_203_356 WHERE "type" IN ('super 8mm film frame', 'imax film frame') ORDER BY "diagonal (mm)" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2469,
948,
41,
3,
23,
26,
381,
6,
96,
6137,
121,
1499,
6,
96,
25930,
9533,
41,
635,
61,
121,
1499,
6,
96,
12018,
189,
41,
635,
61,
121,
1499,
6,
96,
88,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
6137,
121,
21680,
953,
834,
23330,
834,
2469,
948,
549,
17444,
427,
96,
6137,
121,
3388,
41,
31,
21771,
505,
635,
814,
2835,
31,
6,
3,
31,
23,
9128,
814,
2835,
31,
61,
4674,
11300,
272,
476,
96,
25930,
9533,
... |
What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009? | CREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_2__uk_ VARCHAR) | SELECT region_1__can_ FROM table_240936_2 WHERE region_2__uk_ = "May 18, 2009" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
4198,
3420,
834,
357,
41,
18145,
834,
536,
834,
834,
1608,
834,
584,
4280,
28027,
6,
1719,
834,
357,
834,
834,
1598,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1719,
834,
536,
834,
834,
1608,
834,
21680,
953,
834,
2266,
4198,
3420,
834,
357,
549,
17444,
427,
1719,
834,
357,
834,
834,
1598,
834,
3274,
96,
15881,
14985,
2464,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which one of the duration has a translation of 1000 lies? | CREATE TABLE table_name_73 (
duration VARCHAR,
translation VARCHAR
) | SELECT duration FROM table_name_73 WHERE translation = "1000 lies" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
8659,
584,
4280,
28027,
6,
7314,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
80,
13,
8,
8659,
65,
3,
9,
7314,
13,
5580,
7797,
58,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
8659,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
7314,
3274,
96,
16824,
7797,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many Class AAAA winners where in 2002-03? | CREATE TABLE table_19430 (
"School Year" text,
"Class A" text,
"Class AA" text,
"Class AAA" text,
"Class AAAA" text,
"Class AAAAA" text
) | SELECT COUNT("Class AAAA") FROM table_19430 WHERE "School Year" = '2002-03' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
25449,
41,
96,
29364,
2929,
121,
1499,
6,
96,
21486,
71,
121,
1499,
6,
96,
21486,
3,
5498,
121,
1499,
6,
96,
21486,
22656,
121,
1499,
6,
96,
21486,
22656,
188,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
21486,
22656,
188,
8512,
21680,
953,
834,
2294,
25449,
549,
17444,
427,
96,
29364,
2929,
121,
3274,
3,
31,
24898,
18,
4928,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What's the to par when the score was 68-73=141? | CREATE TABLE table_name_46 (
to_par VARCHAR,
score VARCHAR
) | SELECT to_par FROM table_name_46 WHERE score = 68 - 73 = 141 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
12,
834,
1893,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
12,
260,
116,
8,
2604,
47,
3,
3651,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12,
834,
1893,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
2604,
3274,
3,
3651,
3,
18,
3,
4552,
3274,
3,
26059,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many consecutive starts for the linebacker who played from 9/21/1975 12/16/1984? | CREATE TABLE table_28606933_7 (
total INTEGER,
period VARCHAR
) | SELECT MAX(total) FROM table_28606933_7 WHERE period = "9/21/1975 – 12/16/1984" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
3328,
3951,
4201,
834,
940,
41,
792,
3,
21342,
17966,
6,
1059,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
12096,
3511,
21,
8,
689,
1549,
49,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
235,
1947,
61,
21680,
953,
834,
2577,
3328,
3951,
4201,
834,
940,
549,
17444,
427,
1059,
3274,
96,
1298,
87,
2658,
13523,
3072,
3,
104,
586,
16033,
13523,
4608,
121,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
How many goals were conceded against the Chepo F.C. team where they lost 7 games? | CREATE TABLE table_name_32 (goals_conceded__gc_ VARCHAR, lost__pp_ VARCHAR, team__equipo_ VARCHAR) | SELECT goals_conceded__gc_ FROM table_name_32 WHERE lost__pp_ = 7 AND team__equipo_ = "chepo f.c." | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
839,
5405,
834,
11620,
221,
26,
834,
834,
122,
75,
834,
584,
4280,
28027,
6,
1513,
834,
834,
1572,
834,
584,
4280,
28027,
6,
372,
834,
834,
15,
23067,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1766,
834,
11620,
221,
26,
834,
834,
122,
75,
834,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
1513,
834,
834,
1572,
834,
3274,
489,
3430,
372,
834,
834,
15,
23067,
32,
834,
3274,
96,
1033,
102,
32,
3,
89,
... |
Which Team has a Record of 32–50? | CREATE TABLE table_name_24 (team VARCHAR, record VARCHAR) | SELECT team FROM table_name_24 WHERE record = "32–50" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
11650,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2271,
65,
3,
9,
11392,
13,
3538,
104,
1752,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
1368,
3274,
96,
2668,
104,
1752,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total number of Psychological Dependence, when Pleasure is '2.3', and when Mean is less than 1.9300000000000002? | CREATE TABLE table_name_91 (
psychological_dependence VARCHAR,
pleasure VARCHAR,
mean VARCHAR
) | SELECT COUNT(psychological_dependence) FROM table_name_91 WHERE pleasure = 2.3 AND mean < 1.9300000000000002 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
11041,
834,
18790,
1433,
584,
4280,
28027,
6,
5565,
584,
4280,
28027,
6,
1243,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8118,
4478,
834,
18790,
1433,
61,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
5565,
3274,
3,
18561,
3430,
1243,
3,
2,
1300,
4271,
19568,
19568,
19568,
4305,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
how many patients whose admission type is elective and procedure short title is hemodialysis? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
) | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.short_title = "Hemodialysis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
What is Karl Wendlinger's total grid #? | CREATE TABLE table_name_57 (
grid VARCHAR,
driver VARCHAR
) | SELECT COUNT(grid) FROM table_name_57 WHERE driver = "karl wendlinger" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
8634,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
12345,
101,
727,
14043,
31,
7,
792,
8634,
1713,
58,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
3496,
26,
61,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
2535,
3274,
96,
4031,
40,
62,
727,
14043,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the production code fore the episode titled, life's no fun anymore? | CREATE TABLE table_name_16 (prod_code VARCHAR, episode_title VARCHAR) | SELECT prod_code FROM table_name_16 WHERE episode_title = "life's no fun anymore" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
1409,
26,
834,
4978,
584,
4280,
28027,
6,
5640,
834,
21869,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
999,
1081,
21,
15,
8,
5640... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
813,
26,
834,
4978,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
5640,
834,
21869,
3274,
96,
4597,
31,
7,
150,
694,
7595,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the partially deleted result for a completed construction of m– in St. Maries Creosote? | CREATE TABLE table_name_47 (partially_deleted VARCHAR, construction_completed VARCHAR, name VARCHAR) | SELECT partially_deleted FROM table_name_47 WHERE construction_completed = "–" AND name = "st. maries creosote" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
2274,
23,
1427,
834,
26,
400,
1054,
584,
4280,
28027,
6,
1449,
834,
25288,
26,
584,
4280,
28027,
6,
564,
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,
14610,
834,
26,
400,
1054,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
1449,
834,
25288,
26,
3274,
96,
104,
121,
3430,
564,
3274,
96,
7,
17,
5,
2774,
15,
7,
3935,
32,
7,
32,
17,
15,
121,
1,
-100,
-100,
... |
What place did Târlea come in at the European Indoor Championships? | CREATE TABLE table_name_56 (position VARCHAR, competition VARCHAR) | SELECT position FROM table_name_56 WHERE competition = "european indoor championships" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4834,
41,
4718,
584,
4280,
28027,
6,
2259,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
286,
410,
332,
1439,
52,
109,
9,
369,
16,
44,
8,
1611,
25483... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1102,
21680,
953,
834,
4350,
834,
4834,
549,
17444,
427,
2259,
3274,
96,
28188,
152,
5297,
10183,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What Tournament was against Daniel Elsner? | CREATE TABLE table_49187 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
) | SELECT "Tournament" FROM table_49187 WHERE "Opponent" = 'daniel elsner' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3647,
25828,
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,
121,
1499,
6,
96,
134,
9022,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
96,
382,
1211,
20205,
17,
121,
21680,
953,
834,
3647,
25828,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
26,
2738,
15,
40,
3,
3573,
687,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
how many stations have frequencies between 88 and 92 ? | CREATE TABLE table_204_258 (
id number,
"location" text,
"frequency" number,
"call sign" text,
"network" text,
"call sign meaning" text
) | SELECT COUNT(*) FROM table_204_258 WHERE "frequency" >= 88 AND "frequency" <= 92 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
357,
3449,
41,
3,
23,
26,
381,
6,
96,
14836,
121,
1499,
6,
96,
30989,
121,
381,
6,
96,
16482,
1320,
121,
1499,
6,
96,
1582,
1981,
121,
1499,
6,
96,
16482,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
26363,
834,
357,
3449,
549,
17444,
427,
96,
30989,
121,
2490,
2423,
3,
4060,
3430,
96,
30989,
121,
3,
2,
2423,
3,
4508,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What race had Jody Scheckter hold pole position? | CREATE TABLE table_name_63 (
race VARCHAR,
pole_position VARCHAR
) | SELECT race FROM table_name_63 WHERE pole_position = "jody scheckter" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
1964,
584,
4280,
28027,
6,
11148,
834,
4718,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1964,
141,
446,
9666,
180,
10031,
449,
1520,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1964,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
11148,
834,
4718,
3274,
96,
354,
9666,
3,
7,
10031,
449,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
In the 2008/2009 season one team had a season total points of 31, for that team how many total points were scored against them? | CREATE TABLE table_13399573_4 (
points_against VARCHAR,
points VARCHAR
) | SELECT points_against FROM table_13399573_4 WHERE points = "31" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
3288,
3301,
4552,
834,
591,
41,
979,
834,
9,
16720,
7,
17,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
8,
2628,
87,
16660,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
979,
834,
9,
16720,
7,
17,
21680,
953,
834,
2368,
3288,
3301,
4552,
834,
591,
549,
17444,
427,
979,
3274,
96,
3341,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Wins is the lowest one that has Events larger than 30? | CREATE TABLE table_name_70 (
wins INTEGER,
events INTEGER
) | SELECT MIN(wins) FROM table_name_70 WHERE events > 30 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
9204,
3,
21342,
17966,
6,
984,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
4871,
7,
19,
8,
7402,
80,
24,
65,
11137,
2186,
145,
604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
3757,
7,
61,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
984,
2490,
604,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Last 64 has a Total of 34,600? | CREATE TABLE table_37401 (
"Year" text,
"Winner" text,
"Runner-Up" text,
"Semi-Finalists" text,
"Quarter-Finalists" text,
"Last 16" text,
"Last 32" text,
"Last 64" text,
"Total" text
) | SELECT "Last 64" FROM table_37401 WHERE "Total" = '£34,600' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4118,
20016,
41,
96,
476,
2741,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
23572,
18,
11161,
121,
1499,
6,
96,
134,
15,
51,
23,
18,
371,
10270,
343,
7,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3612,
7,
17,
6687,
121,
21680,
953,
834,
4118,
20016,
549,
17444,
427,
96,
3696,
1947,
121,
3274,
3,
31,
19853,
3710,
6,
6007,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the womens doubles when mens doubles is theodoros velkos giorgos patis | CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR) | SELECT womens_doubles FROM table_14903881_1 WHERE mens_doubles = "Theodoros Velkos Giorgos Patis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
2394,
3747,
4959,
834,
536,
41,
210,
32,
904,
7,
834,
25761,
7,
584,
4280,
28027,
6,
1076,
7,
834,
25761,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
887,
7,
834,
25761,
7,
21680,
953,
834,
2534,
2394,
3747,
4959,
834,
536,
549,
17444,
427,
1076,
7,
834,
25761,
7,
3274,
96,
634,
7512,
32,
7,
11670,
9692,
3156,
1677,
32,
7,
5192,
159,
121,
1,
-100,
-100,
-100,
... |
What is the total point for the year listed in 1988? | CREATE TABLE table_name_58 (
points INTEGER,
year VARCHAR
) | SELECT SUM(points) FROM table_name_58 WHERE year = 1988 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
979,
3,
21342,
17966,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
500,
21,
8,
215,
2616,
16,
10414,
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,
180,
6122,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
215,
3274,
10414,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Postposition, when Noun Root (Meaning) is 'mshobl- (parent)'? | CREATE TABLE table_name_75 (
postposition VARCHAR,
noun_root__meaning_ VARCHAR
) | SELECT postposition FROM table_name_75 WHERE noun_root__meaning_ = "mshobl- (parent)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
442,
4718,
584,
4280,
28027,
6,
150,
202,
834,
18951,
834,
834,
27639,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
1844,
4718,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
442,
4718,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
150,
202,
834,
18951,
834,
834,
27639,
834,
3274,
96,
51,
5630,
115,
40,
18,
41,
12352,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who was the opponent with the record of 15-21-6? | CREATE TABLE table_name_23 (
opponent VARCHAR,
record VARCHAR
) | SELECT opponent FROM table_name_23 WHERE record = "15-21-6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
15264,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
15264,
28,
8,
1368,
13,
627,
16539,
5783,
58,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
1368,
3274,
96,
1808,
16539,
5783,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the attendance at the St Kilda home game? | CREATE TABLE table_name_54 (
crowd INTEGER,
home_team VARCHAR
) | SELECT AVG(crowd) FROM table_name_54 WHERE home_team = "st kilda" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
4374,
3,
21342,
17966,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
11364,
44,
8,
472,
12672,
26,
9,
234,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
75,
3623,
26,
61,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
234,
834,
11650,
3274,
96,
7,
17,
3,
157,
173,
26,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Please show the names of the buildings whose status is 'on-hold', in ascending order of stories. | CREATE TABLE buildings (
name VARCHAR,
Status VARCHAR,
Stories VARCHAR
) | SELECT name FROM buildings WHERE Status = "on-hold" ORDER BY Stories | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3950,
41,
564,
584,
4280,
28027,
6,
19318,
584,
4280,
28027,
6,
20406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
863,
504,
8,
3056,
13,
8,
3950,
3,
2544,
2637,
19,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
564,
21680,
3950,
549,
17444,
427,
19318,
3274,
96,
106,
18,
6134,
121,
4674,
11300,
272,
476,
20406,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which title ranked lower than 19 has a gross of $11,833,696? | CREATE TABLE table_77312 (
"Rank" real,
"Title" text,
"Studio" text,
"Director(s)" text,
"Gross" text
) | SELECT "Title" FROM table_77312 WHERE "Rank" < '19' AND "Gross" = '$11,833,696' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
519,
2122,
41,
96,
22557,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
13076,
26,
23,
32,
121,
1499,
6,
96,
23620,
127,
599,
7,
61,
121,
1499,
6,
96,
517,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
382,
155,
109,
121,
21680,
953,
834,
4013,
519,
2122,
549,
17444,
427,
96,
22557,
121,
3,
2,
3,
31,
2294,
31,
3430,
96,
517,
1859,
7,
121,
3274,
3,
31,
3229,
2596,
6,
4591,
6355,
3951,
948,
31,
1,
-100,
-1... |
How many Caps does the Club/province Munster, position of lock and Mick O'Driscoll have? | CREATE TABLE table_name_16 (caps VARCHAR, player VARCHAR, club_province VARCHAR, position VARCHAR) | SELECT COUNT(caps) FROM table_name_16 WHERE club_province = "munster" AND position = "lock" AND player = "mick o'driscoll" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
4010,
7,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
6,
1886,
834,
1409,
2494,
565,
584,
4280,
28027,
6,
1102,
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,
2847,
17161,
599,
4010,
7,
61,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
1886,
834,
1409,
2494,
565,
3274,
96,
51,
202,
1370,
121,
3430,
1102,
3274,
96,
4029,
121,
3430,
1959,
3274,
96,
51,
3142,
3,
32,
3... |
The Milwaukee Mile circuit has what type of session? | CREATE TABLE table_name_41 (session VARCHAR, circuit VARCHAR) | SELECT session FROM table_name_41 WHERE circuit = "milwaukee mile" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
22197,
584,
4280,
28027,
6,
4558,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
37,
21140,
11705,
4558,
65,
125,
686,
13,
2363,
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,
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,
2363,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
4558,
3274,
96,
51,
173,
210,
402,
1050,
15,
7728,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.