NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Which student visited restaurant most often? List student's first name and last name. | CREATE TABLE Visits_Restaurant (
Id VARCHAR
)
CREATE TABLE Student (
Id VARCHAR
) | SELECT Student.Fname, Student.Lname FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID GROUP BY Student.StuID ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4957,
7,
834,
448,
222,
402,
3569,
41,
27,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
6341,
41,
27,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
6341,
5,
371,
4350,
6,
6341,
5,
434,
4350,
21680,
6341,
3,
15355,
3162,
4957,
7,
834,
448,
222,
402,
3569,
9191,
6341,
5,
13076,
4309,
3274,
4957,
7,
834,
448,
222,
402,
3569,
5,
13076,
4309,
350,
4630,
6880,
272,... |
Who is the away team when the home team scores 12.20 (92)? | CREATE TABLE table_4685 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team" FROM table_4685 WHERE "Home team score" = '12.20 (92)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
4433,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
1343,
372,
121,
21680,
953,
834,
4448,
4433,
549,
17444,
427,
96,
19040,
372,
2604,
121,
3274,
3,
31,
9368,
1755,
14156,
7318,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When was the most recently named feature named? | CREATE TABLE table_21086 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" text,
"Year named" real,
"Name origin" text
) | SELECT MAX("Year named") FROM table_21086 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15239,
3840,
41,
96,
23954,
121,
1499,
6,
96,
3612,
6592,
121,
1499,
6,
96,
434,
2444,
20341,
121,
1499,
6,
96,
23770,
4401,
41,
5848,
61,
121,
1499,
6,
96,
476,
2741,
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,
4800,
4,
599,
121,
476,
2741,
2650,
8512,
21680,
953,
834,
15239,
3840,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision. | CREATE TABLE tryout (
pid number,
cname text,
ppos text,
decision text
)
CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
CREATE TABLE college (
cname text,
state text,
enr number
) | SELECT DISTINCT T1.state, T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cname = T2.cname WHERE T2.decision = 'yes' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
653,
670,
41,
3,
12417,
381,
6,
3,
75,
4350,
1499,
6,
3,
102,
2748,
1499,
6,
1357,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1959,
41,
3,
12417,
381,
6,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
332,
5411,
5540,
6,
332,
5411,
35,
52,
21680,
1900,
6157,
332,
536,
3,
15355,
3162,
653,
670,
6157,
332,
357,
9191,
332,
5411,
75,
4350,
3274,
332,
4416,
75,
4350,
549,
17444,
427,
332,
4416,
... |
Who was the Road Team for the game ending with a score of 118-112? | CREATE TABLE table_9977 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
) | SELECT "Road Team" FROM table_9977 WHERE "Result" = '118-112' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3264,
4013,
41,
96,
23055,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
19040,
2271,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
448,
32,
9,
26,
2271,
121,
1499,
3,
61,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
448,
32,
9,
26,
2271,
121,
21680,
953,
834,
3264,
4013,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
20056,
9169,
357,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Win percentage has Points smaller than 472, and a Record (W–L–T/OTL) of 140–220–40? | CREATE TABLE table_name_79 (win_percentage INTEGER, points VARCHAR, record__w_l_t___otl_ VARCHAR) | SELECT AVG(win_percentage) FROM table_name_79 WHERE points < 472 AND record__w_l_t___otl_ = "140–220–40" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
3757,
834,
883,
3728,
545,
3,
21342,
17966,
6,
979,
584,
4280,
28027,
6,
1368,
834,
834,
210,
834,
40,
834,
17,
834,
834,
834,
32,
17,
40,
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,
71,
17217,
599,
3757,
834,
883,
3728,
545,
61,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
979,
3,
2,
314,
5865,
3430,
1368,
834,
834,
210,
834,
40,
834,
17,
834,
834,
834,
32,
17,
40,
834,
3274,
96,
2201... |
what is the place when the event is 4000 m individual pursuit? | CREATE TABLE table_8714 (
"Event" text,
"Record" text,
"Nationality" text,
"Date" text,
"Meet" text,
"Place" text
) | SELECT "Place" FROM table_8714 WHERE "Event" = '4000 m individual pursuit' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4225,
2534,
41,
96,
427,
2169,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
329,
15,
15,
17,
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,
345,
11706,
121,
21680,
953,
834,
4225,
2534,
549,
17444,
427,
96,
427,
2169,
121,
3274,
3,
31,
591,
2313,
3,
51,
928,
13709,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What were the matches where the teams finished in the first group stage, in 1998? | CREATE TABLE table_76392 (
"Year" text,
"Result" text,
"Matches" text,
"Wins" text,
"Draws" text,
"Losses" text
) | SELECT "Matches" FROM table_76392 WHERE "Result" = 'first group stage' AND "Year" = '1998' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3959,
3288,
357,
41,
96,
476,
2741,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
329,
144,
2951,
121,
1499,
6,
96,
18455,
7,
121,
1499,
6,
96,
308,
10936,
7,
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,
329,
144,
2951,
121,
21680,
953,
834,
3959,
3288,
357,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
14672,
563,
1726,
31,
3430,
96,
476,
2741,
121,
3274,
3,
31,
2294,
3916,
31,
1,
-100,
-100,
-100,
-100,
-100... |
What was the TO par for the player who scored 70-68-74-70=282? | CREATE TABLE table_name_26 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_26 WHERE score = 70 - 68 - 74 - 70 = 282 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
235,
834,
1893,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3001,
260,
21,
8,
1959,
113,
5799,
2861,
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,
12,
834,
1893,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
2604,
3274,
2861,
3,
18,
3,
3651,
3,
18,
3,
4581,
3,
18,
2861,
3274,
2059,
357,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What year did huang nanyan yang wei play women's doubles and Men's doubles was played by lee dong-soo yoo yong-sung? | CREATE TABLE table_31624 (
"Year" text,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text
) | SELECT "Year" FROM table_31624 WHERE "Women's doubles" = 'huang nanyan yang wei' AND "Men's doubles" = 'lee dong-soo yoo yong-sung' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25946,
2266,
41,
96,
476,
2741,
121,
1499,
6,
96,
329,
35,
31,
7,
712,
7,
121,
1499,
6,
96,
518,
32,
904,
31,
7,
712,
7,
121,
1499,
6,
96,
329,
35,
31,
7,
1486,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
476,
2741,
121,
21680,
953,
834,
25946,
2266,
549,
17444,
427,
96,
518,
32,
904,
31,
7,
1486,
7,
121,
3274,
3,
31,
107,
76,
1468,
3,
29,
6820,
152,
3,
63,
1468,
62,
23,
31,
3430,
96,
329,
35,
31,
7,
1486... |
Which Opponent has a Date of september 28, 1951? | CREATE TABLE table_11714 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) | SELECT "Opponent" FROM table_11714 WHERE "Date" = 'september 28, 1951' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20275,
2534,
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,
490... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
102,
9977,
121,
21680,
953,
834,
20275,
2534,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
7,
6707,
18247,
13719,
25684,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the site of the game with a Result of l7-33? | CREATE TABLE table_name_34 (
site VARCHAR,
result VARCHAR
) | SELECT site FROM table_name_34 WHERE result = "l7-33" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
353,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
353,
13,
8,
467,
28,
3,
9,
3,
20119,
13,
3,
40,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
353,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
741,
3274,
96,
40,
940,
18,
4201,
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 height of the player from the Washington Capitals, who was born in Detroit, Michigan and has a jersey number under #11? | CREATE TABLE table_41432 (
"Position" text,
"Jersey #" real,
"Name" text,
"Height (cm)" real,
"Weight (kg)" real,
"Birthdate" text,
"Birthplace" text,
"1986\u20131987 Team" text
) | SELECT MIN("Height (cm)") FROM table_41432 WHERE "1986\u20131987 Team" = 'washington capitals' AND "Birthplace" = 'detroit, michigan' AND "Jersey #" < '11' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2534,
2668,
41,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
683,
277,
15,
63,
1713,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
3845,
2632,
41,
75,
51,
61,
121,
490,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
3845,
2632,
41,
75,
51,
61,
8512,
21680,
953,
834,
591,
2534,
2668,
549,
17444,
427,
96,
2294,
3840,
2,
76,
11138,
2294,
4225,
2271,
121,
3274,
3,
31,
14710,
6029,
1784,
7,
31,
3430,
96,
279,
... |
how many events of the 2013 bwf super series pay over $ 200,000 ? | CREATE TABLE table_204_634 (
id number,
"tour" number,
"official title" text,
"venue" text,
"city" text,
"date\nstart" text,
"date\nfinish" text,
"prize money\nusd" number,
"report" text
) | SELECT COUNT(*) FROM table_204_634 WHERE "prize money\nusd" > 200000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3891,
591,
41,
3,
23,
26,
381,
6,
96,
17,
1211,
121,
381,
6,
96,
20884,
2233,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
6726,
121,
1499,
6,
96,
5522,
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,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
26363,
834,
3891,
591,
549,
17444,
427,
96,
2246,
776,
540,
2,
29,
302,
26,
121,
2490,
2766,
1206,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the earliest numbered episode of the season? | CREATE TABLE table_74107 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
) | SELECT MIN("No. in season") FROM table_74107 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4581,
18057,
41,
96,
4168,
5,
16,
939,
121,
490,
6,
96,
4168,
5,
16,
774,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
4168,
5,
16,
774,
8512,
21680,
953,
834,
4581,
18057,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the Elimination move listed against Regal? | CREATE TABLE table_79069 (
"Elimination" text,
"Wrestler" text,
"Team" text,
"Eliminated by" text,
"Elimination Move" text,
"Time" text
) | SELECT "Elimination Move" FROM table_79069 WHERE "Wrestler" = 'regal' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2394,
3951,
41,
96,
10991,
23,
14484,
121,
1499,
6,
96,
518,
6216,
1171,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
427,
4941,
77,
920,
57,
121,
1499,
6,
96,
10991,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
10991,
23,
14484,
15711,
121,
21680,
953,
834,
940,
2394,
3951,
549,
17444,
427,
96,
518,
6216,
1171,
121,
3274,
3,
31,
24080,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the home of the team with Carlos Boozer (27) as the leading scorer? | CREATE TABLE table_7059 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
) | SELECT "Home" FROM table_7059 WHERE "Leading scorer" = 'carlos boozer (27)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
3390,
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,
2796,
9,
26,
53,
2604,
52,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
19040,
121,
21680,
953,
834,
2518,
3390,
549,
17444,
427,
96,
2796,
9,
26,
53,
2604,
52,
121,
3274,
3,
31,
1720,
2298,
3,
12840,
2558,
4743,
12703,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the least runs conceded for brett lee | CREATE TABLE table_15700367_4 (runs_conceded INTEGER, name VARCHAR) | SELECT MIN(runs_conceded) FROM table_15700367_4 WHERE name = "Brett Lee" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
9295,
519,
3708,
834,
591,
41,
4312,
7,
834,
11620,
221,
26,
3,
21342,
17966,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
709,
3154,
28325,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
4312,
7,
834,
11620,
221,
26,
61,
21680,
953,
834,
1808,
9295,
519,
3708,
834,
591,
549,
17444,
427,
564,
3274,
96,
279,
60,
17,
17,
5531,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
which reactor is the only one that is operational until august 2026 ? | CREATE TABLE table_203_78 (
id number,
"location" text,
"reactor type" text,
"status" text,
"net\ncapacity\n(mwe)" number,
"gross\ncapacity\n(mwe)" number
) | SELECT "location" FROM table_203_78 WHERE "status" = 'operational until august 2026' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3940,
41,
3,
23,
26,
381,
6,
96,
14836,
121,
1499,
6,
96,
864,
5317,
686,
121,
1499,
6,
96,
8547,
302,
121,
1499,
6,
96,
1582,
2,
29,
4010,
9,
6726,
2,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
14836,
121,
21680,
953,
834,
23330,
834,
3940,
549,
17444,
427,
96,
8547,
302,
121,
3274,
3,
31,
22280,
138,
552,
14663,
460,
2688,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Score, when Record is '2-0'? | CREATE TABLE table_62268 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
) | SELECT "Score" FROM table_62268 WHERE "Record" = '2-0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
357,
3651,
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,
1649,
7621,
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,
134,
9022,
121,
21680,
953,
834,
4056,
357,
3651,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
19423,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which number lists the production code as 2j5809 | CREATE TABLE table_27403436_1 (
no VARCHAR,
production_code VARCHAR
) | SELECT no FROM table_27403436_1 WHERE production_code = "2J5809" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
2445,
3710,
3420,
834,
536,
41,
150,
584,
4280,
28027,
6,
999,
834,
4978,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
84,
381,
7809,
8,
999,
1081,
38,
204... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
150,
21680,
953,
834,
2555,
2445,
3710,
3420,
834,
536,
549,
17444,
427,
999,
834,
4978,
3274,
96,
357,
683,
3449,
4198,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the highest week that was played against the Minnesota Vikings? | CREATE TABLE table_name_5 (
week INTEGER,
opponent VARCHAR
) | SELECT MAX(week) FROM table_name_5 WHERE opponent = "minnesota vikings" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
471,
3,
21342,
17966,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
471,
24,
47,
1944,
581,
8,
9745,
19476,
7,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
8041,
61,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
15264,
3274,
96,
1109,
1496,
32,
17,
9,
3,
21346,
53,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which player has +2 to par? | CREATE TABLE table_name_45 (
player VARCHAR,
to_par VARCHAR
) | SELECT player FROM table_name_45 WHERE to_par = "+2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
1959,
584,
4280,
28027,
6,
12,
834,
1893,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1959,
65,
1768,
357,
12,
260,
58,
1,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
12,
834,
1893,
3274,
96,
1220,
357,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Format has a Label of eagle eye media, a Catalogue number(s) of , and a Country of united states? | CREATE TABLE table_name_33 (
format VARCHAR,
country VARCHAR,
label VARCHAR,
catalogue_number_s_ VARCHAR
) | SELECT format FROM table_name_33 WHERE label = "eagle eye media" AND catalogue_number_s_ = "—" AND country = "united states" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
1910,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
6,
3783,
584,
4280,
28027,
6,
14978,
834,
5525,
1152,
834,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1910,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
3783,
3274,
96,
15,
9,
3537,
1580,
783,
121,
3430,
14978,
834,
5525,
1152,
834,
7,
834,
3274,
96,
318,
121,
3430,
684,
3274,
96,
15129,
15,
26,
2315,
121,
1... |
What's the sum of the Pick that has the Position of Tackle, the Player Woody Adams, and a Round that's larger than 22? | CREATE TABLE table_name_69 (pick VARCHAR, round VARCHAR, position VARCHAR, player VARCHAR) | SELECT COUNT(pick) FROM table_name_69 WHERE position = "tackle" AND player = "woody adams" AND round > 22 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
17967,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
17967,
61,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
1102,
3274,
96,
17,
9,
19376,
121,
3430,
1959,
3274,
96,
2037,
63,
3,
9,
7812,
7,
121,
3430,
1751,
2490,
1630,
1,
-100,
-100,
-100,
-... |
What's the Wednesday, June 1 practice time for the rider that did 21' 05.87 107.300mph on Thursday, June 2? | CREATE TABLE table_29218221_3 (wed_1_june VARCHAR, thurs_2_june VARCHAR) | SELECT wed_1_june FROM table_29218221_3 WHERE thurs_2_june = "21' 05.87 107.300mph" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
2658,
4613,
2658,
834,
519,
41,
1123,
26,
834,
536,
834,
6959,
15,
584,
4280,
28027,
6,
3,
189,
3589,
834,
357,
834,
6959,
15,
584,
4280,
28027,
61,
3,
32102,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
62,
26,
834,
536,
834,
6959,
15,
21680,
953,
834,
3166,
2658,
4613,
2658,
834,
519,
549,
17444,
427,
3,
189,
3589,
834,
357,
834,
6959,
15,
3274,
96,
2658,
31,
3,
3076,
5,
4225,
3,
18057,
5,
5426,
7656,
121,
1,
... |
What was Domenico Fioravanti's time on lane 5? | CREATE TABLE table_15475 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
) | SELECT "Time" FROM table_15475 WHERE "Lane" = '5' AND "Name" = 'domenico fioravanti' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27308,
3072,
41,
96,
3845,
144,
121,
490,
6,
96,
434,
152,
15,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
13368,
121,
1499,
3,
61,
3,
32102... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
121,
21680,
953,
834,
27308,
3072,
549,
17444,
427,
96,
434,
152,
15,
121,
3274,
3,
31,
755,
31,
3430,
96,
23954,
121,
3274,
3,
31,
5012,
35,
5807,
361,
127,
15990,
23,
31,
1,
-100,
-100,
-100,
-100,
... |
what is the total number of patients who had atrial fibrillation and received tp therapy? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
... | 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.short_title = "Atrial fibrillation" AND prescriptions.route = "TP" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
If Safari is 3.76%, what is the other Mozilla amount? | CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, safari VARCHAR) | SELECT other_mozilla FROM table_1876262_10 WHERE safari = "3.76%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25828,
4056,
4056,
834,
1714,
41,
9269,
834,
51,
32,
29885,
584,
4280,
28027,
6,
24857,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
156,
20082,
19,
3,
25168,
6370,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
119,
834,
51,
32,
29885,
21680,
953,
834,
25828,
4056,
4056,
834,
1714,
549,
17444,
427,
24857,
3274,
96,
25168,
6370,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
when was the ship completed when laid down is 21 august 1925? | CREATE TABLE table_name_32 (
completed VARCHAR,
laid_down VARCHAR
) | SELECT completed FROM table_name_32 WHERE laid_down = "21 august 1925" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
2012,
584,
4280,
28027,
6,
7245,
834,
3035,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
116,
47,
8,
4383,
2012,
116,
7245,
323,
19,
1401,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2012,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
7245,
834,
3035,
3274,
96,
2658,
14663,
28484,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
List document type codes and the number of documents in each code. | CREATE TABLE Documents (document_type_code VARCHAR) | SELECT document_type_code, COUNT(*) FROM Documents GROUP BY document_type_code | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11167,
7,
41,
28244,
834,
6137,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
6792,
1708,
686,
5633,
11,
8,
381,
13,
2691,
16,
284,
1081,
5,
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,
1708,
834,
6137,
834,
4978,
6,
2847,
17161,
599,
1935,
61,
21680,
11167,
7,
350,
4630,
6880,
272,
476,
1708,
834,
6137,
834,
4978,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the name of the last match that had a sacked manner of departure and a geninho outgoing manner? | CREATE TABLE table_35436 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Last match" text,
"Replaced by" text
) | SELECT "Last match" FROM table_35436 WHERE "Manner of departure" = 'sacked' AND "Outgoing manager" = 'geninho' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
591,
3420,
41,
96,
18699,
121,
1499,
6,
96,
15767,
9545,
2743,
121,
1499,
6,
96,
7296,
687,
13,
12028,
121,
1499,
6,
96,
308,
342,
13,
3,
29685,
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,
3612,
7,
17,
1588,
121,
21680,
953,
834,
2469,
591,
3420,
549,
17444,
427,
96,
7296,
687,
13,
12028,
121,
3274,
3,
31,
7,
13365,
31,
3430,
96,
15767,
9545,
2743,
121,
3274,
3,
31,
729,
23738,
31,
1,
-100,
-1... |
What is the label of the album titled and released in 1994? | CREATE TABLE table_name_63 (
label_s_ VARCHAR,
year_of_release VARCHAR,
title VARCHAR
) | SELECT label_s_ FROM table_name_63 WHERE year_of_release = 1994 AND title = "與你相逢" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
3783,
834,
7,
834,
584,
4280,
28027,
6,
215,
834,
858,
834,
21019,
584,
4280,
28027,
6,
2233,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3783,
834,
7,
834,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
215,
834,
858,
834,
21019,
3274,
7520,
3430,
2233,
3274,
96,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
WhichScore has a Location Attendance of seattle center coliseum 11,497? | CREATE TABLE table_76262 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Score" FROM table_76262 WHERE "Location Attendance" = 'seattle center coliseum 11,497' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3959,
2688,
357,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
3959,
2688,
357,
549,
17444,
427,
96,
434,
32,
75,
257,
22497,
663,
121,
3274,
3,
31,
7,
15,
9,
8692,
1530,
3,
9044,
7,
15,
440,
9694,
591,
4327,
31,
1,
-100,
-100,
-100,
-... |
What year is Japan the country? | CREATE TABLE table_12243817_1 (
year VARCHAR,
country VARCHAR
) | SELECT year FROM table_12243817_1 WHERE country = "Japan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
2266,
3747,
2517,
834,
536,
41,
215,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
215,
19,
3411,
8,
684,
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,
215,
21680,
953,
834,
2122,
2266,
3747,
2517,
834,
536,
549,
17444,
427,
684,
3274,
96,
683,
9,
2837,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the time on Monday August 23rd for Steve Linsdell 499cc royal enfield seeley? | CREATE TABLE table_26986076_3 (mon_23_aug VARCHAR, rider VARCHAR) | SELECT mon_23_aug FROM table_26986076_3 WHERE rider = "Steve Linsdell 499cc Royal Enfield Seeley" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3916,
3328,
3959,
834,
519,
41,
2157,
834,
2773,
834,
402,
122,
584,
4280,
28027,
6,
2564,
52,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
97,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1911,
834,
2773,
834,
402,
122,
21680,
953,
834,
2688,
3916,
3328,
3959,
834,
519,
549,
17444,
427,
2564,
52,
3274,
96,
14337,
162,
6741,
7,
221,
195,
314,
3264,
75,
75,
3671,
695,
1846,
1610,
1306,
121,
1,
-100,
... |
What candidate(s) ran for election when nathaniel h. claiborne was the incumbent? | CREATE TABLE table_2668243_25 (
candidates VARCHAR,
incumbent VARCHAR
) | SELECT candidates FROM table_2668243_25 WHERE incumbent = "Nathaniel H. Claiborne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3651,
27730,
834,
1828,
41,
4341,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
4775,
599,
7,
61,
4037,
21,
4356,
116,
3,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
4341,
21680,
953,
834,
2688,
3651,
27730,
834,
1828,
549,
17444,
427,
28406,
3274,
96,
567,
9,
6736,
23,
15,
40,
454,
5,
7781,
23,
12940,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the crew with the end time of 21:11? | CREATE TABLE table_name_73 (crew VARCHAR, end_time VARCHAR) | SELECT crew FROM table_name_73 WHERE end_time = "21:11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
5045,
210,
584,
4280,
28027,
6,
414,
834,
715,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4627,
28,
8,
414,
97,
13,
1401,
10,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4627,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
414,
834,
715,
3274,
96,
2658,
10,
2596,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the record on june 22 | CREATE TABLE table_52717 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) | SELECT "Record" FROM table_52717 WHERE "Date" = 'june 22' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2555,
2517,
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,
1649,
7621,
121,
21680,
953,
834,
755,
2555,
2517,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
6959,
15,
1630,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the original title of the film from Japan/Taiwan before 2003? | CREATE TABLE table_name_95 (
original_title VARCHAR,
year VARCHAR,
country VARCHAR
) | SELECT original_title FROM table_name_95 WHERE year < 2003 AND country = "japan/taiwan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
926,
834,
21869,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
926,
2233,
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,
926,
834,
21869,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
215,
3,
2,
3888,
3430,
684,
3274,
96,
1191,
2837,
87,
17,
9,
23,
3877,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who won the Gold Medal in Moscow after the year 1982? | CREATE TABLE table_63025 (
"Year" real,
"Place" text,
"Gold" text,
"Silver" text,
"Bronze" text
) | SELECT "Gold" FROM table_63025 WHERE "Year" > '1982' AND "Place" = 'moscow' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26106,
1828,
41,
96,
476,
2741,
121,
490,
6,
96,
345,
11706,
121,
1499,
6,
96,
23576,
121,
1499,
6,
96,
134,
173,
624,
121,
1499,
6,
96,
22780,
29,
776,
121,
1499,
3,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
96,
23576,
121,
21680,
953,
834,
26106,
1828,
549,
17444,
427,
96,
476,
2741,
121,
2490,
3,
31,
2294,
4613,
31,
3430,
96,
345,
11706,
121,
3274,
3,
31,
3972,
509,
210,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
List the grape and winery of the wines whose price is bigger than 100, visualize them with a stacked bar chart, the x-axis is winery and group the grape, and y-axis is the number of wineries, and display in ascending by the bars. | CREATE TABLE grapes (
ID INTEGER,
Grape TEXT,
Color TEXT
)
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,
Cases INTEGER,
Drink TEXT
)
CREATE TABLE appellations (
No... | SELECT Winery, COUNT(Winery) FROM wine WHERE Price > 100 GROUP BY Grape, Winery ORDER BY Winery | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11457,
7,
41,
4699,
3,
21342,
17966,
6,
29083,
3,
3463,
4,
382,
6,
6088,
3,
3463,
4,
382,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2013,
41,
465,
3,
21342,
17966... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
9426,
651,
6,
2847,
17161,
599,
18455,
4203,
61,
21680,
2013,
549,
17444,
427,
5312,
2490,
910,
350,
4630,
6880,
272,
476,
29083,
6,
9426,
651,
4674,
11300,
272,
476,
9426,
651,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the average rebounds for the player who started in 1986 and who plays SG? | CREATE TABLE table_54002 (
"Player" text,
"Pos." text,
"From" real,
"School/Country" text,
"Rebs" real,
"Asts" real
) | SELECT AVG("Rebs") FROM table_54002 WHERE "From" = '1986' AND "Pos." = 'sg' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25379,
4305,
41,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
535,
1499,
6,
96,
22674,
121,
490,
6,
96,
29364,
87,
10628,
651,
121,
1499,
6,
96,
1649,
115,
7,
121,
490,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
1649,
115,
7,
8512,
21680,
953,
834,
25379,
4305,
549,
17444,
427,
96,
22674,
121,
3274,
3,
31,
2294,
3840,
31,
3430,
96,
345,
32,
7,
535,
3274,
3,
31,
7,
122,
31,
1,
-100,
-100,
-100,
-100,... |
How many percentages (2006) are there for the population whose mother tongue is French? | CREATE TABLE table_2328113_1 (
percentage__2006_ VARCHAR,
mother_tongue VARCHAR
) | SELECT COUNT(percentage__2006_) FROM table_2328113_1 WHERE mother_tongue = "French" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2577,
20522,
834,
536,
41,
5294,
834,
834,
21196,
834,
584,
4280,
28027,
6,
2039,
834,
17,
106,
5398,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
883,
3728,
545,
834,
834,
21196,
834,
61,
21680,
953,
834,
2773,
2577,
20522,
834,
536,
549,
17444,
427,
2039,
834,
17,
106,
5398,
3274,
96,
371,
60,
5457,
121,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
character recognition papers from before 2010 | CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE paperkeyphrase (
paperid int,
... | SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'character recognition' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year < 2010 | [
32100,
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,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
843,
27111,
41,
843,
27111,
23,
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,
3,
15438,
25424,
6227,
1040,
5,
19587,
23,
26,
21680,
843,
27111,
6,
1040,
6,
1040,
4397,
27111,
549,
17444,
427,
843,
27111,
5,
4397,
27111,
4350,
3274,
3,
31,
31886,
5786,
31,
3430,
1040,
4397,
27111,
5,
4397,
271... |
What was the score of the match played against away team Arsenal? | CREATE TABLE table_name_96 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_96 WHERE away_team = "arsenal" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
7,
9022,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
13,
8,
1588,
1944,
581,
550,
372,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
550,
834,
11650,
3274,
96,
291,
7,
35,
138,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2,488? | CREATE TABLE table_name_60 (long INTEGER, gain VARCHAR, avg_g VARCHAR, name VARCHAR) | SELECT MIN(long) FROM table_name_60 WHERE avg_g > -2.2 AND name = "total" AND gain > 2 OFFSET 488 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
2961,
3,
21342,
17966,
6,
2485,
584,
4280,
28027,
6,
3,
9,
208,
122,
834,
122,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
2961,
61,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
3,
9,
208,
122,
834,
122,
2490,
3,
18,
15300,
3430,
564,
3274,
96,
235,
1947,
121,
3430,
2485,
2490,
204,
3,
15316,
20788,
314,
4060,
1,
... |
What is Internet Plan, when Price is "22 EUR"? | CREATE TABLE table_name_48 (internet_plan VARCHAR, price VARCHAR) | SELECT internet_plan FROM table_name_48 WHERE price = "22 eur" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
3870,
1582,
834,
3767,
584,
4280,
28027,
6,
594,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
1284,
2926,
6,
116,
5312,
19,
96,
2884,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1396,
834,
3767,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
594,
3274,
96,
2884,
3,
1238,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Please give me a bar chart for the total enrollment in each county, could you rank County in descending order? | CREATE TABLE endowment (
endowment_id int,
School_id int,
donator_name text,
amount real
)
CREATE TABLE budget (
School_id int,
Year int,
Budgeted int,
total_budget_percent_budgeted real,
Invested int,
total_budget_percent_invested real,
Budget_invested_percent text
)
CREAT... | SELECT County, SUM(Enrollment) FROM School GROUP BY County ORDER BY County DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
414,
2381,
297,
41,
414,
2381,
297,
834,
23,
26,
16,
17,
6,
1121,
834,
23,
26,
16,
17,
6,
278,
1016,
834,
4350,
1499,
6,
866,
490,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1334,
6,
180,
6122,
599,
8532,
4046,
297,
61,
21680,
1121,
350,
4630,
6880,
272,
476,
1334,
4674,
11300,
272,
476,
1334,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What country is phil mickelson from? | CREATE TABLE table_43181 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "Country" FROM table_43181 WHERE "Player" = 'phil mickelson' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4906,
2606,
536,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
96,
10628,
651,
121,
21680,
953,
834,
4906,
2606,
536,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
18118,
1337,
15259,
739,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what's the current club with player being felipe reyes | CREATE TABLE table_12962773_5 (current_club VARCHAR, player VARCHAR) | SELECT current_club FROM table_12962773_5 WHERE player = "Felipe Reyes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
4314,
2555,
4552,
834,
755,
41,
14907,
834,
13442,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
750,
1886,
28,
1959,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
834,
13442,
21680,
953,
834,
2122,
4314,
2555,
4552,
834,
755,
549,
17444,
427,
1959,
3274,
96,
17160,
23,
855,
419,
10070,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
When chris carney is the incumbent what are the results? | CREATE TABLE table_19753079_41 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_19753079_41 WHERE incumbent = "Chris Carney" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27181,
26918,
4440,
834,
4853,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
3,
524,
52,
159,
15460,
63,
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,
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,
4853,
549,
17444,
427,
28406,
3274,
96,
3541,
52,
159,
1184,
3186,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Title, when Doctor is 06 Sixth Doctor, and when Company is Big Finish? | CREATE TABLE table_name_87 (title VARCHAR, doctor VARCHAR, company VARCHAR) | SELECT title FROM table_name_87 WHERE doctor = "06 sixth doctor" AND company = "big finish" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
21869,
584,
4280,
28027,
6,
2472,
584,
4280,
28027,
6,
349,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
11029,
6,
116,
7582,
19,
13574,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2233,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
2472,
3274,
96,
5176,
13305,
2472,
121,
3430,
349,
3274,
96,
12911,
1992,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Where was a game played on 23,24,25,26 july 1992? | CREATE TABLE table_name_13 (
venue VARCHAR,
date VARCHAR
) | SELECT venue FROM table_name_13 WHERE date = "23,24,25,26 july 1992" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
5669,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
3,
9,
467,
1944,
30,
12992,
2266,
6,
1828,
6,
2688,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5669,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
833,
3274,
96,
2773,
6,
2266,
6,
1828,
6,
2688,
3,
2047,
120,
9047,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which location has a team that is nicknamed the Vikings? | CREATE TABLE table_13759592_1 (
location VARCHAR,
nickname VARCHAR
) | SELECT location FROM table_13759592_1 WHERE nickname = "Vikings" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
3072,
3301,
4508,
834,
536,
41,
1128,
584,
4280,
28027,
6,
24649,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1128,
65,
3,
9,
372,
24,
19,
24649,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1128,
21680,
953,
834,
2368,
3072,
3301,
4508,
834,
536,
549,
17444,
427,
24649,
3274,
96,
553,
23,
1765,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many times does Switzerland have under 7 golds and less than 3 silvers? | CREATE TABLE table_58559 (
"Athlete" text,
"Country" text,
"From" real,
"Gold" real,
"Silver" real,
"Total" real,
"Status" text
) | SELECT COUNT("Total") FROM table_58559 WHERE "Country" = 'switzerland' AND "Gold" < '7' AND "Silver" < '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3449,
755,
3390,
41,
96,
188,
189,
1655,
15,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
22674,
121,
490,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
3696,
1947,
8512,
21680,
953,
834,
3449,
755,
3390,
549,
17444,
427,
96,
10628,
651,
121,
3274,
3,
31,
7,
15686,
15,
7721,
31,
3430,
96,
23576,
121,
3,
2,
3,
31,
940,
31,
3430,
96,
134,
17... |
What is the record on March 16? | CREATE TABLE table_name_66 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_66 WHERE date = "march 16" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
60,
7621,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1368,
30,
1332,
898,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
833,
3274,
96,
51,
7064,
898,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the lowest Goals Against by a team with more than 5 wins? | CREATE TABLE table_56807 (
"Team" text,
"Games Played" real,
"Wins" real,
"Losses" real,
"Ties" real,
"Goals For" real,
"Goals Against" real
) | SELECT MIN("Goals Against") FROM table_56807 WHERE "Wins" > '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
2079,
940,
41,
96,
18699,
121,
1499,
6,
96,
23055,
7,
2911,
15,
26,
121,
490,
6,
96,
18455,
7,
121,
490,
6,
96,
434,
13526,
7,
121,
490,
6,
96,
382,
725,
121,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
6221,
5405,
3,
20749,
8512,
21680,
953,
834,
4834,
2079,
940,
549,
17444,
427,
96,
18455,
7,
121,
2490,
3,
31,
755,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
whats the sex of patient 027-34579? | CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... | SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '027-34579' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1868,
41,
775,
12417,
1499,
6,
1868,
15878,
3734,
21545,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
7285,
1499,
6,
1246,
1499,
6,
11655,
485,
1499,
6,
2833,
23,
26,
381,
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,
3,
15438,
25424,
6227,
1868,
5,
122,
3868,
21680,
1868,
549,
17444,
427,
1868,
5,
202,
1495,
12417,
3274,
3,
31,
632,
2555,
3486,
2128,
4440,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
count the number of patients whose admission location is emergency room admit and procedure short title is open liver biopsy? | CREATE TABLE procedures (
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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND procedures.short_title = "Open liver biopsy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
What is the save of the game with a 7-6 score? | CREATE TABLE table_60504 (
"Date" text,
"Opponent" text,
"Score" text,
"Site/Stadium" text,
"Loss" text,
"Save" text,
"Attendance" real,
"Overall Record" text,
"NCAAT Record" text
) | SELECT "Save" FROM table_60504 WHERE "Score" = '7-6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
1752,
591,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
26030,
87,
134,
17,
9,
12925,
121,
1499,
6,
96,
434,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23163,
121,
21680,
953,
834,
3328,
1752,
591,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
940,
5783,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
how many times , from june 23 , 1992 to december 3 , 2000 , did the suicide blondes hold the title ? | CREATE TABLE table_204_23 (
id number,
"#" number,
"wrestlers" text,
"reign" number,
"date" text,
"days held" number,
"location" text,
"event" text,
"notes" text
) | SELECT COUNT(*) FROM table_204_23 WHERE "wrestlers" = 'the suicide blondes' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
2773,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
210,
6216,
1171,
7,
121,
1499,
6,
96,
60,
3191,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
1135,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
26363,
834,
2773,
549,
17444,
427,
96,
210,
6216,
1171,
7,
121,
3274,
3,
31,
532,
12259,
27363,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the least amount of tackles for danny clark | CREATE TABLE table_72677 (
"Player" text,
"G" real,
"Tackles" real,
"Solo" real,
"Assts" real,
"Sacks" text,
"Int" real,
"Int yards" real,
"Int avg." text,
"Int TD" real,
"Fum. rec" real,
"Fum. rec TD" real
) | SELECT MIN("Tackles") FROM table_72677 WHERE "Player" = 'Danny Clark' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2688,
4013,
41,
96,
15800,
49,
121,
1499,
6,
96,
517,
121,
490,
6,
96,
382,
4365,
965,
121,
490,
6,
96,
5231,
40,
32,
121,
490,
6,
96,
188,
7,
7,
17,
7,
121,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
382,
4365,
965,
8512,
21680,
953,
834,
940,
2688,
4013,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
308,
15159,
8265,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what's the party with first elected being 1926 | CREATE TABLE table_1342256_6 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1342256_6 WHERE first_elected = "1926" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
4165,
19337,
834,
948,
41,
8071,
584,
4280,
28027,
6,
166,
834,
19971,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
1088,
28,
166,
8160,
271,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1088,
21680,
953,
834,
2368,
4165,
19337,
834,
948,
549,
17444,
427,
166,
834,
19971,
3274,
96,
2294,
2688,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How big was the crowd when the South Dragons were the away team at the Gold Coast Convention Centre? | CREATE TABLE table_name_94 (crowd VARCHAR, away_team VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_94 WHERE away_team = "south dragons" AND venue = "gold coast convention centre" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
75,
3623,
26,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
600,
47,
8,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
4374,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
550,
834,
11650,
3274,
96,
7,
670,
107,
14580,
7,
121,
3430,
5669,
3274,
96,
14910,
4939,
8346,
2050,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the result of the game against Bye? | CREATE TABLE table_75676 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" text
) | SELECT "Result" FROM table_75676 WHERE "Opponent" = 'bye' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
3708,
948,
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,
23055,
353,
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,
20119,
121,
21680,
953,
834,
3072,
3708,
948,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
969,
15,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the id of the problem log that is created most recently? | CREATE TABLE problem_log (
problem_log_id VARCHAR,
log_entry_date VARCHAR
) | SELECT problem_log_id FROM problem_log ORDER BY log_entry_date DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
682,
834,
2152,
41,
682,
834,
2152,
834,
23,
26,
584,
4280,
28027,
6,
4303,
834,
295,
651,
834,
5522,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
23,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
682,
834,
2152,
834,
23,
26,
21680,
682,
834,
2152,
4674,
11300,
272,
476,
4303,
834,
295,
651,
834,
5522,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which team has a Reg GP over 62? | CREATE TABLE table_name_12 (
team__league_ VARCHAR,
reg_gp INTEGER
) | SELECT team__league_ FROM table_name_12 WHERE reg_gp > 62 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
372,
834,
834,
29512,
834,
584,
4280,
28027,
6,
5925,
834,
122,
102,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
372,
65,
3,
9,
7777,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
372,
834,
834,
29512,
834,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
5925,
834,
122,
102,
2490,
3,
4056,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who was the home team when Carlton was the away team? | CREATE TABLE table_name_97 (
home_team VARCHAR,
away_team VARCHAR
) | SELECT home_team FROM table_name_97 WHERE away_team = "carlton" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
234,
834,
11650,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
234,
372,
116,
3,
30339,
47... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
234,
834,
11650,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
550,
834,
11650,
3274,
96,
1720,
7377,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the location of 64-74 | CREATE TABLE table_21308 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location/Attendance" text,
"Record" text
) | SELECT "Location/Attendance" FROM table_21308 WHERE "Score" = '64-74' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2368,
4018,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
87,
188,
17,
324,
26,
663,
121,
21680,
953,
834,
357,
2368,
4018,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
4389,
18,
4581,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the losses in the NFL in the 2011 season with less than 13 wins? | CREATE TABLE table_77177 (
"Season" real,
"League" text,
"Finish" text,
"Wins" real,
"Losses" real,
"Ties" real
) | SELECT AVG("Losses") FROM table_77177 WHERE "League" = 'nfl' AND "Season" = '2011' AND "Wins" < '13' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
26793,
41,
96,
134,
15,
9,
739,
121,
490,
6,
96,
2796,
9,
5398,
121,
1499,
6,
96,
371,
77,
1273,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
434,
13526,
7,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
434,
13526,
7,
8512,
21680,
953,
834,
4013,
26793,
549,
17444,
427,
96,
2796,
9,
5398,
121,
3274,
3,
31,
29,
89,
40,
31,
3430,
96,
134,
15,
9,
739,
121,
3274,
3,
31,
13907,
31,
3430,
96,
1... |
What is the occupation of the candidate that has a riding of labrador? | CREATE TABLE table_55553 (
"Riding" text,
"Candidate" text,
"Gender" text,
"Residence" text,
"Occupation" text,
"Votes" real,
"Rank" text
) | SELECT "Occupation" FROM table_55553 WHERE "Riding" = 'labrador' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
28803,
4867,
41,
96,
448,
12469,
121,
1499,
6,
96,
14050,
12416,
342,
121,
1499,
6,
96,
517,
3868,
121,
1499,
6,
96,
1649,
1583,
3772,
121,
1499,
6,
96,
667,
75,
4658,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
75,
4658,
257,
121,
21680,
953,
834,
28803,
4867,
549,
17444,
427,
96,
448,
12469,
121,
3274,
3,
31,
9339,
52,
7923,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the attendance on week 1? | CREATE TABLE table_name_41 (
attendance VARCHAR,
week VARCHAR
) | SELECT attendance FROM table_name_41 WHERE week = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
11364,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
11364,
30,
471,
209,
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,
11364,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
471,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
When the crowd was larger than 7,500 what was the away teams score? | CREATE TABLE table_58011 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team score" FROM table_58011 WHERE "Crowd" > '7,500' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2079,
2596,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
1343,
372,
2604,
121,
21680,
953,
834,
755,
2079,
2596,
549,
17444,
427,
96,
254,
3623,
26,
121,
2490,
3,
31,
940,
6,
2560,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a scatter chart about the correlation between commission_pct and manager_id . | CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE regions (
REGION_... | SELECT COMMISSION_PCT, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
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,
3,
6657,
329,
16994,
9215,
834,
4051,
382,
6,
283,
15610,
17966,
834,
4309,
21680,
1652,
549,
17444,
427,
4486,
3396,
19846,
11810,
834,
4309,
3388,
41,
23143,
14196,
3396,
19846,
11810,
834,
4309,
21680,
10521,
549,
17... |
Show me a bar chart for what are the nationalities and total ages of journalists?, I want to sort by the x-axis in asc. | CREATE TABLE event (
Event_ID int,
Date text,
Venue text,
Name text,
Event_Attendance int
)
CREATE TABLE news_report (
journalist_ID int,
Event_ID int,
Work_Type text
)
CREATE TABLE journalist (
journalist_ID int,
Name text,
Nationality text,
Age text,
Years_working... | SELECT Nationality, SUM(Age) FROM journalist GROUP BY Nationality ORDER BY Nationality | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
605,
41,
8042,
834,
4309,
16,
17,
6,
7678,
1499,
6,
29940,
1499,
6,
5570,
1499,
6,
8042,
834,
188,
17,
324,
26,
663,
16,
17,
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,
868,
485,
6,
180,
6122,
599,
188,
397,
61,
21680,
9994,
350,
4630,
6880,
272,
476,
868,
485,
4674,
11300,
272,
476,
868,
485,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
When is the earliest year associated with team norton and 0 wins? | CREATE TABLE table_name_12 (
year INTEGER,
team VARCHAR,
wins VARCHAR
) | SELECT MIN(year) FROM table_name_12 WHERE team = "norton" AND wins < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
215,
3,
21342,
17966,
6,
372,
584,
4280,
28027,
6,
9204,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
19,
8,
3,
16454,
215,
1968,
28,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
1201,
61,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
372,
3274,
96,
29,
32,
17330,
121,
3430,
9204,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What team acquired as a rookie draft in the position of guard Dennis Miranda? | CREATE TABLE table_name_84 (
school_club_team VARCHAR,
name VARCHAR,
acquisition_via VARCHAR,
position VARCHAR
) | SELECT school_club_team FROM table_name_84 WHERE acquisition_via = "rookie draft" AND position = "guard" AND name = "dennis miranda" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
496,
834,
13442,
834,
11650,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
6,
6566,
834,
5907,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
3,
61,
3,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
496,
834,
13442,
834,
11650,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
6566,
834,
5907,
3274,
96,
52,
21132,
6488,
121,
3430,
1102,
3274,
96,
11010,
121,
3430,
564,
3274,
96,
537,
29,
159,
1870,
232,
9,
121... |
find the number of government insurance patients who had intravenous infusion of clofarabine. | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.long_title = "Intravenous infusion of clofarabine" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
what is drug type and drug code of drug name buspirone? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions... | SELECT prescriptions.drug_type, prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.drug = "BusPIRone" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7744,
7,
5,
26,
13534,
834,
6137,
6,
7744,
7,
5,
20128,
63,
834,
26,
13534,
834,
75,
26,
21680,
7744,
7,
549,
17444,
427,
7744,
7,
5,
26,
13534,
3274,
96,
7793,
7,
4111,
448,
782,
121,
1,
-100,
-100,
-100,
-10... |
What was the result of the game after Week 13 on December 8, 1991? | CREATE TABLE table_name_14 (result VARCHAR, week VARCHAR, date VARCHAR) | SELECT result FROM table_name_14 WHERE week > 13 AND date = "december 8, 1991" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
741,
13,
8,
467,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
471,
2490,
1179,
3430,
833,
3274,
96,
221,
75,
18247,
9478,
9957,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which has and average less than 3 and the lowest yards? | CREATE TABLE table_55374 (
"Player" text,
"Rec." real,
"Yards" real,
"Avg." real,
"Long" real
) | SELECT MIN("Yards") FROM table_55374 WHERE "Avg." < '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3769,
519,
4581,
41,
96,
15800,
49,
121,
1499,
6,
96,
1649,
75,
535,
490,
6,
96,
476,
986,
7,
121,
490,
6,
96,
188,
208,
122,
535,
490,
6,
96,
434,
2444,
121,
490,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
476,
986,
7,
8512,
21680,
953,
834,
3769,
519,
4581,
549,
17444,
427,
96,
188,
208,
122,
535,
3,
2,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total number of silver medals for nations with 5 total medals and more than 3 gold medals? | CREATE TABLE table_43284 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT COUNT("Silver") FROM table_43284 WHERE "Total" = '5' AND "Gold" > '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2668,
4608,
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,
591,
2668,
4608,
549,
17444,
427,
96,
3696,
1947,
121,
3274,
3,
31,
755,
31,
3430,
96,
23576,
121,
2490,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-100,
-100... |
What is Tournament, when Date is 'Sep 12, 1976'? | CREATE TABLE table_49615 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
) | SELECT "Tournament" FROM table_49615 WHERE "Date" = 'sep 12, 1976' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
4314,
1808,
41,
96,
308,
342,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
518,
10503,
2604,
121,
1499,
6,
96,
7286,
122,
77,
13,
6224,
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,
382,
1211,
20205,
17,
121,
21680,
953,
834,
591,
4314,
1808,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
7,
15,
102,
10440,
16164,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
where are dragons used as mascots? | CREATE TABLE table_26802 (
"School" text,
"Mascot" text,
"Location" text,
"Founded" real,
"Entered ISL" real,
"Grades" text,
"Number of Students" text,
"Varsity Teams" real
) | SELECT "Location" FROM table_26802 WHERE "Mascot" = 'Dragons' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
2079,
357,
41,
96,
29364,
121,
1499,
6,
96,
329,
9,
7,
4310,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
20100,
121,
490,
6,
96,
16924,
3737,
27,
5629,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
2688,
2079,
357,
549,
17444,
427,
96,
329,
9,
7,
4310,
121,
3274,
3,
31,
308,
6151,
106,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
find the number of patients with primary disease as s/p fall and their year of death is in or before 2112. | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "S/P FALL" AND demographic.dod_year <= "2112.0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
25930,
4844,
159,
3274,
96,
134,
87,
345,
377,
12126,
121,
3430,
14798,
5,
26,
32,
26,
834,
1201... |
Which Streak has a Date of january 7? | CREATE TABLE table_name_53 (streak VARCHAR, date VARCHAR) | SELECT streak FROM table_name_53 WHERE date = "january 7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
7,
929,
1639,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
472,
60,
1639,
65,
3,
9,
7678,
13,
3,
7066,
76,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
18631,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
833,
3274,
96,
7066,
76,
1208,
489,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many silver medals were won in 1938? | CREATE TABLE table_name_42 (
silver VARCHAR,
year VARCHAR
) | SELECT silver FROM table_name_42 WHERE year = "1938" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
4294,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
4294,
9365,
7,
130,
751,
16,
25745,
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,
4294,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
215,
3274,
96,
2294,
3747,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What status has an area km 2 less than 27.82, with 352 as the population? | CREATE TABLE table_9036 (
"Official Name" text,
"Status" text,
"Area km 2" real,
"Population" real,
"Census Ranking" text
) | SELECT "Status" FROM table_9036 WHERE "Area km 2" < '27.82' AND "Population" = '352' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2394,
3420,
41,
96,
667,
89,
22816,
5570,
121,
1499,
6,
96,
134,
17,
144,
302,
121,
1499,
6,
96,
188,
864,
2280,
204,
121,
490,
6,
96,
27773,
7830,
121,
490,
6,
96,
254... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
17,
144,
302,
121,
21680,
953,
834,
2394,
3420,
549,
17444,
427,
96,
188,
864,
2280,
204,
121,
3,
2,
3,
31,
2555,
5,
4613,
31,
3430,
96,
27773,
7830,
121,
3274,
3,
31,
2469,
357,
31,
1,
-100,
-100,
-1... |
Which IHSAA Class has a Location of brazil? | CREATE TABLE table_name_96 (ihsaa_class VARCHAR, location VARCHAR) | SELECT ihsaa_class FROM table_name_96 WHERE location = "brazil" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
23,
107,
7,
9,
9,
834,
4057,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
27,
4950,
5498,
4501,
65,
3,
9,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
23,
107,
7,
9,
9,
834,
4057,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
1128,
3274,
96,
1939,
702,
40,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there? | CREATE TABLE table_23537091_1 (
early_chalcolithic VARCHAR,
ubaid_period_in_mesopotamia VARCHAR
) | SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Second Intermediate Period of Egypt" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25174,
22520,
4729,
834,
536,
41,
778,
834,
12654,
9044,
189,
447,
584,
4280,
28027,
6,
3,
17309,
23,
26,
834,
4267,
32,
26,
834,
77,
834,
2687,
32,
3013,
3690,
9,
584,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
2741,
120,
834,
12654,
9044,
189,
447,
61,
21680,
953,
834,
25174,
22520,
4729,
834,
536,
549,
17444,
427,
3,
17309,
23,
26,
834,
4267,
32,
26,
834,
77,
834,
2687,
32,
3013,
3690,
9,
3274,
96,
13... |
What day was Australia the opposing team and the against 12? | CREATE TABLE table_name_92 (
date VARCHAR,
opposing_teams VARCHAR,
against VARCHAR
) | SELECT date FROM table_name_92 WHERE opposing_teams = "australia" AND against = 12 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
833,
584,
4280,
28027,
6,
10720,
53,
834,
11650,
7,
584,
4280,
28027,
6,
581,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
239,
47,
205... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
10720,
53,
834,
11650,
7,
3274,
96,
2064,
8792,
23,
9,
121,
3430,
581,
3274,
586,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which team has a value less than 377 million in Germany with a rank of 17? | CREATE TABLE table_name_5 (team VARCHAR, rank VARCHAR, value__$m_ VARCHAR, country VARCHAR) | SELECT team FROM table_name_5 WHERE value__$m_ < 377 AND country = "germany" AND rank = 17 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
11650,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
701,
834,
834,
3229,
51,
834,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
61,
3,
32102,
32103,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
372,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
701,
834,
834,
3229,
51,
834,
3,
2,
220,
4013,
3430,
684,
3274,
96,
1304,
348,
63,
121,
3430,
11003,
3274,
1003,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those employees who did not have any job in the past, show me about the distribution of job_id and the average of employee_id , and group by attribute job_id in a bar chart, show by the y-axis in descending. | CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE... | SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY AVG(EMPLOYEE_ID) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
10521,
41,
3396,
19846,
11810,
834,
4309,
7908,
1982,
599,
8525,
632,
201,
3396,
19846,
11810,
834,
567,
17683,
3,
4331,
4059,
599,
1458,
201,
283,
15610,
17966,
834,
4309,
7908,
1982,
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,
446,
10539,
834,
4309,
6,
71,
17217,
599,
6037,
345,
5017,
476,
5080,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
4486,
262,
5244,
5017,
476,
5080,
834,
4309,
3388,
41,
23143,
14196,
262,
5244,
5017,
476,
5080,
834,
... |
With a date of Aldershot and Aldershot as the away team what was the score of the game? | CREATE TABLE table_48288 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) | SELECT "Score" FROM table_48288 WHERE "Away team" = 'aldershot' AND "Date" = 'aldershot' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3707,
357,
4060,
41,
96,
382,
23,
15,
150,
121,
1499,
6,
96,
19040,
372,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
308,
342,
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,
3707,
357,
4060,
549,
17444,
427,
96,
188,
1343,
372,
121,
3274,
3,
31,
138,
588,
11159,
31,
3430,
96,
308,
342,
121,
3274,
3,
31,
138,
588,
11159,
31,
1,
-100,
-100,
-100,
-... |
Who was the director for the Episode number in season 10a? | CREATE TABLE table_2701851_5 (directed_by VARCHAR, no_in_season VARCHAR) | SELECT directed_by FROM table_2701851_5 WHERE no_in_season = "10a" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17485,
2606,
5553,
834,
755,
41,
22955,
834,
969,
584,
4280,
28027,
6,
150,
834,
77,
834,
9476,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
2090,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6640,
834,
969,
21680,
953,
834,
17485,
2606,
5553,
834,
755,
549,
17444,
427,
150,
834,
77,
834,
9476,
3274,
96,
1714,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
List the tournament that kent state won? | CREATE TABLE table_24348134_3 (
conference VARCHAR,
tournament_winner VARCHAR
) | SELECT conference AS Tournament FROM table_24348134_3 WHERE tournament_winner = "Kent State" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27730,
3707,
23747,
834,
519,
41,
2542,
584,
4280,
28027,
6,
5892,
834,
3757,
687,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
6792,
8,
5892,
24,
3,
2217,
17,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2542,
6157,
20502,
21680,
953,
834,
27730,
3707,
23747,
834,
519,
549,
17444,
427,
5892,
834,
3757,
687,
3274,
96,
439,
295,
1015,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many are in the palakkad district ? | CREATE TABLE table_204_851 (
id number,
"serial number" number,
"river" text,
"name" text,
"area (km2)" number,
"district" text,
"co-ordinate" text,
"altitude (m)" number
) | SELECT COUNT(*) FROM table_204_851 WHERE "district" = 'palakkad' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
4433,
536,
41,
3,
23,
26,
381,
6,
96,
7,
15,
12042,
381,
121,
381,
6,
96,
5927,
49,
121,
1499,
6,
96,
4350,
121,
1499,
6,
96,
498,
41,
5848,
7318,
121,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
26363,
834,
4433,
536,
549,
17444,
427,
96,
26,
23,
20066,
121,
3274,
3,
31,
13878,
8511,
9,
26,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What label has cd single as the format? | CREATE TABLE table_name_20 (label VARCHAR, format VARCHAR) | SELECT label FROM table_name_20 WHERE format = "cd single" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
40,
10333,
584,
4280,
28027,
6,
1910,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
3783,
65,
3,
75,
26,
712,
38,
8,
1910,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3783,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
1910,
3274,
96,
75,
26,
712,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many teams can still qualify when there are 0 teams that have secured qualification and 52 teams started? | CREATE TABLE table_23995075_2 (
teams_that_can_still_qualify VARCHAR,
teams_that_have_secured_qualification VARCHAR,
teams_started VARCHAR
) | SELECT teams_that_can_still_qualify FROM table_23995075_2 WHERE teams_that_have_secured_qualification = "0" AND teams_started = "52" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
3264,
1752,
3072,
834,
357,
41,
2323,
834,
6279,
834,
1608,
834,
11656,
834,
11433,
4921,
584,
4280,
28027,
6,
2323,
834,
6279,
834,
7965,
834,
24875,
26,
834,
11433,
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,
2323,
834,
6279,
834,
1608,
834,
11656,
834,
11433,
4921,
21680,
953,
834,
2773,
3264,
1752,
3072,
834,
357,
549,
17444,
427,
2323,
834,
6279,
834,
7965,
834,
24875,
26,
834,
11433,
2420,
3274,
96,
632,
121,
3430,
232... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.