NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
How many incoming managers did Burnley have? | CREATE TABLE table_26593762_3 (
incoming_manager VARCHAR,
team VARCHAR
) | SELECT COUNT(incoming_manager) FROM table_26593762_3 WHERE team = "Burnley" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3390,
4118,
4056,
834,
519,
41,
3,
19583,
834,
24185,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
3,
19583,
5903,
410,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
19583,
834,
24185,
61,
21680,
953,
834,
2688,
3390,
4118,
4056,
834,
519,
549,
17444,
427,
372,
3274,
96,
279,
450,
29,
1306,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What status has gauteng falcons as the opposing team? | CREATE TABLE table_name_2 (
status VARCHAR,
opposing_team VARCHAR
) | SELECT status FROM table_name_2 WHERE opposing_team = "gauteng falcons" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
2637,
584,
4280,
28027,
6,
10720,
53,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
2637,
65,
3,
20038,
324,
122,
12553,
8056,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
357,
549,
17444,
427,
10720,
53,
834,
11650,
3274,
96,
20038,
324,
122,
12553,
8056,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which retitled network has a Show of supermarket sweep? | CREATE TABLE table_name_92 (
retitled_as_same VARCHAR,
show VARCHAR
) | SELECT retitled_as_same FROM table_name_92 WHERE show = "supermarket sweep" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
3,
60,
10920,
834,
9,
7,
834,
7,
265,
15,
584,
4280,
28027,
6,
504,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
3,
60,
10920,
1229,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
60,
10920,
834,
9,
7,
834,
7,
265,
15,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
504,
3274,
96,
21771,
8809,
17695,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which base has a company of Theatro Technis Karolos Koun? | CREATE TABLE table_name_59 (base VARCHAR, company VARCHAR) | SELECT base FROM table_name_59 WHERE company = "theatro technis karolos koun" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
10925,
584,
4280,
28027,
6,
349,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1247,
65,
3,
9,
349,
13,
37,
144,
52,
32,
7130,
29,
159,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1247,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
349,
3274,
96,
532,
144,
52,
32,
5256,
29,
159,
3,
4031,
32,
2298,
3,
157,
32,
202,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What are the most points Lap 70 had with a grid larger than 16? | CREATE TABLE table_35696 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Points" real
) | SELECT MAX("Points") FROM table_35696 WHERE "Laps" = '70' AND "Grid" > '16' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
3951,
948,
41,
96,
20982,
52,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13313,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
22512,
7,
8512,
21680,
953,
834,
2469,
3951,
948,
549,
17444,
427,
96,
3612,
102,
7,
121,
3274,
3,
31,
2518,
31,
3430,
96,
13313,
26,
121,
2490,
3,
31,
2938,
31,
1,
-100,
-100,
-100,
-100,
-10... |
What is the record on December 11? | CREATE TABLE table_name_77 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_77 WHERE date = "december 11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
60,
7621,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1368,
30,
1882,
850,
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,
1368,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
833,
3274,
96,
221,
75,
18247,
850,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Week has an Attendance larger than 63,369? | CREATE TABLE table_name_90 (
week INTEGER,
attendance INTEGER
) | SELECT MIN(week) FROM table_name_90 WHERE attendance > 63 OFFSET 369 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2394,
41,
471,
3,
21342,
17966,
6,
11364,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
6551,
65,
46,
22497,
663,
2186,
145,
3,
3891,
6,
519,
3951... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
8041,
61,
21680,
953,
834,
4350,
834,
2394,
549,
17444,
427,
11364,
2490,
3,
3891,
3,
15316,
20788,
220,
3951,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Hometown of Tim Williams? | CREATE TABLE table_name_72 (
hometown__previous_school_ VARCHAR,
name VARCHAR
) | SELECT hometown__previous_school_ FROM table_name_72 WHERE name = "tim williams" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
22295,
834,
834,
2026,
19117,
834,
6646,
834,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1210,
3540,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
22295,
834,
834,
2026,
19117,
834,
6646,
834,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
564,
3274,
96,
2998,
56,
23,
265,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which position from the Cherkassy Monkeys' club was born after 1978? | CREATE TABLE table_name_10 (
position VARCHAR,
year_born VARCHAR,
current_club VARCHAR
) | SELECT position FROM table_name_10 WHERE year_born > 1978 AND current_club = "cherkassy monkeys" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
1102,
584,
4280,
28027,
6,
215,
834,
7473,
584,
4280,
28027,
6,
750,
834,
13442,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1102,
45,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1102,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
215,
834,
7473,
2490,
14834,
3430,
750,
834,
13442,
3274,
96,
1703,
1258,
7,
7,
63,
21622,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
At what stadium was the game with the final score of 9-23 played? | CREATE TABLE table_15574 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
) | SELECT "Stadium" FROM table_15574 WHERE "Final Score" = '9-23' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20896,
4581,
41,
96,
308,
342,
121,
1499,
6,
96,
30338,
2271,
121,
1499,
6,
96,
371,
10270,
17763,
121,
1499,
6,
96,
566,
3481,
2271,
121,
1499,
6,
96,
134,
17,
9,
12925,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
17,
9,
12925,
121,
21680,
953,
834,
20896,
4581,
549,
17444,
427,
96,
371,
10270,
17763,
121,
3274,
3,
31,
1298,
18,
2773,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many different outcomes of the French Championships were there? | CREATE TABLE table_2201724_2 (
outcome VARCHAR,
championship VARCHAR
) | SELECT COUNT(outcome) FROM table_2201724_2 WHERE championship = "French championships" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
9887,
2266,
834,
357,
41,
6138,
584,
4280,
28027,
6,
10183,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
315,
6353,
13,
8,
2379,
7666,
7,
130,
132... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
670,
287,
15,
61,
21680,
953,
834,
357,
9887,
2266,
834,
357,
549,
17444,
427,
10183,
3274,
96,
371,
60,
5457,
10183,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What nation has more than 1 bronze and less than 3 silver? | CREATE TABLE table_60024 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT "Nation" FROM table_60024 WHERE "Bronze" > '1' AND "Silver" < '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
6007,
2266,
41,
96,
22557,
121,
1499,
6,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
3696,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
567,
257,
121,
21680,
953,
834,
6007,
2266,
549,
17444,
427,
96,
22780,
29,
776,
121,
2490,
3,
31,
536,
31,
3430,
96,
134,
173,
624,
121,
3,
2,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What tournament was Thomas Enqvist runner up? | CREATE TABLE table_name_15 (
tournament VARCHAR,
runner_up VARCHAR
) | SELECT tournament FROM table_name_15 WHERE runner_up = "thomas enqvist" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1808,
41,
5892,
584,
4280,
28027,
6,
3,
10806,
834,
413,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
5892,
47,
3576,
695,
1824,
3466,
17,
3,
108... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5892,
21680,
953,
834,
4350,
834,
1808,
549,
17444,
427,
3,
10806,
834,
413,
3274,
96,
189,
32,
2754,
3,
35,
1824,
3466,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who was the opponent in the Week 4 game? | CREATE TABLE table_name_25 (
opponent VARCHAR,
week VARCHAR
) | SELECT opponent FROM table_name_25 WHERE week = 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
15264,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
15264,
16,
8,
6551,
314,
467,
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,
15264,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
471,
3274,
314,
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 is the total number of cuts made for events played more than 3 times and under 2 top-25s? | CREATE TABLE table_79695 (
"Tournament" text,
"Wins" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
) | SELECT COUNT("Cuts made") FROM table_79695 WHERE "Events" > '3' AND "Top-25" < '2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4440,
3951,
755,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
22481,
4536,
121,
490,
6,
96,
22481,
14855,
121,
490,
6,
96,
427,
2169,
7,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
15784,
17,
7,
263,
8512,
21680,
953,
834,
4440,
3951,
755,
549,
17444,
427,
96,
427,
2169,
7,
121,
2490,
3,
31,
519,
31,
3430,
96,
22481,
14855,
121,
3,
2,
3,
31,
357,
31,
1,
-100,
-100,
... |
What is the score of the Geelong away team? | CREATE TABLE table_name_18 (
away_team VARCHAR
) | SELECT away_team AS score FROM table_name_18 WHERE away_team = "geelong" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
13,
8,
961,
15,
2961,
550,
372,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
550,
834,
11650,
3274,
96,
397,
15,
2961,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
If the radio stations is radio nou si radio radio nou m sica; what were the total number of television channels? | CREATE TABLE table_23143607_1 (
television_channels VARCHAR,
radio_stations VARCHAR
) | SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = "Radio Nou Si Radio Radio Nou Música" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2534,
3420,
4560,
834,
536,
41,
4390,
834,
19778,
7,
584,
4280,
28027,
6,
2252,
834,
6682,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
156,
8,
2252,
69... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1931,
6610,
834,
19778,
7,
61,
21680,
953,
834,
2773,
2534,
3420,
4560,
834,
536,
549,
17444,
427,
2252,
834,
6682,
7,
3274,
96,
31313,
14455,
925,
5061,
5061,
14455,
283,
2,
7,
2617,
121,
1,
-100,... |
Name the number of virtual for NBC | CREATE TABLE table_19453 (
"Virtual" real,
"Physical" real,
"Call sign" text,
"Branding" text,
"Network" text,
"Owner" text
) | SELECT COUNT("Virtual") FROM table_19453 WHERE "Network" = 'NBC' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
2128,
519,
41,
96,
21031,
17,
3471,
121,
490,
6,
96,
16977,
7,
1950,
121,
490,
6,
96,
254,
1748,
1320,
121,
1499,
6,
96,
18304,
727,
53,
121,
1499,
6,
96,
9688,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21031,
17,
3471,
8512,
21680,
953,
834,
2294,
2128,
519,
549,
17444,
427,
96,
9688,
1981,
121,
3274,
3,
31,
15829,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the highest attendance when the Atlanta Falcons played for a week smaller than 10? | CREATE TABLE table_name_19 (
attendance INTEGER,
opponent VARCHAR,
week VARCHAR
) | SELECT MAX(attendance) FROM table_name_19 WHERE opponent = "atlanta falcons" AND week < 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2294,
41,
11364,
3,
21342,
17966,
6,
15264,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2030,
11364,
116,
8,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
2294,
549,
17444,
427,
15264,
3274,
96,
144,
6761,
9,
12553,
8056,
121,
3430,
471,
3,
2,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the number of patients whose admission year is less than 2182 and lab test fluid is blood? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2182" AND lab.fluid = "Blood" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
Stacked bar chart of the number of left office for with each Minister in each left office | CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE member (
Member_ID int,
Member_Name text,
Party_ID text,
In_office text
)
CREATE TABLE party_events (
Event_ID int,
Event_Name text,
Party_ID int... | SELECT Left_office, COUNT(Left_office) FROM party GROUP BY Minister | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1719,
41,
6163,
834,
4309,
16,
17,
6,
6163,
834,
4350,
1499,
6,
7678,
1499,
6,
16229,
1499,
6,
12439,
1499,
6,
22424,
76,
15,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14298,
834,
19632,
6,
2847,
17161,
599,
2796,
89,
17,
834,
19632,
61,
21680,
1088,
350,
4630,
6880,
272,
476,
3271,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What venue has eng by 10 runs as the result? | CREATE TABLE table_name_2 (
venue VARCHAR,
result VARCHAR
) | SELECT venue FROM table_name_2 WHERE result = "eng by 10 runs" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
5669,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
5669,
65,
3,
4606,
57,
335,
3154,
38,
8,
741,
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,
5669,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
741,
3274,
96,
4606,
57,
335,
3154,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what's the position where player is anthony blaylock | CREATE TABLE table_10650711_1 (position VARCHAR, player VARCHAR) | SELECT position FROM table_10650711_1 WHERE player = "Anthony Blaylock" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1714,
15348,
4450,
536,
834,
536,
41,
4718,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
1102,
213,
1959,
19,
46,
189,
106... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1714,
15348,
4450,
536,
834,
536,
549,
17444,
427,
1959,
3274,
96,
188,
29,
189,
106,
63,
6942,
63,
4029,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For races with an average speed of 113.835 mph, what are the winning race times? | CREATE TABLE table_17801022_1 (
race_time VARCHAR,
average_speed__mph_ VARCHAR
) | SELECT race_time FROM table_17801022_1 WHERE average_speed__mph_ = "113.835" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2079,
1714,
2884,
834,
536,
41,
1964,
834,
715,
584,
4280,
28027,
6,
1348,
834,
9993,
834,
834,
7656,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
242,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
1964,
834,
715,
21680,
953,
834,
2517,
2079,
1714,
2884,
834,
536,
549,
17444,
427,
1348,
834,
9993,
834,
834,
7656,
834,
3274,
96,
20522,
5,
4591,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the average Lost entry for Newton, for games with a drawn less than 5? | CREATE TABLE table_name_78 (
lost INTEGER,
team VARCHAR,
drawn VARCHAR
) | SELECT AVG(lost) FROM table_name_78 WHERE team = "newton" AND drawn < 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3940,
41,
1513,
3,
21342,
17966,
6,
372,
584,
4280,
28027,
6,
6796,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1348,
19576,
1764,
21,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
2298,
17,
61,
21680,
953,
834,
4350,
834,
3940,
549,
17444,
427,
372,
3274,
96,
5534,
17,
106,
121,
3430,
6796,
3,
2,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Opponent In The Final, when Year is '1942'? | CREATE TABLE table_name_33 (
opponent_in_the_final VARCHAR,
year VARCHAR
) | SELECT opponent_in_the_final FROM table_name_33 WHERE year = 1942 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
15264,
834,
77,
834,
532,
834,
12406,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
4495,
9977,
86,
37,
65... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15264,
834,
77,
834,
532,
834,
12406,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
215,
3274,
24466,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the number of year for mark martin | CREATE TABLE table_23015396_1 (
year VARCHAR,
driver VARCHAR
) | SELECT COUNT(year) FROM table_23015396_1 WHERE driver = "Mark Martin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
13427,
27025,
4314,
834,
536,
41,
215,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
381,
13,
215,
21,
3946,
3157,
17,
77,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1201,
61,
21680,
953,
834,
13427,
27025,
4314,
834,
536,
549,
17444,
427,
2535,
3274,
96,
19762,
3394,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which team scored the most goals in a single match against fc seoul during the 2011 season ? | CREATE TABLE table_204_375 (
id number,
"#" number,
"season" number,
"competition" text,
"date" text,
"round" text,
"opponent" text,
"h / a" text,
"result" text,
"scorer (s)" text
) | SELECT "opponent" FROM table_204_375 WHERE "season" = 2011 ORDER BY "result" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
22954,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
9476,
121,
381,
6,
96,
287,
4995,
4749,
121,
1499,
6,
96,
5522,
121,
1499,
6,
96,
7775,
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,
32,
102,
9977,
121,
21680,
953,
834,
26363,
834,
22954,
549,
17444,
427,
96,
9476,
121,
3274,
2722,
4674,
11300,
272,
476,
96,
60,
7,
83,
17,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
... |
What is the number of Tournament of U.S. Open wins with a Top-25 smaller than 4? | CREATE TABLE table_name_79 (wins VARCHAR, tournament VARCHAR, top_25 VARCHAR) | SELECT COUNT(wins) FROM table_name_79 WHERE tournament = "u.s. open" AND top_25 < 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
3757,
7,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
6,
420,
834,
1828,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
381,
13,
2050... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
3757,
7,
61,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
5892,
3274,
96,
76,
5,
7,
5,
539,
121,
3430,
420,
834,
1828,
3,
2,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which type of record has result/games of b.c. 16 @ edmonton 22? | CREATE TABLE table_21436373_6 (type_of_record VARCHAR, result_games VARCHAR) | SELECT type_of_record FROM table_21436373_6 WHERE result_games = "B.C. 16 @ Edmonton 22" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
4906,
3891,
4552,
834,
948,
41,
6137,
834,
858,
834,
60,
7621,
584,
4280,
28027,
6,
741,
834,
7261,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
686,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
686,
834,
858,
834,
60,
7621,
21680,
953,
834,
2658,
4906,
3891,
4552,
834,
948,
549,
17444,
427,
741,
834,
7261,
7,
3274,
96,
279,
5,
254,
5,
898,
3320,
26485,
1630,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the original air date of the episode titled 'Mom at the Bar/Train Buddy' that was written b Adrienne Carter? | CREATE TABLE table_25346 (
"Series #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Prod. code" real
) | SELECT "Original air date" FROM table_25346 WHERE "Written by" = 'Adrienne Carter' AND "Title" = 'Mom at the Bar/Train Buddy' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
519,
4448,
41,
96,
12106,
7,
1713,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965,
324,
57,
121,
1499,
6,
96,
667,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
667,
3380,
10270,
799,
833,
121,
21680,
953,
834,
1828,
519,
4448,
549,
17444,
427,
96,
24965,
324,
57,
121,
3274,
3,
31,
188,
26,
52,
4731,
17080,
31,
3430,
96,
382,
155,
109,
121,
3274,
3,
31,
329,
32,
51,... |
Please tell the revenues of the companies with the highest revenues in each headquarter city. | CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) | SELECT Headquarter, MAX(Revenue) FROM Manufacturers GROUP BY Headquarter | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
15248,
7,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
3642,
19973,
584,
4280,
28027,
599,
25502,
201,
3,
19145,
584,
4280,
28027,
599,
25502,
201,
19764,
17833... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3642,
19973,
6,
4800,
4,
599,
1649,
15098,
61,
21680,
15248,
7,
350,
4630,
6880,
272,
476,
3642,
19973,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who played as the home team when the attendance was more than 30,080? | CREATE TABLE table_32685 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Home team" FROM table_32685 WHERE "Crowd" > '30,080' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2688,
4433,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
19040,
372,
121,
21680,
953,
834,
519,
2688,
4433,
549,
17444,
427,
96,
254,
3623,
26,
121,
2490,
3,
31,
1458,
6,
632,
2079,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What game had the result of 112-100? | CREATE TABLE table_name_98 (game VARCHAR, result VARCHAR) | SELECT game FROM table_name_98 WHERE result = "112-100" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
7261,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
467,
141,
8,
741,
13,
850,
7412,
2915,
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,
467,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
741,
3274,
96,
2596,
7412,
2915,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Create a pie chart showing minimal room count across apt type code. | CREATE TABLE Apartment_Buildings (
building_id INTEGER,
building_short_name CHAR(15),
building_full_name VARCHAR(80),
building_description VARCHAR(255),
building_address VARCHAR(255),
building_manager VARCHAR(50),
building_phone VARCHAR(80)
)
CREATE TABLE Apartment_Facilities (
apt_id I... | SELECT apt_type_code, MIN(room_count) FROM Apartments GROUP BY apt_type_code | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
15970,
834,
24752,
53,
7,
41,
740,
834,
23,
26,
3,
21342,
17966,
6,
740,
834,
7,
14184,
834,
4350,
3,
28027,
599,
1808,
201,
740,
834,
1329,
40,
834,
4350,
584,
4280,
28027,
599,
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,
3,
6789,
834,
6137,
834,
4978,
6,
3,
17684,
599,
3082,
834,
13362,
61,
21680,
15970,
7,
350,
4630,
6880,
272,
476,
3,
6789,
834,
6137,
834,
4978,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the try bonus when there were 58 points? | CREATE TABLE table_70632 (
"Club" text,
"Played" 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 "Try bonus" FROM table_70632 WHERE "Points" = '58' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
3891,
357,
41,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
1499,
6,
96,
308,
10936,
29,
121,
1499,
6,
96,
434,
3481,
121,
1499,
6,
96,
22512,
7,
21,
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,
382,
651,
4023,
121,
21680,
953,
834,
2518,
3891,
357,
549,
17444,
427,
96,
22512,
7,
121,
3274,
3,
31,
3449,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Where was the tournament dated nov 3, 2002? | CREATE TABLE table_1121352_2 (
tournament VARCHAR,
date VARCHAR
) | SELECT tournament FROM table_1121352_2 WHERE date = "Nov 3, 2002" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
2658,
2469,
357,
834,
357,
41,
5892,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
8,
5892,
3,
14134,
3,
5326,
6180,
440... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5892,
21680,
953,
834,
2596,
2658,
2469,
357,
834,
357,
549,
17444,
427,
833,
3274,
96,
4168,
208,
6180,
4407,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
give me the number of patients whose age is less than 54 and admission year is less than 2162? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "54" AND demographic.admityear < "2162" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
545,
3,
2,
96,
5062,
121,
3430,
14798,
5,
20466,
17,
1201,
3,
2,
96,
2658,
4056,
121,
1,
-100,... |
Who was the deceased spouse who was married for 4 years? | CREATE TABLE table_24143253_5 (
deceased_spouse VARCHAR,
length_of_marriage VARCHAR
) | SELECT deceased_spouse FROM table_24143253_5 WHERE length_of_marriage = "4 years" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
2534,
2668,
4867,
834,
755,
41,
22449,
834,
7990,
1074,
584,
4280,
28027,
6,
2475,
834,
858,
834,
51,
10269,
545,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
22449,
834,
7990,
1074,
21680,
953,
834,
2266,
2534,
2668,
4867,
834,
755,
549,
17444,
427,
2475,
834,
858,
834,
51,
10269,
545,
3274,
96,
591,
203,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What episode was the last appearance of the character, rikki sandoval? | CREATE TABLE table_16568 (
"Character" text,
"Portrayed by" text,
"Relationship" text,
"First appearance" text,
"Last appearance" text
) | SELECT "Last appearance" FROM table_16568 WHERE "Character" = 'Rikki Sandoval' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22823,
3651,
41,
96,
18947,
2708,
49,
121,
1499,
6,
96,
14714,
2866,
15,
26,
57,
121,
1499,
6,
96,
1649,
6105,
2009,
121,
1499,
6,
96,
25171,
3179,
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,
3612,
7,
17,
3179,
121,
21680,
953,
834,
22823,
3651,
549,
17444,
427,
96,
18947,
2708,
49,
121,
3274,
3,
31,
448,
23,
8511,
23,
5440,
32,
2165,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Away team has a Home team of walsall? | CREATE TABLE table_name_3 (
away_team VARCHAR,
home_team VARCHAR
) | SELECT away_team FROM table_name_3 WHERE home_team = "walsall" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
550,
834,
11650,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
71,
1343,
372,
65,
3,
9,
1210,
372,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
834,
11650,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
234,
834,
11650,
3274,
96,
5380,
7,
1748,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the winning span in the country of England with the name of paul casey? | CREATE TABLE table_23077 (
"Rank" text,
"Name" text,
"Lifespan" text,
"Country" text,
"Wins" real,
"Majors" real,
"Winning span" text,
"Span (years)" real
) | SELECT "Winning span" FROM table_23077 WHERE "Country" = 'England' AND "Name" = 'Paul Casey' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
13427,
4013,
41,
96,
22557,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
16427,
7,
2837,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
329,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
518,
10503,
8438,
121,
21680,
953,
834,
13427,
4013,
549,
17444,
427,
96,
10628,
651,
121,
3274,
3,
31,
8532,
7002,
727,
31,
3430,
96,
23954,
121,
3274,
3,
31,
23183,
6320,
63,
31,
1,
-100,
-100,
-100,
-100,
-... |
What is the original United States air date of the episode written by Mike Ferris? | CREATE TABLE table_29087004_2 (
united_states_original_airdate VARCHAR,
written_by VARCHAR
) | SELECT united_states_original_airdate FROM table_29087004_2 WHERE written_by = "Mike Ferris" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
4018,
9295,
591,
834,
357,
41,
18279,
834,
5540,
7,
834,
21878,
834,
2256,
5522,
584,
4280,
28027,
6,
1545,
834,
969,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
18279,
834,
5540,
7,
834,
21878,
834,
2256,
5522,
21680,
953,
834,
3166,
4018,
9295,
591,
834,
357,
549,
17444,
427,
1545,
834,
969,
3274,
96,
329,
5208,
12762,
159,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What place is player johnny miller, who has a to par of +2? | CREATE TABLE table_name_28 (place VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT place FROM table_name_28 WHERE to_par = "+2" AND player = "johnny miller" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
4687,
584,
4280,
28027,
6,
12,
834,
1893,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
286,
19,
1959,
3,
27341,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
12,
834,
1893,
3274,
96,
1220,
357,
121,
3430,
1959,
3274,
96,
27341,
29,
63,
3293,
49,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the status for points 3185 | CREATE TABLE table_23501776_16 (
status VARCHAR,
points VARCHAR
) | SELECT status FROM table_23501776_16 WHERE points = 3185 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
1752,
2517,
3959,
834,
2938,
41,
2637,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2637,
21,
979,
220,
21594,
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,
2637,
21680,
953,
834,
2773,
1752,
2517,
3959,
834,
2938,
549,
17444,
427,
979,
3274,
220,
21594,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the highest number of points of the game in Conseco fieldhouse 7,134? | CREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR) | SELECT high_points FROM table_name_79 WHERE location_attendance = "conseco fieldhouse 7,134" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
6739,
834,
2700,
7,
584,
4280,
28027,
6,
1128,
834,
15116,
663,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
381,
13,
979,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
306,
834,
2700,
7,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
1128,
834,
15116,
663,
3274,
96,
8056,
15,
509,
1057,
1840,
7973,
23747,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many wins had a podium larger than 6 after season 2008? | CREATE TABLE table_63820 (
"Season" real,
"Series" text,
"Team" text,
"Races" real,
"Wins" real,
"Podiums" real,
"Points" real,
"Position" text
) | SELECT COUNT("Wins") FROM table_63820 WHERE "Season" > '2008' AND "Podiums" > '6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3747,
1755,
41,
96,
134,
15,
9,
739,
121,
490,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18455,
7,
8512,
21680,
953,
834,
948,
3747,
1755,
549,
17444,
427,
96,
134,
15,
9,
739,
121,
2490,
3,
31,
16128,
31,
3430,
96,
16665,
2552,
7,
121,
2490,
3,
31,
948,
31,
1,
-100,
-100,
-10... |
If the average is 50.16, who is the player? | CREATE TABLE table_27268238_4 (
player VARCHAR,
average VARCHAR
) | SELECT player FROM table_27268238_4 WHERE average = "50.16" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
2688,
4613,
3747,
834,
591,
41,
1959,
584,
4280,
28027,
6,
1348,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
156,
8,
1348,
19,
943,
5,
2938,
6,
113,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
2555,
2688,
4613,
3747,
834,
591,
549,
17444,
427,
1348,
3274,
96,
1752,
5,
2938,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the highest number of wins for club Cd Orense, with points greater than 36 and more than 4 draws? | CREATE TABLE table_name_82 (
wins INTEGER,
points VARCHAR,
draws VARCHAR,
club VARCHAR
) | SELECT MAX(wins) FROM table_name_82 WHERE draws > 4 AND club = "cd orense" AND points > 36 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4613,
41,
9204,
3,
21342,
17966,
6,
979,
584,
4280,
28027,
6,
14924,
584,
4280,
28027,
6,
1886,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
3757,
7,
61,
21680,
953,
834,
4350,
834,
4613,
549,
17444,
427,
14924,
2490,
314,
3430,
1886,
3274,
96,
75,
26,
42,
5167,
121,
3430,
979,
2490,
4475,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the most rr1 pts for 7 ranking | CREATE TABLE table_21471897_2 (rr1_pts INTEGER, ranking VARCHAR) | SELECT MAX(rr1_pts) FROM table_21471897_2 WHERE ranking = 7 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
4177,
2606,
4327,
834,
357,
41,
52,
52,
536,
834,
102,
17,
7,
3,
21342,
17966,
6,
11592,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
167,
3,
52,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
52,
52,
536,
834,
102,
17,
7,
61,
21680,
953,
834,
2658,
4177,
2606,
4327,
834,
357,
549,
17444,
427,
11592,
3274,
489,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who is the male talent in 1991? | CREATE TABLE table_name_39 (
talent__male_ VARCHAR,
year VARCHAR
) | SELECT talent__male_ FROM table_name_39 WHERE year = 1991 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
3683,
834,
834,
13513,
834,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
5069,
3683,
16,
9957,
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,
3683,
834,
834,
13513,
834,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
215,
3274,
9957,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
WHAT IS THE LOWEST ROUND FOR CB POSITION? | CREATE TABLE table_name_56 (round INTEGER, position VARCHAR) | SELECT MIN(round) FROM table_name_56 WHERE position = "cb" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4834,
41,
7775,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
21665,
6827,
1853,
3,
20573,
6038,
10264,
13110,
5652,
205,
279,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
7775,
61,
21680,
953,
834,
4350,
834,
4834,
549,
17444,
427,
1102,
3274,
96,
75,
115,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the average apps for the Major League Soccer team club for the Seattle Sounders FC that has goals less than 0? | CREATE TABLE table_name_43 (apps INTEGER, goals VARCHAR, league VARCHAR, club VARCHAR) | SELECT AVG(apps) FROM table_name_43 WHERE league = "major league soccer" AND club = "seattle sounders fc" AND goals < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
3096,
7,
3,
21342,
17966,
6,
1766,
584,
4280,
28027,
6,
5533,
584,
4280,
28027,
6,
1886,
584,
4280,
28027,
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,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
3096,
7,
61,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
5533,
3274,
96,
16547,
127,
5533,
10749,
121,
3430,
1886,
3274,
96,
7,
15,
9,
8692,
1345,
277,
3,
89,
75,
121,
3430,
1766,
3,
2,
3,... |
What is the average number of Byes when there were less than 0 losses and were against 1247? | CREATE TABLE table_name_75 (byes INTEGER, against VARCHAR, draws VARCHAR) | SELECT AVG(byes) FROM table_name_75 WHERE against = 1247 AND draws < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
969,
15,
7,
3,
21342,
17966,
6,
581,
584,
4280,
28027,
6,
14924,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
381,
13,
938,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
969,
15,
7,
61,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
581,
3274,
586,
4177,
3430,
14924,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What Nationality of the person who has a Rank of 4 | CREATE TABLE table_68165 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
) | SELECT "Nationality" FROM table_68165 WHERE "Lane" < '4' AND "Rank" = '4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
22823,
41,
96,
22557,
121,
490,
6,
96,
434,
152,
15,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
13368,
121,
490,
3,
61,
3,
32102,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
96,
24732,
485,
121,
21680,
953,
834,
3651,
22823,
549,
17444,
427,
96,
434,
152,
15,
121,
3,
2,
3,
31,
591,
31,
3430,
96,
22557,
121,
3274,
3,
31,
591,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What kind of Sanskrit has a Tamil of r ki i ? | CREATE TABLE table_name_23 (
sanskrit_संस्कृतम् VARCHAR,
tamil_தமிழ் VARCHAR
) | SELECT sanskrit_संस्कृतम् FROM table_name_23 WHERE tamil_தமிழ் = "rōkiṇi ரோகிணி" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
1532,
10648,
17,
834,
2,
584,
4280,
28027,
6,
3,
17,
265,
173,
834,
2,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
773,
13,
1051,
7,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
1532,
10648,
17,
834,
2,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
3,
17,
265,
173,
834,
2,
3274,
96,
52,
2,
2168,
2,
23,
3,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Country has a Catalogue number(s) of eredv711? | CREATE TABLE table_name_94 (country VARCHAR, catalogue_number_s_ VARCHAR) | SELECT country FROM table_name_94 WHERE catalogue_number_s_ = "eredv711" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
17529,
584,
4280,
28027,
6,
14978,
834,
5525,
1152,
834,
7,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
6993,
65,
3,
9,
22424,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
684,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
14978,
834,
5525,
1152,
834,
7,
834,
3274,
96,
3737,
208,
4450,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the streak on March 27? | CREATE TABLE table_name_81 (streak VARCHAR, date VARCHAR) | SELECT streak FROM table_name_81 WHERE date = "march 27" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
7,
929,
1639,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
18631,
30,
1332,
2307,
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,
18631,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
833,
3274,
96,
51,
7064,
2307,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total area of the Arkansas River outlet with a % in-state of a021 100%? | CREATE TABLE table_7720 (
"Basin" text,
"Outlet" text,
"Total Area" text,
"In-State Area" text,
"% In-State" text
) | SELECT "Total Area" FROM table_7720 WHERE "Outlet" = 'arkansas river' AND "% In-State" = 'a021 100%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
1755,
41,
96,
14885,
77,
121,
1499,
6,
96,
15767,
1655,
121,
1499,
6,
96,
3696,
1947,
5690,
121,
1499,
6,
96,
1570,
18,
134,
4748,
5690,
121,
1499,
6,
96,
1454,
86,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3696,
1947,
5690,
121,
21680,
953,
834,
4013,
1755,
549,
17444,
427,
96,
15767,
1655,
121,
3274,
3,
31,
6604,
3247,
9,
7,
4033,
31,
3430,
96,
1454,
86,
18,
134,
4748,
121,
3274,
3,
31,
9,
632,
2658,
2349,
31... |
What college had the 93 pick? | CREATE TABLE table_name_50 (
college VARCHAR,
pick VARCHAR
) | SELECT college FROM table_name_50 WHERE pick = 93 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
1900,
584,
4280,
28027,
6,
1432,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1900,
141,
8,
3,
4271,
1432,
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,
1900,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
1432,
3274,
3,
4271,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the tie no that has southport as the away team? | CREATE TABLE table_name_28 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_28 WHERE away_team = "southport" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
17,
23,
15,
834,
29,
32,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
6177,
150,
24,
65,
34... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6177,
834,
29,
32,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
550,
834,
11650,
3274,
96,
7,
670,
107,
1493,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which player is ranked number 3? | CREATE TABLE table_name_83 (player VARCHAR, rank VARCHAR) | SELECT player FROM table_name_83 WHERE rank = 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4591,
41,
20846,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1959,
19,
3,
8232,
381,
220,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
4591,
549,
17444,
427,
11003,
3274,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Show how many installation date from each installation date | CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE weather (
date TEXT,
max_temperature_f INTEGER,
mean_temperature_f INTEGER,
min_temperature_f INTEGER,
max_dew_point_f INTEGER,
mean_dew_point_f INTEGER,
min_... | SELECT installation_date, COUNT(installation_date) FROM station | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2637,
41,
2478,
834,
23,
26,
3,
21342,
17966,
6,
13490,
834,
28843,
3,
21342,
17966,
6,
12908,
7,
834,
28843,
3,
21342,
17966,
6,
97,
3,
3463,
4,
382,
3,
61,
3,
32102,
32103,
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,
2545,
834,
5522,
6,
2847,
17161,
599,
14790,
834,
5522,
61,
21680,
2478,
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 is primary disease and diagnoses short title of subject id 25543? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | SELECT demographic.diagnosis, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "25543" | [
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,
14798,
5,
25930,
4844,
159,
6,
18730,
7,
5,
7,
14184,
834,
21869,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
549,
17444,
... |
Show the director and their lowest rating among all movies in a bar chart, and sort total number from high to low order. | CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Reviewer (
rID int,
name text
) | SELECT director, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY director ORDER BY MIN(T1.stars) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
10743,
41,
3,
51,
4309,
16,
17,
6,
2233,
1499,
6,
215,
16,
17,
6,
2090,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
21662,
41,
3,
52,
4309,
16,
17,
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,
2090,
6,
3,
17684,
599,
382,
5411,
3624,
7,
61,
21680,
21662,
6157,
332,
536,
3,
15355,
3162,
10743,
6157,
332,
357,
9191,
332,
5411,
51,
4309,
3274,
332,
4416,
51,
4309,
350,
4630,
6880,
272,
476,
2090,
4674,
11300... |
How scored the most points where the record is 3-0 for the season? | CREATE TABLE table_25867 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "High points" FROM table_25867 WHERE "Record" = '3-0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3449,
3708,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
21417,
979,
121,
21680,
953,
834,
357,
3449,
3708,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
22773,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What name was number 7 when Mason was number 1, Owen was number 6, Jackson was number 9, and Logan was number 10? | CREATE TABLE table_name_68 (no_7 VARCHAR, no_6 VARCHAR, no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR) | SELECT no_7 FROM table_name_68 WHERE no_1 = "mason" AND no_9 = "jackson" AND no_10 = "logan" AND no_6 = "owen" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3651,
41,
29,
32,
834,
940,
584,
4280,
28027,
6,
150,
834,
948,
584,
4280,
28027,
6,
150,
834,
1714,
584,
4280,
28027,
6,
150,
834,
536,
584,
4280,
28027,
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,
1... | [
3,
23143,
14196,
150,
834,
940,
21680,
953,
834,
4350,
834,
3651,
549,
17444,
427,
150,
834,
536,
3274,
96,
2754,
106,
121,
3430,
150,
834,
1298,
3274,
96,
9325,
739,
121,
3430,
150,
834,
1714,
3274,
96,
2152,
152,
121,
3430,
150,
... |
which team did the rangers play first in november of 1992 in the uefa champions league ? | CREATE TABLE table_204_691 (
id number,
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" number,
"scorers" text
) | SELECT "opponent" FROM table_204_691 WHERE "date" = 11 AND "date" = 1992 ORDER BY "date" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3951,
536,
41,
3,
23,
26,
381,
6,
96,
5522,
121,
1499,
6,
96,
7775,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
60,
7,
83,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
32,
102,
9977,
121,
21680,
953,
834,
26363,
834,
3951,
536,
549,
17444,
427,
96,
5522,
121,
3274,
850,
3430,
96,
5522,
121,
3274,
9047,
4674,
11300,
272,
476,
96,
5522,
121,
8729,
12604,
209,
1,
-100,
-100,
-100... |
What was the position in 1959-1960 for the club that had 14 seasons at this level? | CREATE TABLE table_name_45 (position_in_1959_1960 VARCHAR, seasons_at_this_level VARCHAR) | SELECT position_in_1959_1960 FROM table_name_45 WHERE seasons_at_this_level = "14 seasons" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
4718,
834,
77,
834,
2294,
3390,
834,
2294,
3328,
584,
4280,
28027,
6,
9385,
834,
144,
834,
8048,
834,
4563,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
1102,
834,
77,
834,
2294,
3390,
834,
2294,
3328,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
9385,
834,
144,
834,
8048,
834,
4563,
3274,
96,
2534,
9385,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How big (in km2) is the voivodenship also known by the abbreviation KN? | CREATE TABLE table_11656578_2 (area_km²__1998_ VARCHAR, abbreviation VARCHAR) | SELECT area_km²__1998_ FROM table_11656578_2 WHERE abbreviation = "kn" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
4122,
4122,
3940,
834,
357,
41,
498,
834,
5848,
357,
834,
834,
2294,
3916,
834,
584,
4280,
28027,
6,
703,
1999,
2099,
257,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
616,
834,
5848,
357,
834,
834,
2294,
3916,
834,
21680,
953,
834,
2596,
4122,
4122,
3940,
834,
357,
549,
17444,
427,
703,
1999,
2099,
257,
3274,
96,
157,
29,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What team(s) had 120 consecutive starts? | CREATE TABLE table_28606933_7 (teams VARCHAR, consecutive_starts VARCHAR) | SELECT teams FROM table_28606933_7 WHERE consecutive_starts = 120 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
3328,
3951,
4201,
834,
940,
41,
11650,
7,
584,
4280,
28027,
6,
12096,
834,
10208,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
372,
599,
7,
61,
141,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2323,
21680,
953,
834,
2577,
3328,
3951,
4201,
834,
940,
549,
17444,
427,
12096,
834,
10208,
7,
3274,
5864,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who had the high assists in game 77? | CREATE TABLE table_10691 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "High assists" FROM table_10691 WHERE "Game" = '77' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
16431,
4729,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
13041,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
21417,
13041,
121,
21680,
953,
834,
16431,
4729,
549,
17444,
427,
96,
23055,
121,
3274,
3,
31,
4013,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many ties were there for game 36 started? | CREATE TABLE table_14389782_2 (ties VARCHAR, games_started VARCHAR) | SELECT COUNT(ties) FROM table_14389782_2 WHERE games_started = 36 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
3747,
21441,
357,
834,
357,
41,
3010,
584,
4280,
28027,
6,
1031,
834,
3624,
1054,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
3,
3010,
130,
132,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
3010,
61,
21680,
953,
834,
2534,
3747,
21441,
357,
834,
357,
549,
17444,
427,
1031,
834,
3624,
1054,
3274,
4475,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the location for the Spartans? | CREATE TABLE table_13770 (
"School" text,
"Location" text,
"Mascot" text,
"County" text,
"Year joined" real,
"Previous Conference" text,
"Year Left" real,
"Conference joined" text
) | SELECT "Location" FROM table_13770 WHERE "Mascot" = 'spartans' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24636,
2518,
41,
96,
29364,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
329,
9,
7,
4310,
121,
1499,
6,
96,
10628,
63,
121,
1499,
6,
96,
476,
2741,
3311,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
24636,
2518,
549,
17444,
427,
96,
329,
9,
7,
4310,
121,
3274,
3,
31,
7,
2274,
3247,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was the opponent at the week 6 game? | CREATE TABLE table_name_52 (
opponent VARCHAR,
week VARCHAR
) | SELECT opponent FROM table_name_52 WHERE week = 6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
15264,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
15264,
44,
8,
471,
431,
467,
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,
15264,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
471,
3274,
431,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who was the lead with Pete Fenson as skip and Joe Polo as second in season 2005–06? | CREATE TABLE table_name_61 (lead VARCHAR, season VARCHAR, skip VARCHAR, second VARCHAR) | SELECT lead FROM table_name_61 WHERE skip = "pete fenson" AND second = "joe polo" AND season = "2005–06" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
109,
9,
26,
584,
4280,
28027,
6,
774,
584,
4280,
28027,
6,
11202,
584,
4280,
28027,
6,
511,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
991,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
11202,
3274,
96,
4995,
15,
3,
89,
35,
739,
121,
3430,
511,
3274,
96,
1927,
15,
3,
3233,
32,
121,
3430,
774,
3274,
96,
22594,
104,
5176,
121,
1,
-100,
-100,
... |
What's the February for the game against the Montreal Canadiens? | CREATE TABLE table_name_88 (february INTEGER, opponent VARCHAR) | SELECT SUM(february) FROM table_name_88 WHERE opponent = "montreal canadiens" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
89,
15,
9052,
1208,
3,
21342,
17966,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
2083,
21,
8,
467,
581,
8,
17219,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
180,
6122,
599,
89,
15,
9052,
1208,
61,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
15264,
3274,
96,
4662,
6644,
27114,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Courtside reporter has a Channel of fsn new england in 2006-07? | CREATE TABLE table_name_43 (courtside_reporter VARCHAR, channel VARCHAR, year VARCHAR) | SELECT courtside_reporter FROM table_name_43 WHERE channel = "fsn new england" AND year = "2006-07" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
14492,
1583,
834,
60,
1493,
49,
584,
4280,
28027,
6,
4245,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2243,
158... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1614,
1583,
834,
60,
1493,
49,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
4245,
3274,
96,
89,
7,
29,
126,
3,
4606,
40,
232,
121,
3430,
215,
3274,
96,
21196,
18,
4560,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
How many courses are in the Psychology department for each year? Return a line chart, rank in asc by the X-axis. | CREATE TABLE time_slot (
time_slot_id varchar(4),
day varchar(1),
start_hr numeric(2),
start_min numeric(2),
end_hr numeric(2),
end_min numeric(2)
)
CREATE TABLE section (
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0),
building varchar(15),
... | SELECT year, COUNT(year) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY year ORDER BY year | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
97,
834,
7,
3171,
41,
97,
834,
7,
3171,
834,
23,
26,
3,
4331,
4059,
10820,
6,
239,
3,
4331,
4059,
14296,
6,
456,
834,
107,
52,
206,
17552,
16426,
6,
456,
834,
1109,
206,
17552,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
215,
6,
2847,
17161,
599,
1201,
61,
21680,
503,
6157,
332,
536,
3,
15355,
3162,
1375,
6157,
332,
357,
9191,
332,
5411,
19221,
834,
23,
26,
3274,
332,
4416,
19221,
834,
23,
26,
549,
17444,
427,
332,
5411,
26,
6707,
... |
List the area and county of all appelations. | CREATE TABLE APPELLATIONS (
Area VARCHAR,
County VARCHAR
) | SELECT Area, County FROM APPELLATIONS | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3,
13747,
12735,
8015,
134,
41,
5690,
584,
4280,
28027,
6,
1334,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
6792,
8,
616,
11,
5435,
13,
66,
8319,
1628,
5,
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,
5690,
6,
1334,
21680,
3,
13747,
12735,
8015,
134,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What shows for 1991 when 2002 is 2R? | CREATE TABLE table_name_44 (
Id VARCHAR
) | SELECT 1991 FROM table_name_44 WHERE 2002 = "2r" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
27,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1267,
21,
9957,
116,
4407,
19,
204,
448,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
9957,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
4407,
3274,
96,
357,
52,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who wrote the episode with the production code of 942A? | CREATE TABLE table_16432167_1 (
written_by VARCHAR,
production_code VARCHAR
) | SELECT written_by FROM table_16432167_1 WHERE production_code = "942A" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26987,
2668,
27650,
834,
536,
41,
1545,
834,
969,
584,
4280,
28027,
6,
999,
834,
4978,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
2832,
8,
5640,
28,
8,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1545,
834,
969,
21680,
953,
834,
26987,
2668,
27650,
834,
536,
549,
17444,
427,
999,
834,
4978,
3274,
96,
4240,
357,
188,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who is every co-artist with name of role as Ah-Zhong ? | CREATE TABLE table_2871 (
"Year" real,
"Title of Drama" text,
"Name of Role" text,
"Nature of Role" text,
"Co-Artists" text,
"Location" text
) | SELECT "Co-Artists" FROM table_2871 WHERE "Name of Role" = 'Ah-Zhong 阿忠' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
4450,
41,
96,
476,
2741,
121,
490,
6,
96,
382,
155,
109,
13,
20052,
121,
1499,
6,
96,
23954,
13,
2158,
109,
121,
1499,
6,
96,
567,
9,
2693,
13,
2158,
109,
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,
3881,
18,
7754,
343,
7,
121,
21680,
953,
834,
2577,
4450,
549,
17444,
427,
96,
23954,
13,
2158,
109,
121,
3274,
3,
31,
188,
107,
18,
956,
23001,
3,
2,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For those employees who was hired before 2002-06-21, show me the trend about employee_id over hire_date with a line chart. | CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID... | SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE HIRE_DATE < '2002-06-21' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3248,
41,
301,
5618,
8015,
834,
4309,
7908,
1982,
599,
8525,
632,
201,
3,
13733,
26418,
834,
24604,
12200,
134,
3,
4331,
4059,
599,
2445,
201,
3,
16034,
16359,
834,
5911,
5596,
3,
4331... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
262,
5244,
5017,
476,
5080,
834,
4309,
21680,
1652,
549,
17444,
427,
454,
14132,
834,
308,
6048,
3,
2,
3,
31,
24898,
18,
5176,
16539,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What national has 4.45 for o and 4.55 for xo? | CREATE TABLE table_name_13 (
nationality VARCHAR
) | SELECT nationality FROM table_name_13 WHERE 445 = "o" AND 455 = "xo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
1157,
485,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1157,
65,
2853,
2128,
21,
3,
32,
11,
2853,
3769,
21,
3,
226,
32,
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,
1157,
485,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
314,
2128,
3274,
96,
32,
121,
3430,
314,
3769,
3274,
96,
226,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
how many patients whose gender is f and procedure long title is intraoperative cardiac pacemaker? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.long_title = "Intraoperative cardiac pacemaker" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
What is the earliest issue Arnie Kogen wrote for in December 1964? | CREATE TABLE table_42690 (
"Spoofed Title" text,
"Writer" text,
"Artist" text,
"Issue" real,
"Date" text
) | SELECT MIN("Issue") FROM table_42690 WHERE "Writer" = 'arnie kogen' AND "Date" = 'december 1964' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2688,
2394,
41,
96,
134,
18450,
19565,
11029,
121,
1499,
6,
96,
24965,
49,
121,
1499,
6,
96,
7754,
343,
121,
1499,
6,
96,
196,
7,
7,
76,
15,
121,
490,
6,
96,
308,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
196,
7,
7,
76,
15,
8512,
21680,
953,
834,
591,
2688,
2394,
549,
17444,
427,
96,
24965,
49,
121,
3274,
3,
31,
9,
23752,
3,
157,
5255,
31,
3430,
96,
308,
342,
121,
3274,
3,
31,
221,
75,
18247... |
What is the minimum Wins a team has? | CREATE TABLE table_16922657_2 (
w INTEGER
) | SELECT MIN(w) FROM table_16922657_2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4508,
2688,
3436,
834,
357,
41,
3,
210,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2559,
4871,
7,
3,
9,
372,
65,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
210,
61,
21680,
953,
834,
2938,
4508,
2688,
3436,
834,
357,
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 position does Brian Butch play? | CREATE TABLE table_42993 (
"Pos." text,
"Player" text,
"Team" text,
"Height" text,
"Weight" real
) | SELECT "Pos." FROM table_42993 WHERE "Player" = 'brian butch' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4165,
3264,
519,
41,
96,
345,
32,
7,
535,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
3845,
2632,
121,
1499,
6,
96,
1326,
2632,
121,
490,
3,
61,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
345,
32,
7,
535,
21680,
953,
834,
4165,
3264,
519,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
2160,
152,
68,
524,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the Report of tourist trophy? | CREATE TABLE table_59454 (
"Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
) | SELECT "Report" FROM table_59454 WHERE "Name" = 'tourist trophy' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
2128,
591,
41,
96,
23954,
121,
1499,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
518,
10503,
2535,
121,
1499,
6,
96,
518,
10503,
6774,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1493,
121,
21680,
953,
834,
3390,
2128,
591,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
17,
1211,
343,
23921,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the score of the game against away team exeter city on 10 jan 1990? | CREATE TABLE table_name_70 (score VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_70 WHERE date = "10 jan 1990" AND away_team = "exeter city" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
7,
9022,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
13,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
833,
3274,
96,
1714,
3,
7066,
5541,
121,
3430,
550,
834,
11650,
3274,
96,
6667,
449,
690,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which pick number resulted in a defensive end? | CREATE TABLE table_name_34 (
pick VARCHAR,
position VARCHAR
) | SELECT pick FROM table_name_34 WHERE position = "defensive end" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
1432,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1432,
381,
741,
15,
26,
16,
3,
9,
11976,
414,
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,
1432,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
1102,
3274,
96,
221,
23039,
15,
414,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Return the themes, dates, and attendance for exhibitions that happened in 2004. | CREATE TABLE exhibition_record (
exhibition_id number,
date text,
attendance number
)
CREATE TABLE exhibition (
exhibition_id number,
year number,
theme text,
artist_id number,
ticket_price number
)
CREATE TABLE artist (
artist_id number,
name text,
country text,
year_j... | SELECT T2.theme, T1.date, T1.attendance FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T2.year = 2004 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4473,
834,
60,
7621,
41,
4473,
834,
23,
26,
381,
6,
833,
1499,
6,
11364,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
4473,
41,
4473,
834,
23,
26,
381,
6,
215,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
532,
526,
6,
332,
5411,
5522,
6,
332,
5411,
15116,
663,
21680,
4473,
834,
60,
7621,
6157,
332,
536,
3,
15355,
3162,
4473,
6157,
332,
357,
9191,
332,
5411,
994,
13506,
1575,
834,
23,
26,
3274,
332,
4416,
... |
What is the sum of the pick from texas a&i college with a round greater than 1? | CREATE TABLE table_77153 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) | SELECT SUM("Pick") FROM table_77153 WHERE "College" = 'texas a&i' AND "Round" > '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
27025,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
345,
3142,
121,
490,
6,
96,
23847,
1748,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
345,
3142,
8512,
21680,
953,
834,
4013,
27025,
549,
17444,
427,
96,
9939,
7883,
121,
3274,
3,
31,
10354,
9,
7,
3,
9,
184,
23,
31,
3430,
96,
448,
32,
1106,
121,
2490,
3,
31,
536,
31,
1,
-10... |
How many goals did the club from Hawthorn score in the 1971 season? | CREATE TABLE table_66790 (
"Rank" text,
"Goals" text,
"Player" text,
"Club" text,
"Season" text
) | SELECT "Goals" FROM table_66790 WHERE "Club" = 'hawthorn' AND "Season" = '1971' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
940,
2394,
41,
96,
22557,
121,
1499,
6,
96,
6221,
5405,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
254,
11158,
121,
1499,
6,
96,
134,
15,
9,
739,
121,
1499,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
6221,
5405,
121,
21680,
953,
834,
3539,
940,
2394,
549,
17444,
427,
96,
254,
11158,
121,
3274,
3,
31,
1024,
210,
17,
6293,
31,
3430,
96,
134,
15,
9,
739,
121,
3274,
3,
31,
2294,
4450,
31,
1,
-100,
-100,
-100... |
Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations? | CREATE TABLE table_name_87 (award_ceremony VARCHAR, nominee VARCHAR, category VARCHAR) | SELECT award_ceremony FROM table_name_87 WHERE nominee = "sarah travis" AND category = "best orchestrations" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
9,
2239,
834,
2110,
15,
21208,
584,
4280,
28027,
6,
21077,
584,
4280,
28027,
6,
3295,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
3677,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2760,
834,
2110,
15,
21208,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
21077,
3274,
96,
7,
2551,
107,
3,
1313,
3466,
121,
3430,
3295,
3274,
96,
9606,
13873,
10872,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
is in their current hospital encounter patient 013-28507 diagnosed with anemia? | CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospit... | SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-28507' AND patient.hospitaldischargetime IS NULL)) AND diagnosis.diagnos... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8209,
41,
8209,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
8209,
4350,
1499,
6,
8209,
715,
97,
6,
3,
447,
26,
1298,
4978,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
2490,
3,
632,
21680,
8209,
549,
17444,
427,
8209,
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,... |
What was the score on February 8, 1992? | CREATE TABLE table_20745706_1 (score VARCHAR, date VARCHAR) | SELECT score FROM table_20745706_1 WHERE date = "February 8, 1992" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
4581,
3436,
5176,
834,
536,
41,
7,
9022,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
30,
2083,
9478,
9047,
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,
2604,
21680,
953,
834,
1755,
4581,
3436,
5176,
834,
536,
549,
17444,
427,
833,
3274,
96,
31122,
9478,
9047,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the inroductory phase for the episode that originally aired january 21? | CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, original_airdate VARCHAR) | SELECT introductory_phrase FROM table_14835674_1 WHERE original_airdate = "January 21" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24748,
2469,
3708,
591,
834,
536,
41,
23594,
834,
27111,
584,
4280,
28027,
6,
926,
834,
2256,
5522,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
16,
52,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
23594,
834,
27111,
21680,
953,
834,
24748,
2469,
3708,
591,
834,
536,
549,
17444,
427,
926,
834,
2256,
5522,
3274,
96,
30404,
1401,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
not i barbecue was written by matt tarses and who ? | CREATE TABLE table_203_182 (
id number,
"no. in\nseries" number,
"no. in\nseason" number,
"title" text,
"directed by" text,
"written by" text,
"original air date" text,
"production\ncode" number
) | SELECT "written by" FROM table_203_182 WHERE "title" = '"not i barbecue"' AND "written by" <> 'matt tarses' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2606,
357,
41,
3,
23,
26,
381,
6,
96,
29,
32,
5,
16,
2,
29,
10833,
7,
121,
381,
6,
96,
29,
32,
5,
16,
2,
29,
9476,
121,
381,
6,
96,
21869,
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,
14973,
57,
121,
21680,
953,
834,
23330,
834,
2606,
357,
549,
17444,
427,
96,
21869,
121,
3274,
3,
31,
121,
2264,
3,
23,
17621,
121,
31,
3430,
96,
14973,
57,
121,
3,
2,
3155,
3,
31,
3357,
17,
3,
2046,
2260,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.