NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
how many stadiums have a capacity between 6000 and 8000 ? | CREATE TABLE table_203_420 (
id number,
"#" number,
"stadium" text,
"capacity" number,
"city" text,
"home team" text
) | SELECT COUNT("stadium") FROM table_203_420 WHERE "capacity" >= 6000 AND "capacity" <= 8000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
21899,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
2427,
12925,
121,
1499,
6,
96,
4010,
9,
6726,
121,
381,
6,
96,
6726,
121,
1499,
6,
96,
5515,
372,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
2427,
12925,
8512,
21680,
953,
834,
23330,
834,
21899,
549,
17444,
427,
96,
4010,
9,
6726,
121,
2490,
2423,
3,
21987,
3430,
96,
4010,
9,
6726,
121,
3,
2,
2423,
3,
25129,
1,
-100,
-100,
-100,
... |
How many points per game have the tournament 2005 eurobasket? | CREATE TABLE table_2387461_1 (
points_per_game VARCHAR,
tournament VARCHAR
) | SELECT points_per_game FROM table_2387461_1 WHERE tournament = "2005 EuroBasket" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3747,
4581,
4241,
834,
536,
41,
979,
834,
883,
834,
7261,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
979,
399,
467,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
979,
834,
883,
834,
7261,
21680,
953,
834,
357,
3747,
4581,
4241,
834,
536,
549,
17444,
427,
5892,
3274,
96,
22594,
2430,
14885,
8044,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
A line chart for finding the number of the dates of the tests taken with result 'Pass'. | CREATE TABLE Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
login_name VARCHAR(40),
password VARCHAR(10),
personal_name VARCHAR(40),
middle_name VARCHAR(40),
family_name VARCHAR(40)
)
CREATE TABLE Student_Tests_Taken (
registration_id IN... | SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4375,
41,
1236,
834,
23,
26,
3,
21342,
17966,
6,
833,
834,
858,
834,
5200,
257,
309,
6048,
382,
15382,
6,
833,
834,
858,
834,
521,
4377,
834,
2152,
106,
309,
6048,
382,
15382,
6,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
833,
834,
4377,
834,
4914,
29,
6,
2847,
17161,
599,
5522,
834,
4377,
834,
4914,
29,
61,
21680,
6341,
834,
382,
222,
7,
834,
29468,
29,
549,
17444,
427,
794,
834,
60,
7,
83,
17,
3274,
96,
20192,
121,
1,
-100,
-10... |
were drops 4-6 released on xbox 360 after they were released on playstation 3 ? | CREATE TABLE table_204_587 (
id number,
"drop(s)" text,
"multiplayer map(s)" text,
"spec ops mission(s)" text,
"face off map(s)" text,
"xbox 360 release date" text,
"playstation 3 release date" text
) | SELECT (SELECT "xbox 360 release date" FROM table_204_587 WHERE "drop(s)" = '4-6') > (SELECT "playstation 3 release date" FROM table_204_587 WHERE "drop(s)" = '4-6') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
755,
4225,
41,
3,
23,
26,
381,
6,
96,
15946,
599,
7,
61,
121,
1499,
6,
96,
23829,
20846,
2828,
599,
7,
61,
121,
1499,
6,
96,
7576,
3,
9280,
2253,
599,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
41,
23143,
14196,
96,
226,
2689,
9181,
1576,
833,
121,
21680,
953,
834,
26363,
834,
755,
4225,
549,
17444,
427,
96,
15946,
599,
7,
61,
121,
3274,
3,
31,
20445,
31,
61,
2490,
41,
23143,
14196,
96,
4895,
6682,
220,
... |
what is average days of hospital stay of patients whose year of birth is greater than 2180? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.dob_year > "2180" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
1778,
16587,
5,
1135,
7,
834,
21545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
26,
32,
115,
834,
1201,
2490,
96,
2658,
2079,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the average enrollment 08=09, for the team that had a previous conference of lake and IHSAA class of 3A? | CREATE TABLE table_name_28 (
enrollment_08_09 INTEGER,
previous_counference VARCHAR,
ihsaa_class VARCHAR
) | SELECT AVG(enrollment_08_09) FROM table_name_28 WHERE previous_counference = "lake" AND ihsaa_class = "3a" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
17938,
834,
4018,
834,
4198,
3,
21342,
17966,
6,
1767,
834,
3422,
29,
11788,
584,
4280,
28027,
6,
3,
23,
107,
7,
9,
9,
834,
4057,
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,
71,
17217,
599,
35,
4046,
297,
834,
4018,
834,
4198,
61,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
1767,
834,
3422,
29,
11788,
3274,
96,
16948,
121,
3430,
3,
23,
107,
7,
9,
9,
834,
4057,
3274,
96,
519,
... |
Which team has 5 as a game? | CREATE TABLE table_23285761_11 (
team VARCHAR,
game VARCHAR
) | SELECT team FROM table_23285761_11 WHERE game = 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2577,
3436,
4241,
834,
2596,
41,
372,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
372,
65,
305,
38,
3,
9,
467,
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,
372,
21680,
953,
834,
2773,
2577,
3436,
4241,
834,
2596,
549,
17444,
427,
467,
3274,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
If the country is fenghuang how many provinces are there? | CREATE TABLE table_19970 (
"Province" text,
"Prefecture" text,
"County" text,
"Tujia Population" real,
"% of Chinas Tujia Population" text
) | SELECT COUNT("Province") FROM table_19970 WHERE "County" = 'Fenghuang' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19479,
2518,
41,
96,
3174,
2494,
565,
121,
1499,
6,
96,
10572,
4075,
1462,
121,
1499,
6,
96,
10628,
63,
121,
1499,
6,
96,
382,
76,
354,
23,
9,
29659,
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,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
3174,
2494,
565,
8512,
21680,
953,
834,
19479,
2518,
549,
17444,
427,
96,
10628,
63,
121,
3274,
3,
31,
371,
4606,
107,
76,
1468,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
When did Oliver Jarvis have pole position? | CREATE TABLE table_21321935_2 (date VARCHAR, pole_position VARCHAR) | SELECT date FROM table_21321935_2 WHERE pole_position = "Oliver Jarvis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
2668,
2294,
2469,
834,
357,
41,
5522,
584,
4280,
28027,
6,
11148,
834,
4718,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
410,
15865,
17321,
3466,
43,
11148,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
2658,
2668,
2294,
2469,
834,
357,
549,
17444,
427,
11148,
834,
4718,
3274,
96,
667,
7591,
52,
17321,
3466,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What values of HDTV correspond to n of 862? | CREATE TABLE table_15887683_16 (
hdtv VARCHAR,
n° VARCHAR
) | SELECT hdtv FROM table_15887683_16 WHERE n° = 862 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
4060,
3959,
4591,
834,
2938,
41,
3,
107,
26,
17,
208,
584,
4280,
28027,
6,
3,
29,
1956,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
2620,
13,
3726,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
107,
26,
17,
208,
21680,
953,
834,
1808,
4060,
3959,
4591,
834,
2938,
549,
17444,
427,
3,
29,
1956,
3274,
505,
4056,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the parent magazine of Dengeki g's festival! deluxe? | CREATE TABLE table_name_78 (parent_magazine VARCHAR, title VARCHAR) | SELECT parent_magazine FROM table_name_78 WHERE title = "dengeki g's festival! deluxe" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3940,
41,
12352,
834,
10835,
15,
584,
4280,
28027,
6,
2233,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4208,
3835,
13,
3128,
397,
2168,
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,
4208,
834,
10835,
15,
21680,
953,
834,
4350,
834,
3940,
549,
17444,
427,
2233,
3274,
96,
537,
397,
2168,
3,
122,
31,
7,
3994,
55,
3,
27747,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the total number of male rank for fiji | CREATE TABLE table_29257 (
"Overall rank" real,
"Country" text,
"Overall life expectancy" real,
"Male life expectancy" real,
"Male rank" real,
"Female life expectancy" real,
"Female rank" real
) | SELECT COUNT("Male rank") FROM table_29257 WHERE "Country" = 'Fiji' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
357,
3436,
41,
96,
23847,
1748,
11003,
121,
490,
6,
96,
10628,
651,
121,
1499,
6,
96,
23847,
1748,
280,
1672,
6833,
121,
490,
6,
96,
329,
9,
109,
280,
1672,
6833,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
9,
109,
11003,
8512,
21680,
953,
834,
3166,
357,
3436,
549,
17444,
427,
96,
10628,
651,
121,
3274,
3,
31,
371,
17279,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the score when the attendance was 18,545? | CREATE TABLE table_name_83 (
score VARCHAR,
attendance VARCHAR
) | SELECT score FROM table_name_83 WHERE attendance = "18,545" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4591,
41,
2604,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
116,
8,
11364,
47,
14985,
755,
2128,
58,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4591,
549,
17444,
427,
11364,
3274,
96,
2606,
6,
5062,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Specify the death status of the patient named Charles Nilsson | 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 demographic.expire_flag FROM demographic WHERE demographic.name = "Charles Nilsson" | [
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,
994,
2388,
15,
834,
89,
5430,
21680,
14798,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
18947,
965,
445,
1558,
739,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the home team when the Tie no is 1? | CREATE TABLE table_name_32 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_32 WHERE tie_no = "1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
5515,
834,
11650,
584,
4280,
28027,
6,
6177,
834,
29,
32,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
234,
372,
116,
8,
2262,
15,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
234,
834,
11650,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
6177,
834,
29,
32,
3274,
96,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Find the names of customers who have bought by at least three distinct products. | CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR) | SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id JOIN order_items AS T3 ON T2.order_id = T3.order_id GROUP BY T1.customer_id HAVING COUNT(DISTINCT T3.product_id) >= 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
455,
834,
23,
3524,
7,
41,
9397,
834,
23,
26,
584,
4280,
28027,
6,
556,
834,
23,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
722,
41,
25697,
49,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
332,
5411,
25697,
49,
834,
4350,
21680,
722,
6157,
332,
536,
3,
15355,
3162,
884,
834,
9397,
7,
6157,
332,
357,
9191,
332,
5411,
25697,
49,
834,
23,
26,
3274,
332,
4416,
25697,
49,
834,
23,
... |
What is the best time from patrick carpentier from the forsythe racing team? | CREATE TABLE table_name_33 (
best VARCHAR,
team VARCHAR,
name VARCHAR
) | SELECT best FROM table_name_33 WHERE team = "forsythe racing" AND name = "patrick carpentier" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
200,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
200,
97,
45,
6234,
5206,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
200,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
372,
3274,
96,
1161,
7,
63,
532,
8191,
121,
3430,
564,
3274,
96,
4665,
5206,
443,
3208,
3276,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
which month held the least amount of competitions ? | CREATE TABLE table_203_442 (
id number,
"#" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
) | SELECT "date" FROM table_203_442 GROUP BY "date" ORDER BY COUNT(*) LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3628,
357,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
7,
9022,
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,
5522,
121,
21680,
953,
834,
23330,
834,
3628,
357,
350,
4630,
6880,
272,
476,
96,
5522,
121,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which NTFS has a no for ReFS and a yes for HPFS? | CREATE TABLE table_32636 (
"FAT16" text,
"FAT32" text,
"HPFS" text,
"ISO 9660" text,
"NTFS" text,
"ReFS" text
) | SELECT "NTFS" FROM table_32636 WHERE "ReFS" = 'no' AND "HPFS" = 'yes' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2688,
3420,
41,
96,
4795,
382,
2938,
121,
1499,
6,
96,
4795,
382,
2668,
121,
1499,
6,
96,
13201,
7674,
121,
1499,
6,
96,
196,
6582,
668,
27720,
121,
1499,
6,
96,
735... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7359,
7674,
121,
21680,
953,
834,
519,
2688,
3420,
549,
17444,
427,
96,
1649,
7674,
121,
3274,
3,
31,
29,
32,
31,
3430,
96,
13201,
7674,
121,
3274,
3,
31,
10070,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is the earliest year when the result is won and the role/episode is fox mulder? | CREATE TABLE table_65859 (
"Year" real,
"Category" text,
"Recipients and nominees" text,
"Role/Episode" text,
"Result" text
) | SELECT MIN("Year") FROM table_65859 WHERE "Result" = 'won' AND "Role/Episode" = 'fox mulder' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3449,
3390,
41,
96,
476,
2741,
121,
490,
6,
96,
18610,
6066,
651,
121,
1499,
6,
96,
1649,
3389,
4741,
7,
11,
21077,
7,
121,
1499,
6,
96,
448,
32,
109,
87,
427,
102... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
476,
2741,
8512,
21680,
953,
834,
948,
3449,
3390,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
210,
106,
31,
3430,
96,
448,
32,
109,
87,
427,
102,
159,
32,
221,
121,
3274,
3,
31,
20400,
3,
... |
What is the Week of the game with a Result of w 48 20? | CREATE TABLE table_name_58 (
week VARCHAR,
result VARCHAR
) | SELECT week FROM table_name_58 WHERE result = "w 48–20" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
471,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
6551,
13,
8,
467,
28,
3,
9,
3,
20119,
13,
3,
210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
471,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
741,
3274,
96,
210,
4678,
104,
1755,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
During which stage was gatorade the Trofeo Fast Team? | CREATE TABLE table_70237 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Young rider classification" text,
"Intergiro classification" text,
"Trofeo Fast Team" text
) | SELECT "Stage" FROM table_70237 WHERE "Trofeo Fast Team" = 'gatorade' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
357,
4118,
41,
96,
134,
6505,
121,
1499,
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,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
6505,
121,
21680,
953,
834,
2518,
357,
4118,
549,
17444,
427,
96,
382,
52,
858,
15,
32,
6805,
2271,
121,
3274,
3,
31,
19306,
9,
221,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
20 _ 50 years of age | CREATE TABLE table_test_13 (
"id" int,
"systolic_blood_pressure_sbp" int,
"tachycardia" int,
"diastolic_blood_pressure_dbp" int,
"total_cholesterol" int,
"high_density_lipoprotein_cholesterol_hdl_c" int,
"serum_creatinine" float,
"alcohol_abuse" bool,
"drug_abuse" bool,
"body_mas... | SELECT * FROM table_test_13 WHERE age >= 20 AND age <= 50 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4377,
834,
2368,
41,
96,
23,
26,
121,
16,
17,
6,
96,
7,
63,
7,
235,
2176,
834,
27798,
834,
26866,
834,
7,
115,
102,
121,
16,
17,
6,
96,
17,
9,
11971,
16464,
9,
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,
1429,
21680,
953,
834,
4377,
834,
2368,
549,
17444,
427,
1246,
2490,
2423,
460,
3430,
1246,
3,
2,
2423,
943,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
how many patients are admitted before the year 2170 and used the drug clobetasol propionate 0.05% oinment? | 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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2170" AND prescriptions.drug = "Clobetasol Propionate 0.05% Ointment" | [
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,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
count the number of patients whose marital status is married and primary disease is coronary artery disease\coronary artery bypass graft with mvr; ? maze? | 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 COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT WITH MVR; ? MAZE" | [
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,
1635,
9538,
834,
8547,
302,
3274,
96,
13845,
25858,
308,
121,
3430,
14798,
5,
25930,
4844,
159,
32... |
What was the catalog when the label was frontiers records? | CREATE TABLE table_name_61 (catalog VARCHAR, label VARCHAR) | SELECT catalog FROM table_name_61 WHERE label = "frontiers records" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
2138,
9,
2152,
584,
4280,
28027,
6,
3783,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
10173,
116,
8,
3783,
47,
20515,
7,
3187,
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,
10173,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
3783,
3274,
96,
6849,
4518,
3187,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Attendance that has a Venue of ryavallen? | CREATE TABLE table_44800 (
"Date" text,
"Venue" text,
"Opponents" text,
"Score" text,
"Comp" text,
"Attendance" text
) | SELECT "Attendance" FROM table_44800 WHERE "Venue" = 'ryavallen' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3628,
6192,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
667,
102,
9977,
7,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
5890,
102,
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,
1... | [
3,
23143,
14196,
96,
188,
17,
324,
26,
663,
121,
21680,
953,
834,
3628,
6192,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
651,
8644,
195,
35,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is Player, when College/Junior/Club Team (League) is 'Val d'Or Foreurs ( QMJHL )'? | CREATE TABLE table_name_23 (
player VARCHAR,
college_junior_club_team__league_ VARCHAR
) | SELECT player FROM table_name_23 WHERE college_junior_club_team__league_ = "val d'or foreurs ( qmjhl )" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
1959,
584,
4280,
28027,
6,
1900,
834,
6959,
23,
127,
834,
13442,
834,
11650,
834,
834,
29512,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
1900,
834,
6959,
23,
127,
834,
13442,
834,
11650,
834,
834,
29512,
834,
3274,
96,
2165,
3,
26,
31,
127,
21,
2598,
41,
3,
1824,
51,
354,
107,
40,
3,
61,
12... |
How much is the other black population when the black African population is 37811? | CREATE TABLE table_19149550_7 (other_black_population INTEGER, black_african_population VARCHAR) | SELECT MIN(other_black_population) FROM table_19149550_7 WHERE black_african_population = 37811 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
24816,
17147,
834,
940,
41,
9269,
834,
19699,
834,
9791,
7830,
3,
21342,
17966,
6,
1001,
834,
9,
89,
2234,
152,
834,
9791,
7830,
584,
4280,
28027,
61,
3,
32102,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
9269,
834,
19699,
834,
9791,
7830,
61,
21680,
953,
834,
2294,
24816,
17147,
834,
940,
549,
17444,
427,
1001,
834,
9,
89,
2234,
152,
834,
9791,
7830,
3274,
220,
3940,
2596,
1,
-100,
-100,
-100,
-100,
-... |
What was the score when Altrincham was home? | CREATE TABLE table_name_26 (
score VARCHAR,
home_team VARCHAR
) | SELECT score FROM table_name_26 WHERE home_team = "altrincham" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
2604,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
116,
4588,
52,
4976,
265,
47,
234... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2604,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
234,
834,
11650,
3274,
96,
138,
1788,
29,
17788,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the voter registration that has a BYut of 48.2? | CREATE TABLE table_name_78 (voter_registration VARCHAR, byut VARCHAR) | SELECT COUNT(voter_registration) FROM table_name_78 WHERE byut = 48.2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3940,
41,
1621,
449,
834,
5200,
257,
584,
4280,
28027,
6,
57,
76,
17,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
10018,
3816,
24,
65,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1621,
449,
834,
5200,
257,
61,
21680,
953,
834,
4350,
834,
3940,
549,
17444,
427,
57,
76,
17,
3274,
4678,
5,
357,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What methos did Keith Wisniewski use in the ufc fight night: teixeira vs. bader? | CREATE TABLE table_45298 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
) | SELECT "Method" FROM table_45298 WHERE "Event" = 'ufc fight night: teixeira vs. bader' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
357,
3916,
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,
427,
2169,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23351,
107,
32,
26,
121,
21680,
953,
834,
2128,
357,
3916,
549,
17444,
427,
96,
427,
2169,
121,
3274,
3,
31,
76,
89,
75,
2870,
706,
10,
3,
17,
15,
2407,
15809,
3,
208,
7,
5,
1282,
49,
31,
1,
-100,
-100,
... |
Who was the builder of Gannet from the United Kingdom? | CREATE TABLE table_65525 (
"Country" text,
"Builder" text,
"Location" text,
"Ship" text,
"Class / type" text
) | SELECT "Builder" FROM table_65525 WHERE "Country" = 'united kingdom' AND "Ship" = 'gannet' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4122,
755,
1828,
41,
96,
10628,
651,
121,
1499,
6,
96,
24752,
49,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
134,
10462,
121,
1499,
6,
96,
21486,
3,
87,
686,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
24752,
49,
121,
21680,
953,
834,
4122,
755,
1828,
549,
17444,
427,
96,
10628,
651,
121,
3274,
3,
31,
15129,
15,
26,
14740,
31,
3430,
96,
134,
10462,
121,
3274,
3,
31,
2565,
1582,
31,
1,
-100,
-100,
-100,
-100,... |
What is air date of the episode directed by John P. Kousakis? | CREATE TABLE table_28611413_2 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_28611413_2 WHERE directed_by = "John P. Kousakis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
4241,
2534,
2368,
834,
357,
41,
21878,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
6640,
834,
969,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
799,
833... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
926,
834,
2256,
834,
5522,
21680,
953,
834,
2577,
4241,
2534,
2368,
834,
357,
549,
17444,
427,
6640,
834,
969,
3274,
96,
18300,
276,
5,
1793,
302,
11259,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which series was won by Paul Morris? | CREATE TABLE table_name_16 (series VARCHAR, winner VARCHAR) | SELECT series FROM table_name_16 WHERE winner = "paul morris" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
10833,
7,
584,
4280,
28027,
6,
4668,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
939,
47,
751,
57,
1838,
12193,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
939,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
4668,
3274,
96,
102,
9,
83,
8030,
52,
159,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the roll number of Te Puke Intermediate, which has a decile of 4? | CREATE TABLE table_name_62 (
roll VARCHAR,
decile VARCHAR,
name VARCHAR
) | SELECT roll FROM table_name_62 WHERE decile = 4 AND name = "te puke intermediate" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
3812,
584,
4280,
28027,
6,
7908,
109,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3812,
381,
13,
2255... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3812,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
7908,
109,
3274,
314,
3430,
564,
3274,
96,
17,
15,
4353,
1050,
18957,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What Gender has the area of swannanoa? | CREATE TABLE table_14444 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real
) | SELECT "Gender" FROM table_14444 WHERE "Area" = 'swannanoa' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20885,
3628,
41,
96,
23954,
121,
1499,
6,
96,
476,
2741,
7,
121,
1499,
6,
96,
517,
3868,
121,
1499,
6,
96,
188,
864,
121,
1499,
6,
96,
23602,
127,
485,
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,
517,
3868,
121,
21680,
953,
834,
20885,
3628,
549,
17444,
427,
96,
188,
864,
121,
3274,
3,
31,
7,
3877,
29,
152,
32,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what was the best year for profit before 2010 ? | CREATE TABLE table_203_847 (
id number,
"financial year" text,
"turnover" text,
"profit before tax" text,
"net profit" text,
"partner bonuses" text,
"profit retained" text
) | SELECT "financial year" FROM table_203_847 WHERE "financial year" < 2010 ORDER BY "net profit" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
927,
4177,
41,
3,
23,
26,
381,
6,
96,
89,
77,
152,
4703,
215,
121,
1499,
6,
96,
7535,
1890,
121,
1499,
6,
96,
6046,
274,
1104,
121,
1499,
6,
96,
1582,
3199,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
89,
77,
152,
4703,
215,
121,
21680,
953,
834,
23330,
834,
927,
4177,
549,
17444,
427,
96,
89,
77,
152,
4703,
215,
121,
3,
2,
2735,
4674,
11300,
272,
476,
96,
1582,
3199,
121,
309,
25067,
8729,
12604,
209,
1,
... |
What is the score of team chicago? | CREATE TABLE table_43997 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Score" FROM table_43997 WHERE "Team" = 'chicago' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3288,
4327,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
591,
3288,
4327,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
1436,
658,
839,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
since 06/2105 has patient 022-198713 had any allergies? | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE patient (
uniquep... | SELECT COUNT(*) > 0 FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-198713')) AND STRFTIME('%y-%m', allergy.allergytime) >= '2105-06' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3362,
4267,
32,
4370,
41,
3362,
4267,
32,
26,
1294,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2912,
381,
6,
3,
7,
9,
32,
357,
381,
6,
842,
2206,
381,
6,
14114,
257,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
2490,
3,
632,
21680,
23886,
549,
17444,
427,
23886,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15129,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
1006... |
What is the club/province of the player born on 12 May 1984? | CREATE TABLE table_name_77 (
club_province VARCHAR,
date_of_birth__age_ VARCHAR
) | SELECT club_province FROM table_name_77 WHERE date_of_birth__age_ = "12 may 1984" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
1886,
834,
1409,
2494,
565,
584,
4280,
28027,
6,
833,
834,
858,
834,
20663,
834,
834,
545,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
1886,
834,
1409,
2494,
565,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
833,
834,
858,
834,
20663,
834,
834,
545,
834,
3274,
96,
2122,
164,
13480,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is 1996 Grand Slam Tournament if 1994 is LQ and 1992 is 3R? | CREATE TABLE table_62771 (
"Tournament" text,
"1987" text,
"1988" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text
) | SELECT "1996" FROM table_62771 WHERE "1994" = 'lq' AND "1992" = '3r' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
4013,
536,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
2294,
4225,
121,
1499,
6,
96,
2294,
4060,
121,
1499,
6,
96,
2294,
3914,
121,
1499,
6,
96,
2294,
2394,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
2294,
4314,
121,
21680,
953,
834,
4056,
4013,
536,
549,
17444,
427,
96,
19479,
20364,
3274,
3,
31,
40,
1824,
31,
3430,
96,
19479,
357,
121,
3274,
3,
31,
519,
52,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What are the top five states in descending order in terms of revenue provided to school districts? | CREATE TABLE finrev_fed_key_17 (
state_code number,
state text,
#_records text
)
CREATE TABLE finrev_fed_17 (
state_code number,
idcensus number,
school_district text,
nces_id text,
yr_data number,
t_fed_rev number,
c14 number,
c25 number
)
CREATE TABLE ndecoreexcel_math_gr... | SELECT T2.state FROM finrev_fed_key_17 AS T2 JOIN finrev_fed_17 AS T1 ON T1.state_code = T2.state_code GROUP BY T1.state_code ORDER BY SUM(t_fed_rev) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2202,
60,
208,
834,
19565,
834,
4397,
834,
2517,
41,
538,
834,
4978,
381,
6,
538,
1499,
6,
1713,
834,
60,
7621,
7,
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,
332,
4416,
5540,
21680,
2202,
60,
208,
834,
19565,
834,
4397,
834,
2517,
6157,
332,
357,
3,
15355,
3162,
2202,
60,
208,
834,
19565,
834,
2517,
6157,
332,
536,
9191,
332,
5411,
5540,
834,
4978,
3274,
332,
4416,
5540,
... |
What network has lap-by-laps by Bill Flemming, and Pit reporter Chris Economaki? | CREATE TABLE table_53925 (
"Year" real,
"Network" text,
"Lap-by-lap" text,
"Pit reporters" text,
"Host" text
) | SELECT "Network" FROM table_53925 WHERE "Lap-by-lap" = 'bill flemming' AND "Pit reporters" = 'chris economaki' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
28456,
41,
96,
476,
2741,
121,
490,
6,
96,
9688,
1981,
121,
1499,
6,
96,
3612,
102,
18,
969,
18,
8478,
121,
1499,
6,
96,
345,
155,
19644,
121,
1499,
6,
96,
566,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
9688,
1981,
121,
21680,
953,
834,
4867,
28456,
549,
17444,
427,
96,
3612,
102,
18,
969,
18,
8478,
121,
3274,
3,
31,
3727,
40,
8079,
635,
53,
31,
3430,
96,
345,
155,
19644,
121,
3274,
3,
31,
524,
52,
159,
3,
... |
What is the 2FM for SW Ireland? | CREATE TABLE table_name_91 (service_area VARCHAR) | SELECT 2 AS fm__mhz_ FROM table_name_91 WHERE service_area = "sw ireland" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
5114,
834,
498,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
204,
14908,
21,
12222,
5316,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
204,
6157,
3,
89,
51,
834,
834,
51,
107,
172,
834,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
313,
834,
498,
3274,
96,
7,
210,
3,
2060,
40,
232,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who held the same position in 2014 that Jarrah Rubinstein held in 2013? | CREATE TABLE table_name_23 (Id VARCHAR) | SELECT 2014 FROM table_name_23 WHERE 2013 = "jarrah rubinstein" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
196,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
1213,
8,
337,
1102,
16,
1412,
24,
446,
10116,
107,
15612,
77,
4008,
1213,
16,
2038,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1412,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
2038,
3274,
96,
354,
10116,
107,
9641,
77,
4008,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was fitzroy's away side score? | CREATE TABLE table_name_59 (
away_team VARCHAR
) | SELECT away_team AS score FROM table_name_59 WHERE away_team = "fitzroy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
1400,
172,
8170,
31,
7,
550,
596,
2604,
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,
550,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
550,
834,
11650,
3274,
96,
89,
5615,
8170,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Team, when Game is 73? | CREATE TABLE table_76740 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"Record" text,
"Streak" text
) | SELECT "Team" FROM table_76740 WHERE "Game" = '73' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
3708,
2445,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
11500,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18699,
121,
21680,
953,
834,
940,
3708,
2445,
549,
17444,
427,
96,
23055,
121,
3274,
3,
31,
4552,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the score when the series was 3-2? | CREATE TABLE table_8017 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
) | SELECT "Score" FROM table_8017 WHERE "Series" = '3-2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
2517,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
3,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
2079,
2517,
549,
17444,
427,
96,
12106,
7,
121,
3274,
3,
31,
21160,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many captains with younger than 50 are in each rank? | CREATE TABLE captain (
rank VARCHAR,
age INTEGER
) | SELECT COUNT(*), rank FROM captain WHERE age < 50 GROUP BY rank | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14268,
41,
11003,
584,
4280,
28027,
6,
1246,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
14268,
7,
28,
5868,
145,
943,
33,
16,
284,
11003,
58,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
201,
11003,
21680,
14268,
549,
17444,
427,
1246,
3,
2,
943,
350,
4630,
6880,
272,
476,
11003,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the highest amount of points when the game is less than 2? | CREATE TABLE table_52577 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "High points" FROM table_52577 WHERE "Game" < '2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
1828,
4013,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
21417,
979,
121,
21680,
953,
834,
755,
1828,
4013,
549,
17444,
427,
96,
23055,
121,
3,
2,
3,
31,
357,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the number of played when points against 645? | CREATE TABLE table_17920 (
"Position" real,
"Club" text,
"Played" real,
"Won" real,
"Drawn" real,
"Lost" real,
"Pts For" real,
"Pts Agst" real,
"B.P." real,
"Points" real
) | SELECT COUNT("Played") FROM table_17920 WHERE "Pts Agst" = '645' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26593,
1755,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
518,
106,
121,
490,
6,
96,
308,
10936,
29,
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,
2847,
17161,
599,
121,
15800,
15,
26,
8512,
21680,
953,
834,
26593,
1755,
549,
17444,
427,
96,
345,
17,
7,
4821,
7,
17,
121,
3274,
3,
31,
948,
2128,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who was the French Elector Elevated on 1288, May 16? | CREATE TABLE table_name_92 (
elector VARCHAR,
nationality VARCHAR,
elevated VARCHAR
) | SELECT elector FROM table_name_92 WHERE nationality = "french" AND elevated = "1288, may 16" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
11924,
127,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
6,
15712,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
2379,
3,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11924,
127,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
1157,
485,
3274,
96,
89,
60,
5457,
121,
3430,
15712,
3274,
96,
2122,
4060,
6,
164,
898,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many total reason for change are listed corresponding to the successor Leonard B. Jordan (r)? | CREATE TABLE table_1802522_3 (
reason_for_change VARCHAR,
successor VARCHAR
) | SELECT COUNT(reason_for_change) FROM table_1802522_3 WHERE successor = "Leonard B. Jordan (R)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20829,
1828,
2884,
834,
519,
41,
1053,
834,
1161,
834,
13073,
584,
4280,
28027,
6,
22261,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
792,
1053,
21,
483... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
864,
739,
834,
1161,
834,
13073,
61,
21680,
953,
834,
20829,
1828,
2884,
834,
519,
549,
17444,
427,
22261,
3274,
96,
2796,
106,
986,
272,
5,
8480,
41,
448,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,... |
What would be the lowest Attendance that also showed a loss of Obermueller (1-2)? | CREATE TABLE table_name_36 (
attendance INTEGER,
loss VARCHAR
) | SELECT MIN(attendance) FROM table_name_36 WHERE loss = "obermueller (1-2)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
11364,
3,
21342,
17966,
6,
1453,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
133,
36,
8,
7402,
22497,
663,
24,
92,
3217,
3,
9,
1453,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15116,
663,
61,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
1453,
3274,
96,
32,
1152,
51,
76,
9670,
41,
9596,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the panchayat when the public property damage was 1,03,049.60 | CREATE TABLE table_20403667_2 (panchayat INTEGER, public_property_damaged__in_lakh_inr__ VARCHAR) | SELECT MAX(panchayat) FROM table_20403667_2 WHERE public_property_damaged__in_lakh_inr__ = "1,03,049.60" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
2445,
3420,
3708,
834,
357,
41,
2837,
3441,
63,
144,
3,
21342,
17966,
6,
452,
834,
10401,
49,
17,
63,
834,
7812,
11438,
834,
834,
77,
834,
40,
18965,
834,
77,
52,
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,
4800,
4,
599,
2837,
3441,
63,
144,
61,
21680,
953,
834,
1755,
2445,
3420,
3708,
834,
357,
549,
17444,
427,
452,
834,
10401,
49,
17,
63,
834,
7812,
11438,
834,
834,
77,
834,
40,
18965,
834,
77,
52,
834,
834,
3274,
... |
Which venue hosted an away team of Footscray? | CREATE TABLE table_name_22 (
venue VARCHAR,
away_team VARCHAR
) | SELECT venue FROM table_name_22 WHERE away_team = "footscray" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
5669,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
5669,
6523,
46,
550,
372,
13,
15213,
7,
2935,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5669,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
550,
834,
11650,
3274,
96,
6259,
7,
2935,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which team is number 14 and had a franchise in 1993-2000? | CREATE TABLE table_name_38 (
team VARCHAR,
number VARCHAR,
years_with_franchise VARCHAR
) | SELECT team FROM table_name_38 WHERE number = 14 AND years_with_franchise = "1993-2000" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
372,
584,
4280,
28027,
6,
381,
584,
4280,
28027,
6,
203,
834,
4065,
834,
6296,
1436,
7,
15,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
407... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
372,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
381,
3274,
968,
3430,
203,
834,
4065,
834,
6296,
1436,
7,
15,
3274,
96,
19479,
21160,
2313,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
give the number of patients who have been transferred within this facility and have stayed in the hospital for more than 30 days. | 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 COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.days_stay > "30" | [
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,
9,
26,
5451,
834,
14836,
3274,
96,
11421,
7016,
11951,
3162,
12689,
377,
5173,
3502,
15296,
121,
3... |
Find the titles of all movies that have no ratings. | CREATE TABLE Rating (
title VARCHAR,
mID VARCHAR
)
CREATE TABLE Movie (
title VARCHAR,
mID VARCHAR
) | SELECT title FROM Movie WHERE NOT mID IN (SELECT mID FROM Rating) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
21662,
41,
2233,
584,
4280,
28027,
6,
3,
51,
4309,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
10743,
41,
2233,
584,
4280,
28027,
6,
3,
51,
4309,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2233,
21680,
10743,
549,
17444,
427,
4486,
3,
51,
4309,
3388,
41,
23143,
14196,
3,
51,
4309,
21680,
21662,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is every value for rebounds when steals is 19? | CREATE TABLE table_25352324_5 (
rebounds VARCHAR,
steals VARCHAR
) | SELECT rebounds FROM table_25352324_5 WHERE steals = 19 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
2469,
2773,
2266,
834,
755,
41,
3,
23768,
584,
4280,
28027,
6,
11332,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
334,
701,
21,
3,
23768,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
23768,
21680,
953,
834,
1828,
2469,
2773,
2266,
834,
755,
549,
17444,
427,
11332,
7,
3274,
957,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the passenger fare for Grand Rapids, when the passenger fare for Detroit was $378.55? | CREATE TABLE table_name_89 (
grand_rapids__grr_ VARCHAR,
detroit__dtw_ VARCHAR
) | SELECT grand_rapids__grr_ FROM table_name_89 WHERE detroit__dtw_ = "$378.55" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
1907,
834,
5846,
23,
26,
7,
834,
834,
122,
52,
52,
834,
584,
4280,
28027,
6,
3,
26,
15252,
155,
834,
834,
26,
17,
210,
834,
584,
4280,
28027,
3,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1907,
834,
5846,
23,
26,
7,
834,
834,
122,
52,
52,
834,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
3,
26,
15252,
155,
834,
834,
26,
17,
210,
834,
3274,
96,
3229,
4118,
19253,
17395,
1,
-100,
-100,
-100,
... |
Name the least points where 1989-90 is 31 | CREATE TABLE table_19310 (
"Team" text,
"Average" text,
"Points" real,
"Played" real,
"1989-90" text,
"1990-91" text,
"1991-1992" real
) | SELECT MIN("Points") FROM table_19310 WHERE "1989-90" = '31' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
19947,
41,
96,
18699,
121,
1499,
6,
96,
188,
624,
545,
121,
1499,
6,
96,
22512,
7,
121,
490,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
2294,
3914,
18,
2394,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22512,
7,
8512,
21680,
953,
834,
2294,
19947,
549,
17444,
427,
96,
2294,
3914,
18,
2394,
121,
3274,
3,
31,
3341,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which conflicts took place in Yemen? | CREATE TABLE table_1921_1 (
conflict VARCHAR,
location VARCHAR
) | SELECT conflict FROM table_1921_1 WHERE location = "Yemen" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
2658,
834,
536,
41,
4129,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
17824,
808,
286,
16,
27796,
58,
1,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4129,
21680,
953,
834,
2294,
2658,
834,
536,
549,
17444,
427,
1128,
3274,
96,
476,
15,
904,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the least league apps for total apps of 5 | CREATE TABLE table_3696 (
"Position" text,
"Nationality" text,
"Name" text,
"League apps" real,
"League goals" real,
"FA Cup apps" real,
"FA Cup goals" real,
"Total apps" real,
"Total goals" real
) | SELECT MIN("League apps") FROM table_3696 WHERE "Total apps" = '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3420,
4314,
41,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
2796,
9,
5398,
4050,
121,
490,
6,
96,
2796,
9,
5398,
1766... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2796,
9,
5398,
4050,
8512,
21680,
953,
834,
3420,
4314,
549,
17444,
427,
96,
3696,
1947,
4050,
121,
3274,
3,
31,
755,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the largest ethnic group for 24112 | CREATE TABLE table_2562572_20 (largest_ethnic_group__2002_ VARCHAR, population__2011_ VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_20 WHERE population__2011_ = 24112 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19337,
1828,
5865,
834,
1755,
41,
15599,
7,
17,
834,
15,
189,
2532,
834,
10739,
834,
834,
24898,
834,
584,
4280,
28027,
6,
2074,
834,
834,
13907,
834,
584,
4280,
28027,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2015,
834,
15,
189,
2532,
834,
10739,
834,
834,
24898,
834,
21680,
953,
834,
19337,
1828,
5865,
834,
1755,
549,
17444,
427,
2074,
834,
834,
13907,
834,
3274,
997,
2596,
357,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
List the name of all products along with the number of complaints that they have received, sort by the the total number from low to high please. | CREATE TABLE Complaints (
complaint_id INTEGER,
product_id INTEGER,
customer_id INTEGER,
complaint_outcome_code VARCHAR(20),
complaint_status_code VARCHAR(20),
complaint_type_code VARCHAR(20),
date_complaint_raised DATETIME,
date_complaint_closed DATETIME,
staff_id INTEGER
)
CREATE ... | SELECT product_name, COUNT(*) FROM Products AS t1 JOIN Complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name ORDER BY COUNT(*) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2570,
18689,
17,
7,
41,
10394,
834,
23,
26,
3,
21342,
17966,
6,
556,
834,
23,
26,
3,
21342,
17966,
6,
884,
834,
23,
26,
3,
21342,
17966,
6,
10394,
834,
670,
287,
15,
834,
4978,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
556,
834,
4350,
6,
2847,
17161,
599,
1935,
61,
21680,
7554,
6157,
3,
17,
536,
3,
15355,
3162,
2570,
18689,
17,
7,
6157,
3,
17,
357,
9191,
3,
17,
5411,
15892,
834,
23,
26,
3274,
3,
17,
4416,
15892,
834,
23,
26,
... |
what were the number of patients discharged from hospital? | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE treatment (
treat... | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3362,
4267,
32,
4370,
41,
3362,
4267,
32,
26,
1294,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2912,
381,
6,
3,
7,
9,
32,
357,
381,
6,
842,
2206,
381,
6,
14114,
257,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
1868,
5,
202,
1495,
12417,
61,
21680,
1868,
549,
17444,
427,
4486,
1868,
5,
31386,
26,
159,
7993,
715,
6827,
13046,
10376,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What average played has an against less than 15? | CREATE TABLE table_42931 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
) | SELECT AVG("Played") FROM table_42931 WHERE "Against" < '15' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3166,
3341,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
18699,
121,
1499,
6,
96,
22512,
7,
121,
490,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
308,
10936,
29,
121,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
15800,
15,
26,
8512,
21680,
953,
834,
591,
3166,
3341,
549,
17444,
427,
96,
20749,
121,
3,
2,
3,
31,
1808,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For the location of quezon city , metro manila what is the athletic nickname? | CREATE TABLE table_22171978_1 (athletic_nickname VARCHAR, location VARCHAR) | SELECT athletic_nickname FROM table_22171978_1 WHERE location = "Quezon City , Metro Manila" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
2517,
2294,
3940,
834,
536,
41,
26170,
447,
834,
11191,
4350,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
242,
8,
1128,
13,
238,
889... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12217,
834,
11191,
4350,
21680,
953,
834,
2884,
2517,
2294,
3940,
834,
536,
549,
17444,
427,
1128,
3274,
96,
5991,
457,
106,
896,
3,
6,
10730,
25432,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what is the final score when the date is 2009-02-26? | CREATE TABLE table_13870 (
"Date" text,
"Season" text,
"Playing for" text,
"Opponent" text,
"Final score" text
) | SELECT "Final score" FROM table_13870 WHERE "Date" = '2009-02-26' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22744,
2518,
41,
96,
308,
342,
121,
1499,
6,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
15800,
53,
21,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
371,
10270,
2604,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
371,
10270,
2604,
121,
21680,
953,
834,
22744,
2518,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
16660,
18,
4305,
18,
2688,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the D 49 for when D 46 of i 1 @ | CREATE TABLE table_name_24 (
d_49_√ VARCHAR,
d_46_√ VARCHAR
) | SELECT d_49_√ FROM table_name_24 WHERE d_46_√ = "i 1 @" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
3,
26,
834,
3647,
834,
2,
584,
4280,
28027,
6,
3,
26,
834,
4448,
834,
2,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
309,
9526,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
26,
834,
3647,
834,
2,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
3,
26,
834,
4448,
834,
2,
3274,
96,
23,
209,
3320,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Give me a pie to show total number of memory in g from different carrier. | CREATE TABLE market (
Market_ID int,
District text,
Num_of_employees int,
Num_of_shops real,
Ranking int
)
CREATE TABLE phone (
Name text,
Phone_ID int,
Memory_in_G int,
Carrier text,
Price real
)
CREATE TABLE phone_market (
Market_ID int,
Phone_ID text,
Num_of_stoc... | SELECT Carrier, SUM(Memory_in_G) FROM phone GROUP BY Carrier | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
512,
41,
3611,
834,
4309,
16,
17,
6,
3570,
1499,
6,
1174,
51,
834,
858,
834,
15,
51,
7379,
63,
15,
15,
7,
16,
17,
6,
1174,
51,
834,
858,
834,
6921,
7,
490,
6,
29153,
16,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1184,
6711,
6,
180,
6122,
599,
329,
15,
2528,
63,
834,
77,
834,
517,
61,
21680,
951,
350,
4630,
6880,
272,
476,
1184,
6711,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the time of the match with 3 rounds and a 9-3 record? | CREATE TABLE table_name_52 (time VARCHAR, round VARCHAR, record VARCHAR) | SELECT time FROM table_name_52 WHERE round = 3 AND record = "9-3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
715,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
97,
13,
8,
1588,
28,
220,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
97,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
1751,
3274,
220,
3430,
1368,
3274,
96,
1298,
3486,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many starts were there when the winnings are $690,321? | CREATE TABLE table_1875157_2 (starts INTEGER, winnings VARCHAR) | SELECT MIN(starts) FROM table_1875157_2 WHERE winnings = "$690,321" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
3072,
27452,
834,
357,
41,
10208,
7,
3,
21342,
17966,
6,
3447,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
3511,
130,
132,
116,
8,
3447,
7,
33,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
10208,
7,
61,
21680,
953,
834,
2606,
3072,
27452,
834,
357,
549,
17444,
427,
3447,
7,
3274,
96,
3229,
948,
2394,
6,
519,
2658,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
David Kasouf plays for how many colleges? | CREATE TABLE table_21321804_5 (
college VARCHAR,
player VARCHAR
) | SELECT COUNT(college) FROM table_21321804_5 WHERE player = "David Kasouf" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
2668,
2606,
6348,
834,
755,
41,
1900,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
1955,
12783,
1063,
89,
4805,
21,
149,
186,
1293... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
3297,
7883,
61,
21680,
953,
834,
2658,
2668,
2606,
6348,
834,
755,
549,
17444,
427,
1959,
3274,
96,
308,
9,
6961,
12783,
1063,
89,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the u.s. viewers (millions) when the production code was 4alh19? | CREATE TABLE table_26702204_1 (
us_viewers__million_ VARCHAR,
production_code VARCHAR
) | SELECT us_viewers__million_ FROM table_26702204_1 WHERE production_code = "4ALH19" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
2518,
357,
26363,
834,
536,
41,
178,
834,
4576,
277,
834,
834,
17030,
834,
584,
4280,
28027,
6,
999,
834,
4978,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
178,
834,
4576,
277,
834,
834,
17030,
834,
21680,
953,
834,
2688,
2518,
357,
26363,
834,
536,
549,
17444,
427,
999,
834,
4978,
3274,
96,
591,
4090,
566,
2294,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many prescription cases of 50 ml flex cont : magnesium sulfate 4% ij soln were made a year before? | CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code tex... | SELECT COUNT(*) FROM medication WHERE medication.drugname = '50 ml flex cont : magnesium sulfate 4% ij soln' AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
583,
41,
583,
23,
26,
381,
6,
775,
12417,
1499,
6,
1868,
15878,
3734,
21545,
23,
26,
381,
6,
605,
6137,
1499,
6,
605,
23,
26,
381,
6,
1567,
715,
97,
6,
583,
381,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
7757,
549,
17444,
427,
7757,
5,
26,
13534,
4350,
3274,
3,
31,
1752,
3,
51,
40,
3,
8902,
3622,
3,
10,
25443,
3,
7,
83,
89,
342,
3,
5988,
3,
23,
354,
9467,
29,
31,
3430,
309,
... |
What is the number of tries for that has 30 tries against? | CREATE TABLE table_name_74 (tries_for VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_name_74 WHERE tries_against = "30" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
9000,
834,
1161,
584,
4280,
28027,
6,
3,
9000,
834,
9,
16720,
7,
17,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
381,
13,
3,
900... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9000,
834,
1161,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
3,
9000,
834,
9,
16720,
7,
17,
3274,
96,
1458,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which city has an ICAO of TBA? | CREATE TABLE table_name_84 (
city VARCHAR,
icao VARCHAR
) | SELECT city FROM table_name_84 WHERE icao = "tba" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
690,
584,
4280,
28027,
6,
3,
2617,
32,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
690,
65,
46,
3,
15038,
667,
13,
332,
4882,
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,
690,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
3,
2617,
32,
3274,
96,
17,
115,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who was the sound producer that worked under Executive Producer JL? | CREATE TABLE table_name_77 (sound VARCHAR, producer_executive_producer VARCHAR) | SELECT sound FROM table_name_77 WHERE producer_executive_producer = "jl" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
17481,
584,
4280,
28027,
6,
8211,
834,
6667,
3044,
757,
834,
1409,
4817,
49,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
1345,
8211... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1345,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
8211,
834,
6667,
3044,
757,
834,
1409,
4817,
49,
3274,
96,
354,
40,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What lifespan has a majors greater than 1, and fuzzy zoeller as the name? | CREATE TABLE table_name_37 (
lifespan VARCHAR,
majors VARCHAR,
name VARCHAR
) | SELECT lifespan FROM table_name_37 WHERE majors > 1 AND name = "fuzzy zoeller" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
27617,
584,
4280,
28027,
6,
779,
7,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
27617,
65,
3,
9,
779,
7,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
27617,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
779,
7,
2490,
209,
3430,
564,
3274,
96,
22845,
4164,
3,
172,
32,
9670,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
List all directors along with the number of films directed by each director in a bar chart, and I want to rank by the bars in ascending please. | CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Number_in_season int,
Title text,
Directed_by text,
Original_air_date text,
Production_code text
)
CREATE TABLE cinema (
Cinema_ID int,
Name text,
Openning_year int,
Capacity int,
Location text
)
CREATE TABLE schedule... | SELECT Directed_by, COUNT(*) FROM film GROUP BY Directed_by ORDER BY Directed_by | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
814,
41,
3417,
834,
4309,
16,
17,
6,
3,
22557,
834,
77,
834,
10833,
7,
16,
17,
6,
7720,
834,
77,
834,
9476,
16,
17,
6,
11029,
1499,
6,
7143,
15,
26,
834,
969,
1499,
6,
8465,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7143,
15,
26,
834,
969,
6,
2847,
17161,
599,
1935,
61,
21680,
814,
350,
4630,
6880,
272,
476,
7143,
15,
26,
834,
969,
4674,
11300,
272,
476,
7143,
15,
26,
834,
969,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the sum of all laps starting at 10 and finishing at 20? | CREATE TABLE table_name_32 (
laps INTEGER,
start VARCHAR,
finish VARCHAR
) | SELECT SUM(laps) FROM table_name_32 WHERE start = "10" AND finish = "20" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
14941,
7,
3,
21342,
17966,
6,
456,
584,
4280,
28027,
6,
1992,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,
13,
66,
14941,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
180,
6122,
599,
8478,
7,
61,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
456,
3274,
96,
1714,
121,
3430,
1992,
3274,
96,
1755,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the arrangement for bets3ab 3alia nafsy? | CREATE TABLE table_28005100_1 (
arrangement VARCHAR,
title VARCHAR
) | SELECT arrangement FROM table_28005100_1 WHERE title = "Bets3ab 3alia Nafsy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17518,
3076,
2915,
834,
536,
41,
8641,
584,
4280,
28027,
6,
2233,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
8641,
21,
36,
17,
7,
519,
9,
115,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8641,
21680,
953,
834,
17518,
3076,
2915,
834,
536,
549,
17444,
427,
2233,
3274,
96,
2703,
17,
7,
519,
9,
115,
220,
5434,
1823,
89,
7,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the further cities for slovakia and west direction | CREATE TABLE table_23207 (
"Further Cities" text,
"County, Oblast or State" text,
"Country" text,
"Distance" text,
"Direction" text
) | SELECT "Further Cities" FROM table_23207 WHERE "Country" = 'Slovakia' AND "Direction" = 'West' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
26426,
41,
96,
371,
450,
189,
49,
21111,
121,
1499,
6,
96,
10628,
63,
6,
411,
21234,
42,
1015,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
308,
23,
8389,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
371,
450,
189,
49,
21111,
121,
21680,
953,
834,
2773,
26426,
549,
17444,
427,
96,
10628,
651,
121,
3274,
3,
31,
134,
5850,
11259,
9,
31,
3430,
96,
23620,
23,
106,
121,
3274,
3,
31,
19069,
31,
1,
-100,
-100,
... |
I want the trailers for 1931 and builder of mccw | CREATE TABLE table_name_48 (
trailers VARCHAR,
year VARCHAR,
builder VARCHAR
) | SELECT trailers FROM table_name_48 WHERE year = "1931" AND builder = "mccw" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
6943,
7,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
918,
49,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
27,
241,
8,
6943,
7,
21,
957... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6943,
7,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
215,
3274,
96,
2294,
3341,
121,
3430,
918,
49,
3274,
96,
51,
75,
75,
210,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the sum of year with the local host Sai? | CREATE TABLE table_name_37 (
year INTEGER,
local_host_s_ VARCHAR
) | SELECT SUM(year) FROM table_name_37 WHERE local_host_s_ = "sai" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
215,
3,
21342,
17966,
6,
415,
834,
12675,
834,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,
13,
215,
28,
8,
415,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
1201,
61,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
415,
834,
12675,
834,
7,
834,
3274,
96,
7,
9,
23,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Score has a Competition of uefa euro 2012 qualifying? | CREATE TABLE table_name_70 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_70 WHERE competition = "uefa euro 2012 qualifying" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
7,
9022,
584,
4280,
28027,
6,
2259,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
17763,
65,
3,
9,
15571,
13,
3,
76,
15,
89,
9,
3983,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2604,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
2259,
3274,
96,
76,
15,
89,
9,
3983,
1673,
18002,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the name of the engine company that is located at 89 Rope Ferry Road? | CREATE TABLE table_name_35 (engine_company VARCHAR, address VARCHAR) | SELECT engine_company FROM table_name_35 WHERE address = "89 rope ferry road" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
20165,
834,
29179,
584,
4280,
28027,
6,
1115,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
1948,
349,
24,
19,
1069,
44,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1948,
834,
29179,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
1115,
3274,
96,
3914,
13888,
20395,
1373,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who was the opponent team on September 30, 1990? | CREATE TABLE table_11800 (
"Week" text,
"Date" text,
"Opponent" text,
"Result" text,
"Kickoff [a ]" text,
"Game site" text,
"Attendance" text,
"Record" text
) | SELECT "Opponent" FROM table_11800 WHERE "Date" = 'september 30, 1990' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
6192,
41,
96,
518,
10266,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
439,
3142,
1647,
784,
9,
3,
908... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
102,
9977,
121,
21680,
953,
834,
2596,
6192,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
7,
6707,
18247,
11558,
5541,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many different students are involved in sports? | CREATE TABLE sportsinfo (
stuid number,
sportname text,
hoursperweek number,
gamesplayed number,
onscholarship text
)
CREATE TABLE video_games (
gameid number,
gname text,
gtype text
)
CREATE TABLE plays_games (
stuid number,
gameid number,
hours_played number
)
CREATE TAB... | SELECT COUNT(DISTINCT stuid) FROM sportsinfo | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2100,
9583,
41,
21341,
23,
26,
381,
6,
2600,
4350,
1499,
6,
716,
883,
8041,
381,
6,
1031,
4895,
15,
26,
381,
6,
30,
860,
17401,
2009,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
21341,
23,
26,
61,
21680,
2100,
9583,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the Top Gear budget in March 2013? | CREATE TABLE table_name_39 (budget VARCHAR, month_ VARCHAR, _year VARCHAR) | SELECT budget FROM table_name_39 WHERE month_ & _year = "march 2013" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
11073,
2782,
584,
4280,
28027,
6,
847,
834,
584,
4280,
28027,
6,
3,
834,
1201,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2224,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1487,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
847,
834,
3,
184,
3,
834,
1201,
3274,
96,
51,
7064,
2038,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is the name when the type is freighter, nationality is united kingdom on 3 may 1940? | CREATE TABLE table_name_61 (
name VARCHAR,
date VARCHAR,
type VARCHAR,
nationality VARCHAR
) | SELECT name FROM table_name_61 WHERE type = "freighter" AND nationality = "united kingdom" AND date = "3 may 1940" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
564,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
6,
686,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
564,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
686,
3274,
96,
89,
60,
2632,
49,
121,
3430,
1157,
485,
3274,
96,
15129,
15,
26,
14740,
121,
3430,
833,
3274,
96,
519,
164,
15830,
121,
1,
-100,
-100,
-100,
-... |
What Ratio has a Unit of zolotnik? | CREATE TABLE table_name_57 (
ratio VARCHAR,
unit VARCHAR
) | SELECT ratio FROM table_name_57 WHERE unit = "zolotnik" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
5688,
584,
4280,
28027,
6,
1745,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
6455,
23,
32,
65,
3,
9,
5579,
13,
3,
12423,
32,
17,
495... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5688,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
1745,
3274,
96,
12423,
32,
17,
4953,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which 2007 08 event has 2008 09 of dnp and an Event of players'? | CREATE TABLE table_7522 (
"Event" text,
"2006\u201307" text,
"2007\u201308" text,
"2008\u201309" text,
"2010\u201311" text
) | SELECT "2007\u201308" FROM table_7522 WHERE "2008\u201309" = 'dnp' AND "Event" = 'players' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
2884,
41,
96,
427,
2169,
121,
1499,
6,
96,
21196,
2,
76,
11138,
4560,
121,
1499,
6,
96,
20615,
2,
76,
11138,
4018,
121,
1499,
6,
96,
16128,
2,
76,
11138,
4198,
121,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20615,
2,
76,
11138,
4018,
121,
21680,
953,
834,
3072,
2884,
549,
17444,
427,
96,
16128,
2,
76,
11138,
4198,
121,
3274,
3,
31,
26,
29,
102,
31,
3430,
96,
427,
2169,
121,
3274,
3,
31,
20846,
7,
31,
1,
-100,
... |
What is the highest Rank, when U-17 Goals is '7', and when Player is 'Cesc F bregas'? | CREATE TABLE table_name_82 (
rank INTEGER,
u_17_goals VARCHAR,
player VARCHAR
) | SELECT MAX(rank) FROM table_name_82 WHERE u_17_goals = 7 AND player = "cesc fàbregas" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4613,
41,
11003,
3,
21342,
17966,
6,
3,
76,
834,
2517,
834,
839,
5405,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
6254,
61,
21680,
953,
834,
4350,
834,
4613,
549,
17444,
427,
3,
76,
834,
2517,
834,
839,
5405,
3274,
489,
3430,
1959,
3274,
96,
75,
1579,
3,
89,
85,
1999,
5556,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
Who was the home team in the game broadcast on the Big East Network? | CREATE TABLE table_26842217_12 (
home_team VARCHAR,
broadcast VARCHAR
) | SELECT home_team FROM table_26842217_12 WHERE broadcast = "Big East Network" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
4608,
2884,
2517,
834,
2122,
41,
234,
834,
11650,
584,
4280,
28027,
6,
6878,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
234,
372,
16,
8,
467... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
234,
834,
11650,
21680,
953,
834,
2688,
4608,
2884,
2517,
834,
2122,
549,
17444,
427,
6878,
3274,
96,
23805,
1932,
3426,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the address of the building with architects Edmund Woolley and Andrew Hamilton? | CREATE TABLE table_71239 (
"Name" text,
"Street address" text,
"Years as tallest" text,
"Height ft (m)" text,
"Floors" text,
"Architect" text
) | SELECT "Street address" FROM table_71239 WHERE "Architect" = 'edmund woolley and andrew hamilton' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4450,
357,
3288,
41,
96,
23954,
121,
1499,
6,
96,
11500,
15,
15,
17,
1115,
121,
1499,
6,
96,
476,
2741,
7,
38,
5065,
222,
121,
1499,
6,
96,
3845,
2632,
3,
89,
17,
41,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
11500,
15,
15,
17,
1115,
121,
21680,
953,
834,
4450,
357,
3288,
549,
17444,
427,
96,
16768,
121,
3274,
3,
31,
15,
26,
51,
1106,
13996,
1306,
11,
11,
60,
210,
3,
1483,
23,
7377,
31,
1,
-100,
-100,
-100,
-100,... |
What is the greatest number of bills sponsored in any year? | CREATE TABLE table_22639 (
"Years covered" text,
"All bills sponsored" real,
"All amendments sponsored" real,
"All bills cosponsored" real,
"All amendments cosponsored" real,
"Bills originally cosponsored" real,
"Amendments originally cosponsored" real
) | SELECT MAX("All bills sponsored") FROM table_22639 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2688,
3288,
41,
96,
476,
2741,
7,
2303,
121,
1499,
6,
96,
6838,
7200,
11851,
121,
490,
6,
96,
6838,
12123,
7,
11851,
121,
490,
6,
96,
6838,
7200,
576,
27959,
121,
49... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6838,
7200,
11851,
8512,
21680,
953,
834,
357,
2688,
3288,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.