NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Who was the original artist of the chosen song when the theme was The Rolling Stones? | CREATE TABLE table_26250189_1 (
original_artist VARCHAR,
theme VARCHAR
) | SELECT original_artist FROM table_26250189_1 WHERE theme = "The Rolling Stones" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
11434,
25312,
834,
536,
41,
926,
834,
1408,
343,
584,
4280,
28027,
6,
3800,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
926,
2377,
13,
8,
393... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
926,
834,
1408,
343,
21680,
953,
834,
2688,
11434,
25312,
834,
536,
549,
17444,
427,
3800,
3274,
96,
634,
6070,
53,
5614,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Outcome of the match with Partner Andoni Vivanco? | CREATE TABLE table_50160 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
) | SELECT "Outcome" FROM table_50160 WHERE "Partner" = 'andoni vivanco' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
19129,
41,
96,
15767,
287,
15,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
13725,
687,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15767,
287,
15,
121,
21680,
953,
834,
1752,
19129,
549,
17444,
427,
96,
13725,
687,
121,
3274,
3,
31,
232,
106,
23,
3,
7003,
152,
509,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the most recent year with a position of 3rd? | CREATE TABLE table_name_68 (year INTEGER, position VARCHAR) | SELECT MAX(year) FROM table_name_68 WHERE position = "3rd" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3651,
41,
1201,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
167,
1100,
215,
28,
3,
9,
1102,
13,
220,
52,
26,
58,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
1201,
61,
21680,
953,
834,
4350,
834,
3651,
549,
17444,
427,
1102,
3274,
96,
519,
52,
26,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which league's nationality was Italy when there were 62 points? | CREATE TABLE table_name_20 (league VARCHAR, nationality VARCHAR, points VARCHAR) | SELECT league FROM table_name_20 WHERE nationality = "italy" AND points = "62" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
29512,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
5533,
31,
7,
1157,
485,
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,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5533,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
1157,
485,
3274,
96,
9538,
63,
121,
3430,
979,
3274,
96,
4056,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
which Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juniors team ? | CREATE TABLE table_name_10 (
copa_libertadores_1996 VARCHAR,
supercopa_1995 VARCHAR,
team VARCHAR
) | SELECT copa_libertadores_1996 FROM table_name_10 WHERE supercopa_1995 = "round 1" AND team = "argentinos juniors" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
7326,
9,
834,
10661,
17,
10097,
7,
834,
2294,
4314,
584,
4280,
28027,
6,
1355,
10845,
9,
834,
2294,
3301,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
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,
7326,
9,
834,
10661,
17,
10097,
7,
834,
2294,
4314,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
1355,
10845,
9,
834,
2294,
3301,
3274,
96,
7775,
209,
121,
3430,
372,
3274,
96,
9917,
23,
4844,
9212,
7,
121,
... |
What is the highest death/2013 when the death/2012 is 12,7? | CREATE TABLE table_25703_1 (
death_2013 INTEGER,
death_2012 VARCHAR
) | SELECT MAX(death_2013) FROM table_25703_1 WHERE death_2012 = "12,7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
2518,
519,
834,
536,
41,
1687,
834,
11138,
3,
21342,
17966,
6,
1687,
834,
12172,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
1687,
87,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
221,
9,
189,
834,
11138,
61,
21680,
953,
834,
1828,
2518,
519,
834,
536,
549,
17444,
427,
1687,
834,
12172,
3274,
96,
2122,
6,
940,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Where was the 249cc Yamaha? | CREATE TABLE table_name_3 (place VARCHAR, machine VARCHAR) | SELECT place FROM table_name_3 WHERE machine = "249cc yamaha" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
4687,
584,
4280,
28027,
6,
1437,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
8,
204,
3647,
75,
75,
26369,
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,
286,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
1437,
3274,
96,
357,
3647,
75,
75,
3,
22990,
1024,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many kicks did he get in the year when he played 7 games? | CREATE TABLE table_48974 (
"Season" text,
"Team" text,
"Games" text,
"Disposals" text,
"Kicks" text,
"Handballs" text,
"Marks" text,
"Tackles" text,
"Goals" text,
"Behinds" text
) | SELECT "Kicks" FROM table_48974 WHERE "Games" = '7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3707,
4327,
591,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
23055,
7,
121,
1499,
6,
96,
23664,
32,
7,
5405,
121,
1499,
6,
96,
439,
3142,
7,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
439,
3142,
7,
121,
21680,
953,
834,
3707,
4327,
591,
549,
17444,
427,
96,
23055,
7,
121,
3274,
3,
31,
940,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Draw a bar chart about the distribution of Nationality and the average of meter_100 , and group by attribute Nationality. | CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Coun... | SELECT Nationality, AVG(meter_100) FROM swimmer GROUP BY Nationality | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
27424,
41,
4699,
16,
17,
6,
564,
1499,
6,
868,
485,
1499,
6,
3,
4401,
834,
2915,
490,
6,
3,
4401,
834,
3632,
1499,
6,
3,
4401,
834,
5426,
1499,
6,
3,
4401,
834,
5548,
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,
868,
485,
6,
71,
17217,
599,
4401,
834,
2915,
61,
21680,
27424,
350,
4630,
6880,
272,
476,
868,
485,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the average attendance on april 24? | CREATE TABLE table_name_86 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_86 WHERE date = "april 24" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
15116,
663,
3,
21342,
17966,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
11364,
30,
3,
9,
2246,
40,
997,
58,
1,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
833,
3274,
96,
9,
2246,
40,
997,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the strongs # for the hebrew word יִרְמְיָה? | CREATE TABLE table_1242447_2 (strongs__number VARCHAR, hebrew_word VARCHAR) | SELECT strongs__number FROM table_1242447_2 WHERE hebrew_word = "יִרְמְיָה" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22504,
2266,
4177,
834,
357,
41,
25866,
7,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
3,
88,
1999,
210,
834,
6051,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1101,
7,
834,
834,
5525,
1152,
21680,
953,
834,
22504,
2266,
4177,
834,
357,
549,
17444,
427,
3,
88,
1999,
210,
834,
6051,
3274,
96,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many climbers are from each country. Visualize by pie chart. | CREATE TABLE mountain (
Mountain_ID int,
Name text,
Height real,
Prominence real,
Range text,
Country text
)
CREATE TABLE climber (
Climber_ID int,
Name text,
Country text,
Time text,
Points real,
Mountain_ID int
) | SELECT Country, COUNT(*) FROM climber GROUP BY Country | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4180,
41,
5617,
834,
4309,
16,
17,
6,
5570,
1499,
6,
24231,
490,
6,
749,
1109,
1433,
490,
6,
10971,
1499,
6,
6993,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
6993,
6,
2847,
17161,
599,
1935,
61,
21680,
8147,
49,
350,
4630,
6880,
272,
476,
6993,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is minimum age of patients whose marital status is divorced and primary disease is coronary artery disease\coronary artery bypass graft with mvr; ? maze? | 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 MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "DIVORCED" AND demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT WITH MVR; ? MAZE" | [
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,
3,
17684,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
1635,
9538,
834,
8547,
302,
3274,
96,
308,
7589,
2990,
254,
2326,
121,
3430,
14798,
5,
25930,
4844,
159,
3274,
96,
5911,
13044,
24721,
... |
What is the Game number on March 30? | CREATE TABLE table_77165 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
) | SELECT "Game" FROM table_77165 WHERE "Date" = 'march 30' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
22823,
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,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
23055,
121,
21680,
953,
834,
4013,
22823,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
51,
7064,
604,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Show all the distinct product names with price higher than the average. | CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER) | SELECT DISTINCT Product_Name FROM PRODUCTS WHERE Product_Price > (SELECT AVG(Product_Price) FROM PRODUCTS) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6828,
7874,
6227,
134,
41,
3174,
7472,
834,
23954,
584,
4280,
28027,
6,
6246,
834,
345,
4920,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
3111,
66,
8,
6746,
556,
3056,
28,
594,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
15438,
25424,
6227,
6246,
834,
23954,
21680,
6828,
7874,
6227,
134,
549,
17444,
427,
6246,
834,
345,
4920,
2490,
41,
23143,
14196,
71,
17217,
599,
3174,
7472,
834,
345,
4920,
61,
21680,
6828,
7874,
6227,
134,
61,
1... |
Daily Empress Indy Silverstone took place on which round? | CREATE TABLE table_22673956_1 (rnd INTEGER, race_name VARCHAR) | SELECT MAX(rnd) FROM table_22673956_1 WHERE race_name = "Daily Empress Indy Silverstone" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
3708,
3288,
4834,
834,
536,
41,
52,
727,
3,
21342,
17966,
6,
1964,
834,
4350,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
8496,
3967,
4715,
86,
26,
63,
5642,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
52,
727,
61,
21680,
953,
834,
2884,
3708,
3288,
4834,
834,
536,
549,
17444,
427,
1964,
834,
4350,
3274,
96,
308,
9,
9203,
3967,
4715,
86,
26,
63,
5642,
3009,
121,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the date of birth for 27/07/86 | CREATE TABLE table_73428 (
"Number" real,
"Name" text,
"Height (m)" real,
"Date of Birth" text,
"Position" text,
"Nationality" text
) | SELECT "Name" FROM table_73428 WHERE "Date of Birth" = '27/07/86' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
591,
2577,
41,
96,
567,
5937,
49,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
3845,
2632,
41,
51,
61,
121,
490,
6,
96,
308,
342,
13,
26337,
121,
1499,
6,
96,
345,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23954,
121,
21680,
953,
834,
4552,
591,
2577,
549,
17444,
427,
96,
308,
342,
13,
26337,
121,
3274,
3,
31,
2555,
87,
4560,
87,
3840,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Arena has Points larger than 28, and a Date of december 14? | CREATE TABLE table_name_2 (
arena VARCHAR,
points VARCHAR,
date VARCHAR
) | SELECT arena FROM table_name_2 WHERE points > 28 AND date = "december 14" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
15134,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
14904,
65,
4564,
7,
2186,
145,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15134,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
979,
2490,
2059,
3430,
833,
3274,
96,
221,
75,
18247,
968,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the dutch word for one? | CREATE TABLE table_name_18 (
dutch VARCHAR,
english VARCHAR
) | SELECT dutch FROM table_name_18 WHERE english = "one" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
146,
17,
524,
584,
4280,
28027,
6,
22269,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
146,
17,
524,
1448,
21,
80,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
146,
17,
524,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
22269,
3274,
96,
782,
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 rank of an episode with a rating/share (18-49) of 1.3/4? | CREATE TABLE table_28089 (
"Episode Number" real,
"Episode" text,
"Rating" text,
"Share" real,
"Rating/Share (18-49)" text,
"Viewers (millions)" text,
"Rank (Timeslot)" real,
"Rank (Night)" real
) | SELECT MIN("Rank (Night)") FROM table_28089 WHERE "Rating/Share (18-49)" = '1.3/4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17518,
3914,
41,
96,
427,
102,
159,
32,
221,
7720,
121,
490,
6,
96,
427,
102,
159,
32,
221,
121,
1499,
6,
96,
448,
1014,
121,
1499,
6,
96,
24501,
121,
490,
6,
96,
448,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22557,
41,
567,
2632,
61,
8512,
21680,
953,
834,
17518,
3914,
549,
17444,
427,
96,
448,
1014,
87,
24501,
9323,
18,
3647,
61,
121,
3274,
3,
31,
13606,
13572,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
How many episodes were in the season that first aired on September 22, 1989? | CREATE TABLE table_name_98 (
episodes VARCHAR,
first_airdate VARCHAR
) | SELECT episodes FROM table_name_98 WHERE first_airdate = "september 22, 1989" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
13562,
584,
4280,
28027,
6,
166,
834,
2256,
5522,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
13562,
130,
16,
8,
774,
24,
166,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
13562,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
166,
834,
2256,
5522,
3274,
96,
7,
6707,
18247,
12889,
9975,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find the name of all students who were in the tryout sorted in alphabetic order, and count them by a bar chart | CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
)
CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision varchar(3)
)
CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr numeric(5,0)
) | SELECT pName, COUNT(pName) FROM Player AS T1 JOIN Tryout AS T2 ON T1.pID = T2.pID GROUP BY pName ORDER BY T1.pName | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
12387,
41,
3,
102,
4309,
206,
17552,
599,
11116,
632,
201,
3,
102,
23954,
3,
4331,
4059,
599,
1755,
201,
3,
63,
6936,
26,
3,
4331,
4059,
17867,
6,
3,
4950,
206,
17552,
599,
11116,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
102,
23954,
6,
2847,
17161,
599,
102,
23954,
61,
21680,
12387,
6157,
332,
536,
3,
15355,
3162,
5263,
670,
6157,
332,
357,
9191,
332,
5411,
102,
4309,
3274,
332,
4416,
102,
4309,
350,
4630,
6880,
272,
476,
3,
102,... |
On what platform does Mindark publish? | CREATE TABLE table_67024 (
"Title" text,
"Year" text,
"Developer" text,
"Publisher" text,
"Platform" text
) | SELECT "Platform" FROM table_67024 WHERE "Publisher" = 'mindark' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
632,
2266,
41,
96,
382,
155,
109,
121,
1499,
6,
96,
476,
2741,
121,
1499,
6,
96,
2962,
162,
8745,
49,
121,
1499,
6,
96,
31009,
49,
121,
1499,
6,
96,
10146,
2032,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
96,
10146,
2032,
121,
21680,
953,
834,
3708,
632,
2266,
549,
17444,
427,
96,
31009,
49,
121,
3274,
3,
31,
14481,
6604,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Return a histogram on how many hosts does each nationality have? List the nationality and the count, could you list in desc by the y axis? | CREATE TABLE party (
Party_ID int,
Party_Theme text,
Location text,
First_year text,
Last_year text,
Number_of_hosts int
)
CREATE TABLE party_host (
Party_ID int,
Host_ID int,
Is_Main_in_Charge bool
)
CREATE TABLE host (
Host_ID int,
Name text,
Nationality text,
Age... | SELECT Nationality, COUNT(*) FROM host GROUP BY Nationality ORDER BY COUNT(*) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1088,
41,
3450,
834,
4309,
16,
17,
6,
3450,
834,
634,
526,
1499,
6,
10450,
1499,
6,
1485,
834,
1201,
1499,
6,
2506,
834,
1201,
1499,
6,
7720,
834,
858,
834,
12675,
7,
16,
17,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
868,
485,
6,
2847,
17161,
599,
1935,
61,
21680,
2290,
350,
4630,
6880,
272,
476,
868,
485,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What team lost on May 1? | CREATE TABLE table_69874 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
) | SELECT "Loss" FROM table_69874 WHERE "Date" = 'may 1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
4225,
591,
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,
1649,
7621,
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,
0,
0,
0... | [
3,
23143,
14196,
96,
434,
32,
7,
7,
121,
21680,
953,
834,
3951,
4225,
591,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
13726,
209,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the name of the opponent when the method was ko (slam), and record was 13 1? | CREATE TABLE table_name_21 (
opponent VARCHAR,
method VARCHAR,
record VARCHAR
) | SELECT opponent FROM table_name_21 WHERE method = "ko (slam)" AND record = "13–1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
15264,
584,
4280,
28027,
6,
1573,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
564,
13,
8,
15264,
116... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15264,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
1573,
3274,
96,
157,
32,
41,
7,
40,
265,
61,
121,
3430,
1368,
3274,
96,
2368,
104,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
On November 20, 1994, what was the result of the game? | CREATE TABLE table_name_65 (
result VARCHAR,
date VARCHAR
) | SELECT result FROM table_name_65 WHERE date = "november 20, 1994" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
741,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
461,
1671,
16047,
7520,
6,
125,
47,
8,
741,
13,
8,
467,
58,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
833,
3274,
96,
5326,
18247,
16047,
7520,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many papers are published in emnlp ? | CREATE TABLE field (
fieldid int
)
CREATE TABLE writes (
paperid int,
authorid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int... | SELECT DISTINCT COUNT(paper.paperid) FROM paper, venue WHERE venue.venueid = paper.venueid AND venue.venuename = 'emnlp' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1057,
41,
1057,
23,
26,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
11858,
41,
1040,
23,
26,
16,
17,
6,
2291,
23,
26,
16,
17,
3,
61,
3,
32102,
32103,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
2847,
17161,
599,
19587,
5,
19587,
23,
26,
61,
21680,
1040,
6,
5669,
549,
17444,
427,
5669,
5,
15098,
23,
26,
3274,
1040,
5,
15098,
23,
26,
3430,
5669,
5,
15098,
4350,
3274,
3,
31,
15,
51,
... |
What was Northerly's result at the race on 19 Oct 2002? | CREATE TABLE table_18849 (
"Result" text,
"Date" text,
"Race" text,
"Venue" text,
"Group" text,
"Distance" text,
"Weight (kg)" real,
"Jockey" text,
"Winner/2nd" text
) | SELECT "Result" FROM table_18849 WHERE "Date" = '19 Oct 2002' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25794,
3647,
41,
96,
20119,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
448,
3302,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
27247,
121,
1499,
6,
96,
308,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20119,
121,
21680,
953,
834,
25794,
3647,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
2294,
6416,
4407,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many losses did the golden rivers of ultima have when wins were less than 12 and byes larger than 2? | CREATE TABLE table_60463 (
"Golden Rivers" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) | SELECT COUNT("Losses") FROM table_60463 WHERE "Wins" < '12' AND "Golden Rivers" = 'ultima' AND "Byes" > '2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
4448,
519,
41,
96,
23576,
35,
2473,
7,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
279,
10070,
121,
490,
6,
96,
434,
13526,
7,
121,
490,
6,
96,
308,
10936,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
434,
13526,
7,
8512,
21680,
953,
834,
3328,
4448,
519,
549,
17444,
427,
96,
18455,
7,
121,
3,
2,
3,
31,
2122,
31,
3430,
96,
23576,
35,
2473,
7,
121,
3274,
3,
31,
83,
2998,
9,
31,
3430,
9... |
what is the built when s.r. number is less than 2033, lb&sc number is less than 18, notes is i2 and withdrawal is cannot handle non-empty timestamp argument! 1935? | CREATE TABLE table_name_48 (built VARCHAR, withdrawal VARCHAR, notes VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR) | SELECT built FROM table_name_48 WHERE sr_number < 2033 AND lb & sc_number < 18 AND notes = "i2" AND withdrawal = "cannot handle non-empty timestamp argument! 1935" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
16152,
584,
4280,
28027,
6,
11905,
584,
4280,
28027,
6,
3358,
584,
4280,
28027,
6,
3,
7,
52,
834,
5525,
1152,
584,
4280,
28027,
6,
3,
40,
115,
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,
1192,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
3,
7,
52,
834,
5525,
1152,
3,
2,
460,
4201,
3430,
3,
40,
115,
3,
184,
3,
7,
75,
834,
5525,
1152,
3,
2,
507,
3430,
3358,
3274,
96,
23,
357,
121,
3430,
... |
what is subject name and lab test category of subject id 2110? | 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... | SELECT demographic.name, lab."CATEGORY" FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2110" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
4350,
6,
7690,
535,
254,
6048,
5577,
11824,
121,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,
427,
14798,
5,
7... |
In 1948-10-28, what were the lowest Goals in Tehran, Iran? | CREATE TABLE table_name_75 (goals INTEGER, venue VARCHAR, date VARCHAR) | SELECT MIN(goals) FROM table_name_75 WHERE venue = "tehran, iran" AND date = "1948-10-28" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
839,
5405,
3,
21342,
17966,
6,
5669,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
21474,
4536,
18,
2577,
6,
125,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
839,
5405,
61,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
5669,
3274,
96,
17,
7392,
152,
6,
3,
23,
2002,
121,
3430,
833,
3274,
96,
2294,
3707,
4536,
18,
2577,
121,
1,
-100,
-100,
-100,
-100,... |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of email and manager_id in a bar chart. | CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40)... | SELECT EMAIL, 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,
6266,
41,
4083,
517,
9215,
834,
4309,
7908,
1982,
599,
11116,
632,
201,
4083,
517,
9215,
834,
567,
17683,
3,
4331,
4059,
599,
1828,
61,
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,
3,
20211,
3502,
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,
17444,
427,
283,
15610,
17966,
... |
Who's the athlete with a wind of 1.7 and from the United States? | CREATE TABLE table_name_50 (
athlete VARCHAR,
nationality VARCHAR,
wind VARCHAR
) | SELECT athlete FROM table_name_50 WHERE nationality = "united states" AND wind = "1.7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
17893,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
6,
2943,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
31,
7,
8,
17893,
28,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
17893,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
1157,
485,
3274,
96,
15129,
15,
26,
2315,
121,
3430,
2943,
3274,
96,
18596,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How did he place in 1970? | CREATE TABLE table_name_58 (
result VARCHAR,
year VARCHAR
) | SELECT result FROM table_name_58 WHERE year = 1970 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
741,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
410,
3,
88,
286,
16,
7434,
58,
1,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
215,
3274,
7434,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
how many gold medals did italy , belgium and ireland have altogether . | CREATE TABLE table_203_314 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) | SELECT SUM("gold") FROM table_203_314 WHERE "nation" IN ('italy', 'belgium', 'ireland') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
519,
2534,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
29,
257,
121,
1499,
6,
96,
14910,
121,
381,
6,
96,
7,
173,
624,
121,
381,
6,
96,
13711,
776,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
14910,
8512,
21680,
953,
834,
23330,
834,
519,
2534,
549,
17444,
427,
96,
29,
257,
121,
3388,
41,
31,
9538,
63,
31,
6,
3,
31,
2370,
122,
2552,
31,
6,
3,
31,
2060,
40,
232,
31,
61,
1,
-100,... |
What was the record when the Denver Broncos played the New York Titans at Bears Stadium? | CREATE TABLE table_name_44 (
record VARCHAR,
game_site VARCHAR,
opponent VARCHAR
) | SELECT record FROM table_name_44 WHERE game_site = "bears stadium" AND opponent = "new york titans" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
1368,
584,
4280,
28027,
6,
467,
834,
3585,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1368,
116,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
467,
834,
3585,
3274,
96,
346,
291,
7,
14939,
121,
3430,
15264,
3274,
96,
5534,
25453,
29243,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the kickoff time for the Hubert H. Humphrey Metrodome? | CREATE TABLE table_name_12 (kickoff_ VARCHAR, a_ VARCHAR, game_site VARCHAR) | SELECT kickoff_[a_] FROM table_name_12 WHERE game_site = "hubert h. humphrey metrodome" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
157,
3142,
1647,
834,
584,
4280,
28027,
6,
3,
9,
834,
584,
4280,
28027,
6,
467,
834,
3585,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
4583,
1647,
834,
6306,
9,
834,
908,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
467,
834,
3585,
3274,
96,
16420,
49,
17,
3,
107,
5,
3,
4884,
102,
107,
60,
63,
12810,
5012,
15,
121,
1,
-100,
-100,
-100,
-1... |
What is shown for ends lost when pa is 44? | CREATE TABLE table_25689740_2 (Ends VARCHAR, pa VARCHAR) | SELECT Ends AS lost FROM table_25689740_2 WHERE pa = 44 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
3651,
4327,
2445,
834,
357,
41,
8532,
26,
7,
584,
4280,
28027,
6,
2576,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
2008,
21,
5542,
1513,
116,
2576,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3720,
7,
6157,
1513,
21680,
953,
834,
1828,
3651,
4327,
2445,
834,
357,
549,
17444,
427,
2576,
3274,
8537,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the saturated fat with a total fat of 100g and 11g of polyunsaturated fat? | CREATE TABLE table_name_94 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR) | SELECT saturated_fat FROM table_name_94 WHERE total_fat = "100g" AND polyunsaturated_fat = "11g" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
7,
6010,
920,
834,
6589,
584,
4280,
28027,
6,
792,
834,
6589,
584,
4280,
28027,
6,
4251,
202,
7,
6010,
920,
834,
6589,
584,
4280,
28027,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
25703,
834,
6589,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
792,
834,
6589,
3274,
96,
2915,
122,
121,
3430,
4251,
202,
7,
6010,
920,
834,
6589,
3274,
96,
2596,
122,
121,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
How many patients aged below 77 years old died? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.age < "77" | [
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,
549,
17444,
427,
14798,
5,
994,
2388,
15,
834,
89,
5430,
3274,
96,
536,
121,
3430,
14798,
5,
545,
3,
2,
96,
4013,
121,
1,... |
What models have an a2 barrel profile? | CREATE TABLE table_17835 (
"Colt model no." text,
"Name" text,
"Stock" text,
"Fire control" text,
"Rear sight" text,
"Forward assist" text,
"Barrel length" text,
"Barrel profile" text,
"Barrel twist" text,
"Hand guards" text,
"Bayonet Lug" text,
"Muzzle device" text
) | SELECT "Name" FROM table_17835 WHERE "Barrel profile" = 'A2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27640,
2469,
41,
96,
9939,
17,
825,
150,
535,
1499,
6,
96,
23954,
121,
1499,
6,
96,
134,
17,
3961,
121,
1499,
6,
96,
3183,
60,
610,
121,
1499,
6,
96,
1649,
291,
6398,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23954,
121,
21680,
953,
834,
27640,
2469,
549,
17444,
427,
96,
14851,
60,
40,
3278,
121,
3274,
3,
31,
188,
357,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Venue has a Home team score of 13.13 (91)? | CREATE TABLE table_55567 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_55567 WHERE "Home team score" = '13.13 (91)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
28803,
3708,
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,
553,
35,
76,
15,
121,
21680,
953,
834,
28803,
3708,
549,
17444,
427,
96,
19040,
372,
2604,
121,
3274,
3,
31,
2368,
5,
2368,
14156,
6982,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total number of Wins, when Points is less than 1? | CREATE TABLE table_9508 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Wins" real
) | SELECT COUNT("Wins") FROM table_9508 WHERE "Points" < '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3301,
4018,
41,
96,
476,
2741,
121,
490,
6,
96,
21486,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
22512,
7,
121,
490,
6,
96,
18455,
7,
121,
490,
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,
121,
18455,
7,
8512,
21680,
953,
834,
3301,
4018,
549,
17444,
427,
96,
22512,
7,
121,
3,
2,
3,
31,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the home team score at Kardinia Park? | CREATE TABLE table_name_43 (
home_team VARCHAR,
venue VARCHAR
) | SELECT home_team AS score FROM table_name_43 WHERE venue = "kardinia park" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
234,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
234,
372,
2604,
44,
4556,
2644,
23,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
234,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
5669,
3274,
96,
4031,
2644,
23,
9,
2447,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
give me the number of patients whose death status is 0 and procedure short title is arterial catheterization? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.short_title = "Arterial catheterization" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
For each grant id, how many documents does it have, and which one has the most? | CREATE TABLE projects (
project_id number,
organisation_id number,
project_details text
)
CREATE TABLE research_outcomes (
outcome_code text,
outcome_description text
)
CREATE TABLE staff_roles (
role_code text,
role_description text
)
CREATE TABLE organisations (
organisation_id numb... | SELECT grant_id, COUNT(*) FROM documents GROUP BY grant_id ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1195,
41,
516,
834,
23,
26,
381,
6,
5102,
834,
23,
26,
381,
6,
516,
834,
221,
5756,
7,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
585,
834,
670,
287,
15,
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,
5334,
834,
23,
26,
6,
2847,
17161,
599,
1935,
61,
21680,
2691,
350,
4630,
6880,
272,
476,
5334,
834,
23,
26,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100... |
What is the highest number of the match with julio c sar v squez as the opponent? | CREATE TABLE table_69453 (
"Number" real,
"Name" text,
"Titles" text,
"Date" text,
"Opponent" text,
"Result" text
) | SELECT MAX("Number") FROM table_69453 WHERE "Opponent" = 'julio césar vásquez' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
2128,
519,
41,
96,
567,
5937,
49,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
382,
155,
965,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
567,
5937,
49,
8512,
21680,
953,
834,
3951,
2128,
519,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
354,
83,
23,
32,
3,
75,
899,
291,
3,
208,
2975,
7,
835,
172,
31,
1,
-100,
-100,
... |
how many patients whose ethnicity is white - russian and primary disease is coronary artery disease\coronary artery bypass graft; myomectomy/sda? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT; MYOMECTOMY/SDA" | [
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,
15,
189,
2532,
485,
3274,
96,
15313,
14871,
3,
18,
3,
8503,
4256,
21758,
121,
3430,
14798,
5,
25... |
What is the number of titles for the city of gy r with a rank larger than 4? | CREATE TABLE table_name_47 (
titles INTEGER,
city VARCHAR,
rank VARCHAR
) | SELECT SUM(titles) FROM table_name_47 WHERE city = "győr" AND rank > 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
8342,
3,
21342,
17966,
6,
690,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
381,
13,
8342,
21,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
21869,
7,
61,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
690,
3274,
96,
122,
63,
2,
52,
121,
3430,
11003,
2490,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Date when the Set 2 is 13 25? | CREATE TABLE table_name_32 (
date VARCHAR,
set_2 VARCHAR
) | SELECT date FROM table_name_32 WHERE set_2 = "13–25" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
833,
584,
4280,
28027,
6,
356,
834,
357,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7678,
116,
8,
2821,
204,
19,
1179,
944,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
356,
834,
357,
3274,
96,
2368,
104,
1828,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the location and attendance for the Orlando team? | CREATE TABLE table_17323092_6 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_17323092_6 WHERE team = "Orlando" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2668,
1458,
4508,
834,
948,
41,
14836,
834,
15116,
663,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1128,
11,
11364,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1128,
834,
15116,
663,
21680,
953,
834,
2517,
2668,
1458,
4508,
834,
948,
549,
17444,
427,
372,
3274,
96,
667,
7721,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Tell me the title for japan august 23, 2012 | CREATE TABLE table_name_57 (
title VARCHAR,
japan VARCHAR
) | SELECT title FROM table_name_57 WHERE japan = "august 23, 2012" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
2233,
584,
4280,
28027,
6,
2662,
2837,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
8779,
140,
8,
2233,
21,
2662,
2837,
14663,
12992,
1673,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2233,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
2662,
2837,
3274,
96,
402,
17198,
12992,
1673,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the attendance for a week larger than 3, and an opponent of philadelphia eagles? | CREATE TABLE table_name_58 (
attendance VARCHAR,
week VARCHAR,
opponent VARCHAR
) | SELECT attendance FROM table_name_58 WHERE week > 3 AND opponent = "philadelphia eagles" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
11364,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
11364,
21,
3,
9,
471,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
11364,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
471,
2490,
220,
3430,
15264,
3274,
96,
18118,
15311,
11692,
9,
3,
15,
9,
3537,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
count the number of patients who had automated reticulocyte count lab test done and were discharged to skilled nursing facility. | 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 INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.discharge_location = "SNF" AND lab.label = "Reticulocyte Count, Automated" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
Name the head of household for married filing jointly or qualified widow(er) being $137,051 $208,850 | CREATE TABLE table_name_32 (
head_of_household VARCHAR,
married_filing_jointly_or_qualified_widow_er_ VARCHAR
) | SELECT head_of_household FROM table_name_32 WHERE married_filing_jointly_or_qualified_widow_er_ = "$137,051–$208,850" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
819,
834,
858,
834,
1840,
6134,
584,
4280,
28027,
6,
4464,
834,
8027,
53,
834,
1927,
77,
17,
120,
834,
127,
834,
23058,
834,
12018,
2381,
834,
49,
834,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
819,
834,
858,
834,
1840,
6134,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
4464,
834,
8027,
53,
834,
1927,
77,
17,
120,
834,
127,
834,
23058,
834,
12018,
2381,
834,
49,
834,
3274,
96,
3229,
24636,
6,
3076,
... |
The Crvena Zvezda club has what aggregate? | CREATE TABLE table_46376 (
"Season" text,
"Competition" text,
"Round" text,
"Club" text,
"Home" text,
"Away" text,
"Aggregate" text
) | SELECT "Aggregate" FROM table_46376 WHERE "Club" = 'crvena zvezda' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
519,
3959,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
254,
11158,
121,
1499,
6,
96,
19040,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
122,
18301,
342,
121,
21680,
953,
834,
4448,
519,
3959,
549,
17444,
427,
96,
254,
11158,
121,
3274,
3,
31,
75,
52,
1926,
9,
3,
172,
6071,
26,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the Singapore Gross with a Title that is 2000? | CREATE TABLE table_name_74 (singapore_gross VARCHAR, title VARCHAR) | SELECT singapore_gross FROM table_name_74 WHERE title = "2000" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
7,
53,
9,
21642,
834,
3844,
7,
7,
584,
4280,
28027,
6,
2233,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
6243,
17969,
28,
3,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
10159,
9,
21642,
834,
3844,
7,
7,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
2233,
3274,
96,
13527,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the away team's score for the match played at Victoria Park? | CREATE TABLE table_33500 (
"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_33500 WHERE "Venue" = 'victoria park' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4201,
2560,
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,
2604,
121,
21680,
953,
834,
4201,
2560,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
7287,
3600,
9,
2447,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who was the young rider classification when Alessandro Petacchi won? | CREATE TABLE table_30586 (
"Stage" real,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Young rider classification" text
) | SELECT "Young rider classification" FROM table_30586 WHERE "Winner" = 'Alessandro Petacchi' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26724,
3840,
41,
96,
134,
6505,
121,
490,
6,
96,
18455,
687,
121,
1499,
6,
96,
20857,
13774,
121,
1499,
6,
96,
22512,
7,
13774,
121,
1499,
6,
96,
329,
32,
14016,
77,
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,
3774,
1725,
2564,
52,
13774,
121,
21680,
953,
834,
26724,
3840,
549,
17444,
427,
96,
18455,
687,
121,
3274,
3,
31,
188,
924,
9,
22357,
5520,
9,
75,
1436,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the total numbe rof years for gaby weissen mireille kosmala | CREATE TABLE table_6543 (
"Year" real,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
) | SELECT COUNT("Year") FROM table_6543 WHERE "Women's doubles" = 'gaby weissen mireille kosmala' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4122,
4906,
41,
96,
476,
2741,
121,
490,
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,
2847,
17161,
599,
121,
476,
2741,
8512,
21680,
953,
834,
4122,
4906,
549,
17444,
427,
96,
518,
32,
904,
31,
7,
1486,
7,
121,
3274,
3,
31,
21784,
63,
62,
14379,
1870,
15955,
3,
9692,
1982,
9,
31,
1,
-100,
-100,
-... |
Which providers don't use exchange server? | CREATE TABLE table_19366 (
"Application" text,
"Version" text,
"Cmdlets" text,
"Provider" text,
"Management GUI" text
) | SELECT "Provider" FROM table_19366 WHERE "Application" = 'Exchange Server' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
519,
3539,
41,
96,
188,
102,
13555,
121,
1499,
6,
96,
5000,
1938,
121,
1499,
6,
96,
254,
51,
26,
7677,
121,
1499,
6,
96,
3174,
6961,
49,
121,
1499,
6,
96,
30854,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3174,
6961,
49,
121,
21680,
953,
834,
2294,
519,
3539,
549,
17444,
427,
96,
188,
102,
13555,
121,
3274,
3,
31,
5420,
13073,
5860,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the length of fleet number 501-506? | CREATE TABLE table_name_62 (
length VARCHAR,
fleet_number VARCHAR
) | SELECT length FROM table_name_62 WHERE fleet_number = "501-506" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
2475,
584,
4280,
28027,
6,
9111,
834,
5525,
1152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2475,
13,
9111,
381,
3,
20176,
45... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2475,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
9111,
834,
5525,
1152,
3274,
96,
20176,
4525,
5176,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When the Away team is essendon, what's the Home team score? | CREATE TABLE table_name_99 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_99 WHERE away_team = "essendon" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
5515,
834,
11650,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
8,
71,
1343,
372,
19,
3,
8185,
2029,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
234,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
550,
834,
11650,
3274,
96,
8185,
2029,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the D 49 when D 47 is d 67 +? | CREATE TABLE table_name_37 (
d_49_√ VARCHAR,
d_47_√ VARCHAR
) | SELECT d_49_√ FROM table_name_37 WHERE d_47_√ = "d 67 +" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
3,
26,
834,
3647,
834,
2,
584,
4280,
28027,
6,
3,
26,
834,
4177,
834,
2,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
309,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
26,
834,
3647,
834,
2,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
3,
26,
834,
4177,
834,
2,
3274,
96,
26,
3,
3708,
1768,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who remixed the version after 1999? | CREATE TABLE table_name_97 (
remixed_by VARCHAR,
year INTEGER
) | SELECT remixed_by FROM table_name_97 WHERE year > 1999 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
26063,
15,
26,
834,
969,
584,
4280,
28027,
6,
215,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
26063,
15,
26,
8,
988,
227,
5247,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
26063,
15,
26,
834,
969,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
215,
2490,
5247,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the highest number of gold medals for the team ranked 7 with less than 3 bronze? | CREATE TABLE table_33484 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT MAX("Gold") FROM table_33484 WHERE "Rank" = '7' AND "Bronze" < '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3710,
4608,
41,
96,
22557,
121,
1499,
6,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23576,
8512,
21680,
953,
834,
519,
3710,
4608,
549,
17444,
427,
96,
22557,
121,
3274,
3,
31,
940,
31,
3430,
96,
22780,
29,
776,
121,
3,
2,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100... |
What are the ids and durations of the trips with the top 3 durations? | CREATE TABLE trip (
id VARCHAR,
duration VARCHAR
) | SELECT id, duration FROM trip ORDER BY duration DESC LIMIT 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1469,
41,
3,
23,
26,
584,
4280,
28027,
6,
8659,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
3,
23,
26,
7,
11,
8659,
7,
13,
8,
6846,
28,
8,
420,
220,
865... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
23,
26,
6,
8659,
21680,
1469,
4674,
11300,
272,
476,
8659,
309,
25067,
8729,
12604,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Show the game name that has most number of hours played. | CREATE TABLE plays_games (
stuid number,
gameid number,
hours_played number
)
CREATE TABLE sportsinfo (
stuid number,
sportname text,
hoursperweek number,
gamesplayed number,
onscholarship text
)
CREATE TABLE video_games (
gameid number,
gname text,
gtype text
)
CREATE TAB... | SELECT gname FROM plays_games AS T1 JOIN video_games AS T2 ON T1.gameid = T2.gameid GROUP BY T1.gameid ORDER BY SUM(hours_played) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4805,
834,
7261,
7,
41,
21341,
23,
26,
381,
6,
467,
23,
26,
381,
6,
716,
834,
4895,
15,
26,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2100,
9583,
41,
21341,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
122,
4350,
21680,
4805,
834,
7261,
7,
6157,
332,
536,
3,
15355,
3162,
671,
834,
7261,
7,
6157,
332,
357,
9191,
332,
5411,
7261,
23,
26,
3274,
332,
4416,
7261,
23,
26,
350,
4630,
6880,
272,
476,
332,
5411,
7261,... |
What is the location of the game that was televised on ESPNU at 7:15 pm on Tue., Nov. 27? | CREATE TABLE table_name_89 (
location VARCHAR,
date VARCHAR,
television VARCHAR,
time VARCHAR
) | SELECT location FROM table_name_89 WHERE television = "espnu" AND time = "7:15 pm" AND date = "tue., nov. 27" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
1128,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
6,
4390,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1128,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
4390,
3274,
96,
15,
7,
102,
29,
76,
121,
3430,
97,
3274,
96,
940,
10,
1808,
6366,
121,
3430,
833,
3274,
96,
17,
76,
15,
5,
6,
3,
5326,
5,
2307,
121,
1,
... |
What is the altitude for the distance medellin downtown (km) is 42? | CREATE TABLE table_name_10 (altitude_m VARCHAR, distance_medellín_downtown___km__ VARCHAR) | SELECT altitude_m FROM table_name_10 WHERE distance_medellín_downtown___km__ = "42" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
138,
6592,
834,
51,
584,
4280,
28027,
6,
2357,
834,
2726,
3820,
2,
29,
834,
3035,
3540,
834,
834,
834,
5848,
834,
834,
584,
4280,
28027,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
491,
6592,
834,
51,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
2357,
834,
2726,
3820,
2,
29,
834,
3035,
3540,
834,
834,
834,
5848,
834,
834,
3274,
96,
4165,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Draw a bar chart of main industry versus total number of market value, I want to show by the X-axis from low to high. | CREATE TABLE gas_station (
Station_ID int,
Open_Year int,
Location text,
Manager_Name text,
Vice_Manager_Name text,
Representative_Name text
)
CREATE TABLE station_company (
Station_ID int,
Company_ID int,
Rank_of_the_Year int
)
CREATE TABLE company (
Company_ID int,
Rank i... | SELECT Main_Industry, SUM(Market_Value) FROM company GROUP BY Main_Industry ORDER BY Main_Industry | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1807,
834,
6682,
41,
5939,
834,
4309,
16,
17,
6,
2384,
834,
476,
2741,
16,
17,
6,
10450,
1499,
6,
3440,
834,
23954,
1499,
6,
8236,
834,
27272,
834,
23954,
1499,
6,
13517,
834,
23954,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5140,
834,
1570,
8655,
8224,
6,
180,
6122,
599,
22572,
834,
18392,
76,
15,
61,
21680,
349,
350,
4630,
6880,
272,
476,
5140,
834,
1570,
8655,
8224,
4674,
11300,
272,
476,
5140,
834,
1570,
8655,
8224,
1,
-100,
-100,
-... |
What is the Place of the Player with a Score of 67? | CREATE TABLE table_name_16 (
place VARCHAR,
score VARCHAR
) | SELECT place FROM table_name_16 WHERE score = 67 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
286,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3399,
13,
8,
12387,
28,
3,
9,
17763,
13,
3,
3708,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
2604,
3274,
3,
3708,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the highest number of goals scored | CREATE TABLE table_26962 (
"Name" text,
"Position" text,
"Period" text,
"Appearances\u00b9" real,
"Goals\u00b9" real,
"Nationality\u00b2" text
) | SELECT MAX("Goals\u00b9") FROM table_26962 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
4314,
357,
41,
96,
23954,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
12988,
23,
32,
26,
121,
1499,
6,
96,
9648,
2741,
663,
7,
2,
76,
1206,
115,
1298,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6221,
5405,
2,
76,
1206,
115,
1298,
8512,
21680,
953,
834,
2688,
4314,
357,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the party a for sriperumbudur | CREATE TABLE table_25277 (
"Constituency" text,
"Winner" text,
"Party" text,
"Margin" real,
"Runner-up a" text,
"Party a" text
) | SELECT "Party a" FROM table_25277 WHERE "Constituency" = 'Sriperumbudur' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
357,
4013,
41,
96,
4302,
2248,
17,
76,
4392,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
7286,
122,
77,
121,
490,
6,
96,
23572,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
13725,
63,
3,
9,
121,
21680,
953,
834,
1828,
357,
4013,
549,
17444,
427,
96,
4302,
2248,
17,
76,
4392,
121,
3274,
3,
31,
134,
5082,
49,
440,
11073,
450,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Game has a Streak of loss 1, and a Score of 110–111? | CREATE TABLE table_name_80 (game VARCHAR, streak VARCHAR, score VARCHAR) | SELECT game FROM table_name_80 WHERE streak = "loss 1" AND score = "110–111" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
7261,
584,
4280,
28027,
6,
18631,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
4435,
65,
3,
9,
472,
60,
1639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
18631,
3274,
96,
2298,
7,
209,
121,
3430,
2604,
3274,
96,
19277,
104,
15866,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is the total number of texan victories ? | CREATE TABLE table_204_429 (
id number,
"battle" text,
"location" text,
"date(s)" text,
"engagement remarks" text,
"victor" text
) | SELECT COUNT(*) FROM table_204_429 WHERE "victor" = 't' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
591,
3166,
41,
3,
23,
26,
381,
6,
96,
115,
9,
8692,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
5522,
599,
7,
61,
121,
1499,
6,
96,
25123,
21029,
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,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
26363,
834,
591,
3166,
549,
17444,
427,
96,
2099,
5317,
121,
3274,
3,
31,
17,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which years have a rank less than 2? | CREATE TABLE table_name_88 (
years VARCHAR,
rank INTEGER
) | SELECT years FROM table_name_88 WHERE rank < 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
203,
584,
4280,
28027,
6,
11003,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
203,
43,
3,
9,
11003,
705,
145,
204,
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,
203,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
11003,
3,
2,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which score has a Date of october 29, 2008? | CREATE TABLE table_name_70 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_70 WHERE date = "october 29, 2008" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
7,
9022,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2604,
65,
3,
9,
7678,
13,
3,
32,
75,
235,
1152,
14405,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2518,
549,
17444,
427,
833,
3274,
96,
32,
75,
235,
1152,
14405,
2628,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many Bronze medals were received by the nation that Ranked less than 5 and received more than 2 Gold medals, less than 4 Silver medals with a Total of 9 medals? | CREATE TABLE table_name_70 (
bronze INTEGER,
silver VARCHAR,
total VARCHAR,
rank VARCHAR,
gold VARCHAR
) | SELECT AVG(bronze) FROM table_name_70 WHERE rank < 5 AND gold > 2 AND total = 9 AND silver < 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
13467,
3,
21342,
17966,
6,
4294,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
2045,
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,
71,
17217,
599,
13711,
776,
61,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
11003,
3,
2,
305,
3430,
2045,
2490,
204,
3430,
792,
3274,
668,
3430,
4294,
3,
2,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Score of the Round with Player Aaron Baddeley having a To par of +2? | CREATE TABLE table_name_61 (
score VARCHAR,
to_par VARCHAR,
player VARCHAR
) | SELECT score FROM table_name_61 WHERE to_par = "+2" AND player = "aaron baddeley" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
2604,
584,
4280,
28027,
6,
12,
834,
1893,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
17763,
13,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
12,
834,
1893,
3274,
96,
1220,
357,
121,
3430,
1959,
3274,
96,
9,
291,
106,
1282,
221,
1306,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what label was she working with before universal music ? | CREATE TABLE table_203_276 (
id number,
"album#" text,
"english title" text,
"chinese (traditional)" text,
"chinese (simplified)" text,
"release date" text,
"label" text
) | SELECT "label" FROM table_203_276 WHERE id = (SELECT id FROM table_203_276 WHERE "label" = 'universal music') - 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
357,
3959,
41,
3,
23,
26,
381,
6,
96,
23703,
4663,
121,
1499,
6,
96,
4606,
40,
1273,
2233,
121,
1499,
6,
96,
1436,
1496,
15,
41,
26374,
61,
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,
40,
10333,
121,
21680,
953,
834,
23330,
834,
357,
3959,
549,
17444,
427,
3,
23,
26,
3274,
41,
23143,
14196,
3,
23,
26,
21680,
953,
834,
23330,
834,
357,
3959,
549,
17444,
427,
96,
40,
10333,
121,
3274,
3,
31,
... |
Who was the opponent on November 12, 1972? | CREATE TABLE table_name_19 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_19 WHERE date = "november 12, 1972" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2294,
41,
32,
102,
9977,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
15264,
30,
1671,
10440,
16583,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
2294,
549,
17444,
427,
833,
3274,
96,
5326,
18247,
10440,
16583,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Show me about the distribution of Sex and the sum of Height , and group by attribute Sex in a bar chart. | CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight re... | SELECT Sex, SUM(Height) FROM people GROUP BY Sex | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4775,
41,
25833,
17,
15,
834,
4309,
16,
17,
6,
2449,
834,
4309,
16,
17,
6,
14457,
834,
23799,
1499,
6,
7678,
1499,
6,
4224,
834,
2206,
490,
6,
9151,
834,
2206,
490,
6,
4495,
2748,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
679,
226,
6,
180,
6122,
599,
3845,
2632,
61,
21680,
151,
350,
4630,
6880,
272,
476,
679,
226,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the zip code the county named 'Howard' is located in? | CREATE TABLE election (
election_id number,
counties_represented text,
district number,
delegate text,
party number,
first_elected number,
committee text
)
CREATE TABLE party (
party_id number,
year number,
party text,
governor text,
lieutenant_governor text,
comptro... | SELECT zip_code FROM county WHERE county_name = "Howard" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4356,
41,
4356,
834,
23,
26,
381,
6,
16227,
834,
29845,
1499,
6,
3939,
381,
6,
20,
8791,
1499,
6,
1088,
381,
6,
166,
834,
19971,
381,
6,
4492,
1499,
3,
61,
3,
32102,
32103,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
10658,
834,
4978,
21680,
5435,
549,
17444,
427,
5435,
834,
4350,
3274,
96,
7825,
986,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the laops of marcis auto racing? | CREATE TABLE table_17376 (
"Finish" real,
"Start" real,
"Car No." real,
"Driver" text,
"Car Name" text,
"Car Make" text,
"Entrant" text,
"Laps" real,
"Status" text
) | SELECT "Laps" FROM table_17376 WHERE "Entrant" = 'Marcis Auto Racing' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
519,
3959,
41,
96,
371,
77,
1273,
121,
490,
6,
96,
7681,
17,
121,
490,
6,
96,
6936,
465,
535,
490,
6,
96,
20982,
52,
121,
1499,
6,
96,
6936,
5570,
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,
3612,
102,
7,
121,
21680,
953,
834,
2517,
519,
3959,
549,
17444,
427,
96,
16924,
3569,
121,
3274,
3,
31,
329,
9,
21645,
2040,
16046,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the team 1 for round 3 | CREATE TABLE table_31904 (
"Round" text,
"Match" text,
"Name" text,
"Team 1" text,
"!!Team 2" text
) | SELECT "Team 1" FROM table_31904 WHERE "Round" = '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
11776,
591,
41,
96,
448,
32,
1106,
121,
1499,
6,
96,
329,
14547,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
18699,
209,
121,
1499,
6,
96,
1603,
18699,
204,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
18699,
209,
121,
21680,
953,
834,
519,
11776,
591,
549,
17444,
427,
96,
448,
32,
1106,
121,
3274,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which Points have a Time/Retired of +49.222 secs? | CREATE TABLE table_name_5 (points INTEGER, time_retired VARCHAR) | SELECT MAX(points) FROM table_name_5 WHERE time_retired = "+49.222 secs" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
2700,
7,
3,
21342,
17966,
6,
97,
834,
10682,
1271,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
4564,
7,
43,
3,
9,
2900,
87,
1649,
11809,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
97,
834,
10682,
1271,
3274,
96,
1220,
3647,
5,
26144,
4220,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the grid of rider shinya nakano? | CREATE TABLE table_name_28 (
grid VARCHAR,
rider VARCHAR
) | SELECT grid FROM table_name_28 WHERE rider = "shinya nakano" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
8634,
584,
4280,
28027,
6,
2564,
52,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
8634,
13,
2564,
52,
18654,
9,
3,
29,
9,
3304... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8634,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
2564,
52,
3274,
96,
7,
2907,
63,
9,
3,
29,
9,
3304,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Winner, when College is 'Kentucky'? | CREATE TABLE table_name_16 (
winner VARCHAR,
college VARCHAR
) | SELECT winner FROM table_name_16 WHERE college = "kentucky" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
4668,
584,
4280,
28027,
6,
1900,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
18125,
6,
116,
1888,
19,
3,
31,
439,
295,
4636,
63,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4668,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
1900,
3274,
96,
2217,
17,
4636,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the number of wins in the playoffs league? | CREATE TABLE table_name_10 (
wins VARCHAR,
league VARCHAR
) | SELECT wins FROM table_name_10 WHERE league = "playoffs" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
9204,
584,
4280,
28027,
6,
5533,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
381,
13,
9204,
16,
8,
15289,
7,
5533,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
9204,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
5533,
3274,
96,
4895,
1647,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is Party, when Incumbent is 'Rodney Alexander'? | CREATE TABLE table_name_52 (
party VARCHAR,
incumbent VARCHAR
) | SELECT party FROM table_name_52 WHERE incumbent = "rodney alexander" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
1088,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
3450,
6,
116,
1542,
5937,
295,
19,
3,
31,
448,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1088,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
28406,
3274,
96,
9488,
3186,
1240,
226,
11849,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the highest number of ends won of 47 Ends Lost and a Shot % less than 73? | CREATE TABLE table_44132 (
"Country" text,
"Skip" text,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real,
"Shot %" real
) | SELECT MAX("Ends Won") FROM table_44132 WHERE "Ends Lost" = '47' AND "Shot %" < '73' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3628,
23757,
41,
96,
10628,
651,
121,
1499,
6,
96,
134,
2168,
102,
121,
1499,
6,
96,
8532,
26,
7,
549,
106,
121,
490,
6,
96,
8532,
26,
7,
19576,
121,
490,
6,
96,
279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8532,
26,
7,
549,
106,
8512,
21680,
953,
834,
3628,
23757,
549,
17444,
427,
96,
8532,
26,
7,
19576,
121,
3274,
3,
31,
4177,
31,
3430,
96,
134,
10718,
3,
1454,
121,
3,
2,
3,
31,
4552,
31,
1,
... |
What is the 8:30 feature with a 7:00 feature Loft Story? | CREATE TABLE table_38091 (
"7:00" text,
"7:30" text,
"8:00" text,
"8:30" text,
"9:00" text,
"9:30" text,
"10:00" text,
"10:30" text
) | SELECT "8:30" FROM table_38091 WHERE "7:00" = 'loft story' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22671,
4729,
41,
96,
18735,
121,
1499,
6,
96,
18078,
121,
1499,
6,
96,
15692,
121,
1499,
6,
96,
927,
10,
1458,
121,
1499,
6,
96,
1298,
10,
1206,
121,
1499,
6,
96,
21150,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
927,
10,
1458,
121,
21680,
953,
834,
22671,
4729,
549,
17444,
427,
96,
18735,
121,
3274,
3,
31,
40,
858,
17,
733,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Attendance of 19,741 had what average week? | CREATE TABLE table_33849 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) | SELECT AVG("Week") FROM table_33849 WHERE "Attendance" = '19,741' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3747,
3647,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
188,
17,
324,
26,
663,
121,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
518,
10266,
8512,
21680,
953,
834,
519,
3747,
3647,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
3274,
3,
31,
2294,
6,
4581,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the resolution of the fight against kiuma kunioku with a time of 15:00? | CREATE TABLE table_63486 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
) | SELECT "Res." FROM table_63486 WHERE "Time" = '15:00' AND "Opponent" = 'kiuma kunioku' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3891,
591,
3840,
41,
96,
1649,
7,
535,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
23351,
107,
32,
26,
121,
1499,
6,
96,
448,
32,
1106,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7,
535,
21680,
953,
834,
3891,
591,
3840,
549,
17444,
427,
96,
13368,
121,
3274,
3,
31,
536,
19870,
31,
3430,
96,
667,
102,
9977,
121,
3274,
3,
31,
157,
2552,
9,
3,
157,
202,
23,
18512,
31,
1,
-100,
... |
Name the average stories done after 2003 with a 16 rank | CREATE TABLE table_name_30 (
stories INTEGER,
completed VARCHAR,
rank VARCHAR
) | SELECT AVG(stories) FROM table_name_30 WHERE completed > 2003 AND rank = "16" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
1937,
3,
21342,
17966,
6,
2012,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
1348,
1937,
612,
227,
3888,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
7279,
725,
61,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
2012,
2490,
3888,
3430,
11003,
3274,
96,
2938,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the finish position for cars by Pontiac driven by Bobby Hamilton? | CREATE TABLE table_27514362_7 (pos VARCHAR, car_make VARCHAR, driver VARCHAR) | SELECT pos FROM table_27514362_7 WHERE car_make = "Pontiac" AND driver = "Bobby Hamilton" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25988,
25133,
4056,
834,
940,
41,
2748,
584,
4280,
28027,
6,
443,
834,
19509,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1992... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
2748,
21680,
953,
834,
25988,
25133,
4056,
834,
940,
549,
17444,
427,
443,
834,
19509,
3274,
96,
345,
1770,
23,
9,
75,
121,
3430,
2535,
3274,
96,
279,
32,
115,
969,
13450,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
WHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37? | CREATE TABLE table_44220 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) | SELECT SUM("Round") FROM table_44220 WHERE "College" = 'michigan' AND "Overall" > '37' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3628,
357,
1755,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
345,
3142,
121,
490,
6,
96,
23847,
1748,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
448,
32,
1106,
8512,
21680,
953,
834,
3628,
357,
1755,
549,
17444,
427,
96,
9939,
7883,
121,
3274,
3,
31,
51,
362,
12588,
31,
3430,
96,
23847,
1748,
121,
2490,
3,
31,
4118,
31,
1,
-100,
-100,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.