NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What scores happened on February 11? | CREATE TABLE table_23486853_7 (
score VARCHAR,
date VARCHAR
) | SELECT score FROM table_23486853_7 WHERE date = "February 11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
3707,
3651,
4867,
834,
940,
41,
2604,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
7586,
2817,
30,
2083,
850,
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,
2604,
21680,
953,
834,
2773,
3707,
3651,
4867,
834,
940,
549,
17444,
427,
833,
3274,
96,
31122,
850,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what date was the last game played on ? | CREATE TABLE table_203_290 (
id number,
"game" number,
"date" text,
"opponent" text,
"location" text,
"score" text,
"ot" text,
"attendance" number,
"record" text
) | SELECT "date" FROM table_203_290 ORDER BY "game" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
23838,
41,
3,
23,
26,
381,
6,
96,
7261,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
7,
9022,
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,
1... | [
3,
23143,
14196,
96,
5522,
121,
21680,
953,
834,
23330,
834,
23838,
4674,
11300,
272,
476,
96,
7261,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What game number was played on March 4? | CREATE TABLE table_52180 (
"Game #" real,
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text,
"Points" real
) | SELECT AVG("Game #") FROM table_52180 WHERE "Date" = 'march 4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5373,
20829,
41,
96,
23055,
1713,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
23055,
1713,
8512,
21680,
953,
834,
5373,
20829,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
51,
7064,
314,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Club has a League Cup goals of 0, and a League goals of 11, and a Scorer of joe laidlaw? | CREATE TABLE table_9695 (
"Scorer" text,
"Club" text,
"League goals" text,
"FA Cup goals" real,
"League Cup goals" real,
"Total" real
) | SELECT "Club" FROM table_9695 WHERE "League Cup goals" = '0' AND "League goals" = '11' AND "Scorer" = 'joe laidlaw' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4314,
3301,
41,
96,
134,
5715,
49,
121,
1499,
6,
96,
254,
11158,
121,
1499,
6,
96,
2796,
9,
5398,
1766,
121,
1499,
6,
96,
4795,
3802,
1766,
121,
490,
6,
96,
2796,
9,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11158,
121,
21680,
953,
834,
4314,
3301,
549,
17444,
427,
96,
2796,
9,
5398,
3802,
1766,
121,
3274,
3,
31,
632,
31,
3430,
96,
2796,
9,
5398,
1766,
121,
3274,
3,
31,
2596,
31,
3430,
96,
134,
5715,
49,
12... |
what is the total number of assemblers supporting medium genomes type technologies ? | CREATE TABLE table_203_702 (
id number,
"name" text,
"type" text,
"technologies" text,
"author" text,
"presented /\nlast updated" text,
"licence" text,
"homepage" text
) | SELECT COUNT("name") FROM table_203_702 WHERE "type" = 'medium genomes (e.g. e.coli)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2518,
357,
41,
3,
23,
26,
381,
6,
96,
4350,
121,
1499,
6,
96,
6137,
121,
1499,
6,
96,
13148,
7,
121,
1499,
6,
96,
17415,
121,
1499,
6,
96,
12640,
15,
26,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
4350,
8512,
21680,
953,
834,
23330,
834,
2518,
357,
549,
17444,
427,
96,
6137,
121,
3274,
3,
31,
5700,
440,
22213,
7,
41,
15,
5,
122,
5,
3,
15,
5,
9044,
61,
31,
1,
-100,
-100,
-100,
-100,
... |
What is the rank (csa) for the percentage change (1990-2000) was a034 +8.71%? | CREATE TABLE table_12720275_1 (rank__csa_ VARCHAR, percent_change__1990_2000_ VARCHAR) | SELECT rank__csa_ FROM table_12720275_1 WHERE percent_change__1990_2000_ = "A034 +8.71%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
18517,
25988,
834,
536,
41,
6254,
834,
834,
75,
7,
9,
834,
584,
4280,
28027,
6,
1093,
834,
13073,
834,
834,
2294,
2394,
834,
13527,
834,
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,
11003,
834,
834,
75,
7,
9,
834,
21680,
953,
834,
2122,
18517,
25988,
834,
536,
549,
17444,
427,
1093,
834,
13073,
834,
834,
2294,
2394,
834,
13527,
834,
3274,
96,
188,
632,
3710,
1768,
927,
5,
940,
4704,
121,
1,
-... |
What was the average points for Hopkins before 1956? | CREATE TABLE table_name_75 (
points INTEGER,
entrant VARCHAR,
year VARCHAR
) | SELECT AVG(points) FROM table_name_75 WHERE entrant = "hopkins" AND year < 1956 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
979,
3,
21342,
17966,
6,
3,
295,
3569,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1348,
979,
21,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
3,
295,
3569,
3274,
96,
10776,
7815,
121,
3430,
215,
3,
2,
22951,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
If the rank is 11, what is the total amount? | CREATE TABLE table_21995420_9 (total VARCHAR, rank VARCHAR) | SELECT total FROM table_21995420_9 WHERE rank = 11 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
19479,
5062,
1755,
834,
1298,
41,
235,
1947,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
156,
8,
11003,
19,
9694,
125,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
792,
21680,
953,
834,
357,
19479,
5062,
1755,
834,
1298,
549,
17444,
427,
11003,
3274,
850,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What are all the different product names, and how many complains has each received Show bar chart, I want to display in ascending by the Y. | CREATE TABLE Staff (
staff_id INTEGER,
gender VARCHAR(1),
first_name VARCHAR(80),
last_name VARCHAR(80),
email_address VARCHAR(255),
phone_number VARCHAR(80)
)
CREATE TABLE Complaints (
complaint_id INTEGER,
product_id INTEGER,
customer_id INTEGER,
complaint_outcome_code VARCHAR... | SELECT product_name, COUNT(*) FROM Products AS t1 JOIN Complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name ORDER BY COUNT(*) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
10071,
41,
871,
834,
23,
26,
3,
21342,
17966,
6,
7285,
584,
4280,
28027,
14296,
6,
166,
834,
4350,
584,
4280,
28027,
599,
2079,
201,
336,
834,
4350,
584,
4280,
28027,
599,
2079,
201,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
556,
834,
4350,
6,
2847,
17161,
599,
1935,
61,
21680,
7554,
6157,
3,
17,
536,
3,
15355,
3162,
2570,
18689,
17,
7,
6157,
3,
17,
357,
9191,
3,
17,
5411,
15892,
834,
23,
26,
3274,
3,
17,
4416,
15892,
834,
23,
26,
... |
Name the horizontal 0 for ry | CREATE TABLE table_25519358_1 (
horizontal_0_a VARCHAR,
hypotenuse_0_c VARCHAR
) | SELECT horizontal_0_a FROM table_25519358_1 WHERE hypotenuse_0_c = "明弦(RY日月)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
5553,
4271,
3449,
834,
536,
41,
9969,
834,
632,
834,
9,
584,
4280,
28027,
6,
10950,
324,
1074,
834,
632,
834,
75,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
9969,
834,
632,
834,
9,
21680,
953,
834,
1828,
5553,
4271,
3449,
834,
536,
549,
17444,
427,
10950,
324,
1074,
834,
632,
834,
75,
3274,
96,
2,
599,
11824,
2,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many countries received more bronze medals than sweden ? | CREATE TABLE table_204_761 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) | SELECT COUNT("nation") FROM table_204_761 WHERE "bronze" > (SELECT "bronze" FROM table_204_761 WHERE "nation" = 'sweden') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3959,
536,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
29,
257,
121,
1499,
6,
96,
14910,
121,
381,
6,
96,
7,
173,
624,
121,
381,
6,
96,
13711,
776,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29,
257,
8512,
21680,
953,
834,
26363,
834,
3959,
536,
549,
17444,
427,
96,
13711,
776,
121,
2490,
41,
23143,
14196,
96,
13711,
776,
121,
21680,
953,
834,
26363,
834,
3959,
536,
549,
17444,
427,... |
What is the Player in Round 5? | CREATE TABLE table_name_23 (
player VARCHAR,
round VARCHAR
) | SELECT player FROM table_name_23 WHERE round = 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
1959,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
12387,
16,
9609,
305,
58,
1,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
1751,
3274,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many extra points did right halfback Roswell Wendell have? | CREATE TABLE table_75150 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
) | SELECT "Extra points" FROM table_75150 WHERE "Position" = 'right halfback' AND "Player" = 'roswell wendell' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
12278,
41,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
7681,
449,
121,
1499,
6,
96,
3696,
2295,
3035,
7,
121,
490,
6,
96,
5420,
1313,
979... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
5420,
1313,
979,
121,
21680,
953,
834,
3072,
12278,
549,
17444,
427,
96,
345,
32,
7,
4749,
121,
3274,
3,
31,
3535,
985,
1549,
31,
3430,
96,
15800,
49,
121,
3274,
3,
31,
1859,
2091,
3,
18634,
195,
31,
1,
-100... |
Who scored the highest points and how much against the raptors? | CREATE TABLE table_23248910_6 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_23248910_6 WHERE team = "Raptors" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2266,
3914,
1714,
834,
948,
41,
6739,
834,
2700,
7,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
5799,
8,
2030,
979,
11,
149,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
306,
834,
2700,
7,
21680,
953,
834,
2773,
2266,
3914,
1714,
834,
948,
549,
17444,
427,
372,
3274,
96,
448,
9,
102,
5535,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Player, when Total is 292? | CREATE TABLE table_name_36 (
player VARCHAR,
total VARCHAR
) | SELECT player FROM table_name_36 WHERE total = 292 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
1959,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
12387,
6,
116,
9273,
19,
204,
4508,
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,
1959,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
792,
3274,
204,
4508,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many tries for the player whose number is greater than 2 and losses are smaller than 0? | CREATE TABLE table_name_73 (tries VARCHAR, played VARCHAR, lost VARCHAR) | SELECT COUNT(tries) FROM table_name_73 WHERE played > 2 AND lost < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
9000,
584,
4280,
28027,
6,
1944,
584,
4280,
28027,
6,
1513,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
3,
9000,
21,
8,
1959,
3,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
9000,
61,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
1944,
2490,
204,
3430,
1513,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Between which years were there 241 fokker 70 model cabins built? | CREATE TABLE table_name_43 (
period VARCHAR,
built VARCHAR,
model VARCHAR
) | SELECT period FROM table_name_43 WHERE built < 241 AND model = "fokker 70" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
1059,
584,
4280,
28027,
6,
1192,
584,
4280,
28027,
6,
825,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
13095,
84,
203,
130,
132,
997,
536,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1059,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
1192,
3,
2,
997,
536,
3430,
825,
3274,
96,
89,
1825,
2304,
2861,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
how many players had final scores higher than 5 ? | CREATE TABLE table_203_507 (
id number,
"#" text,
"player" text,
"\u03c3 points" number,
"qual." number,
"final" number
) | SELECT COUNT("player") FROM table_203_507 WHERE "final" > 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
1752,
940,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
1499,
6,
96,
20846,
121,
1499,
6,
96,
2,
76,
4928,
75,
519,
979,
121,
381,
6,
96,
11433,
535,
381,
6,
96,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
20846,
8512,
21680,
953,
834,
23330,
834,
1752,
940,
549,
17444,
427,
96,
12406,
121,
2490,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the laps when the grid is less than 2? | CREATE TABLE table_name_38 (laps VARCHAR, grid INTEGER) | SELECT laps FROM table_name_38 WHERE grid < 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
8478,
7,
584,
4280,
28027,
6,
8634,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
14941,
7,
116,
8,
8634,
19,
705,
145,
204,
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,
14941,
7,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
8634,
3,
2,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the result in a year before 2013 that the nomination category was Presenter Talent Show? | CREATE TABLE table_name_52 (result VARCHAR, year VARCHAR, category VARCHAR) | SELECT result FROM table_name_52 WHERE year < 2013 AND category = "presenter talent show" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
3295,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
741,
16,
3,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
215,
3,
2,
2038,
3430,
3295,
3274,
96,
12640,
49,
3683,
504,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the name when the constituency number is 150? | CREATE TABLE table_name_70 (name VARCHAR, constituency_number VARCHAR) | SELECT name FROM table_name_70 WHERE constituency_number = "150" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
4350,
584,
4280,
28027,
6,
6439,
4392,
834,
5525,
1152,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
564,
116,
8,
6439,
4392,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
564,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
6439,
4392,
834,
5525,
1152,
3274,
96,
12278,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984? | CREATE TABLE table_name_3 (
number_of_bearers_2009 INTEGER,
number_of_bearers_1971 VARCHAR,
etymology VARCHAR,
rank VARCHAR,
type VARCHAR
) | SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = "patronymic" AND etymology = "son of christian" AND number_of_bearers_1971 > 45.984 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
381,
834,
858,
834,
346,
291,
277,
834,
16660,
3,
21342,
17966,
6,
381,
834,
858,
834,
346,
291,
277,
834,
2294,
4450,
584,
4280,
28027,
6,
3,
15,
17,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
5525,
1152,
834,
858,
834,
346,
291,
277,
834,
16660,
61,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
11003,
2490,
209,
3430,
686,
3274,
96,
4665,
52,
19140,
447,
121,
3430,
3,
15,
17,
63,
51... |
Which candidates are associated with the Georgia 7 district? | CREATE TABLE table_18565 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT "Candidates" FROM table_18565 WHERE "District" = 'Georgia 7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
21594,
4122,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
490,
6,
96,
20119,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
14050,
12416,
6203,
121,
21680,
953,
834,
21594,
4122,
549,
17444,
427,
96,
308,
23,
20066,
121,
3274,
3,
31,
517,
15,
1677,
23,
9,
489,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the total number of runner up a for perambalur | CREATE TABLE table_25278 (
"Constituency" text,
"Winner" text,
"Party" text,
"Margin" real,
"Runner-up a" text,
"Party a" text
) | SELECT COUNT("Runner-up a") FROM table_25278 WHERE "Constituency" = 'Perambalur' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
357,
3940,
41,
96,
4302,
2248,
17,
76,
4392,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
7286,
122,
77,
121,
490,
6,
96,
23572,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23572,
18,
413,
3,
9,
8512,
21680,
953,
834,
1828,
357,
3940,
549,
17444,
427,
96,
4302,
2248,
17,
76,
4392,
121,
3274,
3,
31,
12988,
14303,
40,
450,
31,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
What Elimination number is listed againt Eliminated by Sonjay Dutt? | CREATE TABLE table_59182 (
"Elimination" text,
"Wrestler" text,
"Eliminated by" text,
"Elimination Move" text,
"Time" text
) | SELECT "Elimination" FROM table_59182 WHERE "Eliminated by" = 'sonjay dutt' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
2606,
357,
41,
96,
10991,
23,
14484,
121,
1499,
6,
96,
518,
6216,
1171,
121,
1499,
6,
96,
427,
4941,
77,
920,
57,
121,
1499,
6,
96,
10991,
23,
14484,
15711,
121,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
10991,
23,
14484,
121,
21680,
953,
834,
3390,
2606,
357,
549,
17444,
427,
96,
427,
4941,
77,
920,
57,
121,
3274,
3,
31,
739,
1191,
63,
146,
17,
17,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Opponent is on 17 november 2002? | CREATE TABLE table_name_64 (
opponent VARCHAR,
date VARCHAR
) | SELECT opponent FROM table_name_64 WHERE date = "17 november 2002" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
15264,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
4495,
9977,
19,
30,
1003,
3,
5326,
18247,
4407,
58,
1,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
833,
3274,
96,
2517,
3,
5326,
18247,
4407,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What "party" was re-elected in district South Carolina 7? | CREATE TABLE table_2668243_22 (party VARCHAR, result VARCHAR, district VARCHAR) | SELECT party FROM table_2668243_22 WHERE result = "Re-elected" AND district = "South Carolina 7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3651,
27730,
834,
2884,
41,
8071,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
96,
8071,
121,
47,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1088,
21680,
953,
834,
2688,
3651,
27730,
834,
2884,
549,
17444,
427,
741,
3274,
96,
1649,
18,
19971,
121,
3430,
3939,
3274,
96,
22081,
5089,
489,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the original air date of the episode written by Karen Felix and Don Woodard? | CREATE TABLE table_11630008_8 (
original_air_date VARCHAR,
written_by VARCHAR
) | SELECT original_air_date FROM table_11630008_8 WHERE written_by = "Karen Felix and Don Woodard" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20159,
5426,
4018,
834,
927,
41,
926,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
1545,
834,
969,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
926,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
926,
834,
2256,
834,
5522,
21680,
953,
834,
20159,
5426,
4018,
834,
927,
549,
17444,
427,
1545,
834,
969,
3274,
96,
439,
9,
1536,
23354,
11,
1008,
2985,
986,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is yejin choi 's latest paper ? | CREATE TABLE writes (
paperid int,
authorid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE author (
authorid int,
authorname varchar
... | SELECT DISTINCT writes.paperid FROM author, paper, writes WHERE author.authorname = 'yejin choi' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid ORDER BY paper.year DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11858,
41,
1040,
23,
26,
16,
17,
6,
2291,
23,
26,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
6378,
41,
6378,
23,
26,
16,
17,
6,
6378,
4350,
3,
4331,
4059... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
11858,
5,
19587,
23,
26,
21680,
2291,
6,
1040,
6,
11858,
549,
17444,
427,
2291,
5,
17415,
4350,
3274,
3,
31,
63,
15,
354,
77,
3,
3995,
23,
31,
3430,
11858,
5,
17415,
23,
26,
3274,
2291,
5,... |
How many extra points did Paul Dickey received | CREATE TABLE table_14342367_15 (
extra_points_1_point INTEGER,
player VARCHAR
) | SELECT MAX(extra_points_1_point) FROM table_14342367_15 WHERE player = "Paul Dickey" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
3710,
2773,
3708,
834,
1808,
41,
996,
834,
2700,
7,
834,
536,
834,
2700,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
25666,
834,
2700,
7,
834,
536,
834,
2700,
61,
21680,
953,
834,
2534,
3710,
2773,
3708,
834,
1808,
549,
17444,
427,
1959,
3274,
96,
23183,
21269,
15,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Away captain with a Venue that is old trafford? | CREATE TABLE table_7302 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
) | SELECT "Away captain" FROM table_7302 WHERE "Venue" = 'old trafford' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
4305,
41,
96,
308,
342,
121,
1499,
6,
96,
19040,
14268,
121,
1499,
6,
96,
188,
1343,
14268,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
20119,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
1343,
14268,
121,
21680,
953,
834,
4552,
4305,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
1490,
3,
14793,
2590,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the result of nomination for Season 6 after 1995? | CREATE TABLE table_name_49 (result VARCHAR, year VARCHAR, episode VARCHAR) | SELECT result FROM table_name_49 WHERE year > 1995 AND episode = "season 6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3647,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
5640,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
741,
13,
13588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
21680,
953,
834,
4350,
834,
3647,
549,
17444,
427,
215,
2490,
7273,
3430,
5640,
3274,
96,
9476,
431,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the average number of goals conceded where more than 19 goals were scored, the team had 31 points, and more than 7 draws? | CREATE TABLE table_name_80 (goals_conceded__gc_ INTEGER, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR, points__pts_ VARCHAR) | SELECT AVG(goals_conceded__gc_) FROM table_name_80 WHERE goals_scored__gf_ > 19 AND points__pts_ = 31 AND draw__pe_ > 7 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
839,
5405,
834,
11620,
221,
26,
834,
834,
122,
75,
834,
3,
21342,
17966,
6,
3314,
834,
834,
855,
834,
584,
4280,
28027,
6,
1766,
834,
3523,
1271,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
839,
5405,
834,
11620,
221,
26,
834,
834,
122,
75,
834,
61,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
1766,
834,
3523,
1271,
834,
834,
122,
89,
834,
2490,
957,
3430,
979,
834,
834,
102,
17... |
tell me the last procedure patient 006-172277 had in their current hospital encounter? | CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellv... | SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-172277' AND patient.hospitaldischargetime IS NULL)) ORDER BY ... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7757,
41,
7757,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2672,
4350,
1499,
6,
17166,
1499,
6,
2981,
20466,
29,
1499,
6,
2672,
10208,
715,
97,
6,
4845,
2916,
715,
97,
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,
1058,
5,
26889,
4350,
21680,
1058,
549,
17444,
427,
1058,
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,
15878,
3734,
21545,
... |
Who is the vacator when south carolina 4th is the district? | CREATE TABLE table_225100_4 (
vacator VARCHAR,
district VARCHAR
) | SELECT vacator FROM table_225100_4 WHERE district = "South Carolina 4th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20489,
2915,
834,
591,
41,
3,
8938,
1016,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
3,
8938,
1016,
116,
3414,
443,
120... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
8938,
1016,
21680,
953,
834,
20489,
2915,
834,
591,
549,
17444,
427,
3939,
3274,
96,
22081,
5089,
314,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the status of the building for 2014 with 33 floors? | CREATE TABLE table_name_54 (
status VARCHAR,
year VARCHAR,
floors VARCHAR
) | SELECT status FROM table_name_54 WHERE year < 2014 AND floors = 33 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
2637,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
8242,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2637,
13,
8,
740,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2637,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
215,
3,
2,
1412,
3430,
8242,
3274,
5400,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What year was the Guard who currently plays for the Memphis Grizzlies born? | CREATE TABLE table_name_25 (year_born VARCHAR, position VARCHAR, current_club VARCHAR) | SELECT year_born FROM table_name_25 WHERE position = "guard" AND current_club = "memphis grizzlies" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
1201,
834,
7473,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
750,
834,
13442,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
215,
47,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
215,
834,
7473,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
1102,
3274,
96,
11010,
121,
3430,
750,
834,
13442,
3274,
96,
526,
7656,
159,
3,
3496,
5271,
4664,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the release date for metronome? | CREATE TABLE table_22161 (
"Title" text,
"Developer" text,
"Category" text,
"Function" text,
"Release date" text,
"Version" text
) | SELECT "Release date" FROM table_22161 WHERE "Title" = 'Metronome' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2658,
4241,
41,
96,
382,
155,
109,
121,
1499,
6,
96,
2962,
162,
8745,
49,
121,
1499,
6,
96,
18610,
6066,
651,
121,
1499,
6,
96,
371,
202,
4985,
121,
1499,
6,
96,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1649,
40,
14608,
833,
121,
21680,
953,
834,
357,
2658,
4241,
549,
17444,
427,
96,
382,
155,
109,
121,
3274,
3,
31,
329,
15,
6255,
7159,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the market value of a company in billions that has 172.7 billion in sales? | CREATE TABLE table_1682026_6 (market_value__billion_$_ VARCHAR, sales__billion_$_ VARCHAR) | SELECT market_value__billion_$_ FROM table_1682026_6 WHERE sales__billion_$_ = "172.7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24274,
1755,
2688,
834,
948,
41,
8809,
834,
12097,
834,
834,
115,
14916,
834,
3229,
834,
584,
4280,
28027,
6,
1085,
834,
834,
115,
14916,
834,
3229,
834,
584,
4280,
28027,
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,
512,
834,
12097,
834,
834,
115,
14916,
834,
3229,
834,
21680,
953,
834,
24274,
1755,
2688,
834,
948,
549,
17444,
427,
1085,
834,
834,
115,
14916,
834,
3229,
834,
3274,
96,
2517,
21280,
121,
1,
-100,
-100,
-100,
-100,
... |
Which position is the MLS team, Los Angeles Galaxy in? | CREATE TABLE table_name_90 (
position VARCHAR,
mls_team VARCHAR
) | SELECT position FROM table_name_90 WHERE mls_team = "los angeles galaxy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2394,
41,
1102,
584,
4280,
28027,
6,
3,
51,
40,
7,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1102,
19,
8,
3,
17976,
372,
6,
314... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1102,
21680,
953,
834,
4350,
834,
2394,
549,
17444,
427,
3,
51,
40,
7,
834,
11650,
3274,
96,
2298,
11831,
15,
7,
24856,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
provide the number of patients whose age is less than 71 and procedure icd9 code is 5732? | 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 (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "71" AND procedures.icd9_code = "5732" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
If the the condition/parameter is rapidity of 2 hyperbolic radians, what is the coordinate velocity v dx/dt in units of c? | CREATE TABLE table_15314901_1 (
coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR,
condition_parameter VARCHAR
) | SELECT coordinate_velocity_v_dx_dt_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = "Rapidity of 2 hyperbolic radians" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27025,
24816,
4542,
834,
536,
41,
11639,
834,
162,
5133,
485,
834,
208,
834,
26,
226,
834,
26,
17,
834,
77,
834,
15129,
7,
834,
858,
834,
75,
584,
4280,
28027,
6,
1706,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
11639,
834,
162,
5133,
485,
834,
208,
834,
26,
226,
834,
26,
17,
834,
77,
834,
15129,
7,
834,
858,
834,
75,
21680,
953,
834,
27025,
24816,
4542,
834,
536,
549,
17444,
427,
1706,
834,
6583,
4401,
3274,
96,
448,
9,
... |
What are the lowest laps Alex Tagliani did for the Forsythe Racing team? | CREATE TABLE table_40208 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT MIN("Laps") FROM table_40208 WHERE "Team" = 'forsythe racing' AND "Driver" = 'alex tagliani' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2445,
23946,
41,
96,
20982,
52,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13313,
26,
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,
3,
17684,
599,
121,
3612,
102,
7,
8512,
21680,
953,
834,
2445,
23946,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
1161,
7,
63,
532,
8191,
31,
3430,
96,
20982,
52,
121,
3274,
3,
31,
138,
994,
7860,
9928,
23,
31... |
Name the least silver for nation of total when bronze is more than 24 | CREATE TABLE table_name_40 (silver INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MIN(silver) FROM table_name_40 WHERE nation = "total" AND bronze > 24 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
7,
173,
624,
3,
21342,
17966,
6,
2982,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
709,
4294,
21,
2982,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
7,
173,
624,
61,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
2982,
3274,
96,
235,
1947,
121,
3430,
13467,
2490,
997,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the intercontinental cup 1999 result of the team who did not qualify for the Copa Libertadores 1999 and made quarterfinals in the Copa Mercosur 1999? | CREATE TABLE table_39174 (
"Team" text,
"Copa Libertadores 1999" text,
"Copa Mercosur 1999" text,
"Copa CONMEBOL 1999" text,
"Intercontinental Cup 1999" text
) | SELECT "Intercontinental Cup 1999" FROM table_39174 WHERE "Copa Libertadores 1999" = 'did not qualify' AND "Copa Mercosur 1999" = 'quarterfinals' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3288,
27693,
41,
96,
18699,
121,
1499,
6,
96,
3881,
102,
9,
12774,
17,
10097,
7,
5247,
121,
1499,
6,
96,
3881,
102,
9,
4039,
509,
3042,
5247,
121,
1499,
6,
96,
3881,
102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17555,
27339,
138,
3802,
5247,
121,
21680,
953,
834,
3288,
27693,
549,
17444,
427,
96,
3881,
102,
9,
12774,
17,
10097,
7,
5247,
121,
3274,
3,
31,
12416,
59,
9448,
31,
3430,
96,
3881,
102,
9,
4039,
509,
3042,
5... |
What is Drawn, when Club is Newport RFC? | CREATE TABLE table_name_71 (
drawn VARCHAR,
club VARCHAR
) | SELECT drawn FROM table_name_71 WHERE club = "newport rfc" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4450,
41,
6796,
584,
4280,
28027,
6,
1886,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
19183,
29,
6,
116,
1949,
19,
24260,
391,
5390,
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,
6796,
21680,
953,
834,
4350,
834,
4450,
549,
17444,
427,
1886,
3274,
96,
5534,
1493,
3,
52,
89,
75,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many people wrote episode number 2 of the season? | CREATE TABLE table_25737761_4 (
writer VARCHAR,
_number VARCHAR
) | SELECT COUNT(writer) FROM table_25737761_4 WHERE _number = 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
4552,
4013,
4241,
834,
591,
41,
4346,
584,
4280,
28027,
6,
3,
834,
5525,
1152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
151,
2832,
5640,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
12756,
61,
21680,
953,
834,
1828,
4552,
4013,
4241,
834,
591,
549,
17444,
427,
3,
834,
5525,
1152,
3274,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What Year has a Tyre of D, and Chassis of Mazda 787? | CREATE TABLE table_6253 (
"Year" real,
"Class" text,
"Team" text,
"Chassis" text,
"Tyre" text,
"Laps" real
) | SELECT "Year" FROM table_6253 WHERE "Tyre" = 'd' AND "Chassis" = 'mazda 787' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
4867,
41,
96,
476,
2741,
121,
490,
6,
96,
21486,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
382,
63,
60,
121,
1499,
6,
96,
3612,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
476,
2741,
121,
21680,
953,
834,
4056,
4867,
549,
17444,
427,
96,
382,
63,
60,
121,
3274,
3,
31,
26,
31,
3430,
96,
3541,
6500,
7,
121,
3274,
3,
31,
18983,
26,
9,
489,
4225,
31,
1,
-100,
-100,
-100,
-100,
-... |
What was the airdate of the episode that was directed by giancarlo volpe and written by is john o'bryan? | CREATE TABLE table_14562722_1 (
original_air_date VARCHAR,
directed_by VARCHAR,
written_by VARCHAR
) | SELECT original_air_date FROM table_14562722_1 WHERE directed_by = "Giancarlo Volpe" AND written_by = "John O'Bryan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
4834,
2555,
2884,
834,
536,
41,
926,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
6640,
834,
969,
584,
4280,
28027,
6,
1545,
834,
969,
584,
4280,
28027,
3,
61,
3,
32102... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
926,
834,
2256,
834,
5522,
21680,
953,
834,
2534,
4834,
2555,
2884,
834,
536,
549,
17444,
427,
6640,
834,
969,
3274,
96,
517,
23,
152,
1720,
40,
32,
4969,
855,
121,
3430,
1545,
834,
969,
3274,
96,
18300,
411,
31,
... |
How many papers does kentaro toyama have ? | CREATE TABLE field (
fieldid int
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE cite (
... | SELECT DISTINCT COUNT(DISTINCT writes.paperid) FROM author, writes WHERE author.authorname = 'kentaro toyama' AND writes.authorid = author.authorid | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1057,
41,
1057,
23,
26,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1040,
1846,
41,
1057,
23,
26,
16,
17,
6,
1040,
23,
26,
16,
17,
3,
61,
3,
32102,
32103,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
2847,
17161,
599,
15438,
25424,
6227,
11858,
5,
19587,
23,
26,
61,
21680,
2291,
6,
11858,
549,
17444,
427,
2291,
5,
17415,
4350,
3274,
3,
31,
2217,
2046,
32,
12,
22990,
31,
3430,
11858,
5,
174... |
Name the software with the latest stable date of 0.6.1 | CREATE TABLE table_name_87 (software VARCHAR, latest_stable_date__version_ VARCHAR) | SELECT software FROM table_name_87 WHERE latest_stable_date__version_ = "0.6.1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
25650,
584,
4280,
28027,
6,
1251,
834,
7,
3869,
834,
5522,
834,
834,
8674,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
889,
28,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
889,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
1251,
834,
7,
3869,
834,
5522,
834,
834,
8674,
834,
3274,
96,
22787,
5,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
other than rough cut , name another movie that he won an award for in 2008 . | CREATE TABLE table_204_838 (
id number,
"year" number,
"award" text,
"category" text,
"nominated work" text,
"result" text
) | SELECT "nominated work" FROM table_204_838 WHERE "nominated work" <> 'rough cut' AND "year" = 2008 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
927,
3747,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
9,
2239,
121,
1499,
6,
96,
8367,
839,
651,
121,
1499,
6,
96,
3114,
77,
920,
161,
121,
1499,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3114,
77,
920,
161,
121,
21680,
953,
834,
26363,
834,
927,
3747,
549,
17444,
427,
96,
3114,
77,
920,
161,
121,
3,
2,
3155,
3,
31,
13245,
1340,
31,
3430,
96,
1201,
121,
3274,
2628,
1,
-100,
-100,
-100,
-100,
... |
What was the Vanwall time/retired with 49 laps? | CREATE TABLE table_name_37 (time_retired VARCHAR, laps VARCHAR, constructor VARCHAR) | SELECT time_retired FROM table_name_37 WHERE laps = 49 AND constructor = "vanwall" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
715,
834,
10682,
1271,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
6,
6774,
127,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
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,
97,
834,
10682,
1271,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
14941,
7,
3274,
9526,
3430,
6774,
127,
3274,
96,
2132,
10279,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Alexander Wronski's Position? | CREATE TABLE table_name_31 (position VARCHAR, name VARCHAR) | SELECT position FROM table_name_31 WHERE name = "alexander wronski" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
4718,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
10135,
549,
6447,
2168,
31,
7,
14258,
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,
1102,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
564,
3274,
96,
138,
994,
11849,
3,
210,
6447,
2168,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the lowest amount of races? | CREATE TABLE table_27539 (
"Season" text,
"Series" text,
"Team" text,
"Races" real,
"Wins" real,
"Poles" real,
"F/Laps" real,
"Podiums" real,
"Points" text,
"Position" text
) | SELECT MIN("Races") FROM table_27539 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25988,
3288,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
12106,
7,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
448,
9,
2319,
121,
490,
6,
96,
18455,
7,
121,
490,
6,
96,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
448,
9,
2319,
8512,
21680,
953,
834,
25988,
3288,
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,
... |
What was the time when the method was TKO? | CREATE TABLE table_name_61 (time VARCHAR, method VARCHAR) | SELECT time FROM table_name_61 WHERE method = "tko" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
715,
584,
4280,
28027,
6,
1573,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
97,
116,
8,
1573,
47,
332,
12725,
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,
97,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
1573,
3274,
96,
17,
157,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who was the opponent at the game that had a loss of Harden (9-6)? | CREATE TABLE table_name_27 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_27 WHERE loss = "harden (9-6)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
32,
102,
9977,
584,
4280,
28027,
6,
1453,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
15264,
44,
8,
467,
24,
141,
3,
9,
1453,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15264,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
1453,
3274,
96,
5651,
35,
14156,
18,
10938,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many of the patients from protestant quaker belief had a lab test for urine prot. electrophoresis? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "PROTESTANT QUAKER" AND lab.label = "Prot. Electrophoresis, Urine" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
Which Player has a To par of 1, and a Year(s) won of 1952? | CREATE TABLE table_9788 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
) | SELECT "Player" FROM table_9788 WHERE "To par" = '–1' AND "Year(s) won" = '1952' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4327,
4060,
41,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
476,
2741,
599,
7,
61,
751,
121,
1499,
6,
96,
3696,
1947,
121,
490,
6,
96,
3696,
260,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15800,
49,
121,
21680,
953,
834,
4327,
4060,
549,
17444,
427,
96,
3696,
260,
121,
3274,
3,
31,
104,
536,
31,
3430,
96,
476,
2741,
599,
7,
61,
751,
121,
3274,
3,
31,
22464,
357,
31,
1,
-100,
-100,
-100,
-100,... |
When did Jacques Chirac stop being a G8 leader? | CREATE TABLE table_72078 (
"Entered office as Head of State or Government" text,
"Began time as senior G8 leader" text,
"Ended time as senior G8 leader" text,
"Person" text,
"Office" text
) | SELECT "Ended time as senior G8 leader" FROM table_72078 WHERE "Person" = 'Jacques Chirac' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
18517,
3940,
41,
96,
16924,
3737,
828,
38,
3642,
13,
1015,
42,
3141,
121,
1499,
6,
96,
2703,
2565,
97,
38,
2991,
350,
927,
2488,
121,
1499,
6,
96,
8532,
221,
26,
97,
38,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
8532,
221,
26,
97,
38,
2991,
350,
927,
2488,
121,
21680,
953,
834,
18517,
3940,
549,
17444,
427,
96,
345,
13515,
121,
3274,
3,
31,
17453,
2695,
3738,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
patients with limited care ( infectious patients requiring special isolation ) . | CREATE TABLE table_train_15 (
"id" int,
"granulocyte_deficiency" bool,
"immune_suppression" bool,
"hiv_infection" bool,
"immune_deficiency_disorder" bool,
"tumor" bool,
"limited_care" bool,
"NOUSE" float
) | SELECT * FROM table_train_15 WHERE limited_care = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
1808,
41,
96,
23,
26,
121,
16,
17,
6,
96,
7662,
83,
24339,
834,
221,
4638,
23,
4392,
121,
3,
12840,
40,
6,
96,
23,
635,
444,
834,
7,
413,
8243,
121,
3,
128... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1808,
549,
17444,
427,
1643,
834,
2864,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many patients with item id 50804 had an abnormal lab test status | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "50804" AND lab.flag = "abnormal" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
hba1c 7 to 10 % | CREATE TABLE table_train_188 (
"id" int,
"systolic_blood_pressure_sbp" int,
"hemoglobin_a1c_hba1c" float,
"diastolic_blood_pressure_dbp" int,
"body_mass_index_bmi" float,
"age" float,
"NOUSE" float
) | SELECT * FROM table_train_188 WHERE hemoglobin_a1c_hba1c >= 7 AND hemoglobin_a1c_hba1c <= 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
25794,
41,
96,
23,
26,
121,
16,
17,
6,
96,
7,
63,
7,
235,
2176,
834,
27798,
834,
26866,
834,
7,
115,
102,
121,
16,
17,
6,
96,
6015,
32,
14063,
77,
834,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1429,
21680,
953,
834,
9719,
834,
25794,
549,
17444,
427,
24731,
14063,
77,
834,
9,
536,
75,
834,
107,
115,
9,
536,
75,
2490,
2423,
489,
3430,
24731,
14063,
77,
834,
9,
536,
75,
834,
107,
115,
9,
536,
75,
3,
2,
... |
What are donor payments in the country where there are 12 children to 6 families (2 per family)? | CREATE TABLE table_16175217_1 (
donor_payment VARCHAR,
children_per_donor VARCHAR
) | SELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = "12 children to 6 families (2 per family)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
2517,
5373,
2517,
834,
536,
41,
18936,
834,
21752,
584,
4280,
28027,
6,
502,
834,
883,
834,
2029,
127,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
18936,
834,
21752,
21680,
953,
834,
2938,
2517,
5373,
2517,
834,
536,
549,
17444,
427,
502,
834,
883,
834,
2029,
127,
3274,
96,
2122,
502,
12,
431,
1791,
4743,
399,
384,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
What is Cabinet, when Year is before 2001, when Lijsttrekker is 'No Elections', when Fractievoorzitter is 'Hans Van Mierlo', and when Chair is 'S. Van Der Loo'? | CREATE TABLE table_name_79 (
cabinet VARCHAR,
chair VARCHAR,
fractievoorzitter VARCHAR,
year VARCHAR,
lijsttrekker VARCHAR
) | SELECT cabinet FROM table_name_79 WHERE year < 2001 AND lijsttrekker = "no elections" AND fractievoorzitter = "hans van mierlo" AND chair = "s. van der loo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
4566,
584,
4280,
28027,
6,
3533,
584,
4280,
28027,
6,
3,
9880,
17,
23,
15,
1621,
127,
702,
17,
449,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4566,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
215,
3,
2,
4402,
3430,
3,
40,
23,
354,
7,
17,
929,
8511,
49,
3274,
96,
29,
32,
9768,
121,
3430,
3,
9880,
17,
23,
15,
1621,
127,
702,
17,
449,
3274,
96,
... |
Which week 1 had a week 2 of Claudia Nathalia? | CREATE TABLE table_name_1 (week_1 VARCHAR, week_2 VARCHAR) | SELECT week_1 FROM table_name_1 WHERE week_2 = "claudia nathalia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
8041,
834,
536,
584,
4280,
28027,
6,
471,
834,
357,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
471,
209,
141,
3,
9,
471,
204,
13,
27292,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
471,
834,
536,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
471,
834,
357,
3274,
96,
4651,
5291,
9,
3,
29,
9,
189,
5434,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the gold when the bronze is 1, total is 6 and silver is less than 3? | CREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT SUM(gold) FROM table_name_2 WHERE bronze = 1 AND total = "6" AND silver < 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
14910,
3,
21342,
17966,
6,
4294,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
14910,
61,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
13467,
3274,
209,
3430,
792,
3274,
96,
948,
121,
3430,
4294,
3,
2,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Round has a Pick smaller than 6? | CREATE TABLE table_name_77 (round INTEGER, pick INTEGER) | SELECT SUM(round) FROM table_name_77 WHERE pick < 6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
7775,
3,
21342,
17966,
6,
1432,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
4073,
9609,
65,
3,
9,
8356,
2755,
145,
431,
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,
180,
6122,
599,
7775,
61,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
1432,
3,
2,
431,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who did thomaz bellucci play against when the score was 4–6, 6–4, 6–2? | CREATE TABLE table_name_80 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_80 WHERE score = "4–6, 6–4, 6–2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
32,
102,
9977,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
410,
3,
189,
32,
18983,
12815,
17431,
23,
577,
581,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
2604,
3274,
96,
591,
104,
11071,
431,
104,
8525,
431,
104,
357,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the service of the network Set Max from India? | CREATE TABLE table_name_22 (service VARCHAR, origin_of_programming VARCHAR, network VARCHAR) | SELECT service FROM table_name_22 WHERE origin_of_programming = "india" AND network = "set max" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
5114,
584,
4280,
28027,
6,
5233,
834,
858,
834,
7050,
53,
584,
4280,
28027,
6,
1229,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
313,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
5233,
834,
858,
834,
7050,
53,
3274,
96,
8482,
9,
121,
3430,
1229,
3274,
96,
2244,
9858,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who was the race 1 winner at the race held at Winton Motor Raceway? | CREATE TABLE table_25543 (
"Event" real,
"Circuit" text,
"Date" text,
"Pole Position" text,
"Race 1 Winner" text,
"Race 2 Winner" text,
"Race 3 Winner" text
) | SELECT "Race 1 Winner" FROM table_25543 WHERE "Circuit" = 'Winton Motor Raceway' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25502,
4906,
41,
96,
427,
2169,
121,
490,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
8931,
15,
14258,
121,
1499,
6,
96,
448,
3302,
209,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3302,
209,
18125,
121,
21680,
953,
834,
25502,
4906,
549,
17444,
427,
96,
254,
23,
52,
21560,
121,
3274,
3,
31,
18455,
17,
106,
5083,
10949,
1343,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is every GICS sector for free float of 0.3180? | CREATE TABLE table_20667854_1 (
gics_sector VARCHAR,
free_float VARCHAR
) | SELECT gics_sector FROM table_20667854_1 WHERE free_float = "0.3180" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
3539,
3940,
5062,
834,
536,
41,
3,
122,
447,
7,
834,
7,
15,
5317,
584,
4280,
28027,
6,
339,
834,
12660,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
122,
447,
7,
834,
7,
15,
5317,
21680,
953,
834,
1755,
3539,
3940,
5062,
834,
536,
549,
17444,
427,
339,
834,
12660,
3274,
96,
19997,
20829,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the october for july of kimberley stanfield | CREATE TABLE table_69136 (
"January" text,
"February" text,
"March" text,
"April" text,
"June" text,
"July" text,
"August" text,
"September" text,
"October" text,
"November" text,
"December" text
) | SELECT "October" FROM table_69136 WHERE "July" = 'kimberley stanfield' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
23459,
41,
96,
30404,
121,
1499,
6,
96,
31122,
121,
1499,
6,
96,
25019,
121,
1499,
6,
96,
23323,
121,
1499,
6,
96,
683,
444,
121,
1499,
6,
96,
683,
83,
63,
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,
1... | [
3,
23143,
14196,
96,
28680,
121,
21680,
953,
834,
3951,
23459,
549,
17444,
427,
96,
683,
83,
63,
121,
3274,
3,
31,
19754,
1152,
1306,
3,
5627,
1846,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
of those teams with kit manufactured by nike , which has a stadium with the most capacity ? | CREATE TABLE table_204_567 (
id number,
"team" text,
"location" text,
"stadium" text,
"capacity" number,
"manager" text,
"captain" text,
"kit manufacturer" text,
"shirt sponsor" text
) | SELECT "team" FROM table_204_567 WHERE "kit manufacturer" = 'nike' ORDER BY "capacity" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
755,
3708,
41,
3,
23,
26,
381,
6,
96,
11650,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
2427,
12925,
121,
1499,
6,
96,
4010,
9,
6726,
121,
381,
6,
96,
24185... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11650,
121,
21680,
953,
834,
26363,
834,
755,
3708,
549,
17444,
427,
96,
9229,
4818,
121,
3274,
3,
31,
4953,
15,
31,
4674,
11300,
272,
476,
96,
4010,
9,
6726,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
... |
how many tracks are in the album ? | CREATE TABLE table_204_184 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"featured guest(s)" text,
"length" text
) | SELECT COUNT("title") FROM table_204_184 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
25987,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
21869,
121,
1499,
6,
96,
1409,
4817,
49,
599,
7,
61,
121,
1499,
6,
96,
30844,
26,
3886,
599,
7,
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,
21869,
8512,
21680,
953,
834,
26363,
834,
25987,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Kickoff had a Game Site of bank of america stadium? | CREATE TABLE table_name_5 (
kickoff VARCHAR,
game_site VARCHAR
) | SELECT kickoff FROM table_name_5 WHERE game_site = "bank of america stadium" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
4583,
1647,
584,
4280,
28027,
6,
467,
834,
3585,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
20759,
1647,
141,
3,
9,
4435,
3238,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4583,
1647,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
467,
834,
3585,
3274,
96,
4739,
13,
3,
23064,
14939,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which Area (km ) is the lowest one that has a Population of 17,089? | CREATE TABLE table_name_39 (
area__km²_ INTEGER,
pop VARCHAR
) | SELECT MIN(area__km²_) FROM table_name_39 WHERE pop = 17 OFFSET 089 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
616,
834,
834,
5848,
357,
834,
3,
21342,
17966,
6,
2783,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
5690,
41,
5848,
3,
61,
19,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
498,
834,
834,
5848,
357,
834,
61,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
2783,
3274,
1003,
3,
15316,
20788,
12046,
1298,
1,
-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_18092 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
) | SELECT "Points against" FROM table_18092 WHERE "Points" = '31' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20829,
4508,
41,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
1499,
6,
96,
518,
106,
121,
1499,
6,
96,
308,
10936,
29,
121,
1499,
6,
96,
434,
3481,
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,
22512,
7,
581,
121,
21680,
953,
834,
20829,
4508,
549,
17444,
427,
96,
22512,
7,
121,
3274,
3,
31,
3341,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
who was running where the winner is daniel montgomery | CREATE TABLE table_2668378_13 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668378_13 WHERE incumbent = "Daniel Montgomery" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3651,
519,
3940,
834,
2368,
41,
1608,
12416,
6203,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
113,
47,
1180,
213,
8,
4668,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4341,
21680,
953,
834,
2688,
3651,
519,
3940,
834,
2368,
549,
17444,
427,
28406,
3274,
96,
308,
2738,
15,
40,
22948,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What are the phone and email for customer Harold? | CREATE TABLE CUSTOMERS (Customer_Phone VARCHAR, Customer_Email_Address VARCHAR, Customer_Name VARCHAR) | SELECT Customer_Phone, Customer_Email_Address FROM CUSTOMERS WHERE Customer_Name = "Harold" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
205,
16847,
8638,
9984,
41,
30067,
49,
834,
345,
107,
782,
584,
4280,
28027,
6,
7327,
834,
427,
1963,
834,
20773,
9377,
584,
4280,
28027,
6,
7327,
834,
23954,
584,
4280,
28027,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7327,
834,
345,
107,
782,
6,
7327,
834,
427,
1963,
834,
20773,
9377,
21680,
205,
16847,
8638,
9984,
549,
17444,
427,
7327,
834,
23954,
3274,
96,
15537,
1490,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the game for june 16 | CREATE TABLE table_22670 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location/Attendance" text,
"Record" text
) | SELECT "Game" FROM table_22670 WHERE "Date" = 'June 16' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2688,
2518,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23055,
121,
21680,
953,
834,
357,
2688,
2518,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
683,
444,
898,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is average age of female patients whose age is equal or more than 86 years? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT AVG(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.age >= "86" | [
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,
71,
17217,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
122,
3868,
3274,
96,
371,
121,
3430,
14798,
5,
545,
2490,
2423,
96,
3840,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
who is the player when the pick is 15 and the year [A] is 2000? | CREATE TABLE table_name_75 (player_name VARCHAR, pick VARCHAR, year_ VARCHAR, a_ VARCHAR) | SELECT player_name FROM table_name_75 WHERE pick = "15" AND year_[a_] = 2000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
20846,
834,
4350,
584,
4280,
28027,
6,
1432,
584,
4280,
28027,
6,
215,
834,
584,
4280,
28027,
6,
3,
9,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
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,
0... | [
3,
23143,
14196,
1959,
834,
4350,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
1432,
3274,
96,
1808,
121,
3430,
215,
834,
6306,
9,
834,
908,
3274,
2766,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is listed the Favorite Professional Sport that's got a 2005 of 17.1%? | CREATE TABLE table_name_91 (favorite_professional_sport VARCHAR) | SELECT favorite_professional_sport FROM table_name_91 WHERE 2005 = "17.1%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
89,
9,
1621,
5730,
834,
24318,
834,
6661,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
2616,
8,
16717,
155,
15,
4751,
3349,
24,
31,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1305,
834,
24318,
834,
6661,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
3105,
3274,
96,
2517,
5,
4704,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who won 5th place with olivia franciska won 4th place? | CREATE TABLE table_26491 (
"Year" real,
"Putri Pariwisata Indonesia" text,
"1st Runner Up" text,
"2nd Runner Up" text,
"3rd Runner Up" text,
"4th Runner Up" text
) | SELECT "4th Runner Up" FROM table_26491 WHERE "3rd Runner Up" = 'Olivia Franciska' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26755,
4729,
41,
96,
476,
2741,
121,
490,
6,
96,
345,
76,
1788,
2180,
23,
210,
159,
144,
9,
9995,
121,
1499,
6,
96,
536,
7,
17,
3,
23572,
3234,
121,
1499,
6,
96,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
591,
189,
3,
23572,
3234,
121,
21680,
953,
834,
26755,
4729,
549,
17444,
427,
96,
519,
52,
26,
3,
23572,
3234,
121,
3274,
3,
31,
667,
40,
11687,
9,
11065,
1258,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which rider has a time of +2:11.524? | CREATE TABLE table_name_92 (rider VARCHAR, time VARCHAR) | SELECT rider FROM table_name_92 WHERE time = "+2:11.524" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
4055,
49,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2564,
52,
65,
3,
9,
97,
13,
1768,
357,
10,
10032,
755,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2564,
52,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
97,
3274,
96,
1220,
357,
10,
10032,
5373,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the most rank for uk and wins more than 5 | CREATE TABLE table_name_1 (
rank INTEGER,
country VARCHAR,
wins__indoor_ VARCHAR
) | SELECT MAX(rank) FROM table_name_1 WHERE country = "uk" AND wins__indoor_ > 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
11003,
3,
21342,
17966,
6,
684,
584,
4280,
28027,
6,
9204,
834,
834,
77,
11968,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
6254,
61,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
684,
3274,
96,
1598,
121,
3430,
9204,
834,
834,
77,
11968,
834,
2490,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Visualize a bar chart about the distribution of Sex and the average of Height , and group by attribute Sex, order x-axis from high to low order please. | CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate re... | SELECT Sex, AVG(Height) FROM people GROUP BY Sex ORDER BY Sex DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
151,
41,
2449,
834,
4309,
16,
17,
6,
679,
226,
1499,
6,
5570,
1499,
6,
7678,
834,
858,
834,
279,
23,
52,
189,
1499,
6,
24231,
490,
6,
14230,
490,
3,
61,
3,
32102,
32103,
32102,
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,
679,
226,
6,
71,
17217,
599,
3845,
2632,
61,
21680,
151,
350,
4630,
6880,
272,
476,
679,
226,
4674,
11300,
272,
476,
679,
226,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the average win total associated with under 4 draws, and under 15 goals? | CREATE TABLE table_54668 (
"Position" real,
"Club" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Points" real,
"Goal Difference" real
) | SELECT AVG("Wins") FROM table_54668 WHERE "Draws" < '4' AND "Goals for" < '15' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
4448,
3651,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
18455,
7,
121,
490,
6,
96,
308,
10936,
7,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
18455,
7,
8512,
21680,
953,
834,
755,
4448,
3651,
549,
17444,
427,
96,
308,
10936,
7,
121,
3,
2,
3,
31,
591,
31,
3430,
96,
6221,
5405,
21,
121,
3,
2,
3,
31,
1808,
31,
1,
-100,
-100,
-100,
... |
What is the source of the move from Port Vale? | CREATE TABLE table_name_97 (
source VARCHAR,
moving_from VARCHAR
) | SELECT source FROM table_name_97 WHERE moving_from = "port vale" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
1391,
584,
4280,
28027,
6,
1735,
834,
7152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1391,
13,
8,
888,
45,
3625,
3833,
15,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1391,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
1735,
834,
7152,
3274,
96,
1493,
409,
109,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the smallest grid for Prince bira? | CREATE TABLE table_name_29 (
grid INTEGER,
driver VARCHAR
) | SELECT MIN(grid) FROM table_name_29 WHERE driver = "prince bira" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
8634,
3,
21342,
17966,
6,
2535,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3,
17924,
8634,
21,
9027,
3,
8781,
9,
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,
3,
17684,
599,
3496,
26,
61,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
2535,
3274,
96,
12298,
565,
3,
8781,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what two teams only have two titles ? | CREATE TABLE table_203_502 (
id number,
"team" text,
"titles" number,
"runner-up" number,
"third place" number,
"fourth place" number,
"years participated" number
) | SELECT "team" FROM table_203_502 WHERE "titles" = 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
1752,
357,
41,
3,
23,
26,
381,
6,
96,
11650,
121,
1499,
6,
96,
21869,
7,
121,
381,
6,
96,
10806,
18,
413,
121,
381,
6,
96,
14965,
286,
121,
381,
6,
96,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
11650,
121,
21680,
953,
834,
23330,
834,
1752,
357,
549,
17444,
427,
96,
21869,
7,
121,
3274,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many copies per particle are created by the enterotoxin? | CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, function VARCHAR) | SELECT copies_per_particle FROM table_140968_1 WHERE function = "Enterotoxin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
4198,
3651,
834,
536,
41,
17634,
7,
834,
883,
834,
102,
8372,
584,
4280,
28027,
6,
1681,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
8167,
399,
24317... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8167,
834,
883,
834,
102,
8372,
21680,
953,
834,
2534,
4198,
3651,
834,
536,
549,
17444,
427,
1681,
3274,
96,
16924,
15,
2719,
14443,
29,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was Head Coach Jim Morris's best finish? | CREATE TABLE table_name_25 (cws_best_finish VARCHAR, head_coach VARCHAR) | SELECT cws_best_finish FROM table_name_25 WHERE head_coach = "jim morris" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
75,
210,
7,
834,
9606,
834,
25535,
584,
4280,
28027,
6,
819,
834,
509,
1836,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
3642,
9493,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
75,
210,
7,
834,
9606,
834,
25535,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
819,
834,
509,
1836,
3274,
96,
354,
603,
8030,
52,
159,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the result for the district missouri 2? | CREATE TABLE table_18322 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT "Result" FROM table_18322 WHERE "District" = 'Missouri 2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24361,
2884,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
490,
6,
96,
20119,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20119,
121,
21680,
953,
834,
24361,
2884,
549,
17444,
427,
96,
308,
23,
20066,
121,
3274,
3,
31,
329,
159,
7,
32,
459,
204,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show the names of customers who use Credit Card payment method and have more than 2 orders. | CREATE TABLE order_items (
order_item_id number,
order_id number,
product_id number,
order_quantity text
)
CREATE TABLE customer_orders (
order_id number,
customer_id number,
order_date time,
order_status_code text
)
CREATE TABLE contacts (
contact_id number,
customer_id number... | SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.payment_method_code = 'Credit Card' GROUP BY T1.customer_id HAVING COUNT(*) > 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
455,
834,
23,
3524,
7,
41,
455,
834,
23,
3524,
834,
23,
26,
381,
6,
455,
834,
23,
26,
381,
6,
556,
834,
23,
26,
381,
6,
455,
834,
13158,
485,
1499,
3,
61,
3,
32102,
32103,
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,
25697,
49,
834,
4350,
21680,
722,
6157,
332,
536,
3,
15355,
3162,
884,
834,
9397,
7,
6157,
332,
357,
9191,
332,
5411,
25697,
49,
834,
23,
26,
3274,
332,
4416,
25697,
49,
834,
23,
26,
549,
17444,
427,
33... |
With more than 69 Assists, what is Dejuan Collins' Rank? | CREATE TABLE table_7234 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Assists" real
) | SELECT COUNT("Rank") FROM table_7234 WHERE "Name" = 'dejuan collins' AND "Assists" > '69' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5865,
3710,
41,
96,
22557,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
23055,
7,
121,
490,
6,
96,
188,
7,
7,
343,
7,
121,
490,
3,
61,
3,
32102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
22557,
8512,
21680,
953,
834,
5865,
3710,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
221,
2047,
152,
8029,
77,
7,
31,
3430,
96,
188,
7,
7,
343,
7,
121,
2490,
3,
31,
3951,
31,
1,
-100,
... |
What is the CERCLIS ID of the site in Polk County, with the date 08/04/2009? | CREATE TABLE table_11972 (
"CERCLIS ID" text,
"Name" text,
"County" text,
"Partially deleted" text,
"Deleted" text
) | SELECT "CERCLIS ID" FROM table_11972 WHERE "County" = 'polk' AND "Deleted" = '08/04/2009' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19993,
5865,
41,
96,
4770,
4902,
25769,
4699,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
10628,
63,
121,
1499,
6,
96,
13725,
23,
1427,
16355,
121,
1499,
6,
96,
28141,
26,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4770,
4902,
25769,
4699,
121,
21680,
953,
834,
19993,
5865,
549,
17444,
427,
96,
10628,
63,
121,
3274,
3,
31,
3233,
157,
31,
3430,
96,
28141,
26,
121,
3274,
3,
31,
4018,
24288,
87,
16660,
31,
1,
-100,
-100,
-1... |
What is every position for the CFL Edmonton? | CREATE TABLE table_28059992_1 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_28059992_1 WHERE cfl_team = "Edmonton" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
3076,
19446,
357,
834,
536,
41,
4718,
584,
4280,
28027,
6,
3,
75,
89,
40,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
334,
1102,
21,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1102,
21680,
953,
834,
2577,
3076,
19446,
357,
834,
536,
549,
17444,
427,
3,
75,
89,
40,
834,
11650,
3274,
96,
427,
26,
4662,
106,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many people in total attended the game on 1 november 1997? | CREATE TABLE table_name_37 (
attendance VARCHAR,
date VARCHAR
) | SELECT COUNT(attendance) FROM table_name_37 WHERE date = "1 november 1997" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
11364,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
151,
16,
792,
5526,
8,
467,
30,
209,
3,
5326,
18247,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
833,
3274,
96,
536,
3,
5326,
18247,
6622,
121,
1,
-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.