NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
At what venue was there a competition with a score reported as 7.14 (56) - 4.5 (29)? | CREATE TABLE table_74492 (
"Year" text,
"Competition" text,
"Opponent" text,
"Score" text,
"Venue" text
) | SELECT "Venue" FROM table_74492 WHERE "Score" = '7.14 (56) - 4.5 (29)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4581,
3647,
357,
41,
96,
476,
2741,
121,
1499,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
553,
35,
76,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
4581,
3647,
357,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
25059,
591,
9209,
10938,
3,
18,
3,
12451,
4743,
11728,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the date of the game that took place at the Resch Center? | CREATE TABLE table_50873 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game site" text
) | SELECT "Date" FROM table_50873 WHERE "Game site" = 'resch center' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
4225,
519,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
1752,
4225,
519,
549,
17444,
427,
96,
23055,
353,
121,
3274,
3,
31,
60,
860,
1530,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
From what catalog was the release that happened on April 12, 1968, and in LP format? | CREATE TABLE table_name_28 (catalog VARCHAR, format VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_28 WHERE format = "lp" AND date = "april 12, 1968" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
2138,
9,
2152,
584,
4280,
28027,
6,
1910,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
1029,
125,
10173,
47,
8,
1576,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
10173,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
1910,
3274,
96,
40,
102,
121,
3430,
833,
3274,
96,
9,
2246,
40,
10440,
16506,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When 15 is the number in season what is the highest number in series? | CREATE TABLE table_2468961_7 (no_in_series INTEGER, no_in_season VARCHAR) | SELECT MAX(no_in_series) FROM table_2468961_7 WHERE no_in_season = 15 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
3651,
4314,
536,
834,
940,
41,
29,
32,
834,
77,
834,
10833,
7,
3,
21342,
17966,
6,
150,
834,
77,
834,
9476,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
29,
32,
834,
77,
834,
10833,
7,
61,
21680,
953,
834,
2266,
3651,
4314,
536,
834,
940,
549,
17444,
427,
150,
834,
77,
834,
9476,
3274,
627,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many laps for alexander wurz with a grid under 12? | CREATE TABLE table_52655 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT COUNT("Laps") FROM table_52655 WHERE "Grid" < '12' AND "Driver" = 'alexander wurz' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2688,
3769,
41,
96,
20982,
52,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
3612,
102,
7,
8512,
21680,
953,
834,
755,
2688,
3769,
549,
17444,
427,
96,
13313,
26,
121,
3,
2,
3,
31,
2122,
31,
3430,
96,
20982,
52,
121,
3274,
3,
31,
138,
994,
11849,
3,
210,
450,
172,
... |
What is the total for 34 matches with 111 rides, but no more than 15 bonus points? | CREATE TABLE table_name_29 (
total_points INTEGER,
bonus_pts VARCHAR,
matches VARCHAR,
rides VARCHAR
) | SELECT AVG(total_points) FROM table_name_29 WHERE matches = 34 AND rides = 111 AND bonus_pts > 15 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
792,
834,
2700,
7,
3,
21342,
17966,
6,
4023,
834,
102,
17,
7,
584,
4280,
28027,
6,
6407,
584,
4280,
28027,
6,
14432,
584,
4280,
28027,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
235,
1947,
834,
2700,
7,
61,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
6407,
3274,
6154,
3430,
14432,
3274,
3,
15866,
3430,
4023,
834,
102,
17,
7,
2490,
627,
1,
-100,
-100,
-100,
-100,
-100,... |
How many different jockeys ran on 17 Feb 2007? | CREATE TABLE table_14981555_3 (jockey VARCHAR, date VARCHAR) | SELECT COUNT(jockey) FROM table_14981555_3 WHERE date = "17 Feb 2007" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24816,
4959,
28803,
834,
519,
41,
1927,
75,
4397,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
315,
8624,
4397,
7,
4037,
30,
1003,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1927,
75,
4397,
61,
21680,
953,
834,
24816,
4959,
28803,
834,
519,
549,
17444,
427,
833,
3274,
96,
2517,
8037,
4101,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many trains run daily to lonavla and arrive at 12:25 | CREATE TABLE table_29301050_1 (train_number VARCHAR, frequency VARCHAR, arrival_lonavla VARCHAR) | SELECT COUNT(train_number) FROM table_29301050_1 WHERE frequency = "Daily" AND arrival_lonavla = "12:25" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
1458,
1714,
1752,
834,
536,
41,
9719,
834,
5525,
1152,
584,
4280,
28027,
6,
7321,
584,
4280,
28027,
6,
6870,
834,
40,
32,
14128,
521,
584,
4280,
28027,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
9719,
834,
5525,
1152,
61,
21680,
953,
834,
3166,
1458,
1714,
1752,
834,
536,
549,
17444,
427,
7321,
3274,
96,
308,
9,
9203,
121,
3430,
6870,
834,
40,
32,
14128,
521,
3274,
96,
2122,
10,
1828,
121,... |
What is the Height of the Player with a Date of Birth of 1982-07-05? | CREATE TABLE table_name_38 (height VARCHAR, date_of_birth VARCHAR) | SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
88,
2632,
584,
4280,
28027,
6,
833,
834,
858,
834,
20663,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
24231,
13,
8,
12387,
28,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3902,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
833,
834,
858,
834,
20663,
3274,
96,
24151,
19423,
940,
18,
3076,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is H/A/N, when Record is 2-5? | CREATE TABLE table_45433 (
"Date" text,
"H/A/N" text,
"Opponent" text,
"Score" text,
"Record" text
) | SELECT "H/A/N" FROM table_45433 WHERE "Record" = '2-5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
4906,
519,
41,
96,
308,
342,
121,
1499,
6,
96,
566,
87,
188,
87,
567,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
566,
87,
188,
87,
567,
121,
21680,
953,
834,
2128,
4906,
519,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
357,
4525,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
On what date did Portland play game 5 at home? | CREATE TABLE table_name_98 (date VARCHAR, home_team VARCHAR, game VARCHAR) | SELECT date FROM table_name_98 WHERE home_team = "portland" AND game = "game 5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
5522,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
461,
125,
833,
410,
11829,
577... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
234,
834,
11650,
3274,
96,
1493,
40,
232,
121,
3430,
467,
3274,
96,
7261,
3,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the latest game that Sacramento played? | CREATE TABLE table_name_26 (
game INTEGER,
team VARCHAR
) | SELECT MAX(game) FROM table_name_26 WHERE team = "sacramento" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
467,
3,
21342,
17966,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1251,
467,
24,
22178,
1944,
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,
4800,
4,
599,
7261,
61,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
372,
3274,
96,
7,
9,
2935,
297,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find the number and average age of students living in each city. | CREATE TABLE student (city_code VARCHAR, age INTEGER) | SELECT COUNT(*), AVG(age), city_code FROM student GROUP BY city_code | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1236,
41,
6726,
834,
4978,
584,
4280,
28027,
6,
1246,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
2588,
8,
381,
11,
1348,
1246,
13,
481,
840,
16,
284,
690,
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,
2847,
17161,
599,
1935,
201,
71,
17217,
599,
545,
201,
690,
834,
4978,
21680,
1236,
350,
4630,
6880,
272,
476,
690,
834,
4978,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the value for 2005 when A is 2009 and 2000? | CREATE TABLE table_7316 (
"Tournament" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"Career W-L" text
) | SELECT "2005" FROM table_7316 WHERE "2009" = 'a' AND "2000" = 'a' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
2938,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
2294,
3916,
121,
1499,
6,
96,
2294,
3264,
121,
1499,
6,
96,
13527,
121,
1499,
6,
96,
23658,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22594,
121,
21680,
953,
834,
4552,
2938,
549,
17444,
427,
96,
16660,
121,
3274,
3,
31,
9,
31,
3430,
96,
13527,
121,
3274,
3,
31,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the least amount of silvers for a team with less than 4 golds and less than 5 total medals? | CREATE TABLE table_9619 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT MIN("Silver") FROM table_9619 WHERE "Total" < '5' AND "Gold" < '4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4314,
2294,
41,
96,
22557,
121,
490,
6,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
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,
3,
17684,
599,
121,
134,
173,
624,
8512,
21680,
953,
834,
4314,
2294,
549,
17444,
427,
96,
3696,
1947,
121,
3,
2,
3,
31,
755,
31,
3430,
96,
23576,
121,
3,
2,
3,
31,
591,
31,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
Zack Jordan has the lowest pick and a round of less than 28? | CREATE TABLE table_name_69 (pick INTEGER, player VARCHAR, round VARCHAR) | SELECT MIN(pick) FROM table_name_69 WHERE player = "zack jordan" AND round < 28 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
17967,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
1027,
4365,
8480,
65,
8,
7402,
1432,
11,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
17967,
61,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
1959,
3274,
96,
172,
4365,
3,
12775,
3768,
121,
3430,
1751,
3,
2,
2059,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
A bar chart shows the distribution of All_Home and the average of Team_ID , and group by attribute All_Home, rank by the y-axis from low to high. | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT All_Home, AVG(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY AVG(Team_ID) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8498,
834,
19515,
41,
2271,
834,
4309,
16,
17,
6,
1121,
834,
4309,
16,
17,
6,
2271,
834,
23954,
1499,
6,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
1499,
6,
3,
14775,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
19040,
6,
71,
17217,
599,
18699,
834,
4309,
61,
21680,
8498,
834,
19515,
350,
4630,
6880,
272,
476,
432,
834,
19040,
4674,
11300,
272,
476,
71,
17217,
599,
18699,
834,
4309,
61,
1,
-100,
-100,
-100,
-100,
... |
What is the fee (if applicable) for Norway? | CREATE TABLE table_28212 (
"Countries and Territories" text,
"Conditions of access" text,
"Length of stay permitted" text,
"Fee (if applicable)" text,
"Access using a Croatian identity card" text
) | SELECT "Fee (if applicable)" FROM table_28212 WHERE "Countries and Territories" = 'Norway' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
24837,
41,
96,
10628,
2593,
11,
17495,
235,
2593,
121,
1499,
6,
96,
4302,
10569,
7,
13,
592,
121,
1499,
6,
96,
434,
4606,
189,
13,
1049,
10548,
121,
1499,
6,
96,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
371,
15,
15,
41,
99,
5383,
61,
121,
21680,
953,
834,
2577,
24837,
549,
17444,
427,
96,
10628,
2593,
11,
17495,
235,
2593,
121,
3274,
3,
31,
567,
127,
1343,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which finish has a 99.550 Qual? | CREATE TABLE table_name_13 (
finish VARCHAR,
qual VARCHAR
) | SELECT finish FROM table_name_13 WHERE qual = "99.550" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
1992,
584,
4280,
28027,
6,
3,
11433,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1992,
65,
3,
9,
12185,
5,
17147,
2415,
138,
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,
1992,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
3,
11433,
3274,
96,
3264,
5,
17147,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the area for Worth Parish? | CREATE TABLE table_name_22 (
area__hectare_ VARCHAR,
parish VARCHAR
) | SELECT area__hectare_ FROM table_name_22 WHERE parish = "worth" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
616,
834,
834,
17256,
834,
584,
4280,
28027,
6,
14961,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
616,
21,
16990,
21954,
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,
616,
834,
834,
17256,
834,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
14961,
3274,
96,
7048,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who owned the team Jeremy Mayfield raced for? | CREATE TABLE table_1529793_1 (listed_owner_s_ VARCHAR, driver_s_ VARCHAR) | SELECT listed_owner_s_ FROM table_1529793_1 WHERE driver_s_ = "Jeremy Mayfield" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26320,
4327,
4271,
834,
536,
41,
19279,
834,
13238,
834,
7,
834,
584,
4280,
28027,
6,
2535,
834,
7,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
4157,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2616,
834,
13238,
834,
7,
834,
21680,
953,
834,
26320,
4327,
4271,
834,
536,
549,
17444,
427,
2535,
834,
7,
834,
3274,
96,
18540,
932,
1846,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and revenue , and group by attribute headquarter. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7554,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
5312,
3396,
254,
26330,
434,
6,
15248,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
23954,
6,
332,
4416,
1649,
15098,
21680,
7554,
6157,
332,
536,
3,
15355,
3162,
15248,
7,
6157,
332,
357,
9191,
332,
5411,
7296,
76,
8717,
450,
49,
3274,
332,
4416,
22737,
350,
4630,
6880,
272,
476,
3642,
... |
What was the team record when the team was Cleveland? | CREATE TABLE table_17288861_5 (
record VARCHAR,
team VARCHAR
) | SELECT record FROM table_17288861_5 WHERE team = "Cleveland" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27156,
10927,
4241,
834,
755,
41,
1368,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
372,
1368,
116,
8,
372,
47,
13160,
58,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
27156,
10927,
4241,
834,
755,
549,
17444,
427,
372,
3274,
96,
254,
4563,
232,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
when was the premiere of the episode where the amount of North American spectators was 1.76 millions? | CREATE TABLE table_21979779_1 (
original_air_date VARCHAR,
us_viewers__million_ VARCHAR
) | SELECT original_air_date FROM table_21979779_1 WHERE us_viewers__million_ = "1.76" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
4327,
4327,
4440,
834,
536,
41,
926,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
178,
834,
4576,
277,
834,
834,
17030,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
926,
834,
2256,
834,
5522,
21680,
953,
834,
2658,
4327,
4327,
4440,
834,
536,
549,
17444,
427,
178,
834,
4576,
277,
834,
834,
17030,
834,
3274,
96,
5411,
3959,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the date with the catalogue number ptcd-1015-6? | CREATE TABLE table_name_59 (date VARCHAR, catalogue__number VARCHAR) | SELECT date FROM table_name_59 WHERE catalogue__number = "ptcd-1015-6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
5522,
584,
4280,
28027,
6,
14978,
834,
834,
5525,
1152,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
833,
28,
8,
14978,
381,
3,
102... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
14978,
834,
834,
5525,
1152,
3274,
96,
102,
17,
75,
26,
4536,
1808,
5783,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What college or club did the round 9 draft pick from Canada come from? | CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_11 WHERE round = 9 AND nationality = "canada" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2596,
41,
3297,
7883,
834,
6959,
23,
127,
834,
13442,
834,
11650,
834,
834,
29512,
834,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1900,
834,
6959,
23,
127,
834,
13442,
834,
11650,
834,
834,
29512,
834,
21680,
953,
834,
4350,
834,
2596,
549,
17444,
427,
1751,
3274,
668,
3430,
1157,
485,
3274,
96,
658,
18089,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
Which Years in Assembly has a Name of toni atkins? | CREATE TABLE table_name_27 (years_in_assembly VARCHAR, name VARCHAR) | SELECT years_in_assembly FROM table_name_27 WHERE name = "toni atkins" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
1201,
7,
834,
77,
834,
9,
7,
7,
8312,
63,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
13825,
16,
11993,
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,
203,
834,
77,
834,
9,
7,
7,
8312,
63,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
564,
3274,
96,
17,
106,
23,
44,
7815,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many DVDs where were in the complete collection series 1-8 with extras? | CREATE TABLE table_28056 (
"Release" text,
"# of discs" real,
"Region 1" text,
"Region 2" text,
"Region 4" text
) | SELECT "# of discs" FROM table_28056 WHERE "Release" = 'The Complete Collection Series 1-8 with extras' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17518,
4834,
41,
96,
1649,
40,
14608,
121,
1499,
6,
96,
4663,
13,
5025,
7,
121,
490,
6,
96,
17748,
23,
106,
209,
121,
1499,
6,
96,
17748,
23,
106,
204,
121,
1499,
6,
96... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4663,
13,
5025,
7,
121,
21680,
953,
834,
17518,
4834,
549,
17444,
427,
96,
1649,
40,
14608,
121,
3274,
3,
31,
634,
9480,
6767,
4531,
209,
6039,
28,
996,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many entries are shown for date of successors formal installation where successor is john w. walker (dr)? | CREATE TABLE table_225099_3 (
date_of_successors_formal_installation VARCHAR,
successor VARCHAR
) | SELECT COUNT(date_of_successors_formal_installation) FROM table_225099_3 WHERE successor = "John W. Walker (DR)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
11434,
3264,
834,
519,
41,
833,
834,
858,
834,
7,
17431,
24901,
7,
834,
2032,
138,
834,
14790,
584,
4280,
28027,
6,
22261,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
5522,
834,
858,
834,
7,
17431,
24901,
7,
834,
2032,
138,
834,
14790,
61,
21680,
953,
834,
357,
11434,
3264,
834,
519,
549,
17444,
427,
22261,
3274,
96,
18300,
549,
5,
13521,
41,
3913,
61,
121,
1,
... |
Name the episode for 18-49 rating being 3.6 | CREATE TABLE table_2387 (
"Episode" real,
"First Air Date" text,
"Rating (18\u201349)" text,
"Share (18\u201349)" real,
"Viewers (millions)" text,
"Rank (timeslot)" text
) | SELECT COUNT("Episode") FROM table_2387 WHERE "Rating (18\u201349)" = '3.6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
4225,
41,
96,
427,
102,
159,
32,
221,
121,
490,
6,
96,
25171,
1761,
7678,
121,
1499,
6,
96,
448,
1014,
9323,
2,
76,
11138,
3647,
61,
121,
1499,
6,
96,
24501,
9323,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
427,
102,
159,
32,
221,
8512,
21680,
953,
834,
2773,
4225,
549,
17444,
427,
96,
448,
1014,
9323,
2,
76,
11138,
3647,
61,
121,
3274,
3,
31,
23074,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the number of seats to be won being % of popular vote at 6.88% | CREATE TABLE table_19283982_4 (
_number_of_seats_to_be_won VARCHAR,
_percentage_of_popular_vote VARCHAR
) | SELECT _number_of_seats_to_be_won FROM table_19283982_4 WHERE _percentage_of_popular_vote = "6.88%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
2577,
3288,
4613,
834,
591,
41,
3,
834,
5525,
1152,
834,
858,
834,
7,
1544,
7,
834,
235,
834,
346,
834,
210,
106,
584,
4280,
28027,
6,
3,
834,
883,
3728,
545,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
834,
5525,
1152,
834,
858,
834,
7,
1544,
7,
834,
235,
834,
346,
834,
210,
106,
21680,
953,
834,
2294,
2577,
3288,
4613,
834,
591,
549,
17444,
427,
3,
834,
883,
3728,
545,
834,
858,
834,
27302,
834,
1621,
17,
... |
Which scorer plays for Aldershot and has scored a total of 19 League goals? | CREATE TABLE table_47215 (
"Scorer" text,
"Club" text,
"League goals" text,
"FA Cup goals" real,
"League Cup goals" real,
"Total" real
) | SELECT "Scorer" FROM table_47215 WHERE "Club" = 'aldershot' AND "League goals" = '19' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4177,
357,
1808,
41,
96,
134,
5715,
49,
121,
1499,
6,
96,
254,
11158,
121,
1499,
6,
96,
2796,
9,
5398,
1766,
121,
1499,
6,
96,
4795,
3802,
1766,
121,
490,
6,
96,
2796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5715,
49,
121,
21680,
953,
834,
4177,
357,
1808,
549,
17444,
427,
96,
254,
11158,
121,
3274,
3,
31,
138,
588,
11159,
31,
3430,
96,
2796,
9,
5398,
1766,
121,
3274,
3,
31,
2294,
31,
1,
-100,
-100,
-100,
-... |
What is the sum of Against, when Opposing Teams is 'South Africa', and when Status is 'First Test'? | CREATE TABLE table_name_11 (
against INTEGER,
opposing_teams VARCHAR,
status VARCHAR
) | SELECT SUM(against) FROM table_name_11 WHERE opposing_teams = "south africa" AND status = "first test" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2596,
41,
581,
3,
21342,
17966,
6,
10720,
53,
834,
11650,
7,
584,
4280,
28027,
6,
2637,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9,
16720,
7,
17,
61,
21680,
953,
834,
4350,
834,
2596,
549,
17444,
427,
10720,
53,
834,
11650,
7,
3274,
96,
7,
670,
107,
24040,
121,
3430,
2637,
3274,
96,
14672,
794,
121,
1,
-100,
-100,
-100,
-100... |
how many players won in 2013 ? | CREATE TABLE table_204_310 (
id number,
"month" text,
"year" number,
"player" text,
"county" text,
"club" text,
"position" number
) | SELECT COUNT("player") FROM table_204_310 WHERE "year" = 2013 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
19947,
41,
3,
23,
26,
381,
6,
96,
7393,
121,
1499,
6,
96,
1201,
121,
381,
6,
96,
20846,
121,
1499,
6,
96,
13362,
63,
121,
1499,
6,
96,
13442,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
20846,
8512,
21680,
953,
834,
26363,
834,
19947,
549,
17444,
427,
96,
1201,
121,
3274,
2038,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the score of the team that played against Fitzroy? | CREATE TABLE table_56089 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Home team score" FROM table_56089 WHERE "Away team" = 'fitzroy' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3328,
3914,
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,
2604,
121,
21680,
953,
834,
755,
3328,
3914,
549,
17444,
427,
96,
188,
1343,
372,
121,
3274,
3,
31,
89,
5615,
8170,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What city has trojans as the team, and taylor as the school? | CREATE TABLE table_name_43 (
city VARCHAR,
team VARCHAR,
school VARCHAR
) | SELECT city FROM table_name_43 WHERE team = "trojans" AND school = "taylor" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
690,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
690,
65,
10968,
7066,
7,
38,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
690,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
372,
3274,
96,
17,
52,
32,
7066,
7,
121,
3430,
496,
3274,
96,
17,
9,
63,
322,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the most recent year that Gulf Racing Middle East won? | CREATE TABLE table_name_91 (
year INTEGER,
team VARCHAR
) | SELECT MAX(year) FROM table_name_91 WHERE team = "gulf racing middle east" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
215,
3,
21342,
17966,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
167,
1100,
215,
24,
13566,
16046,
4551,
1932,
751,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
1201,
61,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
372,
3274,
96,
6106,
89,
8191,
2214,
5727,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the average reported isn for july 2007 for kuwait release of no | CREATE TABLE table_name_4 (reported_isn INTEGER, on_july_2007_press_release VARCHAR, citizenship VARCHAR) | SELECT AVG(reported_isn) FROM table_name_4 WHERE on_july_2007_press_release = "no" AND citizenship = "kuwait" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
60,
16262,
834,
159,
29,
3,
21342,
17966,
6,
30,
834,
2047,
120,
834,
20615,
834,
4715,
834,
21019,
584,
4280,
28027,
6,
22214,
584,
4280,
28027,
61,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
60,
16262,
834,
159,
29,
61,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
30,
834,
2047,
120,
834,
20615,
834,
4715,
834,
21019,
3274,
96,
29,
32,
121,
3430,
22214,
3274,
96,
2729,
26745,
121,
... |
What year were the latest elections? | CREATE TABLE table_18449 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT MAX("First elected") FROM table_18449 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25987,
3647,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
490,
6,
96,
20119,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
25171,
8160,
8512,
21680,
953,
834,
25987,
3647,
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... |
Which Date has a Game of game 3? | CREATE TABLE table_name_90 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_90 WHERE game = "game 3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2394,
41,
5522,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
7678,
65,
3,
9,
4435,
13,
467,
220,
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,
833,
21680,
953,
834,
4350,
834,
2394,
549,
17444,
427,
467,
3274,
96,
7261,
220,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the dance that has priscilla presley is the worst dancer(s), and the worst score of 21? | CREATE TABLE table_39279 (
"Dance" text,
"Best dancer(s)" text,
"Best score" text,
"Worst dancer(s)" text,
"Worst score" text
) | SELECT "Dance" FROM table_39279 WHERE "Worst dancer(s)" = 'priscilla presley' AND "Worst score" = '21' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3288,
357,
4440,
41,
96,
308,
663,
121,
1499,
6,
96,
17278,
2595,
52,
599,
7,
61,
121,
1499,
6,
96,
17278,
2604,
121,
1499,
6,
96,
518,
127,
7,
17,
2595,
52,
599,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
663,
121,
21680,
953,
834,
3288,
357,
4440,
549,
17444,
427,
96,
518,
127,
7,
17,
2595,
52,
599,
7,
61,
121,
3274,
3,
31,
2246,
7,
75,
1092,
9,
554,
8887,
31,
3430,
96,
518,
127,
7,
17,
2604,
121,
3... |
What is the Date when the Country shows uk, the Format is cd, and the Catalog of edcd 227? | CREATE TABLE table_name_91 (
date VARCHAR,
catalog VARCHAR,
country VARCHAR,
format VARCHAR
) | SELECT date FROM table_name_91 WHERE country = "uk" AND format = "cd" AND catalog = "edcd 227" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
833,
584,
4280,
28027,
6,
10173,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
6,
1910,
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,
833,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
684,
3274,
96,
1598,
121,
3430,
1910,
3274,
96,
75,
26,
121,
3430,
10173,
3274,
96,
15,
26,
75,
26,
204,
2555,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What are the names of the 3 departments with the most courses? | CREATE TABLE section (
course_id text,
sec_id text,
semester text,
year number,
building text,
room_number text,
time_slot_id text
)
CREATE TABLE teaches (
id text,
course_id text,
sec_id text,
semester text,
year number
)
CREATE TABLE instructor (
id text,
name... | SELECT dept_name FROM course GROUP BY dept_name ORDER BY COUNT(*) DESC LIMIT 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1375,
41,
503,
834,
23,
26,
1499,
6,
4220,
834,
23,
26,
1499,
6,
10542,
1499,
6,
215,
381,
6,
740,
1499,
6,
562,
834,
5525,
1152,
1499,
6,
97,
834,
7,
3171,
834,
23,
26,
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,
20,
102,
17,
834,
4350,
21680,
503,
350,
4630,
6880,
272,
476,
20,
102,
17,
834,
4350,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the 2nd leg with ldu quito as team 1? | CREATE TABLE table_name_62 (
team__number1 VARCHAR
) | SELECT 2 AS nd_leg FROM table_name_62 WHERE team__number1 = "ldu quito" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
372,
834,
834,
5525,
1152,
536,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
204,
727,
4553,
28,
3,
40,
1259,
285,
235,
38,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
204,
6157,
3,
727,
834,
5772,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
372,
834,
834,
5525,
1152,
536,
3274,
96,
40,
1259,
285,
235,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the titles of the episodes written by ken lazebnik? | CREATE TABLE table_11111116_7 (
title VARCHAR,
written_by VARCHAR
) | SELECT title FROM table_11111116_7 WHERE written_by = "Ken LaZebnik" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15866,
15866,
2938,
834,
940,
41,
2233,
584,
4280,
28027,
6,
1545,
834,
969,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
8342,
13,
8,
13562,
1545,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2233,
21680,
953,
834,
15866,
15866,
2938,
834,
940,
549,
17444,
427,
1545,
834,
969,
3274,
96,
439,
35,
325,
956,
15,
115,
4953,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the sum for the game with a score of 103 126? | CREATE TABLE table_34875 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
) | SELECT SUM("Game") FROM table_34875 WHERE "Score" = '103–126' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3707,
3072,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
75,
257,
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,
180,
6122,
599,
121,
23055,
8512,
21680,
953,
834,
519,
3707,
3072,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
17864,
104,
21976,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show me a bar chart for how many players are from each country? | CREATE TABLE country (
Country_id int,
Country_name text,
Capital text,
Official_native_language text
)
CREATE TABLE match_season (
Season real,
Player text,
Position text,
Country int,
Team int,
Draft_Pick_Number int,
Draft_Class text,
College text
)
CREATE TABLE team ... | SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
684,
41,
6993,
834,
23,
26,
16,
17,
6,
6993,
834,
4350,
1499,
6,
5826,
1499,
6,
13686,
834,
29,
1528,
834,
24925,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
6993,
834,
4350,
6,
2847,
17161,
599,
1935,
61,
21680,
684,
6157,
332,
536,
3,
15355,
3162,
1588,
834,
9476,
6157,
332,
357,
9191,
332,
5411,
10628,
651,
834,
23,
26,
3274,
332,
4416,
10628,
651,
350,
4630,
6880,
27... |
Who directed the film Nuits d'arabie? | CREATE TABLE table_22738 (
"Submitting country" text,
"Film title used in nomination" text,
"Original title" text,
"Language(s)" text,
"Director(s)" text,
"Result" text
) | SELECT "Director(s)" FROM table_22738 WHERE "Film title used in nomination" = 'Nuits d''Arabie' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2555,
3747,
41,
96,
25252,
1538,
1222,
684,
121,
1499,
6,
96,
371,
173,
51,
2233,
261,
16,
13588,
121,
1499,
6,
96,
667,
3380,
10270,
2233,
121,
1499,
6,
96,
434,
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,
23620,
127,
599,
7,
61,
121,
21680,
953,
834,
357,
2555,
3747,
549,
17444,
427,
96,
371,
173,
51,
2233,
261,
16,
13588,
121,
3274,
3,
31,
12924,
7085,
3,
26,
31,
31,
188,
52,
9,
4232,
31,
1,
-100,
-100,
-1... |
What stadium is in penrith? | CREATE TABLE table_name_11 (stadium VARCHAR, city VARCHAR) | SELECT stadium FROM table_name_11 WHERE city = "penrith" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2596,
41,
2427,
12925,
584,
4280,
28027,
6,
690,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
14939,
19,
16,
4550,
30922,
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,
14939,
21680,
953,
834,
4350,
834,
2596,
549,
17444,
427,
690,
3274,
96,
3208,
30922,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
I want to know the driver when grid is greater than 13 and laps is less than 60 with time/retired of accident | CREATE TABLE table_name_41 (
driver VARCHAR,
time_retired VARCHAR,
grid VARCHAR,
laps VARCHAR
) | SELECT driver FROM table_name_41 WHERE grid > 13 AND laps < 60 AND time_retired = "accident" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
2535,
584,
4280,
28027,
6,
97,
834,
10682,
1271,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2535,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
8634,
2490,
1179,
3430,
14941,
7,
3,
2,
1640,
3430,
97,
834,
10682,
1271,
3274,
96,
6004,
4215,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the most revenue for operating income more than 27 for hamburg and debt as % of value less than 0 | CREATE TABLE table_name_92 (revenue__ INTEGER, debt_as__percentage_of_value VARCHAR, operating_income__$m_ VARCHAR, team VARCHAR) | SELECT MAX(revenue__) AS $m_ FROM table_name_92 WHERE operating_income__$m_ > 27 AND team = "hamburg" AND debt_as__percentage_of_value < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
60,
15098,
834,
834,
3,
21342,
17966,
6,
2814,
834,
9,
7,
834,
834,
883,
3728,
545,
834,
858,
834,
12097,
584,
4280,
28027,
6,
2699,
834,
15759,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
60,
15098,
834,
834,
61,
6157,
1514,
51,
834,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
2699,
834,
15759,
834,
834,
3229,
51,
834,
2490,
2307,
3430,
372,
3274,
96,
1483,
4824,
121,
3430,
2814,... |
what is the position in round 3? | CREATE TABLE table_name_9 (
position VARCHAR,
round VARCHAR
) | SELECT position FROM table_name_9 WHERE round = 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
1102,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
1102,
16,
1751,
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,
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,
1102,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
1751,
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,
-100... |
what is the name of the first player on this chart ? | CREATE TABLE table_204_126 (
id number,
"place" text,
"player" text,
"country" text,
"score" text,
"to par" number,
"money ($)" number
) | SELECT "player" FROM table_204_126 WHERE id = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
21976,
41,
3,
23,
26,
381,
6,
96,
4687,
121,
1499,
6,
96,
20846,
121,
1499,
6,
96,
17529,
121,
1499,
6,
96,
7,
9022,
121,
1499,
6,
96,
235,
260,
121,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20846,
121,
21680,
953,
834,
26363,
834,
21976,
549,
17444,
427,
3,
23,
26,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Find times of trains that run through stations for the local authority Chiltern, compare the total number of different times, and I want to order in asc by the Y-axis. | CREATE TABLE station (
id int,
network_name text,
services text,
local_authority text
)
CREATE TABLE route (
train_id int,
station_id int
)
CREATE TABLE weekly_weather (
station_id int,
day_of_week text,
high_temperature int,
low_temperature int,
precipitation real,
win... | SELECT time, COUNT(time) FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id JOIN train AS t3 ON t2.train_id = t3.id WHERE t1.local_authority = "Chiltern" GROUP BY time ORDER BY COUNT(time) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2478,
41,
3,
23,
26,
16,
17,
6,
1229,
834,
4350,
1499,
6,
364,
1499,
6,
415,
834,
17415,
485,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2981,
41,
2412,
834,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
97,
6,
2847,
17161,
599,
715,
61,
21680,
2478,
6157,
3,
17,
536,
3,
15355,
3162,
2981,
6157,
3,
17,
357,
9191,
3,
17,
5411,
23,
26,
3274,
3,
17,
4416,
6682,
834,
23,
26,
3,
15355,
3162,
2412,
6157,
3,
17,
519,... |
What was the score of the game against montreal canadiens after game 26? | CREATE TABLE table_name_59 (score VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_59 WHERE game > 26 AND opponent = "montreal canadiens" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
7,
9022,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
13,
8,
467,
581,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
467,
2490,
2208,
3430,
15264,
3274,
96,
4662,
6644,
27114,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the internet when the position is more than 13? | CREATE TABLE table_12620 (
"Position" real,
"Channel" text,
"Analogue terrestrial channel" text,
"Digital terrestrial channel" text,
"Internet" text
) | SELECT "Internet" FROM table_12620 WHERE "Position" > '13' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
21976,
1755,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
3541,
4515,
40,
121,
1499,
6,
96,
188,
29,
9,
10384,
31882,
4245,
121,
1499,
6,
96,
30225,
31882,
4245,
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,
22912,
121,
21680,
953,
834,
21976,
1755,
549,
17444,
427,
96,
345,
32,
7,
4749,
121,
2490,
3,
31,
2368,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
provide the number of patients whose language is russ and diagnoses short title is proteus infection nos? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.language = "RUSS" AND diagnoses.short_title = "Proteus infection NOS" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
What is Term Start, when Name is Prime Ministers 1939 - 1943? | CREATE TABLE table_name_38 (
term_start VARCHAR,
name VARCHAR
) | SELECT term_start FROM table_name_38 WHERE name = "prime ministers 1939 - 1943" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
1657,
834,
10208,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
3,
11679,
3273,
6,
116,
5570,
19,
5923,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1657,
834,
10208,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
564,
3274,
96,
8234,
15,
6323,
7,
957,
3288,
3,
18,
26436,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many claim processing stages are there in total? | CREATE TABLE claims_processing_stages (
claim_stage_id number,
next_claim_stage_id number,
claim_status_name text,
claim_status_description text
)
CREATE TABLE policies (
policy_id number,
customer_id number,
policy_type_code text,
start_date time,
end_date time
)
CREATE TABLE clai... | SELECT COUNT(*) FROM claims_processing_stages | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3213,
834,
15056,
53,
834,
10705,
7,
41,
1988,
834,
10705,
834,
23,
26,
381,
6,
416,
834,
15085,
834,
10705,
834,
23,
26,
381,
6,
1988,
834,
8547,
302,
834,
4350,
1499,
6,
1988,
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,
2847,
17161,
599,
1935,
61,
21680,
3213,
834,
15056,
53,
834,
10705,
7,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the transfer window with a moving from of fenerbah e? | CREATE TABLE table_65106 (
"Nat." text,
"Name" text,
"Moving from" text,
"Type" text,
"Transfer window" text,
"Ends" real,
"Transfer fee" text
) | SELECT "Transfer window" FROM table_65106 WHERE "Moving from" = 'fenerbahçe' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4122,
16431,
41,
96,
567,
144,
535,
1499,
6,
96,
23954,
121,
1499,
6,
96,
329,
32,
3745,
45,
121,
1499,
6,
96,
25160,
121,
1499,
6,
96,
18474,
1010,
2034,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18474,
1010,
2034,
121,
21680,
953,
834,
4122,
16431,
549,
17444,
427,
96,
329,
32,
3745,
45,
121,
3274,
3,
31,
89,
35,
49,
17670,
8970,
15,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is maximum days of hospital stay of patients whose ethnicity is white? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... | SELECT MAX(demographic.days_stay) FROM demographic WHERE demographic.ethnicity = "WHITE" | [
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,
4800,
4,
599,
1778,
16587,
5,
1135,
7,
834,
21545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
15,
189,
2532,
485,
3274,
96,
15313,
14871,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the class for 4th position with year before 2006 | CREATE TABLE table_68664 (
"Year" real,
"Team" text,
"Co-Drivers" text,
"Class" text,
"Laps" real,
"Pos." text,
"Class Pos." text
) | SELECT "Class" FROM table_68664 WHERE "Pos." = '4th' AND "Year" < '2006' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
3539,
591,
41,
96,
476,
2741,
121,
490,
6,
96,
18699,
121,
1499,
6,
96,
3881,
18,
20982,
52,
7,
121,
1499,
6,
96,
21486,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
21486,
121,
21680,
953,
834,
3651,
3539,
591,
549,
17444,
427,
96,
345,
32,
7,
535,
3274,
3,
31,
591,
189,
31,
3430,
96,
476,
2741,
121,
3,
2,
3,
31,
21196,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Rush song was played for Mike Fincke? | CREATE TABLE table_12784 (
"Flight Day" text,
"Song" text,
"Artist" text,
"Played for" text,
"Links" text
) | SELECT "Song" FROM table_12784 WHERE "Played for" = 'mike fincke' AND "Artist" = 'rush' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22367,
4608,
41,
96,
371,
2242,
1430,
121,
1499,
6,
96,
134,
2444,
121,
1499,
6,
96,
7754,
343,
121,
1499,
6,
96,
15800,
15,
26,
21,
121,
1499,
6,
96,
15272,
7,
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,
0... | [
3,
23143,
14196,
96,
134,
2444,
121,
21680,
953,
834,
22367,
4608,
549,
17444,
427,
96,
15800,
15,
26,
21,
121,
3274,
3,
31,
20068,
15,
2202,
8849,
31,
3430,
96,
7754,
343,
121,
3274,
3,
31,
17363,
31,
1,
-100,
-100,
-100,
-100,
... |
Who were the original artist(s) when jack stamp arranged? | CREATE TABLE table_28715942_2 (
original_artist VARCHAR,
arranger_s_ VARCHAR
) | SELECT original_artist FROM table_28715942_2 WHERE arranger_s_ = "Jack Stamp" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
4450,
3390,
4165,
834,
357,
41,
926,
834,
1408,
343,
584,
4280,
28027,
6,
8031,
52,
834,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
130,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
926,
834,
1408,
343,
21680,
953,
834,
2577,
4450,
3390,
4165,
834,
357,
549,
17444,
427,
8031,
52,
834,
7,
834,
3274,
96,
683,
4365,
18331,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Provide the list of products with pesticide residues detected. | CREATE TABLE sampledata15 (
sample_pk number,
state text,
year text,
month text,
day text,
site text,
commod text,
source_id text,
variety text,
origin text,
country text,
disttype text,
commtype text,
claim text,
quantity number,
growst text,
packst t... | SELECT DISTINCT commod FROM resultsdata15 WHERE concen <> "" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3106,
6757,
1808,
41,
3106,
834,
102,
157,
381,
6,
538,
1499,
6,
215,
1499,
6,
847,
1499,
6,
239,
1499,
6,
353,
1499,
6,
3,
287,
7360,
1499,
6,
1391,
834,
23,
26,
1499,
6,
1196,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
3,
287,
7360,
21680,
772,
6757,
1808,
549,
17444,
427,
3,
11620,
29,
3,
2,
3155,
96,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the smallest population with an Area (km ) of 1115.4? | CREATE TABLE table_5398 (
"Name of community" text,
"Area (km\u00b2)" real,
"Population" real,
"Excised from" text,
"Date granted" text,
"Deed number" text
) | SELECT MIN("Population") FROM table_5398 WHERE "Area (km\u00b2)" = '1115.4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
3916,
41,
96,
23954,
13,
573,
121,
1499,
6,
96,
188,
864,
41,
5848,
2,
76,
1206,
115,
7318,
121,
490,
6,
96,
27773,
7830,
121,
490,
6,
96,
5420,
75,
3375,
45,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
27773,
7830,
8512,
21680,
953,
834,
4867,
3916,
549,
17444,
427,
96,
188,
864,
41,
5848,
2,
76,
1206,
115,
7318,
121,
3274,
3,
31,
15866,
27436,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which country has Hydra Head Records on February 2005? | CREATE TABLE table_39026 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue #" text
) | SELECT "Country" FROM table_39026 WHERE "Label" = 'hydra head records' AND "Date" = 'february 2005' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2394,
2688,
41,
96,
10628,
651,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
434,
10333,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
18610,
9,
10384,
1713,
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,
10628,
651,
121,
21680,
953,
834,
519,
2394,
2688,
549,
17444,
427,
96,
434,
10333,
121,
3274,
3,
31,
10656,
9,
819,
3187,
31,
3430,
96,
308,
342,
121,
3274,
3,
31,
89,
15,
9052,
1208,
3105,
31,
1,
-100,
-10... |
Return a bar chart about the distribution of ACC_Road and the sum of Team_ID , and group by attribute ACC_Road. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT ACC_Road, SUM(Team_ID) FROM basketball_match GROUP BY ACC_Road | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3819,
41,
1121,
834,
4309,
16,
17,
6,
1121,
1499,
6,
10450,
1499,
6,
3,
20100,
490,
6,
71,
89,
8027,
23,
257,
1499,
6,
695,
4046,
297,
490,
6,
7486,
4350,
1499,
6,
14542,
834,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
14775,
834,
448,
32,
9,
26,
6,
180,
6122,
599,
18699,
834,
4309,
61,
21680,
8498,
834,
19515,
350,
4630,
6880,
272,
476,
3,
14775,
834,
448,
32,
9,
26,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the latest week with a game with a result of l 12 7? | CREATE TABLE table_40705 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) | SELECT MAX("Week") FROM table_40705 WHERE "Result" = 'l 12–7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2445,
2518,
755,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
188,
17,
324,
26,
663,
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,
4800,
4,
599,
121,
518,
10266,
8512,
21680,
953,
834,
2445,
2518,
755,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
40,
586,
104,
940,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which engine finished 7th with the reynard 95i chassis? | CREATE TABLE table_80276 (
"Year" text,
"Team" text,
"Chassis" text,
"Engine" text,
"Rank" text
) | SELECT "Engine" FROM table_80276 WHERE "Rank" = '7th' AND "Chassis" = 'reynard 95i' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
357,
3959,
41,
96,
476,
2741,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
22557,
121,
1499,
3,
61,
3,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
31477,
121,
21680,
953,
834,
2079,
357,
3959,
549,
17444,
427,
96,
22557,
121,
3274,
3,
31,
940,
189,
31,
3430,
96,
3541,
6500,
7,
121,
3274,
3,
31,
60,
63,
29,
986,
11923,
23,
31,
1,
-100,
-100,
-100,
-100,... |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the sum of price , and group by attribute name, I want to order by the y axis from high to low. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Price DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7554,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
5312,
3396,
254,
26330,
434,
6,
15248,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23954,
6,
332,
5411,
345,
4920,
21680,
7554,
6157,
332,
536,
3,
15355,
3162,
15248,
7,
6157,
332,
357,
9191,
332,
5411,
7296,
76,
8717,
450,
49,
3274,
332,
4416,
22737,
350,
4630,
6880,
272,
476,
332,
441... |
What is the date of the race at Truro? | CREATE TABLE table_name_32 (date VARCHAR, track VARCHAR) | SELECT date FROM table_name_32 WHERE track = "truro" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
5522,
584,
4280,
28027,
6,
1463,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
833,
13,
8,
1964,
44,
7953,
52,
32,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
1463,
3274,
96,
2666,
52,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many cover dates does the story 'Devastation Derby! (part 1)' have? | CREATE TABLE table_22257 (
"#" real,
"Cover Date" text,
"Story Title" text,
"Writer/s" text,
"Artist/s" text,
"Letterer/s" text,
"Colourist/s" text,
"Editor/s" text,
"Comments" text
) | SELECT COUNT("Cover Date") FROM table_22257 WHERE "Story Title" = 'DEVASTATION DERBY! (Part 1)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26144,
3436,
41,
96,
4663,
121,
490,
6,
96,
254,
1890,
7678,
121,
1499,
6,
96,
134,
10972,
11029,
121,
1499,
6,
96,
24965,
49,
87,
7,
121,
1499,
6,
96,
7754,
343,
87,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
254,
1890,
7678,
8512,
21680,
953,
834,
26144,
3436,
549,
17444,
427,
96,
134,
10972,
11029,
121,
3274,
3,
31,
308,
8878,
12510,
8015,
3,
11300,
279,
476,
55,
41,
13725,
8925,
31,
1,
-100,
-10... |
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and the average of revenue , and group by attribute name, display in asc by the total number. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T2.Revenue | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7554,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
5312,
3396,
254,
26330,
434,
6,
15248,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
23954,
6,
332,
4416,
1649,
15098,
21680,
7554,
6157,
332,
536,
3,
15355,
3162,
15248,
7,
6157,
332,
357,
9191,
332,
5411,
7296,
76,
8717,
450,
49,
3274,
332,
4416,
22737,
350,
4630,
6880,
272,
476,
332,
5... |
Who were all the candidates when the first elected year was 1961? | CREATE TABLE table_1341884_20 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1341884_20 WHERE first_elected = 1961 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2606,
4608,
834,
1755,
41,
1608,
12416,
6203,
584,
4280,
28027,
6,
166,
834,
19971,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
130,
66,
8,
4341,
116,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4341,
21680,
953,
834,
23747,
2606,
4608,
834,
1755,
549,
17444,
427,
166,
834,
19971,
3274,
21018,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the election date for H. Brent Coles? | CREATE TABLE table_18048 (
"Incumbent" text,
"Reason for Vacancy" text,
"Appointed Successor" text,
"Date of Appointment" text,
"Elected Successor" text,
"Date of Election" text
) | SELECT "Date of Election" FROM table_18048 WHERE "Appointed Successor" = 'H. Brent Coles' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20829,
3707,
41,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
1649,
9,
739,
21,
3,
25203,
6833,
121,
1499,
6,
96,
9648,
32,
2429,
26,
16581,
127,
121,
1499,
6,
96,
308,
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,
308,
342,
13,
19488,
121,
21680,
953,
834,
20829,
3707,
549,
17444,
427,
96,
9648,
32,
2429,
26,
16581,
127,
121,
3274,
3,
31,
566,
5,
21985,
16311,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Where is the history department? | CREATE TABLE professor (
emp_num number,
dept_code text,
prof_office text,
prof_extension text,
prof_high_degree text
)
CREATE TABLE department (
dept_code text,
dept_name text,
school_code text,
emp_num number,
dept_address text,
dept_extension text
)
CREATE TABLE enroll (... | SELECT dept_address FROM department WHERE dept_name = 'History' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5812,
41,
8943,
834,
5525,
381,
6,
20,
102,
17,
834,
4978,
1499,
6,
7108,
834,
19632,
1499,
6,
7108,
834,
994,
13177,
1499,
6,
7108,
834,
6739,
834,
19706,
1499,
3,
61,
3,
32102,
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,
20,
102,
17,
834,
9,
26,
12039,
21680,
3066,
549,
17444,
427,
20,
102,
17,
834,
4350,
3274,
3,
31,
12146,
13029,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what is ethnicity of subject name kelly gallardo? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT demographic.ethnicity FROM demographic WHERE demographic.name = "Kelly Gallardo" | [
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,
14798,
5,
15,
189,
2532,
485,
21680,
14798,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
439,
15,
6073,
10987,
986,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the rank for athlete hauffe, seifert, kaeufer, adamski? | CREATE TABLE table_66138 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
) | SELECT SUM("Rank") FROM table_66138 WHERE "Athlete" = 'hauffe, seifert, kaeufer, adamski' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
22744,
41,
96,
22557,
121,
490,
6,
96,
188,
189,
1655,
15,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
13368,
121,
1499,
6,
96,
10358,
15,
7,
121,
1499,
3,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
22557,
8512,
21680,
953,
834,
3539,
22744,
549,
17444,
427,
96,
188,
189,
1655,
15,
121,
3274,
3,
31,
1024,
2999,
15,
6,
4736,
1010,
17,
6,
3,
1258,
15,
76,
1010,
6,
3,
9,
7812,
4009,
31,
... |
What is the score when the scorers show match report? | CREATE TABLE table_name_97 (
score VARCHAR,
scorers VARCHAR
) | SELECT score FROM table_name_97 WHERE scorers = "match report" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
2604,
584,
4280,
28027,
6,
14056,
277,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
116,
8,
14056,
277,
504,
1588,
934,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
14056,
277,
3274,
96,
19515,
934,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the racing teams for which the average finish is 23.3? | CREATE TABLE table_2190919_1 (team_s_ VARCHAR, avg_finish VARCHAR) | SELECT team_s_ FROM table_2190919_1 WHERE avg_finish = "23.3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2294,
4198,
2294,
834,
536,
41,
11650,
834,
7,
834,
584,
4280,
28027,
6,
3,
9,
208,
122,
834,
25535,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
834,
7,
834,
21680,
953,
834,
357,
2294,
4198,
2294,
834,
536,
549,
17444,
427,
3,
9,
208,
122,
834,
25535,
3274,
96,
357,
19660,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
List the 3 highest salaries of the players in 2001? | CREATE TABLE salary (salary VARCHAR, YEAR VARCHAR) | SELECT salary FROM salary WHERE YEAR = 2001 ORDER BY salary DESC LIMIT 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
9090,
41,
7,
138,
1208,
584,
4280,
28027,
6,
30431,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
6792,
8,
220,
2030,
21331,
13,
8,
1508,
16,
4402,
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,
9090,
21680,
9090,
549,
17444,
427,
30431,
3274,
4402,
4674,
11300,
272,
476,
9090,
309,
25067,
8729,
12604,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many clubs were remaining in the preliminary round? | CREATE TABLE table_28039032_1 (
clubs_remaining VARCHAR,
round VARCHAR
) | SELECT clubs_remaining FROM table_28039032_1 WHERE round = "Preliminary round" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17518,
519,
2394,
2668,
834,
536,
41,
8122,
834,
60,
7484,
53,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
8122,
130,
4080,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
8122,
834,
60,
7484,
53,
21680,
953,
834,
17518,
519,
2394,
2668,
834,
536,
549,
17444,
427,
1751,
3274,
96,
10572,
4941,
77,
1208,
1751,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the date of a week larger than 16? | CREATE TABLE table_46494 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text
) | SELECT "Date" FROM table_46494 WHERE "Week" > '16' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
3647,
591,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
4562,
2900,
121,
1499,
3,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
4448,
3647,
591,
549,
17444,
427,
96,
518,
10266,
121,
2490,
3,
31,
2938,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who is the opponent with 16 points? | CREATE TABLE table_8055 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Falcons points" real,
"Opponents" real,
"Record" text
) | SELECT "Opponent" FROM table_8055 WHERE "Opponents" = '16' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
3769,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
371,
138,
8056,
979,
121,
490,
6,
96,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
102,
9977,
121,
21680,
953,
834,
2079,
3769,
549,
17444,
427,
96,
667,
102,
9977,
7,
121,
3274,
3,
31,
2938,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name who directed the episode that was viewed by 4.22 million | CREATE TABLE table_18569389_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_18569389_1 WHERE us_viewers__million_ = "4.22" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
4834,
4271,
3914,
834,
536,
41,
22955,
834,
969,
584,
4280,
28027,
6,
178,
834,
4576,
277,
834,
834,
17030,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
55... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6640,
834,
969,
21680,
953,
834,
2606,
4834,
4271,
3914,
834,
536,
549,
17444,
427,
178,
834,
4576,
277,
834,
834,
17030,
834,
3274,
96,
19765,
357,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which tests have 'Pass' results? Return the dates when the tests were taken, and count them by a bar chart, sort by the names in asc please. | CREATE TABLE Course_Authors_and_Tutors (
author_id INTEGER,
author_tutor_ATB VARCHAR(3),
login_name VARCHAR(40),
password VARCHAR(40),
personal_name VARCHAR(80),
middle_name VARCHAR(80),
family_name VARCHAR(80),
gender_mf VARCHAR(1),
address_line_1 VARCHAR(80)
)
CREATE TABLE Student... | SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass" GROUP BY date_test_taken ORDER BY date_test_taken | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8670,
834,
23602,
127,
7,
834,
232,
834,
28676,
7,
41,
2291,
834,
23,
26,
3,
21342,
17966,
6,
2291,
834,
17,
76,
17,
127,
834,
5767,
279,
584,
4280,
28027,
17867,
6,
11255,
834,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
833,
834,
4377,
834,
4914,
29,
6,
2847,
17161,
599,
5522,
834,
4377,
834,
4914,
29,
61,
21680,
6341,
834,
382,
222,
7,
834,
29468,
29,
549,
17444,
427,
794,
834,
60,
7,
83,
17,
3274,
96,
20192,
121,
350,
4630,
6... |
What position does Brian Butch play? | CREATE TABLE table_name_40 (pos VARCHAR, player VARCHAR) | SELECT pos FROM table_name_40 WHERE player = "brian butch" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
2748,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1102,
405,
7798,
299,
524,
577,
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,
3,
2748,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
1959,
3274,
96,
2160,
152,
68,
524,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
HOW MANY PLAYERS PLAYED IN THE GAME THAT WON WITH 438 POINTS | CREATE TABLE table_12807904_3 (
played VARCHAR,
points_for VARCHAR
) | SELECT played FROM table_12807904_3 WHERE points_for = "438" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
2079,
4440,
6348,
834,
519,
41,
1944,
584,
4280,
28027,
6,
979,
834,
1161,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
25144,
3,
9312,
476,
17501,
476,
9984... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1944,
21680,
953,
834,
2122,
2079,
4440,
6348,
834,
519,
549,
17444,
427,
979,
834,
1161,
3274,
96,
591,
3747,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many goals did sture m rtensson score? | CREATE TABLE table_name_98 (
goals VARCHAR,
name VARCHAR
) | SELECT goals FROM table_name_98 WHERE name = "sture mårtensson" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
1766,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1766,
410,
3,
7,
2693,
3,
51,
3,
52,
324,
7,
739,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1766,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
564,
3274,
96,
7,
2693,
3,
51,
2,
52,
324,
7,
739,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the Date of the Game with a Score of w 112-107 (ot)? | CREATE TABLE table_name_29 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_29 WHERE score = "w 112-107 (ot)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
5522,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7678,
13,
8,
4435,
28,
3,
9,
17763,
13,
3,
210,
850... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
2604,
3274,
96,
210,
850,
17234,
4560,
41,
32,
17,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
List the names of journalists who have not reported any event. | CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Name VARCHAR, journalist_ID VARCHAR) | SELECT Name FROM journalist WHERE NOT journalist_ID IN (SELECT journalist_ID FROM news_report) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
9994,
41,
23954,
584,
4280,
28027,
6,
9994,
834,
4309,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1506,
834,
60,
1493,
41,
23954,
584,
4280,
28027,
6,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5570,
21680,
9994,
549,
17444,
427,
4486,
9994,
834,
4309,
3388,
41,
23143,
14196,
9994,
834,
4309,
21680,
1506,
834,
60,
1493,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Bar graph to show how many nationality from different nationality | CREATE TABLE mission (
Mission_ID int,
Ship_ID int,
Code text,
Launched_Year int,
Location text,
Speed_knots int,
Fate text
)
CREATE TABLE ship (
Ship_ID int,
Name text,
Type text,
Nationality text,
Tonnage int
) | SELECT Nationality, COUNT(Nationality) FROM ship GROUP BY Nationality | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2253,
41,
8960,
834,
4309,
16,
17,
6,
15508,
834,
4309,
16,
17,
6,
3636,
1499,
6,
17113,
15,
26,
834,
476,
2741,
16,
17,
6,
10450,
1499,
6,
9913,
834,
157,
2264,
7,
16,
17,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
868,
485,
6,
2847,
17161,
599,
24732,
485,
61,
21680,
4383,
350,
4630,
6880,
272,
476,
868,
485,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Livery has a Description of 20t tanker, with a date later than 1941? | CREATE TABLE table_53774 (
"Number & name" text,
"Description" text,
"Current status" text,
"Livery" text,
"Date" real
) | SELECT "Livery" FROM table_53774 WHERE "Description" = '20t tanker' AND "Date" > '1941' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
4013,
591,
41,
96,
567,
5937,
49,
3,
184,
564,
121,
1499,
6,
96,
2962,
11830,
121,
1499,
6,
96,
254,
450,
5320,
2637,
121,
1499,
6,
96,
24179,
651,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
24179,
651,
121,
21680,
953,
834,
4867,
4013,
591,
549,
17444,
427,
96,
2962,
11830,
121,
3274,
3,
31,
1755,
17,
5040,
49,
31,
3430,
96,
308,
342,
121,
2490,
3,
31,
2294,
4853,
31,
1,
-100,
-100,
-100,
-100,
... |
What is the primary language used in the film title Nynke? | CREATE TABLE table_name_86 (
main_language_s_ VARCHAR,
original_title VARCHAR
) | SELECT main_language_s_ FROM table_name_86 WHERE original_title = "nynke" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
711,
834,
24925,
834,
7,
834,
584,
4280,
28027,
6,
926,
834,
21869,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2329,
1612,
261... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
711,
834,
24925,
834,
7,
834,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
926,
834,
21869,
3274,
96,
29,
63,
29,
1050,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is every value for %yes when type is ref? | CREATE TABLE table_256286_43 (
_percentage_yes VARCHAR,
type VARCHAR
) | SELECT _percentage_yes FROM table_256286_43 WHERE type = "Ref" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
4056,
3840,
834,
4906,
41,
3,
834,
883,
3728,
545,
834,
10070,
584,
4280,
28027,
6,
686,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
334,
701,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
834,
883,
3728,
545,
834,
10070,
21680,
953,
834,
1828,
4056,
3840,
834,
4906,
549,
17444,
427,
686,
3274,
96,
1649,
89,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What After debt has raised 3Q of $5,358,585? | CREATE TABLE table_56216 (
"Candidate" text,
"Money Raised, 3Q" text,
"Loans Received, 3Q" text,
"Money Spent, 3Q" text,
"Total Receipts" text,
"Cash On Hand" text,
"After Debt" text
) | SELECT "After Debt" FROM table_56216 WHERE "Money Raised, 3Q" = '$5,358,585' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
27184,
41,
96,
14050,
12416,
342,
121,
1499,
6,
96,
9168,
15,
63,
2922,
3375,
6,
220,
2247,
121,
1499,
6,
96,
434,
32,
3247,
24083,
26,
6,
220,
2247,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23901,
9794,
17,
121,
21680,
953,
834,
4834,
27184,
549,
17444,
427,
96,
9168,
15,
63,
2922,
3375,
6,
220,
2247,
121,
3274,
3,
31,
3229,
11116,
2469,
11864,
3449,
755,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What year was Teen Angels 2 nominated? | CREATE TABLE table_78588 (
"Year" text,
"Award" text,
"Category" text,
"Nominated" text,
"Result" text
) | SELECT "Year" FROM table_78588 WHERE "Nominated" = 'teen angels 2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
755,
4060,
41,
96,
476,
2741,
121,
1499,
6,
96,
188,
2239,
121,
1499,
6,
96,
18610,
6066,
651,
121,
1499,
6,
96,
4168,
1109,
920,
121,
1499,
6,
96,
20119,
121,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
96,
476,
2741,
121,
21680,
953,
834,
3940,
755,
4060,
549,
17444,
427,
96,
4168,
1109,
920,
121,
3274,
3,
31,
6808,
11831,
7,
204,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Week 2 Sept 7 has a Week 7 Oct 12 of ball state (7-0)? | CREATE TABLE table_34490 (
"Week 1 Sept 2" text,
"Week 2 Sept 7" text,
"Week 3 Sept 14" text,
"Week 5 Sept 28" text,
"Week 6 Oct 5" text,
"Week 7 Oct 12" text,
"Week 10 Nov 2" text,
"Week 13 Nov 23" text,
"Week 14 Nov 30" text,
"Week 15 Dec 7" text,
"Week 16 (Final) Jan 9" te... | SELECT "Week 2 Sept 7" FROM table_34490 WHERE "Week 7 Oct 12" = 'ball state (7-0)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3628,
2394,
41,
96,
518,
10266,
209,
10449,
204,
121,
1499,
6,
96,
518,
10266,
204,
10449,
489,
121,
1499,
6,
96,
518,
10266,
220,
10449,
968,
121,
1499,
6,
96,
518,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10266,
204,
10449,
489,
121,
21680,
953,
834,
519,
3628,
2394,
549,
17444,
427,
96,
518,
10266,
489,
6416,
586,
121,
3274,
3,
31,
3184,
538,
13649,
18,
632,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Venue, when Year is after 2003, and when Tournament is "Hypo-Meeting"? | CREATE TABLE table_name_89 (venue VARCHAR, year VARCHAR, tournament VARCHAR) | SELECT venue FROM table_name_89 WHERE year > 2003 AND tournament = "hypo-meeting" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
15098,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
29940,
6,
116,
2929,
19,
227,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5669,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
215,
2490,
3888,
3430,
5892,
3274,
96,
13397,
32,
18,
526,
15,
1222,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.