NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Show the employee ids and the number of documents destroyed by each employee. | CREATE TABLE Documents_to_be_destroyed (Destroyed_by_Employee_ID VARCHAR) | SELECT Destroyed_by_Employee_ID, COUNT(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11167,
7,
834,
235,
834,
346,
834,
221,
6626,
10093,
41,
2962,
6626,
10093,
834,
969,
834,
427,
51,
7379,
63,
15,
15,
834,
4309,
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,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
374,
6626,
10093,
834,
969,
834,
427,
51,
7379,
63,
15,
15,
834,
4309,
6,
2847,
17161,
599,
1935,
61,
21680,
11167,
7,
834,
235,
834,
346,
834,
221,
6626,
10093,
350,
4630,
6880,
272,
476,
374,
6626,
10093,
834,
9... |
I want to know the average crowd for away team of melbourne | CREATE TABLE table_54336 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT AVG("Crowd") FROM table_54336 WHERE "Away team" = 'melbourne' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5062,
519,
3420,
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,
71,
17217,
599,
121,
254,
3623,
26,
8512,
21680,
953,
834,
5062,
519,
3420,
549,
17444,
427,
96,
188,
1343,
372,
121,
3274,
3,
31,
2341,
26255,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
how many country has moto3/125cc with 15 | CREATE TABLE table_4140 (
"Country" text,
"MotoGP/500cc" real,
"350cc" real,
"Moto2/250cc" real,
"Moto3/125cc" real,
"80cc/50cc" real,
"Total" real
) | SELECT "Country" FROM table_4140 WHERE "Moto3/125cc" = '15' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4853,
2445,
41,
96,
10628,
651,
121,
1499,
6,
96,
329,
32,
235,
8049,
87,
2560,
75,
75,
121,
490,
6,
96,
16975,
75,
75,
121,
490,
6,
96,
329,
32,
235,
15896,
11434,
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,
96,
10628,
651,
121,
21680,
953,
834,
4853,
2445,
549,
17444,
427,
96,
329,
32,
235,
15020,
10124,
75,
75,
121,
3274,
3,
31,
1808,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many wins does the driver with 217 points have? | CREATE TABLE table_name_44 (
wins VARCHAR,
points VARCHAR
) | SELECT wins FROM table_name_44 WHERE points = 217 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
9204,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
9204,
405,
8,
2535,
28,
204,
2517,
979,
43,
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,
9204,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
979,
3274,
204,
2517,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What game has a 6-12-8 record? | CREATE TABLE table_76867 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
) | SELECT "Game" FROM table_76867 WHERE "Record" = '6-12-8' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
3651,
3708,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
75,
257,
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,
23055,
121,
21680,
953,
834,
940,
3651,
3708,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
948,
5947,
6039,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who did the argonauts play against during the game that had 19,423 fans in attendance? | CREATE TABLE table_45346 (
"Week" real,
"Date" text,
"Opponent" text,
"Location" text,
"Final Score" text,
"Attendance" text,
"Record" text
) | SELECT "Opponent" FROM table_45346 WHERE "Attendance" = '19,423' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
519,
4448,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
371,
10270,
1776... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2128,
519,
4448,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
3274,
3,
31,
2294,
6,
591,
2773,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the total of Golds with more bronzes than 1 and totaled larger than 4? | CREATE TABLE table_name_64 (gold VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT COUNT(gold) FROM table_name_64 WHERE bronze > 1 AND total > 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
14910,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
13,
2540,
7,
28,
72,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
14910,
61,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
13467,
2490,
209,
3430,
792,
2490,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Tell me the lowest # of bids for win percent of .667 | CREATE TABLE table_name_38 (
_number_of_bids INTEGER,
win__percentage VARCHAR
) | SELECT MIN(_number_of_bids) FROM table_name_38 WHERE win__percentage = ".667" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
3,
834,
5525,
1152,
834,
858,
834,
9824,
7,
3,
21342,
17966,
6,
1369,
834,
834,
883,
3728,
545,
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,
3,
17684,
599,
834,
5525,
1152,
834,
858,
834,
9824,
7,
61,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
1369,
834,
834,
883,
3728,
545,
3274,
96,
5,
3539,
940,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the date for irish points being 89 | CREATE TABLE table_25473 (
"Date" text,
"Location" text,
"Opponent" text,
"Irish Points" real,
"Opp. Points" real,
"Record" text
) | SELECT "Date" FROM table_25473 WHERE "Irish Points" = '89' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
4177,
519,
41,
96,
308,
342,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
196,
52,
1273,
4564,
7,
121,
490,
6,
96,
66... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
1828,
4177,
519,
549,
17444,
427,
96,
196,
52,
1273,
4564,
7,
121,
3274,
3,
31,
3914,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the score for hawthorn opponent | CREATE TABLE table_15446 (
"Year" text,
"Competition" text,
"Opponent" text,
"Score" text,
"Venue" text
) | SELECT "Score" FROM table_15446 WHERE "Opponent" = 'hawthorn' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27308,
4448,
41,
96,
476,
2741,
121,
1499,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
553,
35,
76,
15,
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,
0... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
27308,
4448,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
1024,
210,
17,
6293,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the number with the builder hunslet and a works number greater than 822? | CREATE TABLE table_71727 (
"Number" real,
"Name" text,
"Builder" text,
"Type" text,
"Works number" real,
"Date" real
) | SELECT COUNT("Number") FROM table_71727 WHERE "Builder" = 'hunslet' AND "Works number" > '822' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2517,
2555,
41,
96,
567,
5937,
49,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
24752,
49,
121,
1499,
6,
96,
25160,
121,
1499,
6,
96,
12492,
7,
381,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
567,
5937,
49,
8512,
21680,
953,
834,
940,
2517,
2555,
549,
17444,
427,
96,
24752,
49,
121,
3274,
3,
31,
107,
202,
7,
1655,
31,
3430,
96,
12492,
7,
381,
121,
2490,
3,
31,
4613,
357,
31,
1,... |
What category was The Suite Life on Deck nominated for later than 2010? | CREATE TABLE table_42896 (
"Year" real,
"Award" text,
"Category" text,
"Recipient" text,
"Result" text
) | SELECT "Category" FROM table_42896 WHERE "Recipient" = 'the suite life on deck' AND "Year" > '2010' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2577,
4314,
41,
96,
476,
2741,
121,
490,
6,
96,
188,
2239,
121,
1499,
6,
96,
18610,
6066,
651,
121,
1499,
6,
96,
1649,
3389,
4741,
121,
1499,
6,
96,
20119,
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,
18610,
6066,
651,
121,
21680,
953,
834,
591,
2577,
4314,
549,
17444,
427,
96,
1649,
3389,
4741,
121,
3274,
3,
31,
532,
3132,
280,
30,
3854,
31,
3430,
96,
476,
2741,
121,
2490,
3,
31,
14926,
31,
1,
-100,
-100,
... |
patients 18 years and older with at least 2 of 4 sirs criteria plus: lactate >= 2 mg / dl, and sofa score >= 4 | CREATE TABLE table_train_68 (
"id" int,
"sequential_organ_failure_assessment_sofa" int,
"pregnancy_or_lactation" bool,
"piro_predispose_infection_response_organ_dysfunction_score" int,
"systolic_blood_pressure_sbp" int,
"hypotension" bool,
"age" float,
"lactate" int,
"NOUSE" float
) | SELECT * FROM table_train_68 WHERE age >= 18 AND lactate > 2 AND sequential_organ_failure_assessment_sofa >= 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
3651,
41,
96,
23,
26,
121,
16,
17,
6,
96,
7,
15,
2436,
7220,
834,
11127,
834,
89,
9,
173,
1462,
834,
3974,
7,
7,
297,
834,
7,
858,
9,
121,
16,
17,
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,
1429,
21680,
953,
834,
9719,
834,
3651,
549,
17444,
427,
1246,
2490,
2423,
507,
3430,
12868,
4748,
2490,
204,
3430,
29372,
834,
11127,
834,
89,
9,
173,
1462,
834,
3974,
7,
7,
297,
834,
7,
858,
9,
2490,
2423,
314,
... |
Please tell the names and revenues of the companies with the highest revenues in each headquarter city. | CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) | SELECT Name, MAX(Revenue) FROM Manufacturers GROUP BY Headquarter | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
15248,
7,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
3642,
19973,
584,
4280,
28027,
599,
25502,
201,
3,
19145,
584,
4280,
28027,
599,
25502,
201,
19764,
17833... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5570,
6,
4800,
4,
599,
1649,
15098,
61,
21680,
15248,
7,
350,
4630,
6880,
272,
476,
3642,
19973,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Find the name of rooms booked by some customers whose first name contains ROY. | CREATE TABLE Rooms (
roomName VARCHAR,
RoomId VARCHAR
)
CREATE TABLE Reservations (
Room VARCHAR
) | SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId WHERE firstname LIKE '%ROY%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4181,
7,
41,
562,
23954,
584,
4280,
28027,
6,
4181,
196,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
27659,
7,
41,
4181,
584,
4280,
28027,
3,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
3082,
23954,
21680,
27659,
7,
6157,
332,
536,
3,
15355,
3162,
4181,
7,
6157,
332,
357,
9191,
332,
5411,
22778,
51,
3274,
332,
4416,
22778,
51,
196,
26,
549,
17444,
427,
166,
4350,
8729,
9914,
3,
31,
1454,... |
How many seasons was series number 47 shown? | CREATE TABLE table_11630008_4 (season_no VARCHAR, series_no VARCHAR) | SELECT COUNT(season_no) FROM table_11630008_4 WHERE series_no = 47 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20159,
5426,
4018,
834,
591,
41,
9476,
834,
29,
32,
584,
4280,
28027,
6,
939,
834,
29,
32,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
9385,
47,
939,
381... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
9476,
834,
29,
32,
61,
21680,
953,
834,
20159,
5426,
4018,
834,
591,
549,
17444,
427,
939,
834,
29,
32,
3274,
10635,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Where was the venue for 24/11/1979? | CREATE TABLE table_name_19 (
venue VARCHAR,
date VARCHAR
) | SELECT venue FROM table_name_19 WHERE date = "24/11/1979" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2294,
41,
5669,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
8,
5669,
21,
997,
20223,
13523,
4440,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
2294,
549,
17444,
427,
833,
3274,
96,
2266,
20223,
13523,
4440,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What car had the fewest laps with a qual of 138.750? | CREATE TABLE table_name_16 (laps INTEGER, qual VARCHAR) | SELECT MIN(laps) FROM table_name_16 WHERE qual = "138.750" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
8478,
7,
3,
21342,
17966,
6,
3,
11433,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
443,
141,
8,
360,
222,
14941,
7,
28,
3,
9,
3,
11433,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
8478,
7,
61,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
3,
11433,
3274,
96,
22744,
5,
9979,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Round, when Winner is 'Ivanovic', when Year is less than 2008, and when Tournament is 'Paris'? | CREATE TABLE table_7784 (
"Year" real,
"Tournament" text,
"Surface" text,
"Round" text,
"Winner" text,
"Score" text
) | SELECT "Round" FROM table_7784 WHERE "Winner" = 'ivanovic' AND "Year" < '2008' AND "Tournament" = 'paris' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
4608,
41,
96,
476,
2741,
121,
490,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
18455,
687,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
448,
32,
1106,
121,
21680,
953,
834,
4013,
4608,
549,
17444,
427,
96,
18455,
687,
121,
3274,
3,
31,
23,
2132,
13388,
31,
3430,
96,
476,
2741,
121,
3,
2,
3,
31,
16128,
31,
3430,
96,
382,
1211,
20205,
17,
121,... |
What is the total enrollment for a private/catholic affiliation and founded after 1842? | CREATE TABLE table_37203 (
"School" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Nickname" text,
"Primary conference" text
) | SELECT COUNT("Enrollment") FROM table_37203 WHERE "Affiliation" = 'private/catholic' AND "Founded" > '1842' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4118,
23330,
41,
96,
29364,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
20100,
121,
490,
6,
96,
188,
89,
8027,
23,
257,
121,
1499,
6,
96,
8532,
4046,
297,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
8532,
4046,
297,
8512,
21680,
953,
834,
4118,
23330,
549,
17444,
427,
96,
188,
89,
8027,
23,
257,
121,
3274,
3,
31,
26881,
87,
2138,
26641,
31,
3430,
96,
20100,
121,
2490,
3,
31,
2606,
4165,
... |
What score was on 13 June 2004? | CREATE TABLE table_69457 (
"Margin" real,
"Score" text,
"Opponent" text,
"Venue" text,
"Date" text
) | SELECT "Score" FROM table_69457 WHERE "Date" = '13 june 2004' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
591,
3436,
41,
96,
7286,
122,
77,
121,
490,
6,
96,
134,
9022,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
308,
342,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
3951,
591,
3436,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
2368,
3,
6959,
15,
4406,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what are the different card types, and how many transactions have been made with each?, and I want to order in desc by the Y-axis. | CREATE TABLE Customers_Cards (
card_id INTEGER,
customer_id INTEGER,
card_type_code VARCHAR(15),
card_number VARCHAR(80),
date_valid_from DATETIME,
date_valid_to DATETIME,
other_card_details VARCHAR(255)
)
CREATE TABLE Customers (
customer_id INTEGER,
customer_first_name VARCHAR(20)... | SELECT card_type_code, COUNT(*) FROM Financial_Transactions AS T1 JOIN Customers_Cards AS T2 ON T1.card_id = T2.card_id GROUP BY T2.card_type_code ORDER BY COUNT(*) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
16423,
834,
6936,
26,
7,
41,
895,
834,
23,
26,
3,
21342,
17966,
6,
884,
834,
23,
26,
3,
21342,
17966,
6,
895,
834,
6137,
834,
4978,
584,
4280,
28027,
599,
1808,
201,
895,
834,
5525... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
895,
834,
6137,
834,
4978,
6,
2847,
17161,
599,
1935,
61,
21680,
5421,
834,
18474,
4787,
7,
6157,
332,
536,
3,
15355,
3162,
16423,
834,
6936,
26,
7,
6157,
332,
357,
9191,
332,
5411,
6043,
834,
23,
26,
3274,
332,
4... |
What is the average and maximum capacities for all stadiums ? | CREATE TABLE stadium (capacity INTEGER) | SELECT AVG(capacity), MAX(capacity) FROM stadium | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14939,
41,
4010,
9,
6726,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
11,
2411,
23875,
21,
66,
14939,
7,
3,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
4010,
9,
6726,
201,
4800,
4,
599,
4010,
9,
6726,
61,
21680,
14939,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the least races for carlin | CREATE TABLE table_24587026_1 (races INTEGER, team VARCHAR) | SELECT MIN(races) FROM table_24587026_1 WHERE team = "Carlin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
3449,
2518,
2688,
834,
536,
41,
12614,
7,
3,
21342,
17966,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
709,
10879,
21,
443,
40,
77,
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,
3,
17684,
599,
12614,
7,
61,
21680,
953,
834,
2266,
3449,
2518,
2688,
834,
536,
549,
17444,
427,
372,
3274,
96,
6936,
40,
77,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
how many west teams did final opponent arizona state play ? | CREATE TABLE table_204_288 (
id number,
"region" text,
"seed" number,
"team" text,
"coach" text,
"finished" text,
"final opponent" text,
"score" text
) | SELECT COUNT("team") FROM table_204_288 WHERE "region" = 'west' AND "final opponent" = 'arizona state' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
357,
4060,
41,
3,
23,
26,
381,
6,
96,
18145,
121,
1499,
6,
96,
7,
6958,
121,
381,
6,
96,
11650,
121,
1499,
6,
96,
509,
1836,
121,
1499,
6,
96,
19420,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
11650,
8512,
21680,
953,
834,
26363,
834,
357,
4060,
549,
17444,
427,
96,
18145,
121,
3274,
3,
31,
12425,
31,
3430,
96,
12406,
15264,
121,
3274,
3,
31,
1665,
8892,
9,
538,
31,
1,
-100,
-100,
... |
Sum of m. night shyamalan ranks? | CREATE TABLE table_name_41 (rank INTEGER, director_s_ VARCHAR) | SELECT SUM(rank) FROM table_name_41 WHERE director_s_ = "m. night shyamalan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
6254,
3,
21342,
17966,
6,
2090,
834,
7,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
12198,
13,
3,
51,
5,
706,
6660,
22990,
1618,
13799,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
6254,
61,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
2090,
834,
7,
834,
3274,
96,
51,
5,
706,
6660,
22990,
1618,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Where was September 5? | CREATE TABLE table_14879 (
"Date" text,
"Local Time" text,
"Location" text,
"Score" text,
"Winner" text
) | SELECT "Location" FROM table_14879 WHERE "Date" = 'september 5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24748,
4440,
41,
96,
308,
342,
121,
1499,
6,
96,
434,
32,
1489,
2900,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
18455,
687,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
24748,
4440,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
7,
6707,
18247,
305,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the finish place with a qual of 123.660? | CREATE TABLE table_80299 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
) | SELECT "Finish" FROM table_80299 WHERE "Qual" = '123.660' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
357,
3264,
41,
96,
476,
2741,
121,
1499,
6,
96,
7681,
17,
121,
1499,
6,
96,
5991,
138,
121,
1499,
6,
96,
22557,
121,
1499,
6,
96,
371,
77,
1273,
121,
1499,
6,
96,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
371,
77,
1273,
121,
21680,
953,
834,
2079,
357,
3264,
549,
17444,
427,
96,
5991,
138,
121,
3274,
3,
31,
14574,
5,
27720,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Netflix where Segment C is car washes? | CREATE TABLE table_15187735_12 (
netflix VARCHAR,
segment_c VARCHAR
) | SELECT netflix FROM table_15187735_12 WHERE segment_c = "Car Washes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26578,
27697,
2469,
834,
2122,
41,
3134,
89,
17591,
584,
4280,
28027,
6,
5508,
834,
75,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
11894,
213,
15696,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3134,
89,
17591,
21680,
953,
834,
26578,
27697,
2469,
834,
2122,
549,
17444,
427,
5508,
834,
75,
3274,
96,
6936,
12429,
15,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is the camera used when the wavelength is 814nm (i-band)? | CREATE TABLE table_28146 (
"Camera" text,
"Filter" text,
"Wavelength" text,
"Total exposure time" text,
"Exposures" real
) | SELECT "Camera" FROM table_28146 WHERE "Wavelength" = '814nm (I-band)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
24300,
41,
96,
254,
9,
935,
9,
121,
1499,
6,
96,
371,
173,
449,
121,
1499,
6,
96,
518,
9,
162,
19457,
121,
1499,
6,
96,
3696,
1947,
4773,
97,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
254,
9,
935,
9,
121,
21680,
953,
834,
2577,
24300,
549,
17444,
427,
96,
518,
9,
162,
19457,
121,
3274,
3,
31,
927,
2534,
29,
51,
41,
196,
18,
3348,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is drug route of drug name pneumococcal vac polyvalent? | 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 prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Pneumococcal Vac Polyvalent" | [
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,
7744,
7,
5,
20300,
21680,
7744,
7,
549,
17444,
427,
7744,
7,
5,
26,
13534,
3274,
96,
345,
8992,
51,
32,
509,
75,
1489,
3,
25203,
7945,
15592,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which manufacturer is grid 11? | CREATE TABLE table_name_93 (manufacturer VARCHAR, grid VARCHAR) | SELECT manufacturer FROM table_name_93 WHERE grid = "11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4271,
41,
348,
76,
8717,
450,
49,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
4818,
19,
8634,
850,
58,
1,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4818,
21680,
953,
834,
4350,
834,
4271,
549,
17444,
427,
8634,
3274,
96,
2596,
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 venue hsoted the european cross country championships with a notes of junior men individual 6.595km? | CREATE TABLE table_6676 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
) | SELECT "Venue" FROM table_6676 WHERE "Competition" = 'european cross country championships' AND "Notes" = 'junior men individual 6.595km' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
3959,
41,
96,
476,
2741,
121,
490,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
10358,
15,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
3539,
3959,
549,
17444,
427,
96,
5890,
4995,
4749,
121,
3274,
3,
31,
28188,
152,
2269,
684,
10183,
7,
31,
3430,
96,
10358,
15,
7,
121,
3274,
3,
31,
6959,
23,
127,
1076,... |
Which inning were the Minnesota Twins in on 06-07-1961? | CREATE TABLE table_name_86 (inning VARCHAR, team VARCHAR, date VARCHAR) | SELECT inning FROM table_name_86 WHERE team = "minnesota twins" AND date = "06-07-1961" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
10503,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
3,
10503,
130,
8,
9745,
13058,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
10503,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
372,
3274,
96,
1109,
1496,
32,
17,
9,
7390,
7,
121,
3430,
833,
3274,
96,
5176,
18,
4560,
4481,
4241,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the value of the points column when the value of the column lost is 'lost | CREATE TABLE table_72448 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
) | SELECT "Points" FROM table_72448 WHERE "Lost" = 'Lost' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2266,
3707,
41,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
1499,
6,
96,
518,
106,
121,
1499,
6,
96,
308,
10936,
29,
121,
1499,
6,
96,
434,
3481,
121,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22512,
7,
121,
21680,
953,
834,
940,
2266,
3707,
549,
17444,
427,
96,
434,
3481,
121,
3274,
3,
31,
434,
3481,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Switzerland has how many gold and less than 0 silver? | CREATE TABLE table_39569 (
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT MAX("Gold") FROM table_39569 WHERE "Nation" = 'switzerland' AND "Silver" < '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3301,
3951,
41,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
3696,
1947,
121,
490,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
23576,
8512,
21680,
953,
834,
519,
3301,
3951,
549,
17444,
427,
96,
567,
257,
121,
3274,
3,
31,
7,
15686,
15,
7721,
31,
3430,
96,
134,
173,
624,
121,
3,
2,
3,
31,
632,
31,
1,
-100,
-100,
-10... |
What was the total attendance in week 8? | CREATE TABLE table_name_96 (
attendance VARCHAR,
week VARCHAR
) | SELECT COUNT(attendance) FROM table_name_96 WHERE week = 8 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
11364,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
792,
11364,
16,
471,
505,
58,
1,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
471,
3274,
505,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Constituency Number of Total:? | CREATE TABLE table_name_73 (
constituency_number VARCHAR,
name VARCHAR
) | SELECT constituency_number FROM table_name_73 WHERE name = "total:" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
6439,
4392,
834,
5525,
1152,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
22636,
4392,
7720,
13,
9273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6439,
4392,
834,
5525,
1152,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
564,
3274,
96,
235,
1947,
10,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is average frequency MHZ when is in portales, new mexico? | CREATE TABLE table_43709 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"FCC info" text
) | SELECT AVG("Frequency MHz") FROM table_43709 WHERE "City of license" = 'portales, new mexico' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
4118,
4198,
41,
96,
254,
1748,
1320,
121,
1499,
6,
96,
371,
60,
835,
11298,
3,
20210,
121,
490,
6,
96,
254,
485,
13,
3344,
121,
1499,
6,
96,
3316,
345,
549,
121,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
371,
60,
835,
11298,
3,
20210,
8512,
21680,
953,
834,
591,
4118,
4198,
549,
17444,
427,
96,
254,
485,
13,
3344,
121,
3274,
3,
31,
1493,
4529,
6,
126,
140,
226,
5807,
31,
1,
-100,
-100,
-100,
... |
What's the record for the game with an attendance of 49,222? | CREATE TABLE table_name_28 (
record VARCHAR,
attendance VARCHAR
) | SELECT record FROM table_name_28 WHERE attendance = "49,222" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
1368,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
1368,
21,
8,
467,
28,
46,
11364,
13,
9526,
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,
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,
2577,
549,
17444,
427,
11364,
3274,
96,
3647,
6,
26144,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which genbank id has a 5'utr splice of abd and a variant id that is abd1a 3? | CREATE TABLE table_41752 (
"Variant id" text,
"5\u2019UTR splice" text,
"Coding" text,
"3\u2019UTR sequence" text,
"GenBank id" text
) | SELECT "GenBank id" FROM table_41752 WHERE "5\u2019UTR splice" = 'abd' AND "Variant id" = 'abd1a 3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4853,
3072,
357,
41,
96,
553,
6855,
17,
3,
23,
26,
121,
1499,
6,
96,
755,
2,
76,
8584,
6675,
448,
3,
7,
10435,
15,
121,
1499,
6,
96,
3881,
26,
53,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13714,
21347,
3,
23,
26,
121,
21680,
953,
834,
4853,
3072,
357,
549,
17444,
427,
96,
755,
2,
76,
8584,
6675,
448,
3,
7,
10435,
15,
121,
3274,
3,
31,
9,
115,
26,
31,
3430,
96,
553,
6855,
17,
3,
23,
26,
12... |
Stacked bar of year and the number of year colored by Theme | CREATE TABLE exhibition_record (
Exhibition_ID int,
Date text,
Attendance int
)
CREATE TABLE exhibition (
Exhibition_ID int,
Year int,
Theme text,
Artist_ID int,
Ticket_Price real
)
CREATE TABLE artist (
Artist_ID int,
Name text,
Country text,
Year_Join int,
Age int... | SELECT Year, COUNT(Year) FROM exhibition GROUP BY Theme | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4473,
834,
60,
7621,
41,
22371,
834,
4309,
16,
17,
6,
7678,
1499,
6,
22497,
663,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
4473,
41,
22371,
834,
4309,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2929,
6,
2847,
17161,
599,
476,
2741,
61,
21680,
4473,
350,
4630,
6880,
272,
476,
37,
526,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
number of different teams listed on the chart | CREATE TABLE table_203_750 (
id number,
"#" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
) | SELECT COUNT(DISTINCT "opponent") FROM table_203_750 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
9979,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
7,
9022,
121,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
96,
32,
102,
9977,
8512,
21680,
953,
834,
23330,
834,
9979,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the total? | CREATE TABLE table_63715 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT MAX("Silver") FROM table_63715 WHERE "Gold" > '1' AND "Bronze" = '3' AND "Rank" = '1' AND "Total" < '12' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3891,
940,
1808,
41,
96,
22557,
121,
1499,
6,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
134,
173,
624,
8512,
21680,
953,
834,
3891,
940,
1808,
549,
17444,
427,
96,
23576,
121,
2490,
3,
31,
536,
31,
3430,
96,
22780,
29,
776,
121,
3274,
3,
31,
519,
31,
3430,
96,
22557,
121,
3274,
3... |
who is the most high grossing director of 1965 ? | CREATE TABLE table_201_19 (
id number,
"rank" number,
"title" text,
"studio" text,
"director" text,
"actors" text,
"gross" text
) | SELECT "director" FROM table_201_19 ORDER BY "gross" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22772,
834,
2294,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
21869,
121,
1499,
6,
96,
22991,
121,
1499,
6,
96,
25982,
121,
1499,
6,
96,
9,
5317,
7,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
25982,
121,
21680,
953,
834,
22772,
834,
2294,
4674,
11300,
272,
476,
96,
3844,
7,
7,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What language is the film Marion Bridge? | CREATE TABLE table_name_46 (language VARCHAR, film VARCHAR) | SELECT language FROM table_name_46 WHERE film = "marion bridge" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
24925,
584,
4280,
28027,
6,
814,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1612,
19,
8,
814,
23816,
6132,
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,
1612,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
814,
3274,
96,
17289,
106,
4716,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who is the successor when the reason for change is died November 11, 1845? | CREATE TABLE table_225205_4 (
successor VARCHAR,
reason_for_change VARCHAR
) | SELECT successor FROM table_225205_4 WHERE reason_for_change = "Died November 11, 1845" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20489,
23201,
834,
591,
41,
22261,
584,
4280,
28027,
6,
1053,
834,
1161,
834,
13073,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
22261,
116,
8,
1053,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22261,
21680,
953,
834,
20489,
23201,
834,
591,
549,
17444,
427,
1053,
834,
1161,
834,
13073,
3274,
96,
8639,
26,
1671,
9694,
507,
2128,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the year for points less than 20 and chassis of dallara 3087 | CREATE TABLE table_name_62 (year VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT year FROM table_name_62 WHERE points < 20 AND chassis = "dallara 3087" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
1201,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
6,
22836,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
215,
21,
979,
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,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
215,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
979,
3,
2,
460,
3430,
22836,
3274,
96,
26,
1748,
2551,
604,
4225,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many numbers were recorded for Chester when the religion was Hindu? | CREATE TABLE table_16974228_1 (chester VARCHAR, religion VARCHAR) | SELECT COUNT(chester) FROM table_16974228_1 WHERE religion = "Hindu" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4327,
4165,
2577,
834,
536,
41,
13263,
584,
4280,
28027,
6,
5562,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
2302,
130,
4381,
21,
20976,
116,
8,
556... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
13263,
61,
21680,
953,
834,
2938,
4327,
4165,
2577,
834,
536,
549,
17444,
427,
5562,
3274,
96,
566,
13580,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the rank of the nation with more than 0 silver medals and 38 bronze medals? | CREATE TABLE table_75848 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT "Rank" FROM table_75848 WHERE "Silver" > '0' AND "Bronze" = '38' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
927,
3707,
41,
96,
22557,
121,
1499,
6,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22557,
121,
21680,
953,
834,
3072,
927,
3707,
549,
17444,
427,
96,
134,
173,
624,
121,
2490,
3,
31,
632,
31,
3430,
96,
22780,
29,
776,
121,
3274,
3,
31,
3747,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show the park of the roller coaster with the highest speed. | CREATE TABLE roller_coaster (
Park VARCHAR,
Speed VARCHAR
) | SELECT Park FROM roller_coaster ORDER BY Speed DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
10866,
834,
25500,
49,
41,
1061,
584,
4280,
28027,
6,
9913,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
3111,
8,
2447,
13,
8,
10866,
4939,
49,
28,
8,
2030,
1634,
5,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1061,
21680,
10866,
834,
25500,
49,
4674,
11300,
272,
476,
9913,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the total for 1984 for the team with 100 points total and more than 3 seasons? | CREATE TABLE table_79049 (
"Team" text,
"1982" text,
"1983" text,
"1984" real,
"Total points" real,
"Seasons" real,
"Points average" real
) | SELECT SUM("1984") FROM table_79049 WHERE "Total points" = '100' AND "Seasons" > '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2394,
3647,
41,
96,
18699,
121,
1499,
6,
96,
2294,
4613,
121,
1499,
6,
96,
2294,
4591,
121,
1499,
6,
96,
24151,
20364,
490,
6,
96,
3696,
1947,
979,
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,
180,
6122,
599,
121,
24151,
20364,
61,
21680,
953,
834,
940,
2394,
3647,
549,
17444,
427,
96,
3696,
1947,
979,
121,
3274,
3,
31,
2915,
31,
3430,
96,
134,
15,
9,
6577,
121,
2490,
3,
31,
519,
31,
1,
-100,
-100,
-1... |
What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament? | CREATE TABLE table_name_80 (runners_up VARCHAR, year VARCHAR, champions VARCHAR, name_of_tournament VARCHAR) | SELECT runners_up FROM table_name_80 WHERE champions = "ivan lendl" AND name_of_tournament = "seiko super tennis" AND year < 1990 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
10806,
7,
834,
413,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
6336,
7,
584,
4280,
28027,
6,
564,
834,
858,
834,
17,
1211,
20205,
17,
584,
4280,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
16448,
834,
413,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
6336,
7,
3274,
96,
23,
2132,
16173,
40,
121,
3430,
564,
834,
858,
834,
17,
1211,
20205,
17,
3274,
96,
7,
15,
12027,
1355,
9999,
121,
3430,
215,
3... |
List the position of players and the average number of points of players of each position by a bar chart. | CREATE TABLE competition (
Competition_ID int,
Year real,
Competition_type text,
Country text
)
CREATE TABLE competition_result (
Competition_ID int,
Club_ID_1 int,
Club_ID_2 int,
Score text
)
CREATE TABLE club_rank (
Rank real,
Club_ID int,
Gold real,
Silver real,
... | SELECT Position, AVG(Points) FROM player GROUP BY Position | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2259,
41,
15571,
834,
4309,
16,
17,
6,
2929,
490,
6,
15571,
834,
6137,
1499,
6,
6993,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2259,
834,
60,
7,
83,
17,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14258,
6,
71,
17217,
599,
22512,
7,
61,
21680,
1959,
350,
4630,
6880,
272,
476,
14258,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Car # has a Make of toyota, and a Driver of mike skinner, and a Pos larger than 3? | CREATE TABLE table_name_19 (car__number INTEGER, pos VARCHAR, make VARCHAR, driver VARCHAR) | SELECT MAX(car__number) FROM table_name_19 WHERE make = "toyota" AND driver = "mike skinner" AND pos > 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2294,
41,
1720,
834,
834,
5525,
1152,
3,
21342,
17966,
6,
3,
2748,
584,
4280,
28027,
6,
143,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
61,
3,
32102,
32103,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
1720,
834,
834,
5525,
1152,
61,
21680,
953,
834,
4350,
834,
2294,
549,
17444,
427,
143,
3274,
96,
235,
63,
32,
17,
9,
121,
3430,
2535,
3274,
96,
20068,
15,
1133,
687,
121,
3430,
3,
2748,
2490,
220,
... |
What's Manchu (M llendorff) with the Wi Xing Correltation of South, along with Wuu Wuupin of ting44? | CREATE TABLE table_name_48 (
manchu___möllendorff__ VARCHAR,
wu_xing_correlations VARCHAR,
wuu_wuupin VARCHAR
) | SELECT manchu___möllendorff__ FROM table_name_48 WHERE wu_xing_correlations = "南 south" AND wuu_wuupin = "ting44" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
388,
8019,
834,
834,
834,
51,
7898,
40,
23033,
89,
834,
834,
584,
4280,
28027,
6,
3,
210,
76,
834,
226,
53,
834,
5715,
60,
6105,
7,
584,
4280,
28027,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
388,
8019,
834,
834,
834,
51,
7898,
40,
23033,
89,
834,
834,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
3,
210,
76,
834,
226,
53,
834,
5715,
60,
6105,
7,
3274,
96,
2,
3414,
121,
3430,
3,
210,
76,
76,
8... |
Who is the outgoing manager who was replaced by j rgen klopp? | CREATE TABLE table_47918 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text,
"Position in table" text
) | SELECT "Outgoing manager" FROM table_47918 WHERE "Replaced by" = 'jürgen klopp' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
4440,
2606,
41,
96,
18699,
121,
1499,
6,
96,
15767,
9545,
2743,
121,
1499,
6,
96,
7296,
687,
13,
12028,
121,
1499,
6,
96,
308,
342,
13,
3,
29685,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15767,
9545,
2743,
121,
21680,
953,
834,
591,
4440,
2606,
549,
17444,
427,
96,
1649,
4687,
26,
57,
121,
3274,
3,
31,
354,
4087,
729,
3,
157,
8745,
102,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the highest number of games played for teams that lost over 5 games and had an against total of 228? | CREATE TABLE table_name_52 (
played INTEGER,
lost VARCHAR,
against VARCHAR
) | SELECT MAX(played) FROM table_name_52 WHERE lost > 5 AND against = 228 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
1944,
3,
21342,
17966,
6,
1513,
584,
4280,
28027,
6,
581,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
381,
13,
1031,
1944... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
4895,
15,
26,
61,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
1513,
2490,
305,
3430,
581,
3274,
204,
2577,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the goals for when played is larger than 30? | CREATE TABLE table_name_72 (
goals_for INTEGER,
played INTEGER
) | SELECT MIN(goals_for) FROM table_name_72 WHERE played > 30 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
1766,
834,
1161,
3,
21342,
17966,
6,
1944,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1766,
21,
116,
1944,
19,
2186,
145,
604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
839,
5405,
834,
1161,
61,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
1944,
2490,
604,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the latitude and longitude for Surveyor 3? | CREATE TABLE table_name_87 (
lat___lon VARCHAR,
us_mission VARCHAR
) | SELECT lat___lon FROM table_name_87 WHERE us_mission = "surveyor 3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
50,
17,
834,
834,
834,
40,
106,
584,
4280,
28027,
6,
178,
834,
5451,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
50,
6592,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
50,
17,
834,
834,
834,
40,
106,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
178,
834,
5451,
3274,
96,
3042,
162,
63,
127,
220,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who were the opponents that led to an outcome of winner on a grass surface? | CREATE TABLE table_2151643_3 (
opponents VARCHAR,
outcome VARCHAR,
surface VARCHAR
) | SELECT opponents FROM table_2151643_3 WHERE outcome = "Winner" AND surface = "Grass" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
1808,
2938,
4906,
834,
519,
41,
16383,
584,
4280,
28027,
6,
6138,
584,
4280,
28027,
6,
1774,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
130,
8,
16383,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16383,
21680,
953,
834,
357,
1808,
2938,
4906,
834,
519,
549,
17444,
427,
6138,
3274,
96,
18455,
687,
121,
3430,
1774,
3274,
96,
4744,
7,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which railway was built in 1909? | CREATE TABLE table_10063 (
"Railway" text,
"Builder" text,
"Built" text,
"Wheels" text,
"Location" text,
"ObjectNumber" text
) | SELECT "Railway" FROM table_10063 WHERE "Built" = '1909' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2915,
3891,
41,
96,
448,
9,
173,
1343,
121,
1499,
6,
96,
24752,
49,
121,
1499,
6,
96,
7793,
173,
17,
121,
1499,
6,
96,
518,
88,
3573,
121,
1499,
6,
96,
434,
32,
75,
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,
448,
9,
173,
1343,
121,
21680,
953,
834,
2915,
3891,
549,
17444,
427,
96,
7793,
173,
17,
121,
3274,
3,
31,
2294,
4198,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the last year in which kelsey grammer won an award for outstanding voice performance for a role on the simpsons ? | CREATE TABLE table_203_782 (
id number,
"year" number,
"actor" text,
"award" text,
"category" text,
"role" text,
"episode" text,
"result" text
) | SELECT MAX("year") FROM table_203_782 WHERE "actor" = 'kelsey grammer' AND "category" = 'outstanding voice-over performance' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3940,
357,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
9,
5317,
121,
1499,
6,
96,
9,
2239,
121,
1499,
6,
96,
8367,
839,
651,
121,
1499,
6,
96,
3491,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1201,
8512,
21680,
953,
834,
23330,
834,
3940,
357,
549,
17444,
427,
96,
9,
5317,
121,
3274,
3,
31,
5768,
7,
15,
63,
3,
16582,
49,
31,
3430,
96,
8367,
839,
651,
121,
3274,
3,
31,
670,
11018,
... |
Which date was for Japan? | CREATE TABLE table_name_66 (
date VARCHAR,
country VARCHAR
) | SELECT date FROM table_name_66 WHERE country = "japan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
833,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
833,
47,
21,
3411,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
684,
3274,
96,
1191,
2837,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who is the home team with a tie no. 12? | CREATE TABLE table_name_70 (
home_team VARCHAR,
tie_no VARCHAR
) | SELECT home_team FROM table_name_70 WHERE tie_no = "12" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
234,
834,
11650,
584,
4280,
28027,
6,
6177,
834,
29,
32,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
234,
372,
28,
3,
9,
617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
234,
834,
11650,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
6177,
834,
29,
32,
3274,
96,
2122,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
When jim is eliminated what is the finish? | CREATE TABLE table_73067 (
"Episode title" text,
"Air date" text,
"Reward" text,
"Immunity" text,
"Eliminated" text,
"Vote" text,
"Finish" text
) | SELECT "Finish" FROM table_73067 WHERE "Eliminated" = 'Jim' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
1458,
3708,
41,
96,
427,
102,
159,
32,
221,
2233,
121,
1499,
6,
96,
20162,
833,
121,
1499,
6,
96,
1649,
2239,
121,
1499,
6,
96,
196,
635,
202,
485,
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,
371,
77,
1273,
121,
21680,
953,
834,
940,
1458,
3708,
549,
17444,
427,
96,
427,
4941,
77,
920,
121,
3274,
3,
31,
683,
603,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the original air date for the episoe written by vanessa reisen? | CREATE TABLE table_18071 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (million)" text
) | SELECT "Original air date" FROM table_18071 WHERE "Written by" = 'Vanessa Reisen' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20829,
4450,
41,
96,
4168,
5,
16,
939,
121,
490,
6,
96,
4168,
5,
16,
774,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
3380,
10270,
799,
833,
121,
21680,
953,
834,
20829,
4450,
549,
17444,
427,
96,
24965,
324,
57,
121,
3274,
3,
31,
553,
9,
655,
9,
6807,
29,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the chassis for alta | CREATE TABLE table_21977704_1 (
chassis VARCHAR,
constructor VARCHAR
) | SELECT chassis FROM table_21977704_1 WHERE constructor = "Alta" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2294,
26225,
6348,
834,
536,
41,
22836,
584,
4280,
28027,
6,
6774,
127,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
22836,
21,
8771,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22836,
21680,
953,
834,
357,
2294,
26225,
6348,
834,
536,
549,
17444,
427,
6774,
127,
3274,
96,
188,
40,
17,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
provide the number of patients tested for other body fluid in the laboratory with age less than 47 years. | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "47" AND lab.fluid = "Other Body Fluid" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
Who was the vocal percussionist when stevie wonder was the original artist? | CREATE TABLE table_30705 (
"Track no." real,
"Track" text,
"Original Artist" text,
"Soloist(s)" text,
"Vocal Percussionist" text,
"Arranger(s)" text
) | SELECT "Vocal Percussionist" FROM table_30705 WHERE "Original Artist" = 'Stevie Wonder' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1458,
2518,
755,
41,
96,
382,
16729,
150,
535,
490,
6,
96,
382,
16729,
121,
1499,
6,
96,
667,
3380,
10270,
9152,
121,
1499,
6,
96,
5231,
14970,
17,
599,
7,
61,
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,
553,
32,
1489,
1915,
1071,
7,
7,
23814,
121,
21680,
953,
834,
1458,
2518,
755,
549,
17444,
427,
96,
667,
3380,
10270,
9152,
121,
3274,
3,
31,
14337,
5914,
16347,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the category for prix uip berlin | CREATE TABLE table_name_66 (category VARCHAR, nominating_festival VARCHAR) | SELECT category FROM table_name_66 WHERE nominating_festival = "prix uip berlin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
8367,
839,
651,
584,
4280,
28027,
6,
150,
1109,
1014,
834,
89,
24742,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
3295,
21,
3407,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3295,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
150,
1109,
1014,
834,
89,
24742,
3274,
96,
2246,
226,
3,
76,
23,
102,
3,
27995,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the name of the player when the category is listed as field goal percentage? | CREATE TABLE table_28628309_8 (
player VARCHAR,
category VARCHAR
) | SELECT player FROM table_28628309_8 WHERE category = "Field goal percentage" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
4056,
4591,
4198,
834,
927,
41,
1959,
584,
4280,
28027,
6,
3295,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
1959,
116,
8,
3295,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
2577,
4056,
4591,
4198,
834,
927,
549,
17444,
427,
3295,
3274,
96,
3183,
8804,
1288,
5294,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is every pregame analyst with Chris Rose as trophy presenter? | CREATE TABLE table_31137 (
"Year" real,
"Network" text,
"Play-by-play announcer" text,
"Color commentator" text,
"s Field reporter" text,
"Pregame hosts" text,
"Pregame analysts" text,
"Trophy presentation" text
) | SELECT "Pregame analysts" FROM table_31137 WHERE "Trophy presentation" = 'Chris Rose' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3341,
24636,
41,
96,
476,
2741,
121,
490,
6,
96,
9688,
1981,
121,
1499,
6,
96,
15800,
18,
969,
18,
4895,
6456,
52,
121,
1499,
6,
96,
3881,
322,
1670,
1016,
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,
10572,
7261,
15639,
121,
21680,
953,
834,
3341,
24636,
549,
17444,
427,
96,
382,
29006,
3831,
121,
3274,
3,
31,
3541,
52,
159,
5088,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the total number of game that has 377 points? | CREATE TABLE table_name_75 (
games INTEGER,
points VARCHAR
) | SELECT SUM(games) FROM table_name_75 WHERE points = 377 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
1031,
3,
21342,
17966,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
792,
381,
13,
467,
24,
65,
220,
4013,
979,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
7261,
7,
61,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
979,
3274,
220,
4013,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
List the series number for season 12. | CREATE TABLE table_27437601_2 (no_in_series VARCHAR, no_in_season VARCHAR) | SELECT COUNT(no_in_series) FROM table_27437601_2 WHERE no_in_season = 12 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
4906,
3959,
4542,
834,
357,
41,
29,
32,
834,
77,
834,
10833,
7,
584,
4280,
28027,
6,
150,
834,
77,
834,
9476,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
679... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
29,
32,
834,
77,
834,
10833,
7,
61,
21680,
953,
834,
2555,
4906,
3959,
4542,
834,
357,
549,
17444,
427,
150,
834,
77,
834,
9476,
3274,
586,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many party with dbeingtrict being alabama 6 | CREATE TABLE table_1342270_3 (
party VARCHAR,
district VARCHAR
) | SELECT COUNT(party) FROM table_1342270_3 WHERE district = "Alabama 6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
4165,
17485,
834,
519,
41,
1088,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
149,
186,
1088,
28,
3,
26,
9032,
3929,
17,
271,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
8071,
61,
21680,
953,
834,
2368,
4165,
17485,
834,
519,
549,
17444,
427,
3939,
3274,
96,
188,
9339,
265,
9,
431,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the score in the game that was won by Sligo Rovers F.C.? | CREATE TABLE table_name_32 (score VARCHAR, winners VARCHAR) | SELECT score FROM table_name_32 WHERE winners = "sligo rovers f.c." | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
7,
9022,
584,
4280,
28027,
6,
8969,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
16,
8,
467,
24,
47,
751,
57,
180,
2825,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
8969,
3274,
96,
7,
2825,
32,
3,
8843,
277,
3,
89,
5,
75,
535,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what's the evening gown where state is south dakota | CREATE TABLE table_12094609_1 (
evening_gown VARCHAR,
state VARCHAR
) | SELECT evening_gown FROM table_12094609_1 WHERE state = "South Dakota" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
4198,
4448,
4198,
834,
536,
41,
2272,
834,
122,
9197,
584,
4280,
28027,
6,
538,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
2272,
19879,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2272,
834,
122,
9197,
21680,
953,
834,
2122,
4198,
4448,
4198,
834,
536,
549,
17444,
427,
538,
3274,
96,
22081,
16711,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Bar chart x axis industry y axis the number of industry | CREATE TABLE people (
People_ID int,
Age int,
Name text,
Nationality text,
Graduation_College text
)
CREATE TABLE company (
Company_ID real,
Name text,
Headquarters text,
Industry text,
Sales_in_Billion real,
Profits_in_Billion real,
Assets_in_Billion real,
Market_Va... | SELECT Industry, COUNT(Industry) FROM company GROUP BY Industry | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
151,
41,
2449,
834,
4309,
16,
17,
6,
7526,
16,
17,
6,
5570,
1499,
6,
868,
485,
1499,
6,
10771,
76,
257,
834,
9939,
7883,
1499,
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,
9036,
6,
2847,
17161,
599,
1570,
8655,
8224,
61,
21680,
349,
350,
4630,
6880,
272,
476,
9036,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC? | CREATE TABLE table_name_37 (
u15_1st_quad VARCHAR,
open_3rd_viii VARCHAR,
u16_3rd_viii VARCHAR
) | SELECT u15_1st_quad FROM table_name_37 WHERE open_3rd_viii = "bbc" AND u16_3rd_viii = "bbc" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
3,
76,
1808,
834,
536,
7,
17,
834,
4960,
26,
584,
4280,
28027,
6,
539,
834,
519,
52,
26,
834,
14553,
23,
584,
4280,
28027,
6,
3,
76,
2938,
834,
519... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
76,
1808,
834,
536,
7,
17,
834,
4960,
26,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
539,
834,
519,
52,
26,
834,
14553,
23,
3274,
96,
115,
115,
75,
121,
3430,
3,
76,
2938,
834,
519,
52,
26,
834,
145... |
On what Date was the match with partner Kira Nagy? | CREATE TABLE table_48258 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponent in the final" text,
"Score" text
) | SELECT "Date" FROM table_48258 WHERE "Partner" = 'kira nagy' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3707,
357,
3449,
41,
96,
308,
342,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
13725,
687,
121,
1499,
6,
96,
667,
102,
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,
308,
342,
121,
21680,
953,
834,
3707,
357,
3449,
549,
17444,
427,
96,
13725,
687,
121,
3274,
3,
31,
18413,
9,
3,
15603,
63,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the Attendance on September 11, 1983? | CREATE TABLE table_name_49 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_49 WHERE date = "september 11, 1983" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3647,
41,
15116,
663,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
22497,
663,
30,
1600,
9694,
15041,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11364,
21680,
953,
834,
4350,
834,
3647,
549,
17444,
427,
833,
3274,
96,
7,
6707,
18247,
9694,
15041,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Claude Harmon's Place? | CREATE TABLE table_76216 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real,
"Money ( $ )" real
) | SELECT "Place" FROM table_76216 WHERE "Player" = 'claude harmon' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3959,
27184,
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,
490,
6,
96,
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,
345,
11706,
121,
21680,
953,
834,
3959,
27184,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
75,
12513,
15,
6263,
106,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the number of league goals when Bill Dearden was the scorer and there was 0 league cup goals? | CREATE TABLE table_name_66 (league_goals VARCHAR, league_cup_goals VARCHAR, scorer VARCHAR) | SELECT league_goals FROM table_name_66 WHERE league_cup_goals = "0" AND scorer = "bill dearden" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
29512,
834,
839,
5405,
584,
4280,
28027,
6,
5533,
834,
4658,
834,
839,
5405,
584,
4280,
28027,
6,
2604,
52,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5533,
834,
839,
5405,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
5533,
834,
4658,
834,
839,
5405,
3274,
96,
632,
121,
3430,
2604,
52,
3274,
96,
3727,
40,
20,
986,
35,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
Visualize a bar chart about the distribution of meter_700 and meter_100 , I want to rank y axis from low to high order. | CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_20... | SELECT meter_700, meter_100 FROM swimmer ORDER BY meter_100 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1368,
41,
4699,
16,
17,
6,
3,
20119,
1499,
6,
27813,
935,
834,
4309,
16,
17,
6,
8042,
834,
4309,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
14939,
41,
4699... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4401,
834,
9295,
6,
3,
4401,
834,
2915,
21680,
27424,
4674,
11300,
272,
476,
3,
4401,
834,
2915,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When the corinthians have a position of less than 5, what is the average against? | CREATE TABLE table_name_58 (
against INTEGER,
position VARCHAR,
team VARCHAR
) | SELECT AVG(against) FROM table_name_58 WHERE position < 5 AND team = "corinthians" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
581,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
8,
4301,
77,
189,
7137,
43,
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,
71,
17217,
599,
9,
16720,
7,
17,
61,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
1102,
3,
2,
305,
3430,
372,
3274,
96,
5715,
77,
189,
7137,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the score at the Tie no. 1 game? | CREATE TABLE table_41316 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" real
) | SELECT "Score" FROM table_41316 WHERE "Tie no" = '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4853,
25946,
41,
96,
382,
23,
15,
150,
121,
1499,
6,
96,
19040,
372,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
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,
134,
9022,
121,
21680,
953,
834,
4853,
25946,
549,
17444,
427,
96,
382,
23,
15,
150,
121,
3274,
3,
31,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the highest points that Emmitt Smith had? | CREATE TABLE table_name_96 (points INTEGER, player VARCHAR) | SELECT MAX(points) FROM table_name_96 WHERE player = "emmitt smith" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
2700,
7,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
2030,
979,
24,
3967,
1538,
17,
3931,
141,
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,
4800,
4,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
1959,
3274,
96,
15,
51,
1538,
17,
3,
16331,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the names of the songs that are modern or sung in English? | CREATE TABLE song (
song_name text,
artist_name text,
country text,
f_id number,
genre_is text,
rating number,
languages text,
releasedate time,
resolution number
)
CREATE TABLE files (
f_id number,
artist_name text,
file_size text,
duration text,
formats text
)
... | SELECT song_name FROM song WHERE genre_is = "modern" OR languages = "english" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2324,
41,
2324,
834,
4350,
1499,
6,
2377,
834,
4350,
1499,
6,
684,
1499,
6,
3,
89,
834,
23,
26,
381,
6,
5349,
834,
159,
1499,
6,
5773,
381,
6,
8024,
1499,
6,
1883,
342,
97,
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,
2324,
834,
4350,
21680,
2324,
549,
17444,
427,
5349,
834,
159,
3274,
96,
18306,
121,
4674,
8024,
3274,
96,
4606,
40,
1273,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the highest round with a pick# of 9, overll less than 468, and position of defensive back? | CREATE TABLE table_name_77 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR) | SELECT MAX(round) FROM table_name_77 WHERE pick__number = 9 AND position = "defensive back" AND overall < 468 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
7775,
3,
21342,
17966,
6,
1879,
584,
4280,
28027,
6,
1432,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
7775,
61,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
1432,
834,
834,
5525,
1152,
3274,
668,
3430,
1102,
3274,
96,
221,
23039,
15,
223,
121,
3430,
1879,
3,
2,
314,
3651,
1,
-100,
-100,
-100,
-... |
How many bronzes had a rank of 10 and 0 gold? | CREATE TABLE table_13254 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT SUM("Bronze") FROM table_13254 WHERE "Rank" = '10' AND "Gold" < '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23757,
5062,
41,
96,
22557,
121,
1499,
6,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
3696,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22780,
29,
776,
8512,
21680,
953,
834,
23757,
5062,
549,
17444,
427,
96,
22557,
121,
3274,
3,
31,
1714,
31,
3430,
96,
23576,
121,
3,
2,
3,
31,
632,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For each party, return the name of the party and the number of delegates from that party Plot them as bar chart, and rank in asc by the Y. | CREATE TABLE party (
Party_ID int,
Year real,
Party text,
Governor text,
Lieutenant_Governor text,
Comptroller text,
Attorney_General text,
US_Senate text
)
CREATE TABLE county (
County_Id int,
County_name text,
Population real,
Zip_code text
)
CREATE TABLE election (
... | SELECT T2.Party, SUM(COUNT(*)) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party ORDER BY SUM(COUNT(*)) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1088,
41,
3450,
834,
4309,
16,
17,
6,
2929,
490,
6,
3450,
1499,
6,
10510,
1499,
6,
30943,
834,
27304,
127,
1499,
6,
4961,
17,
4046,
49,
1499,
6,
10154,
834,
20857,
1499,
6,
837,
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,
332,
4416,
13725,
63,
6,
180,
6122,
599,
5911,
17161,
599,
1935,
61,
61,
21680,
4356,
6157,
332,
536,
3,
15355,
3162,
1088,
6157,
332,
357,
9191,
332,
5411,
13725,
63,
3274,
332,
4416,
13725,
63,
834,
4309,
350,
463... |
How many resorts have 118 runs? | CREATE TABLE table_73850 (
"Name" text,
"Nearest city" text,
"Skiable area (acres)" real,
"Top elevation (feet)" real,
"Base elevation (feet)" real,
"Vertical (feet)" real,
"Runs" text,
"Lifts" real,
"Snowfall (in/year)" real
) | SELECT COUNT("Name") FROM table_73850 WHERE "Runs" = '118' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
17246,
41,
96,
23954,
121,
1499,
6,
96,
567,
2741,
222,
690,
121,
1499,
6,
96,
134,
2168,
179,
616,
41,
10610,
7,
61,
121,
490,
6,
96,
22481,
16417,
41,
89,
15,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
23954,
8512,
21680,
953,
834,
4552,
17246,
549,
17444,
427,
96,
448,
202,
7,
121,
3274,
3,
31,
20056,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many seats does the independent party hold ? | CREATE TABLE table_203_494 (
id number,
"party" text,
"votes" number,
"%" number,
"swing" number,
"seats" number,
"change" number
) | SELECT "seats" FROM table_203_494 WHERE "party" = 'independent' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3647,
591,
41,
3,
23,
26,
381,
6,
96,
8071,
121,
1499,
6,
96,
1621,
1422,
121,
381,
6,
96,
1454,
121,
381,
6,
96,
7,
3108,
121,
381,
6,
96,
7,
1544,
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,
7,
1544,
7,
121,
21680,
953,
834,
23330,
834,
3647,
591,
549,
17444,
427,
96,
8071,
121,
3274,
3,
31,
77,
17631,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which junior high school has university students and adults of 26mm? | CREATE TABLE table_5334 (
"Specification" text,
"Gender" text,
"Junior High School (12\u201315 yrs)" text,
"Senior High School (15\u201318 yrs)" text,
"University students and Adults (18yrs+)" text
) | SELECT "Junior High School (12\u201315 yrs)" FROM table_5334 WHERE "University students and Adults (18yrs+)" = '26mm' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
3710,
41,
96,
7727,
2420,
121,
1499,
6,
96,
517,
3868,
121,
1499,
6,
96,
683,
202,
23,
127,
1592,
1121,
16465,
2,
76,
11138,
1808,
3,
63,
52,
7,
61,
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,
683,
202,
23,
127,
1592,
1121,
16465,
2,
76,
11138,
1808,
3,
63,
52,
7,
61,
121,
21680,
953,
834,
4867,
3710,
549,
17444,
427,
96,
8313,
485,
481,
11,
12318,
7,
9323,
63,
52,
7,
1220,
61,
121,
3274,
3,
31,... |
what is the number of films she did in 2010 ? | CREATE TABLE table_204_57 (
id number,
"year" number,
"film" text,
"role" text,
"language" text,
"notes" text
) | SELECT COUNT("film") FROM table_204_57 WHERE "year" = 2010 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3436,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
9988,
121,
1499,
6,
96,
3491,
15,
121,
1499,
6,
96,
24925,
121,
1499,
6,
96,
7977,
7,
121,
1499,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
9988,
8512,
21680,
953,
834,
26363,
834,
3436,
549,
17444,
427,
96,
1201,
121,
3274,
2735,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3? | CREATE TABLE table_31936 (
"Formula" text,
"Notation" text,
"T c (K)" real,
"No. of Cu-O planes in unit cell" real,
"Crystal structure" text
) | SELECT "Crystal structure" FROM table_31936 WHERE "No. of Cu-O planes in unit cell" = '3' AND "T c (K)" = '110' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2294,
3420,
41,
96,
3809,
4115,
9,
121,
1499,
6,
96,
10358,
257,
121,
1499,
6,
96,
382,
3,
75,
41,
439,
61,
121,
490,
6,
96,
4168,
5,
13,
1839,
18,
667,
6112,
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,
254,
651,
8407,
1809,
121,
21680,
953,
834,
519,
2294,
3420,
549,
17444,
427,
96,
4168,
5,
13,
1839,
18,
667,
6112,
7,
16,
1745,
2358,
121,
3274,
3,
31,
519,
31,
3430,
96,
382,
3,
75,
41,
439,
61,
121,
327... |
What position after round 8 has a pick less than 270? | CREATE TABLE table_name_67 (
position VARCHAR,
round VARCHAR,
pick VARCHAR
) | SELECT position FROM table_name_67 WHERE round > 8 AND pick < 270 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3708,
41,
1102,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
6,
1432,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1102,
227,
1751,
505,
65,
3,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1102,
21680,
953,
834,
4350,
834,
3708,
549,
17444,
427,
1751,
2490,
505,
3430,
1432,
3,
2,
3,
17485,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who is the opponent of the game played on November 20, 1995? | CREATE TABLE table_name_66 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_66 WHERE date = "november 20, 1995" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
32,
102,
9977,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
15264,
13,
8,
467,
1944,
30,
1671,
16047,
72... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15264,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
833,
3274,
96,
5326,
18247,
16047,
7273,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the average number of years spent working as a journalist? | CREATE TABLE event (
event_id number,
date text,
venue text,
name text,
event_attendance number
)
CREATE TABLE news_report (
journalist_id number,
event_id number,
work_type text
)
CREATE TABLE journalist (
journalist_id number,
name text,
nationality text,
age text,
... | SELECT AVG(years_working) FROM journalist | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
605,
41,
605,
834,
23,
26,
381,
6,
833,
1499,
6,
5669,
1499,
6,
564,
1499,
6,
605,
834,
15116,
663,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1506,
834,
60,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1201,
7,
834,
9238,
61,
21680,
9994,
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,
-100,
-100,
-100,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.