NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Which player who won in 1977 and scored great than 155 was the closest to par? | CREATE TABLE table_name_96 (
to_par INTEGER,
year_s__won VARCHAR,
total VARCHAR
) | SELECT MAX(to_par) FROM table_name_96 WHERE year_s__won = "1977" AND total > 155 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
12,
834,
1893,
3,
21342,
17966,
6,
215,
834,
7,
834,
834,
210,
106,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
235,
834,
1893,
61,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
215,
834,
7,
834,
834,
210,
106,
3274,
96,
2294,
4013,
121,
3430,
792,
2490,
3,
20896,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Show minimum, maximum, and average market value for all companies. | CREATE TABLE company (market_value INTEGER) | SELECT MIN(market_value), MAX(market_value), AVG(market_value) FROM company | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
349,
41,
8809,
834,
12097,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
3111,
2559,
6,
2411,
6,
11,
1348,
512,
701,
21,
66,
688,
5,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
8809,
834,
12097,
201,
4800,
4,
599,
8809,
834,
12097,
201,
71,
17217,
599,
8809,
834,
12097,
61,
21680,
349,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the home score with marek dupnitsa as opponent? | CREATE TABLE table_75922 (
"Season" text,
"Competition" text,
"Round" text,
"Opponent" text,
"Home" text,
"Away" text
) | SELECT "Home" FROM table_75922 WHERE "Opponent" = 'marek dupnitsa' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
4508,
357,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
19040... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
121,
21680,
953,
834,
3072,
4508,
357,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
1635,
15,
157,
146,
102,
29,
7085,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the brighton cast for andrew verala | CREATE TABLE table_1591 (
"Character" text,
"Indianapolis Concerts" text,
"Sarasota" text,
"Broadway" text,
"Brighton Cast" text
) | SELECT "Brighton Cast" FROM table_1591 WHERE "Indianapolis Concerts" = 'Andrew Verala' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
4729,
41,
96,
18947,
2708,
49,
121,
1499,
6,
96,
22126,
29,
9,
15621,
14948,
7,
121,
1499,
6,
96,
134,
2551,
7,
32,
17,
9,
121,
1499,
6,
96,
279,
8635,
1343,
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,
279,
3535,
106,
11583,
121,
21680,
953,
834,
1808,
4729,
549,
17444,
427,
96,
22126,
29,
9,
15621,
14948,
7,
121,
3274,
3,
31,
7175,
60,
210,
781,
138,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
When was the Prijedor tournament? | CREATE TABLE table_name_68 (
date VARCHAR,
tournament VARCHAR
) | SELECT date FROM table_name_68 WHERE tournament = "prijedor" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3651,
41,
833,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
47,
8,
3,
7855,
1924,
26,
127,
5892,
58,
1,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
3651,
549,
17444,
427,
5892,
3274,
96,
2246,
1924,
26,
127,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many commissioners have there been ? | CREATE TABLE table_203_559 (
id number,
"no." number,
"name" text,
"took office" text,
"left office" text,
"president served under" text,
"notable for" text
) | SELECT COUNT(DISTINCT "no.") FROM table_203_559 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
755,
3390,
41,
3,
23,
26,
381,
6,
96,
29,
32,
535,
381,
6,
96,
4350,
121,
1499,
6,
96,
235,
1825,
828,
121,
1499,
6,
96,
17068,
828,
121,
1499,
6,
96,
102... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
96,
29,
32,
5,
8512,
21680,
953,
834,
23330,
834,
755,
3390,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What January 15-16 is is that corresponds to November 3, 2013? | CREATE TABLE table_27523 (
"June 10-11" text,
"March 27-29" text,
"January 15-16" text,
"November 3" text,
"August 21-22" text
) | SELECT "January 15-16" FROM table_27523 WHERE "November 3" = 'November 3, 2013' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25988,
2773,
41,
96,
683,
444,
335,
9169,
121,
1499,
6,
96,
25019,
2307,
18,
3166,
121,
1499,
6,
96,
30404,
627,
10892,
121,
1499,
6,
96,
28635,
220,
121,
1499,
6,
96,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
30404,
627,
10892,
121,
21680,
953,
834,
25988,
2773,
549,
17444,
427,
96,
28635,
220,
121,
3274,
3,
31,
28635,
6180,
2038,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which date was corio oval the venue? | CREATE TABLE table_name_12 (
date VARCHAR,
venue VARCHAR
) | SELECT date FROM table_name_12 WHERE venue = "corio oval" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
833,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
833,
47,
4301,
23,
32,
17986,
8,
5669,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
5669,
3274,
96,
5715,
23,
32,
17986,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Where is the headquarter of the company founded by James? | CREATE TABLE products (
code number,
name text,
price number,
manufacturer number
)
CREATE TABLE manufacturers (
code number,
name text,
headquarter text,
founder text,
revenue number
) | SELECT headquarter FROM manufacturers WHERE founder = 'James' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
494,
41,
1081,
381,
6,
564,
1499,
6,
594,
381,
6,
4818,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
5360,
41,
1081,
381,
6,
564,
1499,
6,
819,
19973,
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,
819,
19973,
21680,
5360,
549,
17444,
427,
7174,
3274,
3,
31,
683,
9,
2687,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what is the launched date when the builder is john brown, clydebank? | CREATE TABLE table_52766 (
"Name" text,
"Pennant" text,
"Builder" text,
"Laid Down" text,
"Launched" text,
"Commissioned" text
) | SELECT "Launched" FROM table_52766 WHERE "Builder" = 'john brown, clydebank' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2555,
3539,
41,
96,
23954,
121,
1499,
6,
96,
345,
35,
29,
288,
121,
1499,
6,
96,
24752,
49,
121,
1499,
6,
96,
434,
6146,
7309,
121,
1499,
6,
96,
3612,
202,
4513,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3612,
202,
4513,
121,
21680,
953,
834,
755,
2555,
3539,
549,
17444,
427,
96,
24752,
49,
121,
3274,
3,
31,
27341,
4216,
6,
3,
75,
120,
221,
4739,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who won the Womens Singles in the year the Jean-Michel Saive won the Mens Singles? | CREATE TABLE table_28138035_35 (
womens_singles VARCHAR,
mens_singles VARCHAR
) | SELECT womens_singles FROM table_28138035_35 WHERE mens_singles = "Jean-Michel Saive" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
2368,
2079,
2469,
834,
2469,
41,
887,
7,
834,
7,
53,
965,
584,
4280,
28027,
6,
1076,
7,
834,
7,
53,
965,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
264... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
887,
7,
834,
7,
53,
965,
21680,
953,
834,
2577,
2368,
2079,
2469,
834,
2469,
549,
17444,
427,
1076,
7,
834,
7,
53,
965,
3274,
96,
7851,
152,
18,
30123,
1138,
757,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Where is the free fare zone for the Arena station? | CREATE TABLE table_name_65 (free_fare_zone VARCHAR, station_name VARCHAR) | SELECT free_fare_zone FROM table_name_65 WHERE station_name = "arena" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
2113,
834,
89,
355,
834,
9431,
584,
4280,
28027,
6,
2478,
834,
4350,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
19,
8,
339,
623,
15,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
339,
834,
89,
355,
834,
9431,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
2478,
834,
4350,
3274,
96,
9,
1536,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Record has a Game larger than 15, and Points smaller than 31, and a November of 7? | CREATE TABLE table_6747 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
) | SELECT "Record" FROM table_6747 WHERE "Game" > '15' AND "Points" < '31' AND "November" = '7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
4177,
41,
96,
23055,
121,
490,
6,
96,
28635,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
22512,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1649,
7621,
121,
21680,
953,
834,
3708,
4177,
549,
17444,
427,
96,
23055,
121,
2490,
3,
31,
1808,
31,
3430,
96,
22512,
7,
121,
3,
2,
3,
31,
3341,
31,
3430,
96,
28635,
121,
3274,
3,
31,
940,
31,
1,
-100,
-1... |
how many more medals did egypt win than ivory coast ? | CREATE TABLE table_203_70 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) | SELECT (SELECT "total" FROM table_203_70 WHERE "nation" = 'egypt') - (SELECT "total" FROM table_203_70 WHERE "nation" = 'ivory coast') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2518,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
29,
257,
121,
1499,
6,
96,
14910,
121,
381,
6,
96,
7,
173,
624,
121,
381,
6,
96,
13711,
776,
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,
41,
23143,
14196,
96,
235,
1947,
121,
21680,
953,
834,
23330,
834,
2518,
549,
17444,
427,
96,
29,
257,
121,
3274,
3,
31,
15,
122,
63,
102,
17,
31,
61,
3,
18,
41,
23143,
14196,
96,
235,
1947,
121,
21680,
953,
834... |
What is the average total for Dave Stockton? | CREATE TABLE table_59776 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
) | SELECT AVG("Total") FROM table_59776 WHERE "Player" = 'dave stockton' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
940,
3959,
41,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
476,
2741,
599,
7,
61,
751,
121,
1499,
6,
96,
3696,
1947,
121,
490,
6,
96,
3696,
260... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
3696,
1947,
8512,
21680,
953,
834,
3390,
940,
3959,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
26,
9,
162,
1519,
17,
106,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who was the director of the episode with a production code of 2393059? | CREATE TABLE table_10953197_2 (director VARCHAR, production_code VARCHAR) | SELECT director FROM table_10953197_2 WHERE production_code = "2393059" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17304,
4867,
27181,
834,
357,
41,
25982,
584,
4280,
28027,
6,
999,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
2090,
13,
8,
5640,
28,
3,
9,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2090,
21680,
953,
834,
17304,
4867,
27181,
834,
357,
549,
17444,
427,
999,
834,
4978,
3274,
96,
357,
3288,
1458,
3390,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What date was the xiv international gold cup? | CREATE TABLE table_77935 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
) | SELECT "Date" FROM table_77935 WHERE "Race Name" = 'xiv international gold cup' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
4440,
2469,
41,
96,
448,
3302,
5570,
121,
1499,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
518,
10503,
2535,
121,
1499,
6,
96,
4302,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
940,
4440,
2469,
549,
17444,
427,
96,
448,
3302,
5570,
121,
3274,
3,
31,
226,
23,
208,
1038,
2045,
4119,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was South Melbourne's away opponents? | CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_18 WHERE home_team = "south melbourne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
1013,
9396,
31,
7,
550,
16383,
58,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
11650,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
234,
834,
11650,
3274,
96,
7,
670,
107,
3,
2341,
26255,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those employees who was hired before 2002-06-21, give me the comparison about the amount of hire_date over the hire_date bin hire_date by weekday, I want to list in asc by the total number. | CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varc... | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY COUNT(HIRE_DATE) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2476,
41,
446,
10539,
834,
4309,
3,
4331,
4059,
599,
16968,
6,
446,
10539,
834,
382,
3177,
3765,
3,
4331,
4059,
599,
2469,
201,
3,
17684,
834,
134,
4090,
24721,
7908,
1982,
599,
11071,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
2847,
17161,
599,
566,
14132,
834,
308,
6048,
61,
21680,
1652,
549,
17444,
427,
454,
14132,
834,
308,
6048,
3,
2,
3,
31,
24898,
18,
5176,
16539,
31,
4674,
11300,
272,
476,
2847,
17161,... |
What was the result of the game that had 20,627 fans in attendance? | CREATE TABLE table_48796 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) | SELECT "Result" FROM table_48796 WHERE "Attendance" = '20,627' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
4225,
4314,
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,
96,
20119,
121,
21680,
953,
834,
591,
4225,
4314,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
3274,
3,
31,
1755,
6,
948,
2555,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many times did a center that attended Oral Roberts play for the Rockets? | CREATE TABLE table_11734041_1 (years_for_rockets VARCHAR, position VARCHAR, school_club_team_country VARCHAR) | SELECT COUNT(years_for_rockets) FROM table_11734041_1 WHERE position = "Center" AND school_club_team_country = "Oral Roberts" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20275,
21129,
4853,
834,
536,
41,
1201,
7,
834,
1161,
834,
6133,
15,
17,
7,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
496,
834,
13442,
834,
11650,
834,
17529,
584,
42... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1201,
7,
834,
1161,
834,
6133,
15,
17,
7,
61,
21680,
953,
834,
20275,
21129,
4853,
834,
536,
549,
17444,
427,
1102,
3274,
96,
24382,
121,
3430,
496,
834,
13442,
834,
11650,
834,
17529,
3274,
96,
73... |
How many states-first place are there for the office of Governor? | CREATE TABLE table_20246201_9 (
states___first_place VARCHAR,
office VARCHAR
) | SELECT COUNT(states___first_place) FROM table_20246201_9 WHERE office = "Governor" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19818,
4448,
22772,
834,
1298,
41,
2315,
834,
834,
834,
14672,
834,
4687,
584,
4280,
28027,
6,
828,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
2315,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
5540,
7,
834,
834,
834,
14672,
834,
4687,
61,
21680,
953,
834,
19818,
4448,
22772,
834,
1298,
549,
17444,
427,
828,
3274,
96,
27304,
127,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the time of the Kentucky Derby? | CREATE TABLE table_name_79 (time VARCHAR, race VARCHAR) | SELECT time FROM table_name_79 WHERE race = "kentucky derby" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
715,
584,
4280,
28027,
6,
1964,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
97,
13,
8,
13401,
21485,
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,
97,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
1964,
3274,
96,
2217,
17,
4636,
63,
74,
969,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the penalty for the DET team player Andreas Lilja? | CREATE TABLE table_name_42 (
penalty VARCHAR,
team VARCHAR,
player VARCHAR
) | SELECT penalty FROM table_name_42 WHERE team = "det" AND player = "andreas lilja" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
10736,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
10736,
21,
8,
3396,
382... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10736,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
372,
3274,
96,
221,
17,
121,
3430,
1959,
3274,
96,
232,
864,
7,
3,
40,
173,
1191,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What type of Competition has a Goal of 3? | CREATE TABLE table_name_84 (competition VARCHAR, goal VARCHAR) | SELECT competition FROM table_name_84 WHERE goal = 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
287,
4995,
4749,
584,
4280,
28027,
6,
1288,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
686,
13,
15571,
65,
3,
9,
17916,
13,
220,
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,
2259,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
1288,
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... |
how many patients are diagnosed with unspecified hereditary and idiopathic peripheral neuropathy and suggested the base drug type? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Unspecified hereditary and idiopathic peripheral neuropathy" AND prescriptions.drug_type = ... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
Who is the home team at arden street oval? | CREATE TABLE table_32763 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Home team" FROM table_32763 WHERE "Venue" = 'arden street oval' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2555,
3891,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
19040,
372,
121,
21680,
953,
834,
519,
2555,
3891,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
986,
35,
2815,
17986,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the imprint when the title is owari no chronicle (ahead series)? | CREATE TABLE table_9572 (
"Year" real,
"Character" text,
"Title" text,
"Author" text,
"Artist" text,
"Imprint" text
) | SELECT "Imprint" FROM table_9572 WHERE "Title" = 'owari no chronicle (ahead series)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3301,
5865,
41,
96,
476,
2741,
121,
490,
6,
96,
18947,
2708,
49,
121,
1499,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23602,
127,
121,
1499,
6,
96,
7754,
343,
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,
196,
51,
7260,
121,
21680,
953,
834,
3301,
5865,
549,
17444,
427,
96,
382,
155,
109,
121,
3274,
3,
31,
2381,
1665,
150,
6658,
109,
41,
9,
3313,
939,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest population(2006) when there is a 1.06% in 2011? | CREATE TABLE table_189893_1 (
population__2006_ INTEGER,
percentage__2011_ VARCHAR
) | SELECT MIN(population__2006_) FROM table_189893_1 WHERE percentage__2011_ = "1.06%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
3916,
4271,
834,
536,
41,
2074,
834,
834,
21196,
834,
3,
21342,
17966,
6,
5294,
834,
834,
13907,
834,
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,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
9791,
7830,
834,
834,
21196,
834,
61,
21680,
953,
834,
2606,
3916,
4271,
834,
536,
549,
17444,
427,
5294,
834,
834,
13907,
834,
3274,
96,
12734,
6370,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)? | CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR) | SELECT total_freshwater_withdrawal__km_3__yr_ FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "1029(96%)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
2394,
4240,
4198,
834,
357,
41,
235,
1947,
834,
20164,
3552,
834,
4065,
19489,
138,
834,
834,
5848,
834,
519,
834,
834,
63,
52,
834,
584,
4280,
28027,
6,
10687,
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,
792,
834,
20164,
3552,
834,
4065,
19489,
138,
834,
834,
5848,
834,
519,
834,
834,
63,
52,
834,
21680,
953,
834,
1808,
2394,
4240,
4198,
834,
357,
549,
17444,
427,
10687,
834,
1074,
834,
834,
51,
834,
519,
834,
834,
... |
What Time/Retired has a Laps of 86 and the Team of HVM Racing? | CREATE TABLE table_34053 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Points" real
) | SELECT "Time/Retired" FROM table_34053 WHERE "Laps" = '86' AND "Team" = 'hvm racing' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
21129,
4867,
41,
96,
20982,
52,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13313,
26,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
13368,
87,
1649,
11809,
26,
121,
21680,
953,
834,
21129,
4867,
549,
17444,
427,
96,
3612,
102,
7,
121,
3274,
3,
31,
3840,
31,
3430,
96,
18699,
121,
3274,
3,
31,
107,
208,
51,
8191,
31,
1,
-100,
-100,
-100,
-... |
Name the result for north carolina 7 | CREATE TABLE table_19753079_36 (result VARCHAR, district VARCHAR) | SELECT result FROM table_19753079_36 WHERE district = "North Carolina 7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27181,
26918,
4440,
834,
3420,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
741,
21,
3457,
443,
12057,
9,
489... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
21680,
953,
834,
27181,
26918,
4440,
834,
3420,
549,
17444,
427,
3939,
3274,
96,
22969,
5089,
489,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
When cannot handle non-empty timestamp argument! 2007 is released what is the no.? | CREATE TABLE table_18442691_2 (
no VARCHAR,
released VARCHAR
) | SELECT no FROM table_18442691_2 WHERE released = "Cannot handle non-empty timestamp argument! 2007" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
3628,
2688,
4729,
834,
357,
41,
150,
584,
4280,
28027,
6,
1883,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
1178,
2174,
529,
18,
9045,
63,
648,
17,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
150,
21680,
953,
834,
2606,
3628,
2688,
4729,
834,
357,
549,
17444,
427,
1883,
3274,
96,
14050,
2264,
2174,
529,
18,
9045,
63,
648,
17,
4624,
5464,
55,
4101,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is Name, when Venue is 'Motherwell'? | CREATE TABLE table_60410 (
"Date" real,
"Name" text,
"Venue" text,
"Winner" text,
"Runner-up" text,
"Score" text
) | SELECT "Name" FROM table_60410 WHERE "Venue" = 'motherwell' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
24175,
41,
96,
308,
342,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
23572,
18,
413,
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,
23954,
121,
21680,
953,
834,
3328,
24175,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
21226,
2091,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
which sensor has the largest area ? | CREATE TABLE table_203_356 (
id number,
"type" text,
"diagonal (mm)" text,
"width (mm)" text,
"height (mm)" text,
"area (mm2)" text,
"stops (area)" number,
"crop factor" text
) | SELECT "type" FROM table_203_356 ORDER BY "area (mm2)" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2469,
948,
41,
3,
23,
26,
381,
6,
96,
6137,
121,
1499,
6,
96,
25930,
9533,
41,
635,
61,
121,
1499,
6,
96,
12018,
189,
41,
635,
61,
121,
1499,
6,
96,
88,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
6137,
121,
21680,
953,
834,
23330,
834,
2469,
948,
4674,
11300,
272,
476,
96,
498,
41,
635,
7318,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Score has a Visitor of montreal canadiens, and Points of 5? | CREATE TABLE table_50039 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text,
"Points" real
) | SELECT "Score" FROM table_50039 WHERE "Visitor" = 'montreal canadiens' AND "Points" = '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2560,
3288,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
2962,
18901,
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,
134,
9022,
121,
21680,
953,
834,
2560,
3288,
549,
17444,
427,
96,
553,
159,
155,
127,
121,
3274,
3,
31,
4662,
6644,
27114,
7,
31,
3430,
96,
22512,
7,
121,
3274,
3,
31,
755,
31,
1,
-100,
-100,
-100,
-100,
-10... |
What are the cyrillic and other names of the settlement whose population is 6591? | CREATE TABLE table_2562572_26 (
cyrillic_name_other_names VARCHAR,
population__2011_ VARCHAR
) | SELECT cyrillic_name_other_names FROM table_2562572_26 WHERE population__2011_ = 6591 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19337,
1828,
5865,
834,
2688,
41,
3,
75,
63,
52,
173,
2176,
834,
4350,
834,
9269,
834,
4350,
7,
584,
4280,
28027,
6,
2074,
834,
834,
13907,
834,
584,
4280,
28027,
3,
61,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
75,
63,
52,
173,
2176,
834,
4350,
834,
9269,
834,
4350,
7,
21680,
953,
834,
19337,
1828,
5865,
834,
2688,
549,
17444,
427,
2074,
834,
834,
13907,
834,
3274,
7123,
4729,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What rank were the Buckeyes when there were 68,586 in attendance? | CREATE TABLE table_46642 (
"Date" text,
"Opponent#" text,
"Rank #" text,
"Site" text,
"Result" text,
"Attendance" text
) | SELECT "Rank #" FROM table_46642 WHERE "Attendance" = '68,586' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
4389,
357,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
4663,
121,
1499,
6,
96,
22557,
1713,
121,
1499,
6,
96,
26030,
121,
1499,
6,
96,
20119,
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,
22557,
1713,
121,
21680,
953,
834,
4448,
4389,
357,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
3274,
3,
31,
3651,
6,
755,
3840,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the larger number of players that played in 4 events that 2 wins but were less than 6 in the top 10? | CREATE TABLE table_5997 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
) | SELECT MAX("Top-25") FROM table_5997 WHERE "Events" > '4' AND "Wins" = '2' AND "Top-10" < '6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
4327,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
22481,
18,
17395,
490,
6,
96,
22481,
4536,
121,
490,
6,
96,
22481,
14855,
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,
4800,
4,
599,
121,
22481,
14855,
8512,
21680,
953,
834,
3390,
4327,
549,
17444,
427,
96,
427,
2169,
7,
121,
2490,
3,
31,
591,
31,
3430,
96,
18455,
7,
121,
3274,
3,
31,
357,
31,
3430,
96,
22481,
4536,
121,
3,
2,
... |
what is average age of patients whose primary disease is left femur fracture and age is greater than or equal to 80? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
... | SELECT AVG(demographic.age) FROM demographic WHERE demographic.diagnosis = "LEFT FEMUR FRACTURE" AND demographic.age >= "80" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
25930,
4844,
159,
3274,
96,
3765,
6245,
377,
6037,
5905,
377,
22034,
25380,
121,
3430,
14798,
5,
545,
2490,
2423,
96,
2079,
121,
1,
-... |
in 03/2105, what was the last lab test time for patient 011-53628? | CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wa... | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-53628')) AND STRFTIME('%y-%m', lab.labresulttime) = '2105-03' ORDER BY lab.labr... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1058,
41,
1058,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
1058,
4350,
1499,
6,
1058,
715,
97,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1868,
41,
775,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7690,
5,
9339,
60,
7,
83,
17,
715,
21680,
7690,
549,
17444,
427,
7690,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15129,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
10061,
1587... |
What is the Record when the round was 5, time was 5:00, and the opponent was Torrance Taylor | CREATE TABLE table_45113 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
) | SELECT "Record" FROM table_45113 WHERE "Round" = '5' AND "Time" = '5:00' AND "Opponent" = 'torrance taylor' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
20522,
41,
96,
1649,
7,
535,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
23351,
107,
32,
26,
121,
1499,
6,
96,
448,
32,
1106,
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,
1649,
7621,
121,
21680,
953,
834,
2128,
20522,
549,
17444,
427,
96,
448,
32,
1106,
121,
3274,
3,
31,
755,
31,
3430,
96,
13368,
121,
3274,
3,
31,
19870,
31,
3430,
96,
667,
102,
9977,
121,
3274,
3,
31,
17,
127... |
List all every engineer's first name, last name, details and coresponding skill description. | CREATE TABLE Skills (
skill_description VARCHAR,
skill_id VARCHAR
)
CREATE TABLE Engineer_Skills (
engineer_id VARCHAR,
skill_id VARCHAR
)
CREATE TABLE Maintenance_Engineers (
first_name VARCHAR,
last_name VARCHAR,
other_details VARCHAR,
engineer_id VARCHAR
) | SELECT T1.first_name, T1.last_name, T1.other_details, T3.skill_description FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
19559,
41,
4359,
834,
221,
11830,
584,
4280,
28027,
6,
4359,
834,
23,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
11597,
834,
134,
10824,
7,
41,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
14672,
834,
4350,
6,
332,
5411,
5064,
834,
4350,
6,
332,
5411,
9269,
834,
221,
5756,
7,
6,
332,
5787,
7,
10824,
834,
221,
11830,
21680,
18192,
834,
31477,
277,
6157,
332,
536,
3,
15355,
3162,
11597,
834,
... |
What rank is Turkmenistan, who had 0 silver's and Less than 2 golds? | CREATE TABLE table_name_93 (rank VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT rank FROM table_name_93 WHERE silver = 0 AND gold < 2 AND nation = "turkmenistan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4271,
41,
6254,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
6,
2045,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
11003,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11003,
21680,
953,
834,
4350,
834,
4271,
549,
17444,
427,
4294,
3274,
3,
632,
3430,
2045,
3,
2,
204,
3430,
2982,
3274,
96,
2905,
157,
904,
343,
152,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which province is in the district of San Antonio de Chuca? | CREATE TABLE table_2251578_4 (
province VARCHAR,
district VARCHAR
) | SELECT province FROM table_2251578_4 WHERE district = "San Antonio de Chuca" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20489,
1808,
3940,
834,
591,
41,
7985,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
7985,
19,
16,
8,
3939,
13,
1051,
12923,
20,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7985,
21680,
953,
834,
20489,
1808,
3940,
834,
591,
549,
17444,
427,
3939,
3274,
96,
134,
152,
12923,
20,
16636,
658,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the name of the episode written by karina csolty? | CREATE TABLE table_30148 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production" text,
"U.S. viewers (in millions)" text
) | SELECT "Title" FROM table_30148 WHERE "Written by" = 'Karina Csolty' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1458,
24748,
41,
96,
4168,
5,
16,
939,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965,
324,
57,
121,
1499,
6,
96,
667,
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,
382,
155,
109,
121,
21680,
953,
834,
1458,
24748,
549,
17444,
427,
96,
24965,
324,
57,
121,
3274,
3,
31,
439,
291,
77,
9,
205,
4099,
17,
63,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many receptions were smaller than 161 receiving yards but also had less than 14 rushing TDs? | CREATE TABLE table_name_6 (
receptions VARCHAR,
receiving_yards VARCHAR,
rushing_tds VARCHAR
) | SELECT COUNT(receptions) FROM table_name_6 WHERE receiving_yards < 161 AND rushing_tds < 14 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
6839,
7,
584,
4280,
28027,
6,
4281,
834,
6636,
7,
584,
4280,
28027,
6,
3,
15842,
834,
17,
26,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
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,
2847,
17161,
599,
60,
7239,
7,
61,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
4281,
834,
6636,
7,
3,
2,
898,
536,
3430,
3,
15842,
834,
17,
26,
7,
3,
2,
968,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
If the Home team was st kilda, what was the score of the Away team they played? | CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_16 WHERE home_team = "st kilda" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
156,
8,
1210,
372,
47,
3,
7,
17,
3,
157,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
234,
834,
11650,
3274,
96,
7,
17,
3,
157,
173,
26,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show the details of all trucks in the order of their license number. | CREATE TABLE trucks (
truck_details VARCHAR,
truck_licence_number VARCHAR
) | SELECT truck_details FROM trucks ORDER BY truck_licence_number | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11370,
41,
4072,
834,
221,
5756,
7,
584,
4280,
28027,
6,
4072,
834,
2176,
1433,
834,
5525,
1152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
3111,
8,
1030,
13,
66,
11370,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4072,
834,
221,
5756,
7,
21680,
11370,
4674,
11300,
272,
476,
4072,
834,
2176,
1433,
834,
5525,
1152,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is listed in drainage basin when the type is gravity and the reservoir surface is 34.36? | CREATE TABLE table_30694 (
"Reservoir" text,
"Basin" text,
"Location" text,
"Type" text,
"Height (m)" text,
"Length along the top (m)" text,
"Drainage basin (km\u00b2)" text,
"Reservoir surface (ha)" text,
"Volume (hm\u00b3)" text
) | SELECT "Drainage basin (km\u00b2)" FROM table_30694 WHERE "Type" = 'Gravity' AND "Reservoir surface (ha)" = '34.36' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1458,
3951,
591,
41,
96,
1649,
3473,
5425,
121,
1499,
6,
96,
14885,
77,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
25160,
121,
1499,
6,
96,
3845,
2632,
41,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
6559,
545,
21510,
41,
5848,
2,
76,
1206,
115,
7318,
121,
21680,
953,
834,
1458,
3951,
591,
549,
17444,
427,
96,
25160,
121,
3274,
3,
31,
4744,
208,
485,
31,
3430,
96,
1649,
3473,
5425,
1774,
41,
1024,
61,... |
What is the rank when there are more than 107 laps and the qual is 137.825? | CREATE TABLE table_66835 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
) | SELECT "Rank" FROM table_66835 WHERE "Laps" > '107' AND "Qual" = '137.825' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
927,
2469,
41,
96,
476,
2741,
121,
1499,
6,
96,
7681,
17,
121,
1499,
6,
96,
5991,
138,
121,
1499,
6,
96,
22557,
121,
1499,
6,
96,
371,
77,
1273,
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,
22557,
121,
21680,
953,
834,
3539,
927,
2469,
549,
17444,
427,
96,
3612,
102,
7,
121,
2490,
3,
31,
18057,
31,
3430,
96,
5991,
138,
121,
3274,
3,
31,
24636,
5,
927,
1828,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
What is the Chinese name for the English name Andy Lau? | CREATE TABLE table_60976 (
"English name" text,
"Chinese name" text,
"Year signed" real,
"Year separated" text,
"Reason for separation" text
) | SELECT "Chinese name" FROM table_60976 WHERE "English name" = 'andy lau' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
4327,
948,
41,
96,
26749,
564,
121,
1499,
6,
96,
3541,
4477,
15,
564,
121,
1499,
6,
96,
476,
2741,
3814,
121,
490,
6,
96,
476,
2741,
12494,
121,
1499,
6,
96,
1649,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3541,
4477,
15,
564,
121,
21680,
953,
834,
3328,
4327,
948,
549,
17444,
427,
96,
26749,
564,
121,
3274,
3,
31,
232,
63,
50,
76,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which venue has a status of Five Nations and an against of 22? | CREATE TABLE table_60362 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
) | SELECT "Venue" FROM table_60362 WHERE "Status" = 'five nations' AND "Against" = '22' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
3420,
357,
41,
96,
667,
102,
2748,
53,
16651,
121,
1499,
6,
96,
20749,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
134,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
3328,
3420,
357,
549,
17444,
427,
96,
134,
17,
144,
302,
121,
3274,
3,
31,
16443,
9352,
31,
3430,
96,
20749,
121,
3274,
3,
31,
2884,
31,
1,
-100,
-100,
-100,
-100,
-100... |
What is the earliest season with more than 14 races and more than 4 podiums? | CREATE TABLE table_name_72 (season INTEGER, races VARCHAR, podiums VARCHAR) | SELECT MIN(season) FROM table_name_72 WHERE races > 14 AND podiums > 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
9476,
3,
21342,
17966,
6,
10879,
584,
4280,
28027,
6,
22828,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
16454,
774,
28,
72,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
9476,
61,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
10879,
2490,
968,
3430,
22828,
7,
2490,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is Mean Free Path, when Vacuum Range is "medium vacuum"? | CREATE TABLE table_name_25 (mean_free_path VARCHAR, vacuum_range VARCHAR) | SELECT mean_free_path FROM table_name_25 WHERE vacuum_range = "medium vacuum" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
526,
152,
834,
2113,
834,
8292,
584,
4280,
28027,
6,
10019,
834,
5517,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
23045,
1443,
12465,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1243,
834,
2113,
834,
8292,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
10019,
834,
5517,
3274,
96,
5700,
440,
10019,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who is the Winner for the City of Loutraki? | CREATE TABLE table_name_65 (
winner VARCHAR,
city VARCHAR
) | SELECT winner FROM table_name_65 WHERE city = "loutraki" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
4668,
584,
4280,
28027,
6,
690,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
18125,
21,
8,
896,
13,
11884,
1313,
2168,
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,
4668,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
690,
3274,
96,
40,
670,
9782,
23,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the pick # for player david grannis? | CREATE TABLE table_21721351_18 (pick__number INTEGER, player VARCHAR) | SELECT MAX(pick__number) FROM table_21721351_18 WHERE player = "David Grannis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
5865,
2368,
5553,
834,
2606,
41,
17967,
834,
834,
5525,
1152,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1432,
1713,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
17967,
834,
834,
5525,
1152,
61,
21680,
953,
834,
2658,
5865,
2368,
5553,
834,
2606,
549,
17444,
427,
1959,
3274,
96,
308,
9,
6961,
12102,
29,
159,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
From what year is the engine with engine code M57D30? | CREATE TABLE table_name_21 (year VARCHAR, engine_code VARCHAR) | SELECT year FROM table_name_21 WHERE engine_code = "m57d30" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
1201,
584,
4280,
28027,
6,
1948,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
1029,
125,
215,
19,
8,
1948,
28,
1948,
1081,
283,
3436,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
215,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
1948,
834,
4978,
3274,
96,
51,
3436,
26,
1458,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What Canadian Championship had CONCACAF Champions League of semifinals? | CREATE TABLE table_7713 (
"Year" text,
"Regular Season" text,
"Playoffs" text,
"Canadian Championship" text,
"CONCACAF Champions League" text
) | SELECT "Canadian Championship" FROM table_7713 WHERE "CONCACAF Champions League" = 'semifinals' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
2368,
41,
96,
476,
2741,
121,
1499,
6,
96,
17748,
4885,
7960,
121,
1499,
6,
96,
15800,
1647,
7,
121,
1499,
6,
96,
14050,
9,
8603,
7666,
121,
1499,
6,
96,
17752,
254... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
14050,
9,
8603,
7666,
121,
21680,
953,
834,
4013,
2368,
549,
17444,
427,
96,
17752,
254,
22029,
371,
15132,
3815,
121,
3274,
3,
31,
7,
15,
51,
23,
12406,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the score when the date was 17/07/2009? | CREATE TABLE table_24267 (
"Competition" text,
"Round" text,
"Opponent" text,
"Result" text,
"Score" text,
"Home/Away" text,
"Venue" text,
"Attendance" real,
"Date" text
) | SELECT "Score" FROM table_24267 WHERE "Date" = '17/07/2009' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
357,
3708,
41,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
134,
9022,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
2266,
357,
3708,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
2517,
87,
4560,
87,
16660,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the South Asian population in Nova Scotia in 2001? | CREATE TABLE table_21404 (
"Province" text,
"South Asians 2001" real,
"% 2001" text,
"South Asians 2011" real,
"% 2011" text
) | SELECT "South Asians 2001" FROM table_21404 WHERE "Province" = 'Nova Scotia' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
25285,
41,
96,
3174,
2494,
565,
121,
1499,
6,
96,
22081,
6578,
7,
4402,
121,
490,
6,
96,
1454,
4402,
121,
1499,
6,
96,
22081,
6578,
7,
2722,
121,
490,
6,
96,
1454,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22081,
6578,
7,
4402,
121,
21680,
953,
834,
2658,
25285,
549,
17444,
427,
96,
3174,
2494,
565,
121,
3274,
3,
31,
567,
6194,
27789,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
WHAT IS THE 2007 AT MADRID MASTERS? | CREATE TABLE table_61652 (
"Tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
) | SELECT "2007" FROM table_61652 WHERE "Tournament" = 'madrid masters' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
4122,
357,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
22594,
121,
1499,
6,
96,
21196,
121,
1499,
6,
96,
20615,
121,
1499,
6,
96,
16128,
121,
1499,
6,
96,
16660... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20615,
121,
21680,
953,
834,
4241,
4122,
357,
549,
17444,
427,
96,
382,
1211,
20205,
17,
121,
3274,
3,
31,
11374,
4055,
2325,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the value of D 42 √, when the value of D 45 O is d 32 √? | CREATE TABLE table_name_47 (d_42_√ VARCHAR, d_45_o VARCHAR) | SELECT d_42_√ FROM table_name_47 WHERE d_45_o = "d 32 √" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
26,
834,
4165,
834,
2,
584,
4280,
28027,
6,
3,
26,
834,
2128,
834,
32,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
701,
13,
309,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
26,
834,
4165,
834,
2,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
3,
26,
834,
2128,
834,
32,
3274,
96,
26,
3538,
3,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which ministers are not a part of the Progress Party, and count them by a bar chart, and I want to order by the x-axis from high to low. | CREATE TABLE party_events (
Event_ID int,
Event_Name text,
Party_ID int,
Member_in_charge_ID int
)
CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE party (
Party_ID int,
Minister text,
Took_offi... | SELECT Minister, COUNT(Minister) FROM party WHERE Party_name <> 'Progress Party' GROUP BY Minister ORDER BY Minister DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1088,
834,
15,
2169,
7,
41,
8042,
834,
4309,
16,
17,
6,
8042,
834,
23954,
1499,
6,
3450,
834,
4309,
16,
17,
6,
8541,
834,
77,
834,
7993,
834,
4309,
16,
17,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3271,
6,
2847,
17161,
599,
12858,
5805,
61,
21680,
1088,
549,
17444,
427,
3450,
834,
4350,
3,
2,
3155,
3,
31,
3174,
10292,
3450,
31,
350,
4630,
6880,
272,
476,
3271,
4674,
11300,
272,
476,
3271,
309,
25067,
1,
-100,... |
what is the loan club with the start source is bbc sport and started on 9 february? | CREATE TABLE table_name_28 (loan_club VARCHAR, start_source VARCHAR, started VARCHAR) | SELECT loan_club FROM table_name_28 WHERE start_source = "bbc sport" AND started = "9 february" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
40,
32,
152,
834,
13442,
584,
4280,
28027,
6,
456,
834,
7928,
584,
4280,
28027,
6,
708,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2289,
834,
13442,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
456,
834,
7928,
3274,
96,
115,
115,
75,
2600,
121,
3430,
708,
3274,
96,
1298,
29976,
76,
1208,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is Race 2, when Driver is "Paul Radisich"? | CREATE TABLE table_name_5 (race_2 VARCHAR, driver VARCHAR) | SELECT race_2 FROM table_name_5 WHERE driver = "paul radisich" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
12614,
834,
357,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
10949,
3547,
116,
10546,
19,
96,
23183,
14501,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1964,
834,
357,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
2535,
3274,
96,
102,
9,
83,
3,
5883,
7,
362,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the number of tenants for russia at the saransk stadium | CREATE TABLE table_28281704_1 (
tenant VARCHAR,
country VARCHAR,
stadium VARCHAR
) | SELECT COUNT(tenant) FROM table_28281704_1 WHERE country = "Russia" AND stadium = "Saransk stadium" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
2577,
2517,
6348,
834,
536,
41,
14590,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
6,
14939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
381,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
324,
288,
61,
21680,
953,
834,
2577,
2577,
2517,
6348,
834,
536,
549,
17444,
427,
684,
3274,
96,
29613,
121,
3430,
14939,
3274,
96,
134,
9,
2002,
7,
157,
14939,
121,
1,
-100,
-100,
-100,
-100,
-100... |
What country is Greg Norman from? | CREATE TABLE table_78741 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
) | SELECT "Country" FROM table_78741 WHERE "Player" = 'greg norman' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
4581,
536,
41,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
476,
2741,
599,
7,
61,
751,
121,
1499,
6,
96,
3696,
1947,
121,
490,
6,
96,
3696,
260... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3940,
4581,
536,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
18301,
7982,
152,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the date for adelaide for westpac stadium | CREATE TABLE table_20749 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Date" text,
"Crowd" real
) | SELECT "Date" FROM table_20749 WHERE "Home team" = 'Adelaide' AND "Ground" = 'Westpac Stadium' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26426,
3647,
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,
517,
7775... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26426,
3647,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
188,
221,
40,
5385,
31,
3430,
96,
517,
7775,
121,
3274,
3,
31,
19069,
5379,
12750,
31,
1,
-100,
-100,
-100,
-100,... |
What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010? | CREATE TABLE table_name_95 (tf1__number INTEGER, official__number VARCHAR, air_date__france_ VARCHAR) | SELECT MAX(tf1__number) FROM table_name_95 WHERE official__number > 47 AND air_date__france_ = "13 july 2010" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
17,
89,
536,
834,
834,
5525,
1152,
3,
21342,
17966,
6,
2314,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
799,
834,
5522,
834,
834,
89,
5219,
834,
584,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17,
89,
536,
834,
834,
5525,
1152,
61,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
2314,
834,
834,
5525,
1152,
2490,
10635,
3430,
799,
834,
5522,
834,
834,
89,
5219,
834,
3274,
96,
2368,
3,
20... |
What is the latest episode in the season directed by Chris Long? | CREATE TABLE table_21312845_1 (
no_in_season INTEGER,
directed_by VARCHAR
) | SELECT MAX(no_in_season) FROM table_21312845_1 WHERE directed_by = "Chris Long" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
3341,
2577,
2128,
834,
536,
41,
150,
834,
77,
834,
9476,
3,
21342,
17966,
6,
6640,
834,
969,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1251,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
29,
32,
834,
77,
834,
9476,
61,
21680,
953,
834,
2658,
3341,
2577,
2128,
834,
536,
549,
17444,
427,
6640,
834,
969,
3274,
96,
3541,
52,
159,
3230,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Method has a Record of 16–7? | CREATE TABLE table_name_99 (method VARCHAR, record VARCHAR) | SELECT method FROM table_name_99 WHERE record = "16–7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
23152,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
7717,
65,
3,
9,
11392,
13,
898,
104,
940,
58,
1,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1573,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
1368,
3274,
96,
2938,
104,
940,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the gender of the cunningham hill infant school? | CREATE TABLE table_28523_2 (
gender VARCHAR,
school VARCHAR
) | SELECT gender FROM table_28523_2 WHERE school = "Cunningham Hill Infant school" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4433,
2773,
834,
357,
41,
7285,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7285,
13,
8,
123,
9416,
1483,
9956,
9806,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7285,
21680,
953,
834,
357,
4433,
2773,
834,
357,
549,
17444,
427,
496,
3274,
96,
15784,
9416,
1483,
3588,
28405,
496,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
WHAT IS THE ERUPE WITH HEAD COACH vainauskas , sakalauskas AND WITH NEBL FINALIST? | CREATE TABLE table_60994 (
"Season" text,
"LKF Cup" text,
"Regional Competitions" text,
"Europe" text,
"Head Coach" text
) | SELECT "Europe" FROM table_60994 WHERE "Head Coach" = 'vainauskas , sakalauskas' AND "Regional Competitions" = 'nebl finalist' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
3264,
591,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
22527,
371,
3802,
121,
1499,
6,
96,
17748,
6318,
15571,
7,
121,
1499,
6,
96,
11351,
121,
1499,
6,
96,
3845,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11351,
121,
21680,
953,
834,
3328,
3264,
591,
549,
17444,
427,
96,
3845,
9,
26,
9493,
121,
3274,
3,
31,
900,
77,
2064,
1258,
7,
3,
6,
3,
7,
9,
4766,
2064,
1258,
7,
31,
3430,
96,
17748,
6318,
15571,
7,
121,... |
What is the eye color of Oo-lala Olivia with release date of October 2008? | CREATE TABLE table_15196 (
"Name" text,
"Hair Color:" text,
"Eye Color:" text,
"Release Date" text,
"Retired?" text
) | SELECT "Eye Color:" FROM table_15196 WHERE "Release Date" = 'october 2008' AND "Name" = 'oo-lala olivia' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
26937,
41,
96,
23954,
121,
1499,
6,
96,
566,
2256,
6088,
10,
121,
1499,
6,
96,
427,
63,
15,
6088,
10,
121,
1499,
6,
96,
1649,
40,
14608,
7678,
121,
1499,
6,
96,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
427,
63,
15,
6088,
10,
121,
21680,
953,
834,
1808,
26937,
549,
17444,
427,
96,
1649,
40,
14608,
7678,
121,
3274,
3,
31,
32,
75,
235,
1152,
2628,
31,
3430,
96,
23954,
121,
3274,
3,
31,
32,
32,
18,
521,
521,
... |
Which surface has a Date of 24 25 apr? | CREATE TABLE table_name_58 (
surface VARCHAR,
date VARCHAR
) | SELECT surface FROM table_name_58 WHERE date = "24–25 apr" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
1774,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1774,
65,
3,
9,
7678,
13,
997,
944,
3,
9,
102,
52,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1774,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
833,
3274,
96,
2266,
104,
1828,
3,
9,
102,
52,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the winning driver for mobilecast impul and twin ring motegi | CREATE TABLE table_name_98 (
winning_driver VARCHAR,
winning_team VARCHAR,
circuit VARCHAR
) | SELECT winning_driver FROM table_name_98 WHERE winning_team = "mobilecast impul" AND circuit = "twin ring motegi" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
3447,
834,
13739,
52,
584,
4280,
28027,
6,
3447,
834,
11650,
584,
4280,
28027,
6,
4558,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
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,
3447,
834,
13739,
52,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
3447,
834,
11650,
3274,
96,
14814,
5254,
4840,
83,
121,
3430,
4558,
3274,
96,
17,
3757,
3,
1007,
11077,
11097,
121,
1,
-100,
-100,
-100,
-100,
... |
For those records from the products and each product's manufacturer, find headquarter and the average of code , and group by attribute headquarter, and visualize them by a bar chart, sort from low to high by the Y. | 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.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T1.Code | [
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,
3845,
9,
26,
19973,
6,
332,
5411,
22737,
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,... |
What is 1st Leg, when 2nd Leg is 1-3? | CREATE TABLE table_47672 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
) | SELECT "1st leg" FROM table_47672 WHERE "2nd leg" = '1-3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4177,
3708,
357,
41,
96,
18699,
209,
121,
1499,
6,
96,
188,
4102,
535,
1499,
6,
96,
18699,
204,
121,
1499,
6,
96,
536,
7,
17,
4553,
121,
1499,
6,
96,
357,
727,
4553,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
536,
7,
17,
4553,
121,
21680,
953,
834,
4177,
3708,
357,
549,
17444,
427,
96,
357,
727,
4553,
121,
3274,
3,
31,
16737,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
In 2011 with a hydroelectricity less than 119.6, what was the solar? | CREATE TABLE table_48376 (
"Country" text,
"Year" real,
"Total" real,
"Hydroelectricity" real,
"Wind Power" real,
"Biomass and Waste" text,
"Solar" real
) | SELECT "Solar" FROM table_48376 WHERE "Year" = '2011' AND "Hydroelectricity" < '119.6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3707,
519,
3959,
41,
96,
10628,
651,
121,
1499,
6,
96,
476,
2741,
121,
490,
6,
96,
3696,
1947,
121,
490,
6,
96,
566,
63,
26,
52,
32,
17470,
485,
121,
490,
6,
96,
18455,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17401,
121,
21680,
953,
834,
3707,
519,
3959,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
13907,
31,
3430,
96,
566,
63,
26,
52,
32,
17470,
485,
121,
3,
2,
3,
31,
19993,
5,
948,
31,
1,
-100,
-100... |
How many silvers have a Nation of hungary, and a Rank larger than 10? | CREATE TABLE table_79954 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT COUNT("Silver") FROM table_79954 WHERE "Nation" = 'hungary' AND "Rank" > '10' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4440,
3301,
591,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
134,
173,
624,
8512,
21680,
953,
834,
4440,
3301,
591,
549,
17444,
427,
96,
567,
257,
121,
3274,
3,
31,
6668,
1208,
31,
3430,
96,
22557,
121,
2490,
3,
31,
1714,
31,
1,
-100,
-100,
-100,
-100... |
How fast can the SLK200K, with a top speed of 236km/h (147mph), accelerate to 100km/h (62mph)? | CREATE TABLE table_name_26 (model VARCHAR, top_speed VARCHAR) | SELECT 0 AS _100km_h__62mph_ FROM table_name_26 WHERE model = "slk200k" AND top_speed = "236km/h (147mph)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
21770,
584,
4280,
28027,
6,
420,
834,
9993,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
1006,
54,
8,
180,
22527,
3632,
439,
6,
28,
3,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
632,
6157,
3,
834,
2915,
5848,
834,
107,
834,
834,
4056,
7656,
834,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
825,
3274,
96,
7,
40,
157,
3632,
157,
121,
3430,
420,
834,
9993,
3274,
96,
357,
3420,
5848,... |
Name the high assists for december 9 | CREATE TABLE table_22669044_7 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_22669044_7 WHERE date = "December 9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
3539,
2394,
3628,
834,
940,
41,
6739,
834,
6500,
7,
17,
7,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
306,
13041,
21,
20,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
306,
834,
6500,
7,
17,
7,
21680,
953,
834,
2884,
3539,
2394,
3628,
834,
940,
549,
17444,
427,
833,
3274,
96,
29835,
668,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Date has an Attendance of 9,535? | CREATE TABLE table_name_73 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_73 WHERE attendance = "9,535" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
5522,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
7678,
65,
46,
22497,
663,
13,
9902,
755,
2469,
58,
1,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
11364,
3274,
96,
1298,
6,
4867,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
If the founding university is in Charlotte, NC, what is the nickname? | CREATE TABLE table_2538117_7 (
nickname VARCHAR,
founding_university VARCHAR
) | SELECT nickname FROM table_2538117_7 WHERE founding_university = "Charlotte, NC" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
3747,
20275,
834,
940,
41,
24649,
584,
4280,
28027,
6,
16072,
834,
7846,
485,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
156,
8,
16072,
3819,
19,
16,
11240... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24649,
21680,
953,
834,
1828,
3747,
20275,
834,
940,
549,
17444,
427,
16072,
834,
7846,
485,
3274,
96,
18947,
21538,
6,
9187,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which GP-GS had a long of 17 and a season of total? | CREATE TABLE table_48433 (
"Season" text,
"GP\u2013GS" text,
"Yards" text,
"Long" text,
"Avg/G" text
) | SELECT "GP\u2013GS" FROM table_48433 WHERE "Long" = '17' AND "Season" = 'total' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3707,
4906,
519,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
8049,
2,
76,
11138,
8256,
121,
1499,
6,
96,
476,
986,
7,
121,
1499,
6,
96,
434,
2444,
121,
1499,
6,
96,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
8049,
2,
76,
11138,
8256,
121,
21680,
953,
834,
3707,
4906,
519,
549,
17444,
427,
96,
434,
2444,
121,
3274,
3,
31,
2517,
31,
3430,
96,
134,
15,
9,
739,
121,
3274,
3,
31,
235,
1947,
31,
1,
-100,
-100,
-100,
... |
What was the crowd size when geelong played home? | CREATE TABLE table_name_98 (
crowd VARCHAR,
home_team VARCHAR
) | SELECT COUNT(crowd) FROM table_name_98 WHERE home_team = "geelong" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
4374,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
4374,
812,
116,
873,
15,
2961,
1944,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
75,
3623,
26,
61,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
234,
834,
11650,
3274,
96,
397,
15,
2961,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many papers has ras bodik written ? | CREATE TABLE field (
fieldid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE T... | SELECT DISTINCT COUNT(DISTINCT writes.paperid) FROM author, writes WHERE author.authorname = 'ras bodik' AND writes.authorid = author.authorid | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1057,
41,
1057,
23,
26,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
3,
8464,
41,
3,
17994,
19587,
23,
26,
16,
17,
6,
3,
11675,
19587,
23,
26,
16,
17,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
2847,
17161,
599,
15438,
25424,
6227,
11858,
5,
19587,
23,
26,
61,
21680,
2291,
6,
11858,
549,
17444,
427,
2291,
5,
17415,
4350,
3274,
3,
31,
52,
9,
7,
23322,
157,
31,
3430,
11858,
5,
17415,
... |
On April 28, what was the average number of people attending? | CREATE TABLE table_54676 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Series" text
) | SELECT AVG("Attendance") FROM table_54676 WHERE "Date" = 'april 28' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
4448,
3959,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
2962,
18901,
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,
71,
17217,
599,
121,
188,
17,
324,
26,
663,
8512,
21680,
953,
834,
755,
4448,
3959,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
9,
2246,
40,
2059,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How much did the Modern Pentathlon III Series coin weigh? | CREATE TABLE table_name_65 (weight VARCHAR, series VARCHAR, reverse VARCHAR) | SELECT weight FROM table_name_65 WHERE series = "iii series" AND reverse = "modern pentathlon" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
9378,
584,
4280,
28027,
6,
939,
584,
4280,
28027,
6,
7211,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
231,
410,
8,
5070,
4511,
17,
21774,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1293,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
939,
3274,
96,
23,
23,
23,
939,
121,
3430,
7211,
3274,
96,
18306,
4550,
17,
21774,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the number of stage winners for team columbia | CREATE TABLE table_19115414_4 (
stage__winner_ VARCHAR,
team_classification VARCHAR
) | SELECT COUNT(stage__winner_) FROM table_19115414_4 WHERE team_classification = "Team Columbia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
15660,
591,
2534,
834,
591,
41,
1726,
834,
834,
3757,
687,
834,
584,
4280,
28027,
6,
372,
834,
4057,
2420,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
10705,
834,
834,
3757,
687,
834,
61,
21680,
953,
834,
2294,
15660,
591,
2534,
834,
591,
549,
17444,
427,
372,
834,
4057,
2420,
3274,
96,
18699,
8183,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the score for henri leconte and runner-up of michael stich | CREATE TABLE table_name_85 (score VARCHAR, third_place VARCHAR, runner_up VARCHAR) | SELECT score FROM table_name_85 WHERE third_place = "henri leconte" AND runner_up = "michael stich" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
7,
9022,
584,
4280,
28027,
6,
1025,
834,
4687,
584,
4280,
28027,
6,
3,
10806,
834,
413,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
1025,
834,
4687,
3274,
96,
3225,
52,
23,
90,
1018,
17,
15,
121,
3430,
3,
10806,
834,
413,
3274,
96,
51,
362,
9,
15,
40,
3,
7,
17,
362,
121,
1,
-100,
-10... |
What is the result for Wisconsin? | CREATE TABLE table_22603701_1 (
result VARCHAR,
college VARCHAR
) | SELECT result FROM table_22603701_1 WHERE college = "Wisconsin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
18365,
22520,
536,
834,
536,
41,
741,
584,
4280,
28027,
6,
1900,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
741,
21,
10212,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
357,
18365,
22520,
536,
834,
536,
549,
17444,
427,
1900,
3274,
96,
518,
159,
8056,
77,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Team with a Player that is david cooper? | CREATE TABLE table_name_86 (team VARCHAR, player VARCHAR) | SELECT team FROM table_name_86 WHERE player = "david cooper" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
11650,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2271,
28,
3,
9,
12387,
24,
19,
836,
6961,
22996,
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,
372,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
1959,
3274,
96,
26,
9,
6961,
22996,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
If the gun used is the qf 12 pdr 12 cwt, what is the shell weight? | CREATE TABLE table_16439764_1 (
shell__lb_ VARCHAR,
gun VARCHAR
) | SELECT shell__lb_ FROM table_16439764_1 WHERE gun = "QF 12 pdr 12 cwt" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4906,
4327,
4389,
834,
536,
41,
7300,
834,
834,
40,
115,
834,
584,
4280,
28027,
6,
4740,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
156,
8,
4740,
261,
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,
7300,
834,
834,
40,
115,
834,
21680,
953,
834,
2938,
4906,
4327,
4389,
834,
536,
549,
17444,
427,
4740,
3274,
96,
2247,
371,
586,
3,
102,
26,
52,
586,
3,
75,
210,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find the total number of students in each department. Show bar chart. | CREATE TABLE student (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
tot_cred numeric(3,0)
)
CREATE TABLE advisor (
s_ID varchar(5),
i_ID varchar(5)
)
CREATE TABLE instructor (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2)
)
CREATE TABLE... | SELECT dept_name, COUNT(*) FROM student GROUP BY dept_name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1236,
41,
4699,
3,
4331,
4059,
15757,
6,
564,
3,
4331,
4059,
599,
1755,
201,
20,
102,
17,
834,
4350,
3,
4331,
4059,
599,
1755,
201,
12,
17,
834,
17216,
206,
17552,
599,
6355,
632,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6,
2847,
17161,
599,
1935,
61,
21680,
1236,
350,
4630,
6880,
272,
476,
20,
102,
17,
834,
4350,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
to which religious background does the patient with patient id 6983 belong to? | 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.religion FROM demographic WHERE demographic.subject_id = "6983" | [
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,
60,
2825,
23,
106,
21680,
14798,
549,
17444,
427,
14798,
5,
7304,
11827,
834,
23,
26,
3274,
96,
3951,
4591,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Away team is associated with the Richmond Home team? | CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_13 WHERE home_team = "richmond" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
71,
1343,
372,
19,
1968,
28,
8,
17247,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
834,
11650,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
234,
834,
11650,
3274,
96,
3723,
6764,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
On what date did the result leave the team with a record of 46-34? | CREATE TABLE table_68931 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) | SELECT "Date" FROM table_68931 WHERE "Record" = '46-34' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
4271,
536,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
121,
1499,
6,
96,
188,
17,
324,
26,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
3651,
4271,
536,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
4448,
18,
3710,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What's the tie number when the away team was Mansfield Town? | CREATE TABLE table_name_3 (
tie_no VARCHAR,
away_team VARCHAR
) | SELECT tie_no FROM table_name_3 WHERE away_team = "mansfield town" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
6177,
834,
29,
32,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
6177,
381,
116,
8,
550... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6177,
834,
29,
32,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
550,
834,
11650,
3274,
96,
348,
7,
1846,
1511,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.