NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What stadium has capacity for 13800? | CREATE TABLE table_23214833_1 (
stadium VARCHAR,
capacity VARCHAR
) | SELECT stadium FROM table_23214833_1 WHERE capacity = 13800 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23188,
24748,
4201,
834,
536,
41,
14939,
584,
4280,
28027,
6,
2614,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
14939,
65,
2614,
21,
1179,
6192,
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,
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,
14939,
21680,
953,
834,
23188,
24748,
4201,
834,
536,
549,
17444,
427,
2614,
3274,
1179,
6192,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What week was the final score 6–26? | CREATE TABLE table_name_99 (week VARCHAR, final_score VARCHAR) | SELECT week FROM table_name_99 WHERE final_score = "6–26" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
8041,
584,
4280,
28027,
6,
804,
834,
7,
9022,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
471,
47,
8,
804,
2604,
431,
104,
2688,
58,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
471,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
804,
834,
7,
9022,
3274,
96,
948,
104,
2688,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the episode number of the episode broadcast on 21 September 2001? | CREATE TABLE table_name_79 (
episode_number VARCHAR,
broadcast_date VARCHAR
) | SELECT episode_number FROM table_name_79 WHERE broadcast_date = "21 september 2001" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
5640,
834,
5525,
1152,
584,
4280,
28027,
6,
6878,
834,
5522,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
5640,
381,
13,
8,
5640... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5640,
834,
5525,
1152,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
6878,
834,
5522,
3274,
96,
2658,
16022,
18247,
4402,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What teams did the player vadim sharifijanov play for? | CREATE TABLE table_1013129_1 (
college_junior_club_team VARCHAR,
player VARCHAR
) | SELECT college_junior_club_team FROM table_1013129_1 WHERE player = "Vadim Sharifijanov" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1714,
2368,
22174,
834,
536,
41,
1900,
834,
6959,
23,
127,
834,
13442,
834,
11650,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
232... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1900,
834,
6959,
23,
127,
834,
13442,
834,
11650,
21680,
953,
834,
1714,
2368,
22174,
834,
536,
549,
17444,
427,
1959,
3274,
96,
553,
9,
26,
603,
18981,
99,
23,
1191,
5326,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100... |
What date was Joakim Bonnier in the pole position? | CREATE TABLE table_name_21 (date VARCHAR, pole_position VARCHAR) | SELECT date FROM table_name_21 WHERE pole_position = "joakim bonnier" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
5522,
584,
4280,
28027,
6,
11148,
834,
4718,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
47,
2194,
9,
19754,
29203,
52,
16,
8,
11148,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
11148,
834,
4718,
3274,
96,
1927,
9,
19754,
2682,
8632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the method for opponent of Ivan Serati? | CREATE TABLE table_name_94 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_94 WHERE opponent = "ivan serati" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
23152,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1573,
21,
15264,
13,
27,
2132,
679,
6850,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1573,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
15264,
3274,
96,
23,
2132,
142,
6850,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Where is the transmitter located for the station voice of vietnam | CREATE TABLE table_name_87 (transmitter_location VARCHAR, station VARCHAR) | SELECT transmitter_location FROM table_name_87 WHERE station = "voice of vietnam" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
7031,
1538,
449,
834,
14836,
584,
4280,
28027,
6,
2478,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
19,
8,
27707,
1069,
21,
8,
2478,
2249,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27707,
834,
14836,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
2478,
3274,
96,
23235,
13,
2240,
17,
13363,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Opponents have a Score of 1 2, and a Team of arsenal, and Progress of first round? | CREATE TABLE table_34562 (
"Year" text,
"Team" text,
"Progress" text,
"Score" text,
"Opponents" text
) | SELECT "Opponents" FROM table_34562 WHERE "Score" = '1–2' AND "Team" = 'arsenal' AND "Progress" = 'first round' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2128,
4056,
41,
96,
476,
2741,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
3174,
10292,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
667,
102,
9977,
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,
96,
667,
102,
9977,
7,
121,
21680,
953,
834,
519,
2128,
4056,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
536,
104,
357,
31,
3430,
96,
18699,
121,
3274,
3,
31,
291,
7,
35,
138,
31,
3430,
96,
3174,
10292,
... |
Which women's doubles had Tine Rasmussen on the women's singles? | CREATE TABLE table_14867 (
"Year" text,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
) | SELECT "Women's doubles" FROM table_14867 WHERE "Women's singles" = 'tine rasmussen' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24748,
3708,
41,
96,
476,
2741,
121,
1499,
6,
96,
329,
35,
31,
7,
712,
7,
121,
1499,
6,
96,
518,
32,
904,
31,
7,
712,
7,
121,
1499,
6,
96,
329,
35,
31,
7,
1486,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
518,
32,
904,
31,
7,
1486,
7,
121,
21680,
953,
834,
24748,
3708,
549,
17444,
427,
96,
518,
32,
904,
31,
7,
712,
7,
121,
3274,
3,
31,
4070,
3,
52,
9,
7,
3252,
7,
35,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
What is the earliest year the new york jets won at harvard stadium? | CREATE TABLE table_36642 (
"Year" real,
"Date" text,
"Winner" text,
"Result" text,
"Loser" text,
"Location" text
) | SELECT MIN("Year") FROM table_36642 WHERE "Winner" = 'new york jets' AND "Location" = 'harvard stadium' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3420,
4389,
357,
41,
96,
476,
2741,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
434,
32,
7,
49,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
476,
2741,
8512,
21680,
953,
834,
3420,
4389,
357,
549,
17444,
427,
96,
18455,
687,
121,
3274,
3,
31,
5534,
25453,
8757,
7,
31,
3430,
96,
434,
32,
75,
257,
121,
3274,
3,
31,
3272,
4331,
26,
1... |
What is the date that a game at the Alltel Stadium had a final score of 6-20? | CREATE TABLE table_name_48 (
date VARCHAR,
stadium VARCHAR,
final_score VARCHAR
) | SELECT date FROM table_name_48 WHERE stadium = "alltel stadium" AND final_score = "6-20" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
833,
584,
4280,
28027,
6,
14939,
584,
4280,
28027,
6,
804,
834,
7,
9022,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
833,
24,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3707,
549,
17444,
427,
14939,
3274,
96,
1748,
1625,
14939,
121,
3430,
804,
834,
7,
9022,
3274,
96,
948,
7988,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find Nationality and the average of ID , and group by attribute Nationality, and visualize them by a bar chart, display by the y-axis in desc please. | CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
... | SELECT Nationality, AVG(ID) FROM swimmer GROUP BY Nationality ORDER BY AVG(ID) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
27424,
41,
4699,
16,
17,
6,
564,
1499,
6,
868,
485,
1499,
6,
3,
4401,
834,
2915,
490,
6,
3,
4401,
834,
3632,
1499,
6,
3,
4401,
834,
5426,
1499,
6,
3,
4401,
834,
5548,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
868,
485,
6,
71,
17217,
599,
4309,
61,
21680,
27424,
350,
4630,
6880,
272,
476,
868,
485,
4674,
11300,
272,
476,
71,
17217,
599,
4309,
61,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
how many patients have the diagnoses icd9 code as 42789? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "42789" | [
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,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
Which year was the vessel Deva built as a Panamax DNV class ship? | CREATE TABLE table_33410 (
"Vessel Name" text,
"Type" text,
"Built" real,
"Class" text,
"Flag" text
) | SELECT SUM("Built") FROM table_33410 WHERE "Class" = 'dnv' AND "Type" = 'panamax' AND "Vessel Name" = 'deva' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4201,
24175,
41,
96,
553,
19132,
5570,
121,
1499,
6,
96,
25160,
121,
1499,
6,
96,
7793,
173,
17,
121,
490,
6,
96,
21486,
121,
1499,
6,
96,
371,
5430,
121,
1499,
3,
61,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
7793,
173,
17,
8512,
21680,
953,
834,
4201,
24175,
549,
17444,
427,
96,
21486,
121,
3274,
3,
31,
26,
29,
208,
31,
3430,
96,
25160,
121,
3274,
3,
31,
2837,
9,
9128,
31,
3430,
96,
553,
19132,
... |
List all the participant ids and their details using a bar chart, and I want to order in asc by the bar. | CREATE TABLE Participants_in_Events (
Event_ID INTEGER,
Participant_ID INTEGER
)
CREATE TABLE Services (
Service_ID INTEGER,
Service_Type_Code CHAR(15)
)
CREATE TABLE Participants (
Participant_ID INTEGER,
Participant_Type_Code CHAR(15),
Participant_Details VARCHAR(255)
)
CREATE TABLE Eve... | SELECT Participant_Details, Participant_ID FROM Participants ORDER BY Participant_Details | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
19204,
834,
77,
834,
427,
2169,
7,
41,
8042,
834,
4309,
3,
21342,
17966,
6,
15077,
288,
834,
4309,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1799,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
15077,
288,
834,
2962,
5756,
7,
6,
15077,
288,
834,
4309,
21680,
19204,
4674,
11300,
272,
476,
15077,
288,
834,
2962,
5756,
7,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the title that had 13.59 u.s. viewers (millions)? | CREATE TABLE table_22078691_2 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_22078691_2 WHERE us_viewers__millions_ = "13.59" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
4560,
3840,
4729,
834,
357,
41,
21869,
584,
4280,
28027,
6,
178,
834,
4576,
277,
834,
834,
17030,
7,
834,
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,
0,
0,
0,
0... | [
3,
23143,
14196,
2233,
21680,
953,
834,
2884,
4560,
3840,
4729,
834,
357,
549,
17444,
427,
178,
834,
4576,
277,
834,
834,
17030,
7,
834,
3274,
96,
2368,
5,
3390,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the tourism competitiveness in 2011 of venezuela? | CREATE TABLE table_name_90 (tourism_competitiveness__2011___ttci_ VARCHAR, country VARCHAR) | SELECT tourism_competitiveness__2011___ttci_ FROM table_name_90 WHERE country = "venezuela" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2394,
41,
30712,
834,
287,
19427,
757,
655,
834,
834,
13907,
834,
834,
834,
17,
17,
75,
23,
834,
584,
4280,
28027,
6,
684,
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,
0,
0,
0... | [
3,
23143,
14196,
8676,
834,
287,
19427,
757,
655,
834,
834,
13907,
834,
834,
834,
17,
17,
75,
23,
834,
21680,
953,
834,
4350,
834,
2394,
549,
17444,
427,
684,
3274,
96,
25277,
76,
15,
521,
121,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the date in which Behtash Fariba left his team? | CREATE TABLE table_22297140_3 (
date_of_vacancy VARCHAR,
outgoing_manager VARCHAR
) | SELECT date_of_vacancy FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26144,
4327,
22012,
834,
519,
41,
833,
834,
858,
834,
29685,
584,
4280,
28027,
6,
91,
9545,
834,
24185,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
834,
858,
834,
29685,
21680,
953,
834,
26144,
4327,
22012,
834,
519,
549,
17444,
427,
91,
9545,
834,
24185,
3274,
96,
2703,
107,
17,
3198,
1699,
6520,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the highest wins when the losses is less than 1, team is rams and the games is more than 8? | CREATE TABLE table_61527 (
"Quarterback" text,
"Games" real,
"Teams" text,
"Wins" real,
"Losses" real,
"Percent" real
) | SELECT MAX("Wins") FROM table_61527 WHERE "Losses" < '1' AND "Teams" = 'rams' AND "Games" > '8' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
1808,
2555,
41,
96,
5991,
1408,
49,
1549,
121,
1499,
6,
96,
23055,
7,
121,
490,
6,
96,
18699,
7,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
434,
13526,
7,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
18455,
7,
8512,
21680,
953,
834,
948,
1808,
2555,
549,
17444,
427,
96,
434,
13526,
7,
121,
3,
2,
3,
31,
536,
31,
3430,
96,
18699,
7,
121,
3274,
3,
31,
2375,
7,
31,
3430,
96,
23055,
7,
121,
... |
When Naomi Owen won the Womens Singles and Ricardo Walther won the Mens Singles, who won the mixed veteran? | CREATE TABLE table_74251 (
"Date/Location" text,
"Mens singles" text,
"Womens Singles" text,
"U21 Mens" text,
"U21 Womens" text,
"Mixed Restricted" text,
"Mixed Veteran" text
) | SELECT "Mixed Veteran" FROM table_74251 WHERE "Womens Singles" = 'Naomi Owen' AND "Mens singles" = 'Ricardo Walther' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4581,
1828,
536,
41,
96,
308,
342,
87,
434,
32,
75,
257,
121,
1499,
6,
96,
329,
35,
7,
712,
7,
121,
1499,
6,
96,
518,
32,
904,
7,
7871,
7,
121,
1499,
6,
96,
1265,
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,
329,
2407,
15,
26,
29632,
121,
21680,
953,
834,
4581,
1828,
536,
549,
17444,
427,
96,
518,
32,
904,
7,
7871,
7,
121,
3274,
3,
31,
567,
9,
32,
51,
23,
20412,
31,
3430,
96,
329,
35,
7,
712,
7,
121,
3274,
3... |
What is the number of AIDS Orphans as % of Orphans when the Double (AIDS Related) number is 41,000, and the Paternal (Total) is larger than 442,000? | CREATE TABLE table_name_41 (
aids_orphans_as__percentage_of_orphans INTEGER,
double__aids_related_ VARCHAR,
paternal__total_ VARCHAR
) | SELECT SUM(aids_orphans_as__percentage_of_orphans) FROM table_name_41 WHERE double__aids_related_ = "41,000" AND paternal__total_ > 442 OFFSET 000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
3052,
7,
834,
127,
8237,
7,
834,
9,
7,
834,
834,
883,
3728,
545,
834,
858,
834,
127,
8237,
7,
3,
21342,
17966,
6,
1486,
834,
834,
6146,
7,
834,
389... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6146,
7,
834,
127,
8237,
7,
834,
9,
7,
834,
834,
883,
3728,
545,
834,
858,
834,
127,
8237,
7,
61,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
1486,
834,
834,
6146,
7,
834,
3897,
834,
3274,... |
how many laps was the driver jacques villeneuve and the grid more than 7? | CREATE TABLE table_10471 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT COUNT("Laps") FROM table_10471 WHERE "Driver" = 'jacques villeneuve' AND "Grid" > '7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15442,
4450,
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,
2847,
17161,
599,
121,
3612,
102,
7,
8512,
21680,
953,
834,
15442,
4450,
549,
17444,
427,
96,
20982,
52,
121,
3274,
3,
31,
1191,
75,
7771,
3,
1420,
26445,
31,
3430,
96,
13313,
26,
121,
2490,
3,
31,
940,
31,
1,
-... |
What is the average (Barcaldine) with a Population (Total) less than 3,594 and a 920 (Jericho) after 2006? | CREATE TABLE table_15189 (
"Year" real,
"Population (Total)" real,
"(Barcaldine)" real,
"(Aramac)" real,
"(Jericho)" real
) | SELECT AVG("(Barcaldine)") FROM table_15189 WHERE "Population (Total)" < '3,594' AND "(Jericho)" = '920' AND "Year" > '2006' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
25312,
41,
96,
476,
2741,
121,
490,
6,
96,
27773,
7830,
41,
3696,
1947,
61,
121,
490,
6,
96,
599,
14851,
1489,
26,
630,
61,
121,
490,
6,
96,
599,
188,
10819,
75,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
599,
14851,
1489,
26,
630,
61,
8512,
21680,
953,
834,
1808,
25312,
549,
17444,
427,
96,
27773,
7830,
41,
3696,
1947,
61,
121,
3,
2,
3,
31,
6355,
3390,
591,
31,
3430,
96,
599,
7851,
3723,
32,
... |
What is the attendance in the bye week after week 5? | CREATE TABLE table_51748 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) | SELECT "Attendance" FROM table_51748 WHERE "Week" > '5' AND "Opponent" = 'bye' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2517,
3707,
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,
188,
17,
324,
26,
663,
121,
21680,
953,
834,
755,
2517,
3707,
549,
17444,
427,
96,
518,
10266,
121,
2490,
3,
31,
755,
31,
3430,
96,
667,
102,
9977,
121,
3274,
3,
31,
969,
15,
31,
1,
-100,
-100,
-100,
-100,
... |
What player has 1 as the place? | CREATE TABLE table_name_71 (
player VARCHAR,
place VARCHAR
) | SELECT player FROM table_name_71 WHERE place = "1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4450,
41,
1959,
584,
4280,
28027,
6,
286,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1959,
65,
209,
38,
8,
286,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
4450,
549,
17444,
427,
286,
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 was Week 15 when Week 12 was Washington (9-1)? | CREATE TABLE table_name_69 (
week_15__final__dec_3 VARCHAR,
week_12_nov_13 VARCHAR
) | SELECT week_15__final__dec_3 FROM table_name_69 WHERE week_12_nov_13 = "washington (9-1)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
471,
834,
1808,
834,
834,
12406,
834,
834,
221,
75,
834,
519,
584,
4280,
28027,
6,
471,
834,
2122,
834,
5326,
834,
2368,
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,
0,
0,
0... | [
3,
23143,
14196,
471,
834,
1808,
834,
834,
12406,
834,
834,
221,
75,
834,
519,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
471,
834,
2122,
834,
5326,
834,
2368,
3274,
96,
14710,
6029,
14156,
18,
6982,
121,
1,
-100,
-100,
-100... |
How long is the XXX track used by the Minnesota Vikings? | CREATE TABLE table_name_14 (
time VARCHAR,
team_s_ VARCHAR,
artist_s_ VARCHAR
) | SELECT time FROM table_name_14 WHERE team_s_ = "minnesota vikings" AND artist_s_ = "xxx" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
97,
584,
4280,
28027,
6,
372,
834,
7,
834,
584,
4280,
28027,
6,
2377,
834,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
307,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
97,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
372,
834,
7,
834,
3274,
96,
1109,
1496,
32,
17,
9,
3,
21346,
53,
7,
121,
3430,
2377,
834,
7,
834,
3274,
96,
226,
19230,
121,
1,
-100,
-100,
-100,
-100,
-100... |
what tornament had the scores 6 7, 6 2, 6 4? | CREATE TABLE table_name_22 (
tournament VARCHAR,
score_in_the_final VARCHAR
) | SELECT tournament FROM table_name_22 WHERE score_in_the_final = "6–7, 6–2, 6–4" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
5892,
584,
4280,
28027,
6,
2604,
834,
77,
834,
532,
834,
12406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
12,
52,
20205,
17,
141,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5892,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
2604,
834,
77,
834,
532,
834,
12406,
3274,
96,
948,
104,
940,
6,
431,
104,
4482,
431,
104,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the r ( /km) when the frequency is 10k? | CREATE TABLE table_28330 (
"Frequency (Hz)" text,
"R (\u03a9/km)" text,
"L (mH/km)" text,
"G (\u03bcS/km)" text,
"C (nF/km)" text
) | SELECT "R (\u03a9/km)" FROM table_28330 WHERE "Frequency (Hz)" = '10k' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
17225,
41,
96,
371,
60,
835,
11298,
41,
16223,
61,
121,
1499,
6,
96,
448,
41,
2,
76,
4928,
9,
1298,
87,
5848,
61,
121,
1499,
6,
96,
434,
41,
51,
566,
87,
5848,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
448,
41,
2,
76,
4928,
9,
1298,
87,
5848,
61,
121,
21680,
953,
834,
2577,
17225,
549,
17444,
427,
96,
371,
60,
835,
11298,
41,
16223,
61,
121,
3274,
3,
31,
1714,
157,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100... |
How many locomotives were made that were withdrawn in 1913? | CREATE TABLE table_name_97 (quantity_made VARCHAR, withdrawn VARCHAR) | SELECT quantity_made FROM table_name_97 WHERE withdrawn = "1913" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
13158,
485,
834,
4725,
584,
4280,
28027,
6,
3,
28032,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
31301,
7,
130,
263,
24,
130,
3,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
8708,
834,
4725,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
3,
28032,
3274,
96,
2294,
2368,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who was the Class A winner when the Class C winner was David Haynes? | CREATE TABLE table_24852622_1 (
class_a_winner VARCHAR,
class_c_winner VARCHAR
) | SELECT class_a_winner FROM table_24852622_1 WHERE class_c_winner = "David Haynes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
4433,
2688,
2884,
834,
536,
41,
853,
834,
9,
834,
3757,
687,
584,
4280,
28027,
6,
853,
834,
75,
834,
3757,
687,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
853,
834,
9,
834,
3757,
687,
21680,
953,
834,
2266,
4433,
2688,
2884,
834,
536,
549,
17444,
427,
853,
834,
75,
834,
3757,
687,
3274,
96,
308,
9,
6961,
8567,
1496,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the landesliga nord for asv neumarkt | CREATE TABLE table_20181270_3 (landesliga_nord VARCHAR, landesliga_mitte VARCHAR) | SELECT landesliga_nord FROM table_20181270_3 WHERE landesliga_mitte = "ASV Neumarkt" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9457,
2122,
2518,
834,
519,
41,
11553,
7,
17140,
834,
29,
127,
26,
584,
4280,
28027,
6,
3,
11553,
7,
17140,
834,
1538,
17,
15,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
11553,
7,
17140,
834,
29,
127,
26,
21680,
953,
834,
9457,
2122,
2518,
834,
519,
549,
17444,
427,
3,
11553,
7,
17140,
834,
1538,
17,
15,
3274,
96,
188,
7416,
3617,
10244,
121,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
What's the number of byes for someone who had 7 wins and an against number greater than 1412? | CREATE TABLE table_61973 (
"Golden Rivers" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) | SELECT SUM("Byes") FROM table_61973 WHERE "Wins" = '7' AND "Against" > '1412' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
4327,
519,
41,
96,
23576,
35,
2473,
7,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
279,
10070,
121,
490,
6,
96,
434,
13526,
7,
121,
490,
6,
96,
308,
10936,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
279,
10070,
8512,
21680,
953,
834,
4241,
4327,
519,
549,
17444,
427,
96,
18455,
7,
121,
3274,
3,
31,
940,
31,
3430,
96,
20749,
121,
2490,
3,
31,
2534,
2122,
31,
1,
-100,
-100,
-100,
-100,
-100... |
What was the longest carry for kevin clemens with under 31 yards total? | CREATE TABLE table_54122 (
"Player" text,
"Car." real,
"Yards" real,
"Avg." real,
"TD's" real,
"Long" real
) | SELECT MAX("Long") FROM table_54122 WHERE "Player" = 'kevin clemens' AND "Yards" < '31' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5062,
20889,
41,
96,
15800,
49,
121,
1499,
6,
96,
6936,
535,
490,
6,
96,
476,
986,
7,
121,
490,
6,
96,
188,
208,
122,
535,
490,
6,
96,
10494,
31,
7,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
434,
2444,
8512,
21680,
953,
834,
5062,
20889,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
1050,
2494,
3,
2482,
904,
7,
31,
3430,
96,
476,
986,
7,
121,
3,
2,
3,
31,
3341,
31,
1,
-100,
... |
What was the urban settlement when the city / municipality was kovin? | CREATE TABLE table_2562572_7 (urban_settlement VARCHAR, city___municipality VARCHAR) | SELECT urban_settlement FROM table_2562572_7 WHERE city___municipality = "Kovin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19337,
1828,
5865,
834,
940,
41,
19413,
834,
2244,
17,
3335,
584,
4280,
28027,
6,
690,
834,
834,
834,
11760,
3389,
10355,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4150,
834,
2244,
17,
3335,
21680,
953,
834,
19337,
1828,
5865,
834,
940,
549,
17444,
427,
690,
834,
834,
834,
11760,
3389,
10355,
3274,
96,
439,
32,
2494,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those employees who was hired before 2002-06-21, draw a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by weekday. | CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JO... | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2476,
41,
446,
10539,
834,
4309,
3,
4331,
4059,
599,
16968,
6,
446,
10539,
834,
382,
3177,
3765,
3,
4331,
4059,
599,
2469,
201,
3,
17684,
834,
134,
4090,
24721,
7908,
1982,
599,
11071,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
180,
6122,
599,
5596,
19846,
11810,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
454,
14132,
834,
308,
6048,
3,
2,
3,
31,
24898,
18,
5176,
16539,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
How many episodes have a duration of 3? | CREATE TABLE table_name_35 (episodes VARCHAR, duration VARCHAR) | SELECT COUNT(episodes) FROM table_name_35 WHERE duration = "3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
15,
102,
159,
32,
1395,
584,
4280,
28027,
6,
8659,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
13562,
43,
3,
9,
8659,
13,
220,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
15,
102,
159,
32,
1395,
61,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
8659,
3274,
96,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is every entry for against with opponent Andreas Vinciguerra? | CREATE TABLE table_26536 (
"Edition" text,
"Round" text,
"Date" text,
"Against" text,
"Surface" text,
"Opponent" text,
"Win/Lose" text,
"Result" text
) | SELECT "Against" FROM table_26536 WHERE "Opponent" = 'Andreas Vinciguerra' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4122,
3420,
41,
96,
427,
10569,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
20749,
121,
1499,
6,
96,
134,
450,
4861,
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,
20749,
121,
21680,
953,
834,
357,
4122,
3420,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
7175,
864,
7,
584,
11542,
1744,
16841,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which station has programming of Me-TV? | CREATE TABLE table_name_33 (station VARCHAR, programming VARCHAR) | SELECT station FROM table_name_33 WHERE programming = "me-tv" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
6682,
584,
4280,
28027,
6,
6020,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2478,
65,
6020,
13,
1212,
18,
4562,
58,
1,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2478,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
6020,
3274,
96,
526,
18,
17,
208,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Find the number of amenities for each of the dorms that can accommodate more than 100 students. | CREATE TABLE has_amenity (
dormid VARCHAR
)
CREATE TABLE dorm (
dormid VARCHAR,
student_capacity INTEGER
) | SELECT COUNT(*), T1.dormid FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid WHERE T1.student_capacity > 100 GROUP BY T1.dormid | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
65,
834,
9,
904,
485,
41,
103,
52,
6983,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
103,
52,
51,
41,
103,
52,
6983,
584,
4280,
28027,
6,
1236,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
201,
332,
5411,
26,
127,
6983,
21680,
103,
52,
51,
6157,
332,
536,
3,
15355,
3162,
65,
834,
9,
904,
485,
6157,
332,
357,
9191,
332,
5411,
26,
127,
6983,
3274,
332,
4416,
26,
127,
6983,
549,... |
provide the number of patients whose admission location is emergency room admit and primary disease is liver transplant? | 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.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.diagnosis = "LIVER TRANSPLANT" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
9,
26,
5451,
834,
14836,
3274,
96,
427,
13098,
18464,
17063,
3,
30270,
8502,
12604,
121,
3430,
147... |
Who did the Mariners play when they had a record of 33-45? | CREATE TABLE table_55425 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) | SELECT "Opponent" FROM table_55425 WHERE "Record" = '33-45' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3769,
591,
1828,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
121,
1499,
6,
96,
188,
17,
324,
26,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
102,
9977,
121,
21680,
953,
834,
3769,
591,
1828,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
4201,
18,
2128,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is the difference in land area between alta and newton ? | CREATE TABLE table_204_322 (
id number,
"township" text,
"fips" number,
"population" number,
"population\ndensity\n/km2 (/sq mi)" text,
"land area\nkm2 (sq mi)" text,
"water area\nkm2 (sq mi)" text,
"water %" text,
"geographic coordinates" text
) | SELECT (SELECT "land area\nkm2 (sq mi)" FROM table_204_322 WHERE "township" = 'alta') - (SELECT "land area\nkm2 (sq mi)" FROM table_204_322 WHERE "township" = 'newton') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
2668,
357,
41,
3,
23,
26,
381,
6,
96,
3540,
2009,
121,
1499,
6,
96,
89,
15432,
121,
381,
6,
96,
9791,
7830,
121,
381,
6,
96,
9791,
7830,
2,
29,
537,
7,
48... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
41,
23143,
14196,
96,
40,
232,
616,
2,
29,
5848,
357,
41,
7,
1824,
1337,
61,
121,
21680,
953,
834,
26363,
834,
2668,
357,
549,
17444,
427,
96,
3540,
2009,
121,
3274,
3,
31,
2920,
9,
31,
61,
3,
18,
41,
23143,
1... |
How many episodes had their first air date on March 6, 2008? | CREATE TABLE table_16535 (
"Episode Titles" text,
"First air date" text,
"Reward" text,
"Immunity" text,
"Exiled" text,
"Eliminated" text,
"Vote" text,
"Finish" text
) | SELECT COUNT("Episode Titles") FROM table_16535 WHERE "First air date" = 'March 6, 2008' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22823,
2469,
41,
96,
427,
102,
159,
32,
221,
11029,
7,
121,
1499,
6,
96,
25171,
799,
833,
121,
1499,
6,
96,
1649,
2239,
121,
1499,
6,
96,
196,
635,
202,
485,
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,
121,
427,
102,
159,
32,
221,
11029,
7,
8512,
21680,
953,
834,
22823,
2469,
549,
17444,
427,
96,
25171,
799,
833,
121,
3274,
3,
31,
25019,
8580,
2628,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
When the winners votes were 50.54% who were the members of parliment? | CREATE TABLE table_1812 (
"Year" real,
"Lok Sabha" text,
"Members of Parliament" text,
"Party Won" text,
"Winners % votes" text,
"Trailing Party" text,
"Trailing Party % votes" text
) | SELECT "Members of Parliament" FROM table_1812 WHERE "Winners % votes" = '50.54%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
2122,
41,
96,
476,
2741,
121,
490,
6,
96,
434,
1825,
11315,
1024,
121,
1499,
6,
96,
329,
18247,
7,
13,
12876,
121,
1499,
6,
96,
13725,
63,
549,
106,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
329,
18247,
7,
13,
12876,
121,
21680,
953,
834,
2606,
2122,
549,
17444,
427,
96,
18455,
687,
7,
3,
1454,
11839,
121,
3274,
3,
31,
755,
12100,
5988,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the Bronze cumulative number for less than 0 gold? | CREATE TABLE table_name_27 (
bronze INTEGER,
gold INTEGER
) | SELECT SUM(bronze) FROM table_name_27 WHERE gold < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
13467,
3,
21342,
17966,
6,
2045,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
20841,
25965,
381,
21,
705,
145,
3,
632,
2045,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13711,
776,
61,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
2045,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What Ranking has Gold less than 20 and the Event 1976 Toronto? | CREATE TABLE table_name_25 (ranking VARCHAR, gold VARCHAR, event VARCHAR) | SELECT ranking FROM table_name_25 WHERE gold < 20 AND event = "1976 toronto" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
6254,
53,
584,
4280,
28027,
6,
2045,
584,
4280,
28027,
6,
605,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
29153,
65,
2540,
705,
145,
460,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11592,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
2045,
3,
2,
460,
3430,
605,
3274,
96,
2294,
3959,
12,
4438,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the To par when the Score was 67-68=135? | CREATE TABLE table_7267 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "To par" FROM table_7267 WHERE "Score" = '67-68=135' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5865,
3708,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
3,
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,
96,
3696,
260,
121,
21680,
953,
834,
5865,
3708,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
3708,
18,
3651,
2423,
536,
2469,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the length time of the 3.5 release? | CREATE TABLE table_20658 (
"Title" text,
"Series" text,
"Release" text,
"Featuring" text,
"Writer" text,
"Director" text,
"Length" text,
"Timeline" text,
"Release Date" text
) | SELECT "Length" FROM table_20658 WHERE "Release" = '3.5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24643,
3449,
41,
96,
382,
155,
109,
121,
1499,
6,
96,
12106,
7,
121,
1499,
6,
96,
1649,
40,
14608,
121,
1499,
6,
96,
18772,
121,
1499,
6,
96,
24965,
49,
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,
434,
4606,
189,
121,
21680,
953,
834,
24643,
3449,
549,
17444,
427,
96,
1649,
40,
14608,
121,
3274,
3,
31,
9285,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For those employees who was hired before 2002-06-21, give me the comparison about the amount of job_id over the job_id , and group by attribute job_id, and list from low to high by the x-axis. | 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 departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
... | SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3248,
41,
301,
5618,
8015,
834,
4309,
7908,
1982,
599,
8525,
632,
201,
3,
13733,
26418,
834,
24604,
12200,
134,
3,
4331,
4059,
599,
2445,
201,
3,
16034,
16359,
834,
5911,
5596,
3,
4331... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
15355,
279,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
454,
14132,
834,
308,
6048,
3,
2,
3,
31,
24898,
18,
5176,
16539,
31,
350,
4630,
6880,
272,
476,
446,
10539,
834,
... |
What is the number of goals with less than 14 wins and a goal difference less than -4? | CREATE TABLE table_78957 (
"Position" real,
"Club" text,
"Played" real,
"Points" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
) | SELECT "Goals for" FROM table_78957 WHERE "Wins" < '14' AND "Goal Difference" < '-4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
3301,
940,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
22512,
7,
121,
490,
6,
96,
18455,
7,
121,
49... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
6221,
5405,
21,
121,
21680,
953,
834,
3940,
3301,
940,
549,
17444,
427,
96,
18455,
7,
121,
3,
2,
3,
31,
2534,
31,
3430,
96,
6221,
138,
27187,
121,
3,
2,
3,
31,
4278,
31,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
what's the occupied territory with operational period of may 1940 january 1945 | CREATE TABLE table_10335_1 (
occupied_territory VARCHAR,
operational VARCHAR
) | SELECT occupied_territory FROM table_10335_1 WHERE operational = "May 1940 – January 1945" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17864,
2469,
834,
536,
41,
3,
12519,
834,
17,
21301,
10972,
584,
4280,
28027,
6,
7763,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
3,
12519,
9964... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
12519,
834,
17,
21301,
10972,
21680,
953,
834,
17864,
2469,
834,
536,
549,
17444,
427,
7763,
3274,
96,
15881,
15830,
3,
104,
1762,
18315,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many people attended the game with the home side scoring 11.13 (79)? | CREATE TABLE table_32373 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT COUNT("Crowd") FROM table_32373 WHERE "Home team score" = '11.13 (79)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2668,
4118,
519,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
254,
3623,
26,
8512,
21680,
953,
834,
2668,
4118,
519,
549,
17444,
427,
96,
19040,
372,
2604,
121,
3274,
3,
31,
10032,
2368,
41,
4440,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is Posititon, when Hometown/School is "Westlake, California"? | CREATE TABLE table_name_15 (position VARCHAR, hometown_school VARCHAR) | SELECT position FROM table_name_15 WHERE hometown_school = "westlake, california" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1808,
41,
4718,
584,
4280,
28027,
6,
22295,
834,
6646,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
13995,
155,
155,
106,
6,
116,
1210,
3540,
87,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1102,
21680,
953,
834,
4350,
834,
1808,
549,
17444,
427,
22295,
834,
6646,
3274,
96,
12425,
16948,
6,
3,
15534,
1161,
29,
23,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the sum of the goals on 2007-06-16? | CREATE TABLE table_name_16 (
goals INTEGER,
date VARCHAR
) | SELECT SUM(goals) FROM table_name_16 WHERE date = "2007-06-16" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
1766,
3,
21342,
17966,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,
13,
8,
1766,
30,
4101,
18,
5176,
10892,
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,
180,
6122,
599,
839,
5405,
61,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
833,
3274,
96,
20615,
18,
5176,
10892,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Can you tell me the Score that has the Team of memphis? | CREATE TABLE table_name_89 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_89 WHERE team = "memphis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
7,
9022,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
1072,
25,
817,
140,
8,
17763,
24,
65,
8,
2271,
13,
140,
7656,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
372,
3274,
96,
526,
7656,
159,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the direction of the route that stars at downtown transit center and has a terminus point at Pensacola Beach? | CREATE TABLE table_name_50 (
direction VARCHAR,
starting_point VARCHAR,
terminus VARCHAR
) | SELECT direction FROM table_name_50 WHERE starting_point = "downtown transit center" AND terminus = "pensacola beach" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
2212,
584,
4280,
28027,
6,
1684,
834,
2700,
584,
4280,
28027,
6,
12089,
302,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2212,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2212,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
1684,
834,
2700,
3274,
96,
3035,
3540,
11811,
1530,
121,
3430,
12089,
302,
3274,
96,
3801,
9,
12600,
2608,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many credit cards does customer Blanche Huels have? | CREATE TABLE Customers (
customer_id VARCHAR,
customer_first_name VARCHAR,
customer_last_name VARCHAR
)
CREATE TABLE Customers_cards (
customer_id VARCHAR,
card_type_code VARCHAR
) | SELECT COUNT(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Blanche" AND T2.customer_last_name = "Huels" AND T1.card_type_code = "Credit" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
16423,
41,
884,
834,
23,
26,
584,
4280,
28027,
6,
884,
834,
14672,
834,
4350,
584,
4280,
28027,
6,
884,
834,
5064,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
16423,
834,
6043,
7,
6157,
332,
536,
3,
15355,
3162,
16423,
6157,
332,
357,
9191,
332,
5411,
25697,
49,
834,
23,
26,
3274,
332,
4416,
25697,
49,
834,
23,
26,
549,
17444,
427,
332,
... |
What laps did Honda do with a time of +1:38.407? | CREATE TABLE table_name_39 (laps VARCHAR, manufacturer VARCHAR, time VARCHAR) | SELECT laps FROM table_name_39 WHERE manufacturer = "honda" AND time = "+1:38.407" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
8478,
7,
584,
4280,
28027,
6,
4818,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
14941,
7,
410,
12886,
103,
28,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
14941,
7,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
4818,
3274,
96,
31782,
121,
3430,
97,
3274,
96,
18446,
10,
3747,
5,
2445,
940,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many points does Marussia Manor Racing have? | CREATE TABLE table_25548630_1 (points VARCHAR, team VARCHAR) | SELECT COUNT(points) FROM table_25548630_1 WHERE team = "Marussia Manor Racing" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25502,
3707,
26106,
834,
536,
41,
2700,
7,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
979,
405,
1534,
26165,
1140,
127,
16046,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
2700,
7,
61,
21680,
953,
834,
25502,
3707,
26106,
834,
536,
549,
17444,
427,
372,
3274,
96,
329,
9,
26165,
1140,
127,
16046,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many votes were tallied with a % of national vote of 13.11, and over 39 candidates nominated? | CREATE TABLE table_name_72 (votes VARCHAR, _percentage_of_national_vote VARCHAR, candidates_nominated VARCHAR) | SELECT COUNT(votes) FROM table_name_72 WHERE _percentage_of_national_vote = 13.11 AND candidates_nominated > 39 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
1621,
1422,
584,
4280,
28027,
6,
3,
834,
883,
3728,
545,
834,
858,
834,
16557,
834,
1621,
17,
15,
584,
4280,
28027,
6,
4341,
834,
3114,
77,
920,
584,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1621,
1422,
61,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
3,
834,
883,
3728,
545,
834,
858,
834,
16557,
834,
1621,
17,
15,
3274,
8808,
2596,
3430,
4341,
834,
3114,
77,
920,
2490,
6352,
1,
... |
Which writer wrote episode 18-09 (652)? | CREATE TABLE table_name_29 (
writer_s_ VARCHAR,
episode VARCHAR
) | SELECT writer_s_ FROM table_name_29 WHERE episode = "18-09 (652)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
4346,
834,
7,
834,
584,
4280,
28027,
6,
5640,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
4346,
2832,
5640,
507,
18,
4198,
41,
4122,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4346,
834,
7,
834,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
5640,
3274,
96,
2606,
18,
4198,
41,
4122,
7318,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When was the first cap associated with 39 caps and under 33 goals? | CREATE TABLE table_name_29 (
first_cap VARCHAR,
goals VARCHAR,
caps VARCHAR
) | SELECT first_cap FROM table_name_29 WHERE goals < 33 AND caps = 39 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
166,
834,
4010,
584,
4280,
28027,
6,
1766,
584,
4280,
28027,
6,
16753,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
47,
8,
166,
2468,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
166,
834,
4010,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
1766,
3,
2,
5400,
3430,
16753,
3274,
6352,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which To par has a Player of bernhard langer? | CREATE TABLE table_62061 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "To par" FROM table_62061 WHERE "Player" = 'bernhard langer' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26898,
4241,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
3,
61,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3696,
260,
121,
21680,
953,
834,
26898,
4241,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
1152,
29,
5651,
6575,
52,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the CPU speed(s) of the New Plus type hardware? | CREATE TABLE table_name_74 (cpu_speed VARCHAR, type VARCHAR) | SELECT cpu_speed FROM table_name_74 WHERE type = "new plus" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
75,
4987,
834,
9993,
584,
4280,
28027,
6,
686,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
13823,
1634,
599,
7,
61,
13,
8,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
75,
4987,
834,
9993,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
686,
3274,
96,
5534,
303,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the losses when Sunrayia FL is Red Cliffs, and the against is more than 2294? | CREATE TABLE table_65748 (
"Sunrayia FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) | SELECT AVG("Losses") FROM table_65748 WHERE "Sunrayia FL" = 'red cliffs' AND "Against" > '2294' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3436,
3707,
41,
96,
134,
202,
2866,
23,
9,
7212,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
279,
10070,
121,
490,
6,
96,
434,
13526,
7,
121,
490,
6,
96,
308,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
434,
13526,
7,
8512,
21680,
953,
834,
948,
3436,
3707,
549,
17444,
427,
96,
134,
202,
2866,
23,
9,
7212,
121,
3274,
3,
31,
1271,
3,
12591,
7,
31,
3430,
96,
20749,
121,
2490,
3,
31,
2884,
424... |
What competition has a venue in Hampden Park, Glasgow? | CREATE TABLE table_name_55 (
competition VARCHAR,
venue VARCHAR
) | SELECT competition FROM table_name_55 WHERE venue = "hampden park, glasgow" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
2259,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
2259,
65,
3,
9,
5669,
16,
5845,
102,
537,
1061,
6,
18588,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2259,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
5669,
3274,
96,
1483,
102,
537,
2447,
6,
3,
16985,
839,
210,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which of finland 's national parks has the least number of yearly visitors ? | CREATE TABLE table_204_143 (
id number,
"national park" text,
"region" text,
"land area (km2)" number,
"established" number,
"visitation (2009)" number,
"coordinates" text
) | SELECT "national park" FROM table_204_143 ORDER BY "visitation (2009)" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
25133,
41,
3,
23,
26,
381,
6,
96,
16557,
2447,
121,
1499,
6,
96,
18145,
121,
1499,
6,
96,
40,
232,
616,
41,
5848,
7318,
121,
381,
6,
96,
24109,
121,
381,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
16557,
2447,
121,
21680,
953,
834,
26363,
834,
25133,
4674,
11300,
272,
476,
96,
3466,
155,
257,
3,
25812,
121,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what's the alloy with series being ii series | CREATE TABLE table_17595 (
"Year" real,
"Denomination" text,
"Alloy" text,
"Reverse" text,
"Diameter" text,
"Weight" text,
"Obverse" text,
"Mintage" real,
"Series" text
) | SELECT "Alloy" FROM table_17595 WHERE "Series" = 'II series' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
536,
3072,
3301,
41,
96,
476,
2741,
121,
490,
6,
96,
308,
35,
32,
14484,
121,
1499,
6,
96,
6838,
32,
63,
121,
1499,
6,
96,
1649,
7583,
121,
1499,
6,
96,
23770,
4401,
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,
6838,
32,
63,
121,
21680,
953,
834,
536,
3072,
3301,
549,
17444,
427,
96,
12106,
7,
121,
3274,
3,
31,
196,
196,
939,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which FSB Speed has a Model Number of c7-m 765? | CREATE TABLE table_name_46 (fsb_speed VARCHAR, model_number VARCHAR) | SELECT fsb_speed FROM table_name_46 WHERE model_number = "c7-m 765" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
89,
7,
115,
834,
9993,
584,
4280,
28027,
6,
825,
834,
5525,
1152,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
3,
7674,
279,
9913,
65,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
89,
7,
115,
834,
9993,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
825,
834,
5525,
1152,
3274,
96,
75,
940,
18,
51,
3,
3959,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
List the max power produced for model 2.0 ts with peak of n m (lb ft) at 3,500 rpm. | CREATE TABLE table_25839 (
"Model" text,
"Engine" text,
"Displacement" text,
"Max. power output" text,
"Peak torque" text,
"0\u2013100km/h,s 0-62mph,s" text,
"Top speed" text,
"CO 2 emissions" text,
"Years" text,
"Note" text,
"Engine code" text
) | SELECT "Max. power output" FROM table_25839 WHERE "Model" = '2.0 TS' AND "Peak torque" = 'N·m (lb·ft) at 3,500 rpm' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3449,
3288,
41,
96,
24663,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
23664,
11706,
297,
121,
1499,
6,
96,
21298,
5,
579,
3911,
121,
1499,
6,
96,
345,
15,
1639,
1952... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21298,
5,
579,
3911,
121,
21680,
953,
834,
357,
3449,
3288,
549,
17444,
427,
96,
24663,
121,
3274,
3,
31,
24273,
3,
4578,
31,
3430,
96,
345,
15,
1639,
19527,
121,
3274,
3,
31,
567,
2,
51,
41,
40,
115,
2,
8... |
Where did the Lightning play the NY Rangers at 7:00 pm? | CREATE TABLE table_46216 (
"Date" text,
"Opponent" text,
"Location" text,
"Time" text,
"Result" text
) | SELECT "Location" FROM table_46216 WHERE "Opponent" = 'ny rangers' AND "Time" = '7:00 pm' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
27184,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
13368,
121,
1499,
6,
96,
20119,
121,
1499,
3,
61,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
4448,
27184,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
29,
63,
620,
52,
7,
31,
3430,
96,
13368,
121,
3274,
3,
31,
18735,
6366,
31,
1,
-100,
-100,
-100,
... |
What is the air date the had atlasphere for event 1 before episode 11? | CREATE TABLE table_name_89 (
air_date VARCHAR,
episode_number VARCHAR,
event_1 VARCHAR
) | SELECT air_date FROM table_name_89 WHERE episode_number < 11 AND event_1 = "atlasphere" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
799,
834,
5522,
584,
4280,
28027,
6,
5640,
834,
5525,
1152,
584,
4280,
28027,
6,
605,
834,
536,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
799,
834,
5522,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
5640,
834,
5525,
1152,
3,
2,
850,
3430,
605,
834,
536,
3274,
96,
144,
521,
9475,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What did the loss come from a Club of mumbles rfc? | CREATE TABLE table_name_92 (lost VARCHAR, club VARCHAR) | SELECT lost FROM table_name_92 WHERE club = "mumbles rfc" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
2298,
17,
584,
4280,
28027,
6,
1886,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
410,
8,
1453,
369,
45,
3,
9,
1949,
13,
3,
51,
13514,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1513,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
1886,
3274,
96,
51,
13514,
7,
3,
52,
89,
75,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is Game, when Team is 'Philadelphia | CREATE TABLE table_50004 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Game" FROM table_50004 WHERE "Team" = 'philadelphia' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
12814,
591,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
3,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23055,
121,
21680,
953,
834,
12814,
591,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
18118,
15311,
11692,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the overall number for a pick of #10, from Louisiana Tech, and a round bigger than 3? | CREATE TABLE table_name_99 (
overall INTEGER,
round VARCHAR,
pick__number VARCHAR,
college VARCHAR
) | SELECT SUM(overall) FROM table_name_99 WHERE pick__number = 10 AND college = "louisiana tech" AND round > 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
1879,
3,
21342,
17966,
6,
1751,
584,
4280,
28027,
6,
1432,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
1900,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
1890,
1748,
61,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
1432,
834,
834,
5525,
1152,
3274,
335,
3430,
1900,
3274,
96,
40,
1063,
159,
13662,
5256,
121,
3430,
1751,
2490,
220,
1,
-100,
-100,
... |
What was the record after game 37? | CREATE TABLE table_name_70 (
record VARCHAR,
game VARCHAR
) | SELECT record FROM table_name_70 WHERE game = 37 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
1368,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1368,
227,
467,
6862,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
467,
3274,
6862,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What place is there a change of -19.3? | CREATE TABLE table_2500440_1 (
name VARCHAR,
change___percentage_ VARCHAR
) | SELECT COUNT(name) FROM table_2500440_1 WHERE change___percentage_ = "-19.3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2560,
22335,
834,
536,
41,
564,
584,
4280,
28027,
6,
483,
834,
834,
834,
883,
3728,
545,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
286,
19,
132... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
4350,
61,
21680,
953,
834,
357,
2560,
22335,
834,
536,
549,
17444,
427,
483,
834,
834,
834,
883,
3728,
545,
834,
3274,
96,
4481,
5,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
When hossein askari is the stage winner who is the malaysian rider classification ? | CREATE TABLE table_19868 (
"Stage" real,
"Stage winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Malaysian rider classification" text,
"Team classification" text
) | SELECT "Malaysian rider classification" FROM table_19868 WHERE "Stage winner" = 'Hossein Askari' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24151,
3651,
41,
96,
134,
6505,
121,
490,
6,
96,
134,
6505,
4668,
121,
1499,
6,
96,
20857,
13774,
121,
1499,
6,
96,
22512,
7,
13774,
121,
1499,
6,
96,
329,
32,
14016,
77,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
329,
9,
5595,
10488,
2564,
52,
13774,
121,
21680,
953,
834,
24151,
3651,
549,
17444,
427,
96,
134,
6505,
4668,
121,
3274,
3,
31,
566,
13526,
77,
8366,
1665,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
If the pick is under 28 and the position is k, what's the highest Overall pick? | CREATE TABLE table_name_55 (overall INTEGER, position VARCHAR, pick VARCHAR) | SELECT MAX(overall) FROM table_name_55 WHERE position = "k" AND pick < 28 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
1890,
1748,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
6,
1432,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
156,
8,
1432,
19,
365,
2059,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
1890,
1748,
61,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
1102,
3274,
96,
157,
121,
3430,
1432,
3,
2,
2059,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What date was the game against inverurie loco works when more than 342 attend? | CREATE TABLE table_name_3 (
date VARCHAR,
attendance VARCHAR,
opponent VARCHAR
) | SELECT date FROM table_name_3 WHERE attendance > 342 AND opponent = "inverurie loco works" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
833,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
47,
8,
467,
581,
16,
624,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
11364,
2490,
220,
4165,
3430,
15264,
3274,
96,
77,
624,
459,
15,
2072,
32,
930,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those records from the products and each product's manufacturer, show me about the distribution of name and the sum of price , and group by attribute name in a bar chart, display in descending by the total number. | 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.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Price 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,
23954,
6,
332,
5411,
345,
4920,
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,
332,
441... |
How many male patients are with lab test item id 51176? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "M" AND lab.itemid = "51176" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
what were the number of games scheduled in november ? | CREATE TABLE table_203_691 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number
) | SELECT COUNT(*) FROM table_203_691 WHERE "date" = 11 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3951,
536,
41,
3,
23,
26,
381,
6,
96,
8041,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
60,
7,
83,
17,
121,
1499,
6,
96,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
23330,
834,
3951,
536,
549,
17444,
427,
96,
5522,
121,
3274,
850,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is every value for percentage(2006) with a Polish mother tongue? | CREATE TABLE table_189893_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR) | SELECT percentage__2006_ FROM table_189893_1 WHERE mother_tongue = "Polish" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
3916,
4271,
834,
536,
41,
883,
3728,
545,
834,
834,
21196,
834,
584,
4280,
28027,
6,
2039,
834,
17,
106,
5398,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5294,
834,
834,
21196,
834,
21680,
953,
834,
2606,
3916,
4271,
834,
536,
549,
17444,
427,
2039,
834,
17,
106,
5398,
3274,
96,
8931,
1273,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many object dates have origin in Samoa? | CREATE TABLE table_31280 (
"Episode Number" real,
"Title & Link to Episode on YouTube" text,
"Origin" text,
"Object Date" text,
"Description" text,
"Te Papas Collections Online link" text,
"Host & Additional contributors" text
) | SELECT COUNT("Object Date") FROM table_31280 WHERE "Origin" = 'Samoa' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3341,
17518,
41,
96,
427,
102,
159,
32,
221,
7720,
121,
490,
6,
96,
382,
155,
109,
3,
184,
7505,
12,
16112,
30,
5343,
121,
1499,
6,
96,
667,
3380,
77,
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,
2847,
17161,
599,
121,
17057,
7678,
8512,
21680,
953,
834,
3341,
17518,
549,
17444,
427,
96,
667,
3380,
77,
121,
3274,
3,
31,
134,
265,
32,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
On what date was the Canarian Workers Socialist Union registered? | CREATE TABLE table_name_60 (date_of_registration VARCHAR, name_in_english VARCHAR) | SELECT date_of_registration FROM table_name_60 WHERE name_in_english = "canarian workers socialist union" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
5522,
834,
858,
834,
5200,
257,
584,
4280,
28027,
6,
564,
834,
77,
834,
4606,
40,
1273,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
461,
125,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
834,
858,
834,
5200,
257,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
564,
834,
77,
834,
4606,
40,
1273,
3274,
96,
1608,
6855,
2765,
23737,
7021,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the To par for denmark | CREATE TABLE table_name_95 (
to_par VARCHAR,
country VARCHAR
) | SELECT to_par FROM table_name_95 WHERE country = "denmark" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
12,
834,
1893,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
304,
260,
21,
177,
3920,
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,
12,
834,
1893,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
684,
3274,
96,
537,
3920,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What location has a home ground of n/a, and position in 2012-13 of 13th, third division? | CREATE TABLE table_name_2 (
location VARCHAR,
home_ground VARCHAR,
position_in_2012_13 VARCHAR
) | SELECT location FROM table_name_2 WHERE home_ground = "n/a" AND position_in_2012_13 = "13th, third division" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
1128,
584,
4280,
28027,
6,
234,
834,
9232,
584,
4280,
28027,
6,
1102,
834,
77,
834,
12172,
834,
2368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
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,
1128,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
234,
834,
9232,
3274,
96,
29,
87,
9,
121,
3430,
1102,
834,
77,
834,
12172,
834,
2368,
3274,
96,
2368,
189,
6,
1025,
4889,
121,
1,
-100,
-100,
-100,
-100,
-10... |
What is the Competition where the Score was 3 0, and the was Goal larger than 4? | CREATE TABLE table_70868 (
"Goal" real,
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
) | SELECT "Competition" FROM table_70868 WHERE "Score" = '3–0' AND "Goal" > '4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
927,
3651,
41,
96,
6221,
138,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
20119,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
5890,
4995,
4749,
121,
21680,
953,
834,
2518,
927,
3651,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
519,
104,
632,
31,
3430,
96,
6221,
138,
121,
2490,
3,
31,
591,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
What is the total number of Since with a Goals larger than 6, and a Name with deco? | CREATE TABLE table_11367 (
"Nat." text,
"Name" text,
"Since" real,
"Goals" real,
"Ends" real,
"Transfer fee" text
) | SELECT COUNT("Since") FROM table_11367 WHERE "Goals" > '6' AND "Name" = 'deco' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20522,
3708,
41,
96,
567,
144,
535,
1499,
6,
96,
23954,
121,
1499,
6,
96,
134,
77,
565,
121,
490,
6,
96,
6221,
5405,
121,
490,
6,
96,
8532,
26,
7,
121,
490,
6,
96,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
134,
77,
565,
8512,
21680,
953,
834,
20522,
3708,
549,
17444,
427,
96,
6221,
5405,
121,
2490,
3,
31,
948,
31,
3430,
96,
23954,
121,
3274,
3,
31,
221,
509,
31,
1,
-100,
-100,
-100,
-100,
-100... |
Name the least points | CREATE TABLE table_25387 (
"Player" text,
"Games Played" real,
"Field Goals" real,
"Three Pointers" real,
"Free Throws" real,
"Rebounds" real,
"Assists" real,
"Blocks" real,
"Steals" real,
"Points" real
) | SELECT MIN("Points") FROM table_25387 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
519,
4225,
41,
96,
15800,
49,
121,
1499,
6,
96,
23055,
7,
2911,
15,
26,
121,
490,
6,
96,
3183,
8804,
17916,
7,
121,
490,
6,
96,
11889,
15,
15,
4564,
277,
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,
22512,
7,
8512,
21680,
953,
834,
1828,
519,
4225,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total against on 08/12/1992? | CREATE TABLE table_62939 (
"Opposing Team" text,
"Against" real,
"Date" text,
"Venue" text,
"Round" text
) | SELECT SUM("Against") FROM table_62939 WHERE "Date" = '08/12/1992' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3166,
3288,
41,
96,
667,
102,
2748,
53,
2271,
121,
1499,
6,
96,
20749,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
448,
32,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
20749,
8512,
21680,
953,
834,
948,
3166,
3288,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
4018,
18009,
13523,
4508,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
There are 5 imports of plywood. | CREATE TABLE table_424 (
"Year" real,
"Product" text,
"Production" text,
"Consumption" text,
"Import" text,
"Export" text
) | SELECT "Import" FROM table_424 WHERE "Product" = 'Plywood' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2266,
41,
96,
476,
2741,
121,
490,
6,
96,
3174,
7472,
121,
1499,
6,
96,
3174,
8291,
121,
1499,
6,
96,
4302,
4078,
102,
1575,
121,
1499,
6,
96,
196,
51,
1493,
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,
196,
51,
1493,
121,
21680,
953,
834,
591,
2266,
549,
17444,
427,
96,
3174,
7472,
121,
3274,
3,
31,
345,
120,
2037,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Show me a line chart to show the change of salary for those employees whose first name does not containing the letter M over the corresponding hire date, display by the HIRE_DATE from low to high. | CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
... | SELECT HIRE_DATE, SALARY FROM employees WHERE NOT FIRST_NAME LIKE '%M%' ORDER BY HIRE_DATE | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1440,
41,
2847,
17161,
11824,
834,
4309,
3,
4331,
4059,
16426,
6,
2847,
17161,
11824,
834,
567,
17683,
3,
4331,
4059,
599,
2445,
201,
4083,
517,
9215,
834,
4309,
7908,
1982,
599,
1714,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
180,
4090,
24721,
21680,
1652,
549,
17444,
427,
4486,
30085,
834,
567,
17683,
8729,
9914,
3,
31,
1454,
329,
1454,
31,
4674,
11300,
272,
476,
454,
14132,
834,
308,
6048,
1,
-100,
-100,
... |
Which report includes Bobby Unser as the Pole Position and Rick Mears as the Winning driver? | CREATE TABLE table_4768 (
"Name" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning driver" text,
"Winning team" text,
"Report" text
) | SELECT "Report" FROM table_4768 WHERE "Pole Position" = 'bobby unser' AND "Winning driver" = 'rick mears' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4177,
3651,
41,
96,
23954,
121,
1499,
6,
96,
8931,
15,
14258,
121,
1499,
6,
96,
371,
9,
7,
4377,
325,
102,
121,
1499,
6,
96,
518,
10503,
2535,
121,
1499,
6,
96,
518,
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,
1649,
1493,
121,
21680,
953,
834,
4177,
3651,
549,
17444,
427,
96,
8931,
15,
14258,
121,
3274,
3,
31,
17396,
969,
5122,
31,
3430,
96,
518,
10503,
2535,
121,
3274,
3,
31,
5206,
140,
291,
7,
31,
1,
-100,
-100,
... |
Jason Romano played for what team? | CREATE TABLE table_name_9 (team VARCHAR, player VARCHAR) | SELECT team FROM table_name_9 WHERE player = "jason romano" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
11650,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
9637,
3385,
32,
1944,
21,
125,
372,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
1959,
3274,
96,
1191,
739,
3408,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what was the only castle to be built as a hunting lodge ? | CREATE TABLE table_204_806 (
id number,
"name" text,
"date" text,
"condition" text,
"ownership\n/ access" text,
"notes" text
) | SELECT "name" FROM table_204_806 WHERE "notes" = 'built as hunting lodge' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
2079,
948,
41,
3,
23,
26,
381,
6,
96,
4350,
121,
1499,
6,
96,
5522,
121,
1499,
6,
96,
17558,
121,
1499,
6,
96,
13238,
2009,
2,
29,
87,
592,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4350,
121,
21680,
953,
834,
26363,
834,
2079,
948,
549,
17444,
427,
96,
7977,
7,
121,
3274,
3,
31,
16152,
38,
9601,
14467,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
how many patients born before 2041 had right upper quadrant pain primary disease? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "RUQ PAIN" AND demographic.dob_year < "2041" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
25930,
4844,
159,
3274,
96,
8503,
2247,
276,
13570,
121,
3430,
14798,
5,
26,
32,
115,
834,
1201,
... |
What is the lowest pick number where the overall pick number was 38? | CREATE TABLE table_46757 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) | SELECT MIN("Pick") FROM table_46757 WHERE "Overall" = '38' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3708,
3436,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
345,
3142,
121,
490,
6,
96,
23847,
1748,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
345,
3142,
8512,
21680,
953,
834,
591,
3708,
3436,
549,
17444,
427,
96,
23847,
1748,
121,
3274,
3,
31,
3747,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.