NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
How many viewers watched the episode written by shana goldberg-meehan & greg malins? | CREATE TABLE table_29496 (
"No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
) | SELECT "U.S. viewers (million)" FROM table_29496 WHERE "Written by" = 'Shana Goldberg-Meehan & Greg Malins' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4240,
4314,
41,
96,
4168,
535,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965,
324,
57,
121,
1499,
6,
96,
667,
3380,
10270... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1265,
5,
134,
5,
13569,
41,
17030,
61,
121,
21680,
953,
834,
357,
4240,
4314,
549,
17444,
427,
96,
24965,
324,
57,
121,
3274,
3,
31,
134,
2618,
9,
2540,
2235,
18,
329,
15,
15,
2618,
3,
184,
11859,
2148,
77,
... |
What is the club/province of Sireli Bobo, who plays wing and has less than 24 caps? | CREATE TABLE table_name_93 (
club_province VARCHAR,
player VARCHAR,
position VARCHAR,
caps VARCHAR
) | SELECT club_province FROM table_name_93 WHERE position = "wing" AND caps < 24 AND player = "sireli bobo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4271,
41,
1886,
834,
1409,
2494,
565,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
16753,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1886,
834,
1409,
2494,
565,
21680,
953,
834,
4350,
834,
4271,
549,
17444,
427,
1102,
3274,
96,
3108,
121,
3430,
16753,
3,
2,
997,
3430,
1959,
3274,
96,
7,
23,
19459,
3,
17396,
32,
121,
1,
-100,
-100,
-100,
-100,
-... |
What was Yardley-BRM's points high after 1971? | CREATE TABLE table_14647 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) | SELECT MAX("Points") FROM table_14647 WHERE "Entrant" = 'yardley-brm' AND "Year" > '1971' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24300,
4177,
41,
96,
476,
2741,
121,
490,
6,
96,
16924,
3569,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
22512,
7,
121,
490,
3,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
22512,
7,
8512,
21680,
953,
834,
24300,
4177,
549,
17444,
427,
96,
16924,
3569,
121,
3274,
3,
31,
6636,
1306,
18,
115,
52,
51,
31,
3430,
96,
476,
2741,
121,
2490,
3,
31,
2294,
4450,
31,
1,
-10... |
Which Icelandic has a Danish of blåt/blå? | CREATE TABLE table_name_59 (icelandic VARCHAR, danish VARCHAR) | SELECT icelandic FROM table_name_59 WHERE danish = "blåt/blå" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
867,
1618,
4370,
584,
4280,
28027,
6,
3,
3768,
1273,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
20910,
447,
65,
3,
9,
23124,
13,
3,
115... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
867,
1618,
4370,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
3,
3768,
1273,
3274,
96,
115,
40,
2,
17,
87,
115,
40,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
In what Week was the Attendance 43,430? | CREATE TABLE table_name_13 (week INTEGER, attendance VARCHAR) | SELECT MAX(week) FROM table_name_13 WHERE attendance = 43 OFFSET 430 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
8041,
3,
21342,
17966,
6,
11364,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
125,
6551,
47,
8,
22497,
663,
8838,
6,
25449,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
8041,
61,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
11364,
3274,
8838,
3,
15316,
20788,
3,
25449,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Selection has a College of texas a&m? | CREATE TABLE table_name_71 (
selection INTEGER,
college VARCHAR
) | SELECT SUM(selection) FROM table_name_71 WHERE college = "texas a&m" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4450,
41,
1801,
3,
21342,
17966,
6,
1900,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
22246,
65,
3,
9,
1888,
13,
3,
10354,
9,
7,
3,
9,
184,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
180,
6122,
599,
7,
15,
12252,
61,
21680,
953,
834,
4350,
834,
4450,
549,
17444,
427,
1900,
3274,
96,
10354,
9,
7,
3,
9,
184,
51,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the lowest enrollment amount for a year left of 2012 and a current conference of Mid-South? | CREATE TABLE table_48371 (
"Location" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Nickname" text,
"Joined" real,
"Left" real,
"Current Conference" text
) | SELECT MIN("Enrollment") FROM table_48371 WHERE "Left" = '2012' AND "Current Conference" = 'mid-south' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3707,
4118,
536,
41,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
20100,
121,
490,
6,
96,
25160,
121,
1499,
6,
96,
8532,
4046,
297,
121,
490,
6,
96,
567,
3142,
4350,
121,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
8532,
4046,
297,
8512,
21680,
953,
834,
3707,
4118,
536,
549,
17444,
427,
96,
2796,
89,
17,
121,
3274,
3,
31,
12172,
31,
3430,
96,
254,
450,
5320,
4379,
121,
3274,
3,
31,
6983,
18,
7,
670,
10... |
What's the total number of episodes whose original airings were viewed by 1.82 million viewers? | CREATE TABLE table_16600 (
"No." real,
"Episode" text,
"Air Date" text,
"Timeslot" text,
"Rating" text,
"Share" text,
"18\u201349 (Rating/Share)" text,
"Viewers (m)" text,
"Rank (#)" text
) | SELECT COUNT("Air Date") FROM table_16600 WHERE "Viewers (m)" = '1.82' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
6007,
41,
96,
4168,
535,
490,
6,
96,
427,
102,
159,
32,
221,
121,
1499,
6,
96,
20162,
7678,
121,
1499,
6,
96,
13368,
7,
3171,
121,
1499,
6,
96,
448,
1014,
121,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
20162,
7678,
8512,
21680,
953,
834,
2938,
6007,
549,
17444,
427,
96,
15270,
277,
41,
51,
61,
121,
3274,
3,
31,
16253,
357,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
For those employees who did not have any job in the past, find job_id and the sum of employee_id , and group by attribute job_id, and visualize them by a bar chart, list by the JOB_ID from high to low. | CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE countries (
COUNTRY_ID... | SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY JOB_ID DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6266,
41,
4083,
517,
9215,
834,
4309,
7908,
1982,
599,
11116,
632,
201,
4083,
517,
9215,
834,
567,
17683,
3,
4331,
4059,
599,
1828,
61,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
446,
10539,
834,
4309,
6,
180,
6122,
599,
6037,
345,
5017,
476,
5080,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
4486,
262,
5244,
5017,
476,
5080,
834,
4309,
3388,
41,
23143,
14196,
262,
5244,
5017,
476,
5080,
834,
... |
What is the name of the settlement that had a population of 9443 in 2011? | CREATE TABLE table_2562572_53 (
settlement VARCHAR,
population__2011_ VARCHAR
) | SELECT settlement FROM table_2562572_53 WHERE population__2011_ = 9443 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19337,
1828,
5865,
834,
4867,
41,
7025,
584,
4280,
28027,
6,
2074,
834,
834,
13907,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
702... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7025,
21680,
953,
834,
19337,
1828,
5865,
834,
4867,
549,
17444,
427,
2074,
834,
834,
13907,
834,
3274,
3,
4240,
4906,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne? | CREATE TABLE table_name_66 (sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR) | SELECT sub_parish__sogn_ FROM table_name_66 WHERE year_built < 1883 AND parish__prestegjeld_ = "jostedal parish" AND location_of_the_church = "gaupne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
7304,
834,
1893,
1273,
834,
834,
7,
32,
122,
29,
834,
584,
4280,
28027,
6,
1128,
834,
858,
834,
532,
834,
28854,
584,
4280,
28027,
6,
215,
834,
16152,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
769,
834,
1893,
1273,
834,
834,
7,
32,
122,
29,
834,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
215,
834,
16152,
3,
2,
507,
4591,
3430,
14961,
834,
834,
2026,
849,
122,
354,
8804,
834,
3274,
96,
1927,
6265... |
What's the Wednesday, June 1 practice time for the rider that did 21' 05.87 107.300mph on Thursday, June 2? | CREATE TABLE table_29218221_3 (
wed_1_june VARCHAR,
thurs_2_june VARCHAR
) | SELECT wed_1_june FROM table_29218221_3 WHERE thurs_2_june = "21' 05.87 107.300mph" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
2658,
4613,
2658,
834,
519,
41,
62,
26,
834,
536,
834,
6959,
15,
584,
4280,
28027,
6,
3,
189,
3589,
834,
357,
834,
6959,
15,
584,
4280,
28027,
3,
61,
3,
32102,
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,
62,
26,
834,
536,
834,
6959,
15,
21680,
953,
834,
3166,
2658,
4613,
2658,
834,
519,
549,
17444,
427,
3,
189,
3589,
834,
357,
834,
6959,
15,
3274,
96,
2658,
31,
3,
3076,
5,
4225,
3,
18057,
5,
5426,
7656,
121,
1,
... |
What is the Result of the game with an Attendance of 64,104? | CREATE TABLE table_43635 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) | SELECT "Result" FROM table_43635 WHERE "Attendance" = '64,104' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3420,
2469,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
188,
17,
324,
26,
663,
121,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20119,
121,
21680,
953,
834,
591,
3420,
2469,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
3274,
3,
31,
4389,
6,
15442,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest week that has 51,499 as the attendance? | CREATE TABLE table_66080 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) | SELECT MIN("Week") FROM table_66080 WHERE "Attendance" = '51,499' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27720,
2079,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
188,
17,
324,
26,
663,
121,
490... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
518,
10266,
8512,
21680,
953,
834,
27720,
2079,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
3274,
3,
31,
5553,
6,
591,
3264,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which season had k0104? | CREATE TABLE table_2618113_1 (
no_in_season INTEGER,
production_code VARCHAR
) | SELECT MAX(no_in_season) FROM table_2618113_1 WHERE production_code = "K0104" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
2606,
20522,
834,
536,
41,
150,
834,
77,
834,
9476,
3,
21342,
17966,
6,
999,
834,
4978,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
774,
141,
3,
157... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
29,
32,
834,
77,
834,
9476,
61,
21680,
953,
834,
2688,
2606,
20522,
834,
536,
549,
17444,
427,
999,
834,
4978,
3274,
96,
439,
632,
15442,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many new conferences are in the NCLL deep south conference? | CREATE TABLE table_28731 (
"Institution" text,
"Location" text,
"Team Nickname" text,
"Years" text,
"New Conference" text,
"New Classification" text
) | SELECT COUNT("New Conference") FROM table_28731 WHERE "New Classification" = 'NCLL Deep South Conference' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4225,
3341,
41,
96,
1570,
17448,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
18699,
7486,
4350,
121,
1499,
6,
96,
476,
2741,
7,
121,
1499,
6,
96,
6861,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
6861,
4379,
8512,
21680,
953,
834,
357,
4225,
3341,
549,
17444,
427,
96,
6861,
4501,
2420,
121,
3274,
3,
31,
8137,
10376,
9509,
1013,
4379,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What day did they play the bolton wanderers with a result F–A of 1–2? | CREATE TABLE table_name_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_78 WHERE result_f_a = "1–2" AND opponent = "bolton wanderers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3940,
41,
5522,
584,
4280,
28027,
6,
741,
834,
89,
834,
9,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
239,
410,
79,
57... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3940,
549,
17444,
427,
741,
834,
89,
834,
9,
3274,
96,
536,
104,
357,
121,
3430,
15264,
3274,
96,
4243,
17,
106,
10735,
277,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Give me a bar chart, that group by location and count them, rank x axis in ascending order. | CREATE TABLE host (
Host_ID int,
Name text,
Nationality text,
Age text
)
CREATE TABLE party (
Party_ID int,
Party_Theme text,
Location text,
First_year text,
Last_year text,
Number_of_hosts int
)
CREATE TABLE party_host (
Party_ID int,
Host_ID int,
Is_Main_in_Charge... | SELECT Location, COUNT(Location) FROM party GROUP BY Location ORDER BY Location | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2290,
41,
1546,
7,
17,
834,
4309,
16,
17,
6,
5570,
1499,
6,
868,
485,
1499,
6,
7526,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1088,
41,
3450,
834,
4309,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
10450,
6,
2847,
17161,
599,
434,
32,
75,
257,
61,
21680,
1088,
350,
4630,
6880,
272,
476,
10450,
4674,
11300,
272,
476,
10450,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
For the attribute All_Road and All_Games_Percent, show their proportion by a pie chart. | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT All_Road, All_Games_Percent FROM basketball_match | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8498,
834,
19515,
41,
2271,
834,
4309,
16,
17,
6,
1121,
834,
4309,
16,
17,
6,
2271,
834,
23954,
1499,
6,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
1499,
6,
3,
14775,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
448,
32,
9,
26,
6,
432,
834,
23055,
7,
834,
12988,
3728,
21680,
8498,
834,
19515,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the most played when points is 105 | CREATE TABLE table_22038 (
"Team" text,
"Average" text,
"Points" real,
"Played" real,
"1991-92" text,
"1992-93" text,
"1993-94" real
) | SELECT MAX("Played") FROM table_22038 WHERE "Points" = '105' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
1755,
3747,
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,
4729,
18,
4508,
121,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
15800,
15,
26,
8512,
21680,
953,
834,
357,
1755,
3747,
549,
17444,
427,
96,
22512,
7,
121,
3274,
3,
31,
12869,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What location has tatsuhito takaiwa as the wrestler? | CREATE TABLE table_37027 (
"Wrestler" text,
"Reign" text,
"Days held" text,
"Location" text,
"Event" text
) | SELECT "Location" FROM table_37027 WHERE "Wrestler" = 'tatsuhito takaiwa' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22520,
2555,
41,
96,
518,
6216,
1171,
121,
1499,
6,
96,
1649,
3191,
121,
1499,
6,
96,
16803,
7,
1213,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
427,
2169,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
22520,
2555,
549,
17444,
427,
96,
518,
6216,
1171,
121,
3274,
3,
31,
17,
23766,
10536,
32,
3,
17,
5667,
23,
210,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the location of the Kkspe Foundation? | CREATE TABLE table_61912 (
"Name in English" text,
"Name in Malay" text,
"Acronym" text,
"Foundation" text,
"Location" text
) | SELECT "Location" FROM table_61912 WHERE "Foundation" = 'kkspe' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
2294,
2122,
41,
96,
23954,
16,
1566,
121,
1499,
6,
96,
23954,
16,
2148,
9,
63,
121,
1499,
6,
96,
188,
18036,
63,
51,
121,
1499,
6,
96,
371,
32,
1106,
257,
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,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
948,
2294,
2122,
549,
17444,
427,
96,
371,
32,
1106,
257,
121,
3274,
3,
31,
8511,
7,
855,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of headquarter and the sum of code , and group by attribute headquarter, show Y-axis in desc order. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T1.Code DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7554,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
5312,
3396,
254,
26330,
434,
6,
15248,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
3845,
9,
26,
19973,
6,
332,
5411,
22737,
21680,
7554,
6157,
332,
536,
3,
15355,
3162,
15248,
7,
6157,
332,
357,
9191,
332,
5411,
7296,
76,
8717,
450,
49,
3274,
332,
4416,
22737,
350,
4630,
6880,
272,
476,... |
how many times is 20th century fox on the top grossing films -lrb- u.s. -rrb- list ? | CREATE TABLE table_201_19 (
id number,
"rank" number,
"title" text,
"studio" text,
"director" text,
"actors" text,
"gross" text
) | SELECT COUNT(*) FROM table_201_19 WHERE "studio" = '20th century fox' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22772,
834,
2294,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
21869,
121,
1499,
6,
96,
22991,
121,
1499,
6,
96,
25982,
121,
1499,
6,
96,
9,
5317,
7,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
22772,
834,
2294,
549,
17444,
427,
96,
22991,
121,
3274,
3,
31,
1755,
189,
2646,
3,
20400,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find the name and gender type of the dorms whose capacity is greater than 300 or less than 100. | CREATE TABLE dorm (
dormid number,
dorm_name text,
student_capacity number,
gender text
)
CREATE TABLE lives_in (
stuid number,
dormid number,
room_number number
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
a... | SELECT dorm_name, gender FROM dorm WHERE student_capacity > 300 OR student_capacity < 100 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
103,
52,
51,
41,
103,
52,
6983,
381,
6,
103,
52,
51,
834,
4350,
1499,
6,
1236,
834,
4010,
9,
6726,
381,
6,
7285,
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,
103,
52,
51,
834,
4350,
6,
7285,
21680,
103,
52,
51,
549,
17444,
427,
1236,
834,
4010,
9,
6726,
2490,
3147,
4674,
1236,
834,
4010,
9,
6726,
3,
2,
910,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Place when the score is less than 71, and Country is zimbabwe? | CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR, country VARCHAR) | SELECT place FROM table_name_86 WHERE score < 71 AND country = "zimbabwe" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
4687,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3399,
116,
8,
2604,
19,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
2604,
3,
2,
3,
4450,
3430,
684,
3274,
96,
172,
17982,
115,
1123,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What result was a date of 20/03/2008 with leeds as the opponent | CREATE TABLE table_name_59 (result VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT result FROM table_name_59 WHERE opponent = "leeds" AND date = "20/03/2008" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
741,
47,
3,
9,
833,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
15264,
3274,
96,
40,
6958,
7,
121,
3430,
833,
3274,
96,
1755,
31064,
16128,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What were the notes of the All-Africa Games before 2007? | CREATE TABLE table_name_41 (notes VARCHAR, competition VARCHAR, year VARCHAR) | SELECT notes FROM table_name_41 WHERE competition = "all-africa games" AND year < 2007 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
7977,
7,
584,
4280,
28027,
6,
2259,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
130,
8,
3358,
13,
8,
432,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3358,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
2259,
3274,
96,
1748,
18,
9,
89,
2234,
9,
1031,
121,
3430,
215,
3,
2,
4101,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Draw a bar chart about the distribution of All_Home and the amount of All_Home , and group by attribute All_Home, rank y axis from low to high order. | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT All_Home, COUNT(All_Home) FROM basketball_match GROUP BY All_Home ORDER BY COUNT(All_Home) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8498,
834,
19515,
41,
2271,
834,
4309,
16,
17,
6,
1121,
834,
4309,
16,
17,
6,
2271,
834,
23954,
1499,
6,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
1499,
6,
3,
14775,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
19040,
6,
2847,
17161,
599,
6838,
834,
19040,
61,
21680,
8498,
834,
19515,
350,
4630,
6880,
272,
476,
432,
834,
19040,
4674,
11300,
272,
476,
2847,
17161,
599,
6838,
834,
19040,
61,
1,
-100,
-100,
-100,
-100... |
find the total percentage share of all channels owned by CCTV. | CREATE TABLE channel (Share_in_percent INTEGER, OWNER VARCHAR) | SELECT SUM(Share_in_percent) FROM channel WHERE OWNER = 'CCTV' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4245,
41,
24501,
834,
77,
834,
883,
3728,
3,
21342,
17966,
6,
3,
15251,
18206,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
253,
8,
792,
5294,
698,
13,
66,
6047,
4157,
57,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
180,
6122,
599,
24501,
834,
77,
834,
883,
3728,
61,
21680,
4245,
549,
17444,
427,
3,
15251,
18206,
3274,
3,
31,
2823,
4562,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Director of Gulf Stream Under the Iceberg? | CREATE TABLE table_name_55 (
director VARCHAR,
film_title_used_in_nomination VARCHAR
) | SELECT director FROM table_name_55 WHERE film_title_used_in_nomination = "gulf stream under the iceberg" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
2090,
584,
4280,
28027,
6,
814,
834,
21869,
834,
10064,
834,
77,
834,
29,
32,
14484,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2090,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
814,
834,
21869,
834,
10064,
834,
77,
834,
29,
32,
14484,
3274,
96,
6106,
89,
6093,
365,
8,
3,
867,
2235,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the frequency for the city of Lamar, Colorado? | CREATE TABLE table_37753 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
) | SELECT AVG("Frequency MHz") FROM table_37753 WHERE "City of license" = 'lamar, colorado' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4118,
3072,
519,
41,
96,
254,
1748,
1320,
121,
1499,
6,
96,
371,
60,
835,
11298,
3,
20210,
121,
490,
6,
96,
254,
485,
13,
3344,
121,
1499,
6,
96,
3316,
345,
549,
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,
371,
60,
835,
11298,
3,
20210,
8512,
21680,
953,
834,
4118,
3072,
519,
549,
17444,
427,
96,
254,
485,
13,
3344,
121,
3274,
3,
31,
521,
1635,
6,
945,
9,
26,
32,
31,
1,
-100,
-100,
-100,
-100,... |
What's melbourne's average year? | CREATE TABLE table_name_35 (year INTEGER, team VARCHAR) | SELECT AVG(year) FROM table_name_35 WHERE team = "melbourne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
1201,
3,
21342,
17966,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
3,
2341,
26255,
31,
7,
1348,
215,
58,
1,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
1201,
61,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
372,
3274,
96,
2341,
26255,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Show weight from each name, could you sort from high to low by the Name? | CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight re... | SELECT Name, Weight FROM people ORDER BY Name DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4775,
41,
25833,
17,
15,
834,
4309,
16,
17,
6,
2449,
834,
4309,
16,
17,
6,
14457,
834,
23799,
1499,
6,
7678,
1499,
6,
4224,
834,
2206,
490,
6,
9151,
834,
2206,
490,
6,
4495,
2748,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5570,
6,
14230,
21680,
151,
4674,
11300,
272,
476,
5570,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is Method, when Opponent is "Chalid Arrab"? | CREATE TABLE table_name_4 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_4 WHERE opponent = "chalid arrab" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
23152,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
7717,
6,
116,
4495,
9977,
19,
96,
3541,
9,
8130,
1533,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1573,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
15264,
3274,
96,
3441,
8130,
3,
10116,
115,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the date of the Mavericks home game? | CREATE TABLE table_56938 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
) | SELECT "Date" FROM table_56938 WHERE "Home" = 'mavericks' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3951,
3747,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
2796,
9,
26,
53,
2604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
755,
3951,
3747,
549,
17444,
427,
96,
19040,
121,
3274,
3,
31,
51,
9,
162,
5206,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who constructed Mike Sparken's car with a tyre of E? | CREATE TABLE table_name_79 (
constructor VARCHAR,
tyre VARCHAR,
driver VARCHAR
) | SELECT constructor FROM table_name_79 WHERE tyre = "e" AND driver = "mike sparken" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
6774,
127,
584,
4280,
28027,
6,
3,
17,
63,
60,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
8520,
4794,
150... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6774,
127,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
3,
17,
63,
60,
3274,
96,
15,
121,
3430,
2535,
3274,
96,
20068,
15,
13233,
35,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the sum of all played when less than 4 sets were won and 3-dart average was 53.19? | CREATE TABLE table_35072 (
"Player" text,
"Played" real,
"Sets Won" real,
"Sets Lost" real,
"Legs Won" real,
"Legs Lost" real,
"100+" real,
"140+" real,
"180s" real,
"High Checkout" real,
"3-dart Average" real
) | SELECT SUM("Played") FROM table_35072 WHERE "Sets Won" < '4' AND "3-dart Average" = '53.19' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
16975,
5865,
41,
96,
15800,
49,
121,
1499,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
17175,
7,
549,
106,
121,
490,
6,
96,
17175,
7,
19576,
121,
490,
6,
96,
2796,
122,
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,
180,
6122,
599,
121,
15800,
15,
26,
8512,
21680,
953,
834,
16975,
5865,
549,
17444,
427,
96,
17175,
7,
549,
106,
121,
3,
2,
3,
31,
591,
31,
3430,
96,
519,
18,
26,
1408,
23836,
121,
3274,
3,
31,
4867,
5,
2294,
... |
What was the crowd size for the away team footscray? | CREATE TABLE table_name_59 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_59 WHERE away_team = "footscray" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
75,
3623,
26,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
4374,
812,
21,
8,
550,
372,
2418,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4374,
21680,
953,
834,
4350,
834,
3390,
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... |
What team had high assists Rafer Alston (5)? | CREATE TABLE table_15872814_7 (team VARCHAR, high_assists VARCHAR) | SELECT team FROM table_15872814_7 WHERE high_assists = "Rafer Alston (5)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
4225,
2577,
2534,
834,
940,
41,
11650,
584,
4280,
28027,
6,
306,
834,
6500,
7,
17,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
372,
141,
306,
13041,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
21680,
953,
834,
1808,
4225,
2577,
2534,
834,
940,
549,
17444,
427,
306,
834,
6500,
7,
17,
7,
3274,
96,
448,
9,
1010,
901,
4411,
3,
15757,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the total number of Std SAPs with 0-11 Opt SAPS? | CREATE TABLE table_40960 (
"Model" text,
"Books / PUs" text,
"IFLs / uIFLs" text,
"zAAPs / zIIPs" text,
"ICFs" text,
"Opt SAPs" text,
"Std SAPs" real,
"Std Spares" real,
"Standard Memory (GB)" text,
"Flexible Memory (GB)" text
) | SELECT COUNT("Std SAPs") FROM table_40960 WHERE "Opt SAPs" = '0-11' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2445,
27699,
41,
96,
24663,
121,
1499,
6,
96,
13355,
7,
3,
87,
3,
10744,
7,
121,
1499,
6,
96,
196,
10765,
7,
3,
87,
3,
76,
196,
10765,
7,
121,
1499,
6,
96,
172,
188,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
134,
17,
26,
14654,
7,
8512,
21680,
953,
834,
2445,
27699,
549,
17444,
427,
96,
667,
102,
17,
14654,
7,
121,
3274,
3,
31,
632,
9169,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
which nfl team picked the first player | CREATE TABLE table_203_417 (
id number,
"rnd." number,
"pick #" number,
"nfl team" text,
"player" text,
"pos." text,
"college" text,
"conf." text,
"notes" text
) | SELECT "nfl team" FROM table_203_417 WHERE "pick #" = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
591,
2517,
41,
3,
23,
26,
381,
6,
96,
52,
727,
535,
381,
6,
96,
17967,
1713,
121,
381,
6,
96,
29,
89,
40,
372,
121,
1499,
6,
96,
20846,
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,
29,
89,
40,
372,
121,
21680,
953,
834,
23330,
834,
591,
2517,
549,
17444,
427,
96,
17967,
1713,
121,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was the winner if the Mountains Classification award was given to Jaime Vergara and the Team Classification award is given to Col es Pasion Café De Colombia 472? | CREATE TABLE table_28853064_15 (winner VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR) | SELECT winner FROM table_28853064_15 WHERE mountains_classification = "Jaime Vergara" AND team_classification = "Col es Pasion Café De Colombia 472" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
4433,
1458,
4389,
834,
1808,
41,
3757,
687,
584,
4280,
28027,
6,
8022,
834,
4057,
2420,
584,
4280,
28027,
6,
372,
834,
4057,
2420,
584,
4280,
28027,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4668,
21680,
953,
834,
2577,
4433,
1458,
4389,
834,
1808,
549,
17444,
427,
8022,
834,
4057,
2420,
3274,
96,
683,
9595,
781,
1478,
9,
121,
3430,
372,
834,
4057,
2420,
3274,
96,
9939,
3,
15,
7,
2709,
1938,
18131,
374,... |
what's the result with incumbent being jack z. anderson | CREATE TABLE table_1342233_6 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342233_6 WHERE incumbent = "Jack Z. Anderson" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
4165,
20879,
834,
948,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
741,
28,
28406,
271,
3,
93... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
2368,
4165,
20879,
834,
948,
549,
17444,
427,
28406,
3274,
96,
683,
4365,
1027,
5,
11825,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What level has 11880 macroblocks and high 10 profile is 6000? | CREATE TABLE table_237036_2 (
level VARCHAR,
macroblocks_s VARCHAR,
high_10_profile VARCHAR
) | SELECT level FROM table_237036_2 WHERE macroblocks_s = 11880 AND high_10_profile = 6000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2518,
3420,
834,
357,
41,
593,
584,
4280,
28027,
6,
11663,
10734,
7,
834,
7,
584,
4280,
28027,
6,
306,
834,
1714,
834,
18816,
584,
4280,
28027,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
593,
21680,
953,
834,
2773,
2518,
3420,
834,
357,
549,
17444,
427,
11663,
10734,
7,
834,
7,
3274,
3,
20056,
2079,
3430,
306,
834,
1714,
834,
18816,
3274,
3,
21987,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
count the number of patients whose death status is 1 and year of birth is less than 2085? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.dob_year < "2085" | [
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,
994,
2388,
15,
834,
89,
5430,
3274,
96,
536,
121,
3430,
14798,
5,
26,
32,
115,
834,
1201,
3,
2... |
What is the number & name with an Undergoing overhaul, restoration or repairs date? | CREATE TABLE table_name_65 (
number_ VARCHAR,
_name VARCHAR,
date VARCHAR
) | SELECT number_ & _name FROM table_name_65 WHERE date = "undergoing overhaul, restoration or repairs" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
381,
834,
584,
4280,
28027,
6,
3,
834,
4350,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
381,
3,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
381,
834,
3,
184,
3,
834,
4350,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
833,
3274,
96,
22725,
24254,
6,
8916,
42,
7384,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who performed the song recorded at the Cabin in the Woods Studio with a Time of 3:16? | CREATE TABLE table_66015 (
"Title" text,
"Time" text,
"Writer(s)" text,
"Performer(s)" text,
"Producer(s)" text,
"Recorded at" text
) | SELECT "Performer(s)" FROM table_66015 WHERE "Recorded at" = 'the cabin in the woods studio' AND "Time" = '3:16' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27720,
1808,
41,
96,
382,
155,
109,
121,
1499,
6,
96,
13368,
121,
1499,
6,
96,
24965,
49,
599,
7,
61,
121,
1499,
6,
96,
12988,
2032,
49,
599,
7,
61,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
12988,
2032,
49,
599,
7,
61,
121,
21680,
953,
834,
27720,
1808,
549,
17444,
427,
96,
1649,
7621,
15,
26,
44,
121,
3274,
3,
31,
532,
7788,
16,
8,
1679,
7,
3100,
31,
3430,
96,
13368,
121,
3274,
3,
31,
519,
1... |
How many patients have elective admission type and 51466 lab test item id? | 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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.itemid = "51466" | [
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,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
How many open cups were hosted in 1993? | CREATE TABLE table_17371 (
"Year" real,
"Division" text,
"League" text,
"Reg. Season" text,
"Playoffs" text,
"Open Cup" text
) | SELECT COUNT("Open Cup") FROM table_17371 WHERE "Year" = '1993' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
4118,
536,
41,
96,
476,
2741,
121,
490,
6,
96,
308,
23,
6610,
121,
1499,
6,
96,
2796,
9,
5398,
121,
1499,
6,
96,
17748,
5,
7960,
121,
1499,
6,
96,
15800,
1647,
7,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
22696,
3802,
8512,
21680,
953,
834,
2517,
4118,
536,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
2294,
4271,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the average Week, when Opponent is Minnesota Vikings? | CREATE TABLE table_name_16 (week INTEGER, opponent VARCHAR) | SELECT AVG(week) FROM table_name_16 WHERE opponent = "minnesota vikings" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
8041,
3,
21342,
17966,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
6551,
6,
116,
4495,
9977,
19,
9745,
19476,
7,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
8041,
61,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
15264,
3274,
96,
1109,
1496,
32,
17,
9,
3,
21346,
53,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
If the Class A is Anton and Class AAA is Burnet, what is Class AA? | CREATE TABLE table_name_88 (
class_aA VARCHAR,
class_a VARCHAR,
class_aAA VARCHAR,
burnet VARCHAR
) | SELECT class_aA FROM table_name_88 WHERE class_a = "anton" AND class_aAA = burnet | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
853,
834,
9,
188,
584,
4280,
28027,
6,
853,
834,
9,
584,
4280,
28027,
6,
853,
834,
9,
5498,
584,
4280,
28027,
6,
5958,
15,
17,
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,
853,
834,
9,
188,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
853,
834,
9,
3274,
96,
9,
6992,
121,
3430,
853,
834,
9,
5498,
3274,
5958,
15,
17,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the least amount for Goals Olimpia? | CREATE TABLE table_18907 (
"Tournament" text,
"Matches" real,
"Wins Olimpia" real,
"Empates" real,
"Wins Cerro" real,
"Goals Olimpia" real,
"Goals Cerro" real
) | SELECT MIN("Goals Olimpia") FROM table_18907 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25312,
4560,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
329,
144,
2951,
121,
490,
6,
96,
18455,
7,
3,
30370,
23,
9,
121,
490,
6,
96,
427,
1167,
6203,
121,
490,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
6221,
5405,
3,
30370,
23,
9,
8512,
21680,
953,
834,
25312,
4560,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What Coding has a 3 UTR sequence of 6a 4 with a GenBank id of hq021439? | CREATE TABLE table_5218 (
"Variant id" text,
"5\u2019UTR splice" text,
"Coding" text,
"3\u2019UTR sequence" text,
"GenBank id" text
) | SELECT "Coding" FROM table_5218 WHERE "3\u2019UTR sequence" = '6a 4' AND "GenBank id" = 'hq021439' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5373,
2606,
41,
96,
553,
6855,
17,
3,
23,
26,
121,
1499,
6,
96,
755,
2,
76,
8584,
6675,
448,
3,
7,
10435,
15,
121,
1499,
6,
96,
3881,
26,
53,
121,
1499,
6,
96,
519,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3881,
26,
53,
121,
21680,
953,
834,
5373,
2606,
549,
17444,
427,
96,
519,
2,
76,
8584,
6675,
448,
5932,
121,
3274,
3,
31,
948,
9,
314,
31,
3430,
96,
13714,
21347,
3,
23,
26,
121,
3274,
3,
31,
107,
1824,
43... |
Who trained the horse on post 11 with over 36 odds? | CREATE TABLE table_52724 (
"Finished" text,
"Post" real,
"Horse" text,
"Jockey" text,
"Trainer" text,
"Odds" real
) | SELECT "Trainer" FROM table_52724 WHERE "Odds" > '36' AND "Post" = '11' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2555,
2266,
41,
96,
31135,
121,
1499,
6,
96,
22507,
121,
490,
6,
96,
566,
127,
7,
15,
121,
1499,
6,
96,
683,
3961,
15,
63,
121,
1499,
6,
96,
9402,
4899,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
9402,
4899,
121,
21680,
953,
834,
755,
2555,
2266,
549,
17444,
427,
96,
667,
26,
26,
7,
121,
2490,
3,
31,
3420,
31,
3430,
96,
22507,
121,
3274,
3,
31,
2596,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the lowest Bronze with a Ranking of 22nd of 32 and Gold larger than 4? | CREATE TABLE table_name_2 (bronze INTEGER, ranking VARCHAR, gold VARCHAR) | SELECT MIN(bronze) FROM table_name_2 WHERE ranking = "22nd of 32" AND gold > 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
13711,
776,
3,
21342,
17966,
6,
11592,
584,
4280,
28027,
6,
2045,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
20841,
28,
3,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
13711,
776,
61,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
11592,
3274,
96,
2884,
727,
13,
3538,
121,
3430,
2045,
2490,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Occupation, when the Candidate's Name is Trevor Ennis? | CREATE TABLE table_70576 (
"Riding" text,
"Candidate's Name" text,
"Gender" text,
"Residence" text,
"Occupation" text,
"Votes" real,
"Rank" text
) | SELECT "Occupation" FROM table_70576 WHERE "Candidate's Name" = 'trevor ennis' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
755,
3959,
41,
96,
448,
12469,
121,
1499,
6,
96,
14050,
12416,
342,
31,
7,
5570,
121,
1499,
6,
96,
517,
3868,
121,
1499,
6,
96,
1649,
1583,
3772,
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,
667,
75,
4658,
257,
121,
21680,
953,
834,
2518,
755,
3959,
549,
17444,
427,
96,
14050,
12416,
342,
31,
7,
5570,
121,
3274,
3,
31,
929,
1967,
3,
35,
29,
159,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the incumbent of texas 3? | CREATE TABLE table_1341663_44 (
incumbent VARCHAR,
district VARCHAR
) | SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2938,
3891,
834,
3628,
41,
28406,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
28406,
13,
3,
10354,
9,
7,
220,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
28406,
21680,
953,
834,
23747,
2938,
3891,
834,
3628,
549,
17444,
427,
3939,
3274,
96,
13598,
9,
7,
220,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what was the difference in position between 2011 and 2012 for daegu fc in the k league classic ? | CREATE TABLE table_204_179 (
id number,
"season" number,
"division" number,
"tms." number,
"pos." number,
"fa cup" text,
"afc cl" number
) | SELECT ABS((SELECT "pos." FROM table_204_179 WHERE "season" = 2011) - (SELECT "pos." FROM table_204_179 WHERE "season" = 2012)) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
26593,
41,
3,
23,
26,
381,
6,
96,
9476,
121,
381,
6,
96,
26,
23,
6610,
121,
381,
6,
96,
17,
51,
7,
535,
381,
6,
96,
2748,
535,
381,
6,
96,
89,
9,
4119,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
20798,
599,
599,
23143,
14196,
96,
2748,
535,
21680,
953,
834,
26363,
834,
26593,
549,
17444,
427,
96,
9476,
121,
3274,
2722,
61,
3,
18,
41,
23143,
14196,
96,
2748,
535,
21680,
953,
834,
26363,
834,
26593,
549,
17444,... |
What is the make of the car that drove 54 laps? | CREATE TABLE table_32043 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT "Constructor" FROM table_32043 WHERE "Laps" = '54' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15003,
4906,
41,
96,
20982,
52,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13313,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4302,
7593,
127,
121,
21680,
953,
834,
15003,
4906,
549,
17444,
427,
96,
3612,
102,
7,
121,
3274,
3,
31,
5062,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What shows for 2013 when 2012 is 2r? | CREATE TABLE table_49792 (
"Tournament" text,
"2008" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
) | SELECT "2013" FROM table_49792 WHERE "2012" = '2r' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3647,
4440,
357,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
16128,
121,
1499,
6,
96,
14926,
121,
1499,
6,
96,
13907,
121,
1499,
6,
96,
12172,
121,
1499,
6,
96,
11138... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11138,
121,
21680,
953,
834,
3647,
4440,
357,
549,
17444,
427,
96,
12172,
121,
3274,
3,
31,
357,
52,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the largest crowd at princes park? | CREATE TABLE table_name_88 (
crowd INTEGER,
venue VARCHAR
) | SELECT MAX(crowd) FROM table_name_88 WHERE venue = "princes park" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
4374,
3,
21342,
17966,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2015,
4374,
44,
22277,
7,
2447,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
75,
3623,
26,
61,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
5669,
3274,
96,
12298,
2319,
2447,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph? | CREATE TABLE table_26986076_6 (
sat_21_aug VARCHAR,
tues_24_aug VARCHAR
) | SELECT sat_21_aug FROM table_26986076_6 WHERE tues_24_aug = "20' 38.40 109.680mph" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3916,
3328,
3959,
834,
948,
41,
3,
7,
144,
834,
2658,
834,
402,
122,
584,
4280,
28027,
6,
3,
17,
76,
15,
7,
834,
2266,
834,
402,
122,
584,
4280,
28027,
3,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
7,
144,
834,
2658,
834,
402,
122,
21680,
953,
834,
2688,
3916,
3328,
3959,
834,
948,
549,
17444,
427,
3,
17,
76,
15,
7,
834,
2266,
834,
402,
122,
3274,
96,
1755,
31,
6654,
5,
2445,
3,
17304,
5,
948,
2079,
7... |
Location of saint paul, and a Final-Score larger than 14.35, and a Event of all around is what sum of year? | CREATE TABLE table_68640 (
"Year" real,
"Competition" text,
"Location" text,
"Event" text,
"Final-Rank" real,
"Final-Score" real
) | SELECT SUM("Year") FROM table_68640 WHERE "Location" = 'saint paul' AND "Final-Score" > '14.35' AND "Event" = 'all around' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
23714,
41,
96,
476,
2741,
121,
490,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
427,
2169,
121,
1499,
6,
96,
371,
10270,
18,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
476,
2741,
8512,
21680,
953,
834,
3651,
23714,
549,
17444,
427,
96,
434,
32,
75,
257,
121,
3274,
3,
31,
7,
9,
77,
17,
2576,
83,
31,
3430,
96,
371,
10270,
18,
134,
9022,
121,
2490,
3,
31,
2... |
player transferred immediately before mauro rafael da silva | CREATE TABLE table_204_968 (
id number,
"squad #" number,
"position" text,
"player" text,
"transferred to" text,
"fee" text,
"date" text
) | SELECT "player" FROM table_204_968 WHERE id = (SELECT id FROM table_204_968 WHERE "player" = 'mauro rafael da silva') - 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
4314,
927,
41,
3,
23,
26,
381,
6,
96,
7,
4960,
26,
1713,
121,
381,
6,
96,
4718,
121,
1499,
6,
96,
20846,
121,
1499,
6,
96,
7031,
1010,
1271,
12,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20846,
121,
21680,
953,
834,
26363,
834,
4314,
927,
549,
17444,
427,
3,
23,
26,
3274,
41,
23143,
14196,
3,
23,
26,
21680,
953,
834,
26363,
834,
4314,
927,
549,
17444,
427,
96,
20846,
121,
3274,
3,
31,
51,
9,
... |
With a FA Cup of 0 44 0 (0), the other [C] is listed as what? | CREATE TABLE table_name_46 (other_ VARCHAR, c_ VARCHAR, fa_cup VARCHAR) | SELECT other_[c_] FROM table_name_46 WHERE fa_cup = "0 44 0 (0)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
9269,
834,
584,
4280,
28027,
6,
3,
75,
834,
584,
4280,
28027,
6,
3,
89,
9,
834,
4658,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
438,
3,
9,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
119,
834,
6306,
75,
834,
908,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
3,
89,
9,
834,
4658,
3274,
96,
632,
8537,
3,
632,
3,
31862,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the Result of the game dated 21st? | CREATE TABLE table_name_97 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_97 WHERE date = "21st" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3,
20119,
13,
8,
467,
3,
14134,
1401,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
833,
3274,
96,
2658,
7,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Venue that has a Rank of 2? | CREATE TABLE table_name_66 (venue VARCHAR, rank VARCHAR) | SELECT venue FROM table_name_66 WHERE rank = "2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
15098,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
29940,
24,
65,
3,
9,
3,
22557,
13,
204,
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,
5669,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
11003,
3274,
96,
357,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which opponent had a time of 1:26? | CREATE TABLE table_name_1 (
opponent VARCHAR,
time VARCHAR
) | SELECT opponent FROM table_name_1 WHERE time = "1:26" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
15264,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
15264,
141,
3,
9,
97,
13,
209,
10,
2688,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
97,
3274,
96,
536,
10,
2688,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the earliest year on the chart? | CREATE TABLE table_26609690_1 (
year INTEGER
) | SELECT MIN(year) FROM table_26609690_1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3328,
4314,
2394,
834,
536,
41,
215,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
16454,
215,
30,
8,
5059,
58,
1,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
1201,
61,
21680,
953,
834,
2688,
3328,
4314,
2394,
834,
536,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the average clean and jerk of all weightlifters who had a bodyweight smaller than 87.5 and a snatch of less than 95? | CREATE TABLE table_51388 (
"Name" text,
"Bodyweight" real,
"Snatch" real,
"Clean & jerk" real,
"Total (kg)" real
) | SELECT AVG("Clean & jerk") FROM table_51388 WHERE "Bodyweight" = '87.5' AND "Snatch" < '95' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2368,
4060,
41,
96,
23954,
121,
1499,
6,
96,
279,
9666,
9378,
121,
490,
6,
96,
134,
29,
14547,
121,
490,
6,
96,
254,
109,
152,
3,
184,
3,
12488,
157,
121,
490,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
254,
109,
152,
3,
184,
3,
12488,
157,
8512,
21680,
953,
834,
755,
2368,
4060,
549,
17444,
427,
96,
279,
9666,
9378,
121,
3274,
3,
31,
927,
15731,
31,
3430,
96,
134,
29,
14547,
121,
3,
2,
3,
... |
What is the record at Arrowhead Pond of Anaheim, when the loss was Bryzgalov (10 11 1)? | CREATE TABLE table_name_53 (
record VARCHAR,
arena VARCHAR,
loss VARCHAR
) | SELECT record FROM table_name_53 WHERE arena = "arrowhead pond of anaheim" AND loss = "bryzgalov (10–11–1)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
1368,
584,
4280,
28027,
6,
15134,
584,
4280,
28027,
6,
1453,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1368,
44,
25810,
3313,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1368,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
15134,
3274,
96,
6770,
3313,
3,
7290,
13,
46,
9,
3254,
121,
3430,
1453,
3274,
96,
115,
651,
172,
122,
9,
5850,
11704,
104,
2596,
104,
6982,
121,
1,
-100,
-1... |
provide the number of patients whose procedure long title is other closed [endoscopic] biopsy of biliary duct or sphincter of oddi and lab test category is chemistry? | 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 INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Other closed [endoscopic] biopsy of biliary duct or sphincter of Oddi" AND lab."CATEGORY" = "Chemistry" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
3388,
18206... |
What was the outcome for the India Open? | CREATE TABLE table_name_34 (
outcome VARCHAR,
venue VARCHAR
) | SELECT outcome FROM table_name_34 WHERE venue = "india open" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
6138,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
6138,
21,
8,
1547,
2384,
58,
1,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6138,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
5669,
3274,
96,
8482,
9,
539,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Please return a scatter chart to show each start station's longitude and the corresponding average duration of trips started there. | CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE station (
id INTEGER,
name TEXT,
lat NUMERIC,
long NUMERIC,
dock_count INTEGER,
city TEXT,
installation_date TEXT
)
CREATE TABLE trip (
id INTEGER,
d... | SELECT long, AVG(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.start_station_id GROUP BY T2.start_station_id | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2637,
41,
2478,
834,
23,
26,
3,
21342,
17966,
6,
13490,
834,
28843,
3,
21342,
17966,
6,
12908,
7,
834,
28843,
3,
21342,
17966,
6,
97,
3,
3463,
4,
382,
3,
61,
3,
32102,
32103,
32102... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
307,
6,
71,
17217,
599,
382,
4416,
1259,
2661,
61,
21680,
2478,
6157,
332,
536,
3,
15355,
3162,
1469,
6157,
332,
357,
9191,
332,
5411,
23,
26,
3274,
332,
4416,
10208,
834,
6682,
834,
23,
26,
350,
4630,
6880,
272,
... |
what was the next wave class oiler after wave emperor ? | CREATE TABLE table_203_313 (
id number,
"name" text,
"pennant" text,
"builder" text,
"launched" text,
"original name" text,
"fate" text
) | SELECT "name" FROM table_203_313 WHERE "launched" > (SELECT "launched" FROM table_203_313 WHERE "name" = 'wave emperor') ORDER BY "launched" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
519,
2368,
41,
3,
23,
26,
381,
6,
96,
4350,
121,
1499,
6,
96,
3208,
29,
288,
121,
1499,
6,
96,
16422,
49,
121,
1499,
6,
96,
27493,
15,
26,
121,
1499,
6,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4350,
121,
21680,
953,
834,
23330,
834,
519,
2368,
549,
17444,
427,
96,
27493,
15,
26,
121,
2490,
41,
23143,
14196,
96,
27493,
15,
26,
121,
21680,
953,
834,
23330,
834,
519,
2368,
549,
17444,
427,
96,
4350,
121,... |
What is the total of Mark O'meara? | CREATE TABLE table_77412 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
) | SELECT MIN("Total") FROM table_77412 WHERE "Player" = 'mark o''meara' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
591,
2122,
41,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
476,
2741,
599,
7,
61,
751,
121,
1499,
6,
96,
3696,
1947,
121,
490,
6,
96,
3696,
260... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
3696,
1947,
8512,
21680,
953,
834,
4013,
591,
2122,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
3920,
3,
32,
31,
31,
526,
2551,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What country is the film directed by Michael Haneke from? | CREATE TABLE table_68198 (
"Year" real,
"English title" text,
"Original title" text,
"Country" text,
"Director'" text
) | SELECT "Country" FROM table_68198 WHERE "Director'" = 'michael haneke' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
24151,
41,
96,
476,
2741,
121,
490,
6,
96,
26749,
2233,
121,
1499,
6,
96,
667,
3380,
10270,
2233,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
23620,
127,
31,
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,
10628,
651,
121,
21680,
953,
834,
3651,
24151,
549,
17444,
427,
96,
23620,
127,
31,
121,
3274,
3,
31,
51,
362,
9,
15,
40,
3,
2618,
15,
1050,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest pick number for players from king's (ny)? | CREATE TABLE table_name_13 (pick INTEGER, college VARCHAR) | SELECT MIN(pick) FROM table_name_13 WHERE college = "king's (ny)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
17967,
3,
21342,
17966,
6,
1900,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
1432,
381,
21,
1508,
45,
3,
1765,
31,
7,
41,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
17967,
61,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
1900,
3274,
96,
1765,
31,
7,
41,
29,
63,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was the opponent during the competition in which the bowling figures were 5-33 (10)? | CREATE TABLE table_56381 (
"Bowling figures Wickets-Runs (Overs)" text,
"Bowler" text,
"Versus" text,
"Venue" text,
"Date" text
) | SELECT "Versus" FROM table_56381 WHERE "Bowling figures Wickets-Runs (Overs)" = '5-33 (10)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
3747,
536,
41,
96,
279,
2381,
697,
5638,
18602,
15,
17,
7,
18,
448,
202,
7,
41,
23847,
7,
61,
121,
1499,
6,
96,
279,
2381,
1171,
121,
1499,
6,
96,
5000,
7,
302,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5000,
7,
302,
121,
21680,
953,
834,
4834,
3747,
536,
549,
17444,
427,
96,
279,
2381,
697,
5638,
18602,
15,
17,
7,
18,
448,
202,
7,
41,
23847,
7,
61,
121,
3274,
3,
31,
755,
18,
4201,
41,
16968,
31,
1,
-100,... |
List the names of aircrafts and the number of times it won matches by a bar chart, and list y axis in desc order. | CREATE TABLE match (
Round real,
Location text,
Country text,
Date text,
Fastest_Qualifying text,
Winning_Pilot text,
Winning_Aircraft text
)
CREATE TABLE airport (
Airport_ID int,
Airport_Name text,
Total_Passengers real,
%_Change_2007 text,
International_Passengers rea... | SELECT Aircraft, COUNT(*) FROM aircraft AS T1 JOIN match AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft ORDER BY COUNT(*) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1588,
41,
9609,
490,
6,
10450,
1499,
6,
6993,
1499,
6,
7678,
1499,
6,
6805,
222,
834,
5991,
138,
8587,
1499,
6,
549,
10503,
834,
345,
23,
3171,
1499,
6,
549,
10503,
834,
20162,
6696,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1761,
6696,
6,
2847,
17161,
599,
1935,
61,
21680,
6442,
6157,
332,
536,
3,
15355,
3162,
1588,
6157,
332,
357,
9191,
332,
5411,
20162,
6696,
834,
4309,
3274,
332,
4416,
518,
10503,
834,
20162,
6696,
350,
4630,
6880,
27... |
which woman finished last in the 1971 world figured skating championships ? | CREATE TABLE table_204_291 (
id number,
"rank" number,
"name" text,
"nation" text,
"cp" number,
"fp" number,
"points" number,
"placings" number
) | SELECT "name" FROM table_204_291 ORDER BY "rank" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
357,
4729,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
4350,
121,
1499,
6,
96,
29,
257,
121,
1499,
6,
96,
75,
102,
121,
381,
6,
96,
89,
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... | [
3,
23143,
14196,
96,
4350,
121,
21680,
953,
834,
26363,
834,
357,
4729,
4674,
11300,
272,
476,
96,
6254,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Where was the game when Police S.A. was the opponent? | CREATE TABLE table_name_78 (
location VARCHAR,
opponent_team VARCHAR
) | SELECT location FROM table_name_78 WHERE opponent_team = "police s.a." | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3940,
41,
1128,
584,
4280,
28027,
6,
15264,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
8,
467,
116,
5076,
180,
5,
188,
5,
47,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1128,
21680,
953,
834,
4350,
834,
3940,
549,
17444,
427,
15264,
834,
11650,
3274,
96,
3003,
565,
3,
7,
5,
9,
535,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the most current year with a previous conference of Mid-Indiana in Converse? | CREATE TABLE table_name_35 (year_joined INTEGER, previous_conference VARCHAR, location VARCHAR) | SELECT MAX(year_joined) FROM table_name_35 WHERE previous_conference = "mid-indiana" AND location = "converse" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
1201,
834,
1927,
630,
26,
3,
21342,
17966,
6,
1767,
834,
28496,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
1201,
834,
1927,
630,
26,
61,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
1767,
834,
28496,
3274,
96,
6983,
18,
77,
8603,
9,
121,
3430,
1128,
3274,
96,
1018,
7583,
121,
1,
-100,
-100,
-100,
-1... |
give me the number of patients whose diagnoses short title is arthropathy nos-unspec and lab test name is urobilinogen? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Arthropathy NOS-unspec" AND lab.label = "Urobilinogen" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
subject states that he / she has active metabolic or gastrointestinal diseases that may interfere with nutrient absorption | CREATE TABLE table_dev_2 (
"id" int,
"nutrient_absorption" bool,
"systolic_blood_pressure_sbp" int,
"active_metabolic" bool,
"hepatic_disease" bool,
"surgery" bool,
"diastolic_blood_pressure_dbp" int,
"gastrointestinal_disease" bool,
"organ_failure" bool,
"NOUSE" float
) | SELECT * FROM table_dev_2 WHERE active_metabolic = 1 OR (gastrointestinal_disease = 1 OR nutrient_absorption = 1) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9776,
834,
357,
41,
96,
23,
26,
121,
16,
17,
6,
96,
8631,
295,
834,
9,
115,
15016,
121,
3,
12840,
40,
6,
96,
7,
63,
7,
235,
2176,
834,
27798,
834,
26866,
834,
7,
115,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9776,
834,
357,
549,
17444,
427,
1676,
834,
27787,
447,
3274,
209,
4674,
41,
30282,
834,
26,
159,
14608,
3274,
209,
4674,
3,
8631,
295,
834,
9,
115,
15016,
3274,
8925,
1,
-100,
-100,
-100,
-10... |
such as are entire the rating of closing where championship is moscow | CREATE TABLE table_23197088_4 (score_in_final VARCHAR, championship VARCHAR) | SELECT score_in_final FROM table_23197088_4 WHERE championship = "Moscow" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2294,
2518,
4060,
834,
591,
41,
7,
9022,
834,
77,
834,
12406,
584,
4280,
28027,
6,
10183,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
224,
38,
33,
1297,
8,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
834,
77,
834,
12406,
21680,
953,
834,
2773,
2294,
2518,
4060,
834,
591,
549,
17444,
427,
10183,
3274,
96,
329,
32,
3523,
210,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Can you name the drawn with a Lost of 1? | CREATE TABLE table_name_60 (
drawn VARCHAR,
lost VARCHAR
) | SELECT drawn FROM table_name_60 WHERE lost = "1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
6796,
584,
4280,
28027,
6,
1513,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
1072,
25,
564,
8,
6796,
28,
3,
9,
19576,
13,
209,
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,
6796,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
1513,
3274,
96,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What club had 404 points against? | CREATE TABLE table_13741576_6 (
club VARCHAR,
points_against VARCHAR
) | SELECT club FROM table_13741576_6 WHERE points_against = "404" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
4581,
1808,
3959,
834,
948,
41,
1886,
584,
4280,
28027,
6,
979,
834,
9,
16720,
7,
17,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1886,
141,
3,
25285... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1886,
21680,
953,
834,
2368,
4581,
1808,
3959,
834,
948,
549,
17444,
427,
979,
834,
9,
16720,
7,
17,
3274,
96,
25285,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the top lap that had 2 grids and more than 26 points? | CREATE TABLE table_name_9 (laps INTEGER, grid VARCHAR, points VARCHAR) | SELECT MAX(laps) FROM table_name_9 WHERE grid = "2" AND points > 26 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
8478,
7,
3,
21342,
17966,
6,
8634,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
420,
14941,
24,
141,
204,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
8478,
7,
61,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
8634,
3274,
96,
357,
121,
3430,
979,
2490,
2208,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the number of booking end dates of the apartments with type code 'Duplex' in each year? Return a bar chart, and could you order y axis from high to low order? | CREATE TABLE Apartment_Buildings (
building_id INTEGER,
building_short_name CHAR(15),
building_full_name VARCHAR(80),
building_description VARCHAR(255),
building_address VARCHAR(255),
building_manager VARCHAR(50),
building_phone VARCHAR(80)
)
CREATE TABLE Apartments (
apt_id INTEGER,
... | SELECT booking_end_date, COUNT(booking_end_date) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_type_code = "Duplex" ORDER BY COUNT(booking_start_date) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
15970,
834,
24752,
53,
7,
41,
740,
834,
23,
26,
3,
21342,
17966,
6,
740,
834,
7,
14184,
834,
4350,
3,
28027,
599,
1808,
201,
740,
834,
1329,
40,
834,
4350,
584,
4280,
28027,
599,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5038,
834,
989,
834,
5522,
6,
2847,
17161,
599,
2567,
53,
834,
989,
834,
5522,
61,
21680,
15970,
834,
13355,
53,
7,
6157,
332,
536,
3,
15355,
3162,
15970,
7,
6157,
332,
357,
9191,
332,
5411,
6789,
834,
23,
26,
327... |
Who had points less than 73 and drop more than 0? | CREATE TABLE table_12050 (
"Points" real,
"Name" text,
"Club" text,
"Apps" real,
"Tries" real,
"Drop" real
) | SELECT "Name" FROM table_12050 WHERE "Points" < '73' AND "Drop" > '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15518,
1752,
41,
96,
22512,
7,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
254,
11158,
121,
1499,
6,
96,
9648,
7,
121,
490,
6,
96,
382,
2593,
121,
490,
6,
96,
308,
9505,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23954,
121,
21680,
953,
834,
15518,
1752,
549,
17444,
427,
96,
22512,
7,
121,
3,
2,
3,
31,
4552,
31,
3430,
96,
308,
9505,
121,
2490,
3,
31,
632,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the Date of Week 2? | CREATE TABLE table_37245 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text
) | SELECT "Date" FROM table_37245 WHERE "Week" = '2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4118,
357,
2128,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
3,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
4118,
357,
2128,
549,
17444,
427,
96,
518,
10266,
121,
3274,
3,
31,
357,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the municipal status where the population density is 895.5? | CREATE TABLE table_21284653_1 (municipal_status VARCHAR, population_density VARCHAR) | SELECT municipal_status FROM table_21284653_1 WHERE population_density = "895.5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
2577,
4448,
4867,
834,
536,
41,
11760,
3389,
138,
834,
8547,
302,
584,
4280,
28027,
6,
2074,
834,
537,
7,
485,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
10516,
834,
8547,
302,
21680,
953,
834,
2658,
2577,
4448,
4867,
834,
536,
549,
17444,
427,
2074,
834,
537,
7,
485,
3274,
96,
3914,
15938,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Show all date and share count of transactions. | CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, share_count VARCHAR) | SELECT date_of_transaction, share_count FROM TRANSACTIONS | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
26585,
30518,
134,
41,
5522,
834,
858,
834,
7031,
4787,
584,
4280,
28027,
6,
698,
834,
13362,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
3111,
66,
833,
11,
698,
3476,
13,
641... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
834,
858,
834,
7031,
4787,
6,
698,
834,
13362,
21680,
26585,
30518,
134,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the max character (per page row) of the encoding with a bit rate of 6.203? | CREATE TABLE table_1926240_1 (max_characters__per_page_row_ INTEGER, bit_rate_ VARCHAR, _mbit_s_ VARCHAR) | SELECT MAX(max_characters__per_page_row_) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "6.203" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
2688,
11944,
834,
536,
41,
9128,
834,
31886,
7,
834,
834,
883,
834,
6492,
834,
3623,
834,
3,
21342,
17966,
6,
720,
834,
2206,
834,
584,
4280,
28027,
6,
3,
834,
51,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9128,
834,
31886,
7,
834,
834,
883,
834,
6492,
834,
3623,
834,
61,
21680,
953,
834,
2294,
2688,
11944,
834,
536,
549,
17444,
427,
720,
834,
2206,
834,
6306,
834,
51,
2360,
834,
7,
834,
908,
3274,
96,... |
What is the lowest Mintage for the Artist Royal Canadian Mint Engravers, in the Year 2009, with an Issue Price of $10,199.95? | CREATE TABLE table_name_9 (mintage INTEGER, year VARCHAR, artist VARCHAR, issue_price VARCHAR) | SELECT MIN(mintage) FROM table_name_9 WHERE artist = "royal canadian mint engravers" AND issue_price = "$10,199.95" AND year > 2009 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
1109,
6505,
3,
21342,
17966,
6,
215,
584,
4280,
28027,
6,
2377,
584,
4280,
28027,
6,
962,
834,
102,
4920,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
1109,
6505,
61,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
2377,
3274,
96,
8170,
138,
54,
9,
8603,
13983,
3,
35,
15299,
277,
121,
3430,
962,
834,
102,
4920,
3274,
96,
3229,
1714,
6,
2294,
29... |
What was the tournament that was on july 6, 1987? | CREATE TABLE table_59754 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
) | SELECT "Tournament" FROM table_59754 WHERE "Date" = 'july 6, 1987' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
3072,
591,
41,
96,
15767,
287,
15,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
667,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
382,
1211,
20205,
17,
121,
21680,
953,
834,
3390,
3072,
591,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
2047,
120,
8580,
12701,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the validation for iin ranges 5610, 560221-560225? | CREATE TABLE table_20424 (
"Issuing network" text,
"IIN ranges" text,
"Active" text,
"Length" text,
"Validation" text
) | SELECT "Validation" FROM table_20424 WHERE "IIN ranges" = '5610, 560221-560225' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
2266,
41,
96,
196,
7,
17180,
1229,
121,
1499,
6,
96,
196,
3162,
620,
7,
121,
1499,
6,
96,
13035,
15,
121,
1499,
6,
96,
434,
4606,
189,
121,
1499,
6,
96,
18392,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18392,
23,
26,
257,
121,
21680,
953,
834,
26363,
2266,
549,
17444,
427,
96,
196,
3162,
620,
7,
121,
3274,
3,
31,
4834,
1714,
6,
11526,
4305,
2658,
4525,
3328,
20489,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who directed the episode with production code ip03010? | CREATE TABLE table_31039 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
) | SELECT "Directed by" FROM table_31039 WHERE "Production code" = 'IP03010' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19947,
3288,
41,
96,
4168,
5,
16,
939,
121,
490,
6,
96,
4168,
5,
16,
774,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23620,
15,
26,
57,
121,
21680,
953,
834,
19947,
3288,
549,
17444,
427,
96,
3174,
8291,
1081,
121,
3274,
3,
31,
4629,
632,
1458,
1714,
31,
1,
-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.