NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Record of 42 16 8, and a March larger than 5 has what average points? | CREATE TABLE table_35021 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
) | SELECT AVG("Points") FROM table_35021 WHERE "Record" = '42–16–8' AND "March" > '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
16975,
2658,
41,
96,
23055,
121,
490,
6,
96,
25019,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
22512,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22512,
7,
8512,
21680,
953,
834,
16975,
2658,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
4165,
104,
2938,
104,
927,
31,
3430,
96,
25019,
121,
2490,
3,
31,
755,
31,
1,
-100,
-100,
-100,... |
What is the party where the constituency is 10. Tindivanam? | CREATE TABLE table_25285 (
"Constituency" text,
"Winner" text,
"Party" text,
"Margin" real,
"Runner-up a" text,
"Party a" text
) | SELECT "Party" FROM table_25285 WHERE "Constituency" = '10. Tindivanam' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
357,
4433,
41,
96,
4302,
2248,
17,
76,
4392,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
7286,
122,
77,
121,
490,
6,
96,
23572,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
13725,
63,
121,
21680,
953,
834,
1828,
357,
4433,
549,
17444,
427,
96,
4302,
2248,
17,
76,
4392,
121,
3274,
3,
31,
10415,
332,
8482,
2132,
265,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the fuel gas for upper index mj/nm3 for 92.32 | CREATE TABLE table_1868929_1 (
fuel_gas VARCHAR,
upper_index_mj__nm_3 VARCHAR
) | SELECT fuel_gas FROM table_1868929_1 WHERE upper_index_mj__nm_3 = "92.32" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25398,
3914,
3166,
834,
536,
41,
2914,
834,
5556,
584,
4280,
28027,
6,
4548,
834,
18288,
834,
51,
354,
834,
834,
29,
51,
834,
519,
584,
4280,
28027,
3,
61,
3,
32102,
32103,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2914,
834,
5556,
21680,
953,
834,
25398,
3914,
3166,
834,
536,
549,
17444,
427,
4548,
834,
18288,
834,
51,
354,
834,
834,
29,
51,
834,
519,
3274,
96,
4508,
5,
2668,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest nuber of games drawn in the total column? | CREATE TABLE table_name_31 (
drawn INTEGER,
against VARCHAR
) | SELECT MIN(drawn) FROM table_name_31 WHERE against = "total" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
6796,
3,
21342,
17966,
6,
581,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
206,
1152,
13,
1031,
6796,
16,
8,
792,
6710,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19489,
29,
61,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
581,
3274,
96,
235,
1947,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which chasis was in the year 1954? | CREATE TABLE table_name_76 (
chassis VARCHAR,
year VARCHAR
) | SELECT chassis FROM table_name_76 WHERE year = 1954 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
22836,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
3,
3441,
7,
159,
47,
16,
8,
215,
24970,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
22836,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
215,
3274,
24970,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the lowest league cup with a premier League of 1, and the total is less than 5? | CREATE TABLE table_8523 (
"Player" text,
"Position" text,
"Premier League" real,
"FA Cup" real,
"League Cup" real,
"UEFA Cup" real,
"Total" real
) | SELECT MIN("League Cup") FROM table_8523 WHERE "Premier League" = '1' AND "Total" < '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4433,
2773,
41,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
10572,
51,
972,
3815,
121,
490,
6,
96,
4795,
3802,
121,
490,
6,
96,
2796,
9,
5398,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
2796,
9,
5398,
3802,
8512,
21680,
953,
834,
4433,
2773,
549,
17444,
427,
96,
10572,
51,
972,
3815,
121,
3274,
3,
31,
536,
31,
3430,
96,
3696,
1947,
121,
3,
2,
3,
31,
755,
31,
1,
-100,
-100,
... |
For each bed type, find the average room price Show bar chart, and show in desc by the total number. | CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName TEXT,
Adults INTEGER,
Kids INTEGER
)
CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
baseP... | SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType ORDER BY AVG(basePrice) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
27659,
7,
41,
3636,
3,
21342,
17966,
6,
4181,
3,
3463,
4,
382,
6,
1972,
1570,
3,
3463,
4,
382,
6,
1972,
15767,
3,
3463,
4,
382,
6,
13002,
17833,
6,
2506,
23954,
3,
3463,
4,
382,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1953,
25160,
6,
71,
17217,
599,
10925,
345,
4920,
61,
21680,
4181,
7,
350,
4630,
6880,
272,
476,
1953,
25160,
4674,
11300,
272,
476,
71,
17217,
599,
10925,
345,
4920,
61,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
... |
What is the highest against when the lost is 3 with less than 30 points? | CREATE TABLE table_name_73 (
against INTEGER,
lost VARCHAR,
points VARCHAR
) | SELECT MAX(against) FROM table_name_73 WHERE lost = 3 AND points < 30 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
581,
3,
21342,
17966,
6,
1513,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
581,
116,
8,
1513,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
9,
16720,
7,
17,
61,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
1513,
3274,
220,
3430,
979,
3,
2,
604,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the highest number of Silver, when the Nation is Japan (JPN), and when the Total is greater than 37? | CREATE TABLE table_name_50 (silver INTEGER, nation VARCHAR, total VARCHAR) | SELECT MAX(silver) FROM table_name_50 WHERE nation = "japan (jpn)" AND total > 37 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
7,
173,
624,
3,
21342,
17966,
6,
2982,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
381,
13,
5642,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
4800,
4,
599,
7,
173,
624,
61,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
2982,
3274,
96,
1191,
2837,
41,
354,
102,
29,
61,
121,
3430,
792,
2490,
6862,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which game has a result of 113-106? | CREATE TABLE table_49634 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
) | SELECT "Game" FROM table_49634 WHERE "Result" = '113-106' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3647,
3891,
591,
41,
96,
23055,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
19040,
2271,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
448,
32,
9,
26,
2271,
121,
1499,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3647,
3891,
591,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
20522,
18,
16431,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What grid has an average time of +22.505 and laps larger than 23? | CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_7 WHERE time = "+22.505" AND laps > 23 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
940,
41,
3496,
26,
3,
21342,
17966,
6,
97,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
8634,
65,
46,
1348,
97,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
3496,
26,
61,
21680,
953,
834,
4350,
834,
940,
549,
17444,
427,
97,
3274,
96,
1220,
2884,
5,
1752,
17395,
3430,
14941,
7,
2490,
1902,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is the position when the points 1 is less than 36, goals for is less than 40 and drawn is less than 9? | CREATE TABLE table_51147 (
"Position" real,
"Team" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Difference" text,
"Points 1" real
) | SELECT SUM("Position") FROM table_51147 WHERE "Points 1" < '36' AND "Goals For" < '40' AND "Drawn" < '9' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5553,
24719,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
18699,
121,
1499,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
308,
10936,
29,
121,
490,
6,
96,
434,
3481,
121,
490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
345,
32,
7,
4749,
8512,
21680,
953,
834,
5553,
24719,
549,
17444,
427,
96,
22512,
7,
209,
121,
3,
2,
3,
31,
3420,
31,
3430,
96,
6221,
5405,
242,
121,
3,
2,
3,
31,
2445,
31,
3430,
96,
308,
... |
What type of surface did the tournament canada f9, markham have? | CREATE TABLE table_name_30 (
surface VARCHAR,
tournament VARCHAR
) | SELECT surface FROM table_name_30 WHERE tournament = "canada f9, markham" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
1774,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
686,
13,
1774,
410,
8,
5892,
19343,
3,
89,
1298,
6,
3946,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1774,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
5892,
3274,
96,
658,
18089,
3,
89,
1298,
6,
3946,
1483,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the first names of all the students aged above 22? | CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE voting_record (
stuid number,
registration_date text,
election_cycle text,
president_vote number,
vice_president_vote number... | SELECT fname FROM student WHERE age > 22 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1236,
41,
21341,
23,
26,
381,
6,
3,
40,
4350,
1499,
6,
3,
89,
4350,
1499,
6,
1246,
381,
6,
3,
7,
994,
1499,
6,
779,
381,
6,
8815,
381,
6,
690,
834,
4978,
1499,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
89,
4350,
21680,
1236,
549,
17444,
427,
1246,
2490,
1630,
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,... |
Who did the Blue Jays play against on April 24? | CREATE TABLE table_71274 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) | SELECT "Opponent" FROM table_71274 WHERE "Date" = 'april 24' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4450,
2555,
591,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
121,
1499,
6,
96,
188,
17,
324,
26,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
102,
9977,
121,
21680,
953,
834,
4450,
2555,
591,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
9,
2246,
40,
997,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Where was Assen held? | CREATE TABLE table_10083598_1 (round VARCHAR, circuit VARCHAR) | SELECT round FROM table_10083598_1 WHERE circuit = "Assen" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2915,
927,
2469,
3916,
834,
536,
41,
7775,
584,
4280,
28027,
6,
4558,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
71,
4932,
1213,
58,
1,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1751,
21680,
953,
834,
2915,
927,
2469,
3916,
834,
536,
549,
17444,
427,
4558,
3274,
96,
188,
4932,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
give me the number of patients whose religion is catholic and item id is 51067? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "CATHOLIC" AND lab.itemid = "51067" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
What's the address of the union bank of California tower? | CREATE TABLE table_38558 (
"Name" text,
"Street address" text,
"Years as tallest" text,
"Height feet / m" text,
"Floors" real
) | SELECT "Street address" FROM table_38558 WHERE "Name" = 'union bank of california tower' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
4433,
3449,
41,
96,
23954,
121,
1499,
6,
96,
11500,
15,
15,
17,
1115,
121,
1499,
6,
96,
476,
2741,
7,
38,
5065,
222,
121,
1499,
6,
96,
3845,
2632,
1922,
3,
87,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
11500,
15,
15,
17,
1115,
121,
21680,
953,
834,
519,
4433,
3449,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
16598,
2137,
13,
3,
15534,
1161,
29,
23,
9,
7293,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many medicare patients are less than 83 years? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicare" AND demographic.age < "83" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
29441,
3274,
96,
15789,
355,
121,
3430,
14798,
5,
545,
3,
2,
96,
4591,
121,
1,
-100,
-100,
-100,... |
When was the last win for the club that had a final loss in 2011? | CREATE TABLE table_name_34 (
last_win VARCHAR,
last_final_lost VARCHAR
) | SELECT last_win FROM table_name_34 WHERE last_final_lost = "2011" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
336,
834,
3757,
584,
4280,
28027,
6,
336,
834,
12406,
834,
2298,
17,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
47,
8,
336,
1369,
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,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
336,
834,
3757,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
336,
834,
12406,
834,
2298,
17,
3274,
96,
13907,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the mean number of caps for Ryota Asano? | CREATE TABLE table_name_67 (
caps INTEGER,
player VARCHAR
) | SELECT AVG(caps) FROM table_name_67 WHERE player = "ryota asano" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3708,
41,
16753,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1243,
381,
13,
16753,
21,
12749,
32,
17,
9,
282,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
4010,
7,
61,
21680,
953,
834,
4350,
834,
3708,
549,
17444,
427,
1959,
3274,
96,
651,
32,
17,
9,
38,
152,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which one of the tournaments had a QF in 1996? | CREATE TABLE table_55457 (
"Tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text
) | SELECT "Tournament" FROM table_55457 WHERE "1996" = 'qf' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3769,
591,
3436,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
2294,
4271,
121,
1499,
6,
96,
19479,
20364,
1499,
6,
96,
19479,
17395,
1499,
6,
96,
2294,
4314,
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,
382,
1211,
20205,
17,
121,
21680,
953,
834,
3769,
591,
3436,
549,
17444,
427,
96,
2294,
4314,
121,
3274,
3,
31,
1824,
89,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the team of vitali yeremeyev | CREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_name_97 WHERE player = "vitali yeremeyev" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
29,
107,
40,
834,
11650,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
372,
13,
3362,
23,
3,
63,
17106,
1337... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29,
107,
40,
834,
11650,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
1959,
3274,
96,
5566,
4288,
3,
63,
17106,
13370,
208,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Where is the Church that has a Sub-Parish (Sokn) of rugsund? | CREATE TABLE table_name_64 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR) | SELECT location_of_the_church FROM table_name_64 WHERE sub_parish__sokn_ = "rugsund" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
14836,
834,
858,
834,
532,
834,
28854,
584,
4280,
28027,
6,
769,
834,
1893,
1273,
834,
834,
7,
1825,
29,
834,
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,
1128,
834,
858,
834,
532,
834,
28854,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
769,
834,
1893,
1273,
834,
834,
7,
1825,
29,
834,
3274,
96,
22024,
1106,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which IHSAA Football Class has a Location of wabash, and a School of wabash? | CREATE TABLE table_name_50 (
ihsaa_football_class VARCHAR,
location VARCHAR,
school VARCHAR
) | SELECT ihsaa_football_class FROM table_name_50 WHERE location = "wabash" AND school = "wabash" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
3,
23,
107,
7,
9,
9,
834,
6259,
3184,
834,
4057,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
23,
107,
7,
9,
9,
834,
6259,
3184,
834,
4057,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
1128,
3274,
96,
210,
9,
115,
3198,
121,
3430,
496,
3274,
96,
210,
9,
115,
3198,
121,
1,
-100,
-100,
-100,
-100,... |
Show the names and heights of buildings with at least two institutions founded after 1880. | CREATE TABLE building (name VARCHAR, height_feet VARCHAR, building_id VARCHAR); CREATE TABLE institution (building_id VARCHAR, founded INTEGER) | SELECT T1.name, T1.height_feet FROM building AS T1 JOIN institution AS T2 ON T1.building_id = T2.building_id WHERE T2.founded > 1880 GROUP BY T1.building_id HAVING COUNT(*) >= 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
740,
41,
4350,
584,
4280,
28027,
6,
3902,
834,
89,
15,
15,
17,
584,
4280,
28027,
6,
740,
834,
23,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
6568,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5411,
4350,
6,
332,
5411,
88,
2632,
834,
89,
15,
15,
17,
21680,
740,
6157,
332,
536,
3,
15355,
3162,
6568,
6157,
332,
357,
9191,
332,
5411,
10905,
834,
23,
26,
3274,
332,
4416,
10905,
834,
23,
26,
549,
17444,... |
what is the number of patients whose admission year is less than 2187 and diagnoses long title is cardiac tamponade? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2187" AND diagnoses.long_title = "Cardiac tamponade" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
If Socialist is at 46.1%, what are all percentages for social democratic? | CREATE TABLE table_19478 (
"Date Released" text,
"Polling institute" text,
"Socialist" text,
"Social Democratic" text,
"Peoples Party" text,
"Green-Communist" text,
"Left Bloc" text,
"Lead" text
) | SELECT "Social Democratic" FROM table_19478 WHERE "Socialist" = '46.1%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
591,
3940,
41,
96,
308,
342,
13048,
26,
121,
1499,
6,
96,
8931,
697,
13681,
121,
1499,
6,
96,
5231,
4703,
343,
121,
1499,
6,
96,
5231,
4703,
10021,
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,
5231,
4703,
10021,
121,
21680,
953,
834,
2294,
591,
3940,
549,
17444,
427,
96,
5231,
4703,
343,
121,
3274,
3,
31,
4448,
5,
4704,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which category earlier than 2006 has Bart Brentjens as rider 2? | CREATE TABLE table_71757 (
"Date" real,
"Category" text,
"Team" text,
"Rider 1" text,
"Rider 2" text
) | SELECT "Category" FROM table_71757 WHERE "Date" < '2006' AND "Rider 2" = 'bart brentjens' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2517,
3436,
41,
96,
308,
342,
121,
490,
6,
96,
18610,
6066,
651,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
448,
23,
588,
209,
121,
1499,
6,
96,
448,
23,
588,
204,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18610,
6066,
651,
121,
21680,
953,
834,
940,
2517,
3436,
549,
17444,
427,
96,
308,
342,
121,
3,
2,
3,
31,
21196,
31,
3430,
96,
448,
23,
588,
204,
121,
3274,
3,
31,
1047,
17,
6397,
295,
354,
35,
7,
31,
1,
... |
Name the period for south korea with peak position of #24 | CREATE TABLE table_69814 (
"Country" text,
"Chart" text,
"Period" text,
"Peak position" text,
"Sales" text
) | SELECT "Period" FROM table_69814 WHERE "Country" = 'south korea' AND "Peak position" = '#24' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
927,
2534,
41,
96,
10628,
651,
121,
1499,
6,
96,
18947,
17,
121,
1499,
6,
96,
12988,
23,
32,
26,
121,
1499,
6,
96,
345,
15,
1639,
1102,
121,
1499,
6,
96,
134,
452... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
12988,
23,
32,
26,
121,
21680,
953,
834,
3951,
927,
2534,
549,
17444,
427,
96,
10628,
651,
121,
3274,
3,
31,
7,
670,
107,
3,
5543,
15,
9,
31,
3430,
96,
345,
15,
1639,
1102,
121,
3274,
3,
31,
4663,
2266,
31... |
Where was the game held on August 20, 2004? | CREATE TABLE table_14488 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
) | SELECT "Venue" FROM table_14488 WHERE "Date" = 'august 20, 2004' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20885,
4060,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
5890,
4995,
4749,
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,
0,
0... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
20885,
4060,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
402,
17198,
16047,
4406,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the team played on october 5? | CREATE TABLE table_27756014_1 (team VARCHAR, date VARCHAR) | SELECT team FROM table_27756014_1 WHERE date = "October 5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
3072,
3328,
2534,
834,
536,
41,
11650,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
372,
1944,
30,
3,
32,
75,
235,
1152,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
372,
21680,
953,
834,
2555,
3072,
3328,
2534,
834,
536,
549,
17444,
427,
833,
3274,
96,
28680,
3,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which films participated in the 30th Hawaii International Film Festival? | CREATE TABLE table_31285 (
"Film Festival" text,
"Date of ceremony" text,
"Category" text,
"Participants/Recipients" text,
"Result" text
) | SELECT "Participants/Recipients" FROM table_31285 WHERE "Film Festival" = '30th Hawaii International Film Festival' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2122,
4433,
41,
96,
371,
173,
51,
3397,
121,
1499,
6,
96,
308,
342,
13,
7252,
121,
1499,
6,
96,
18610,
6066,
651,
121,
1499,
6,
96,
13725,
23,
3389,
2366,
87,
1649,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
13725,
23,
3389,
2366,
87,
1649,
3389,
4741,
7,
121,
21680,
953,
834,
519,
2122,
4433,
549,
17444,
427,
96,
371,
173,
51,
3397,
121,
3274,
3,
31,
1458,
189,
13394,
1331,
3417,
3397,
31,
1,
-100,
-100,
-100,
-1... |
Which March is the lowest one that has a Score of 5 6, and Points smaller than 100? | CREATE TABLE table_name_88 (
march INTEGER,
score VARCHAR,
points VARCHAR
) | SELECT MIN(march) FROM table_name_88 WHERE score = "5–6" AND points < 100 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
10556,
3,
21342,
17966,
6,
2604,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1332,
19,
8,
7402,
80,
24,
65,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
51,
7064,
61,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
2604,
3274,
96,
755,
104,
948,
121,
3430,
979,
3,
2,
910,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many weeks total did the New York Jets face the Pittsburgh Steelers? | CREATE TABLE table_name_72 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_72 WHERE opponent = "pittsburgh steelers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
8041,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1274,
792,
410,
8,
368,
1060,
12434,
7,
522,
8,
16226,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8041,
61,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
15264,
3274,
96,
5230,
17,
7289,
107,
2470,
277,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which pick was from Lamar High School? | CREATE TABLE table_name_15 (pick VARCHAR, school VARCHAR) | SELECT pick FROM table_name_15 WHERE school = "lamar high school" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1808,
41,
17967,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1432,
47,
45,
325,
1635,
1592,
1121,
58,
1,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1432,
21680,
953,
834,
4350,
834,
1808,
549,
17444,
427,
496,
3274,
96,
521,
1635,
306,
496,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What date did the Home team score 11.21 (87)? | CREATE TABLE table_10285 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Date" FROM table_10285 WHERE "Home team score" = '11.21 (87)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
14388,
4433,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
14388,
4433,
549,
17444,
427,
96,
19040,
372,
2604,
121,
3274,
3,
31,
10032,
2658,
41,
4225,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
give me the number of patients whose age is less than 80 and drug code is aztr1000fb? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "80" AND prescriptions.formulary_drug_cd = "AZTR1000FB" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
What is the highest win for losses less than 2? | CREATE TABLE table_name_65 (
wins INTEGER,
losses INTEGER
) | SELECT MAX(wins) FROM table_name_65 WHERE losses < 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
9204,
3,
21342,
17966,
6,
8467,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
1369,
21,
8467,
705,
145,
204,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
3757,
7,
61,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
8467,
3,
2,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
For all employees who have the letters D or S in their first name, draw a bar chart about the distribution of hire_date and the average of manager_id bin hire_date by time. | CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JO... | SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2476,
41,
446,
10539,
834,
4309,
3,
4331,
4059,
599,
16968,
6,
446,
10539,
834,
382,
3177,
3765,
3,
4331,
4059,
599,
2469,
201,
3,
17684,
834,
134,
4090,
24721,
7908,
1982,
599,
11071,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
71,
17217,
599,
9312,
188,
17966,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
30085,
834,
567,
17683,
8729,
9914,
3,
31,
1454,
308,
1454,
31,
4674,
30085,
834,
567,
17683,
8729,
9914,
... |
How many total runners had jockeys of Olivier Peslier with placings under 2? | CREATE TABLE table_name_81 (
runners INTEGER,
jockey VARCHAR,
placing VARCHAR
) | SELECT SUM(runners) FROM table_name_81 WHERE jockey = "olivier peslier" AND placing < 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
16448,
3,
21342,
17966,
6,
8624,
4397,
584,
4280,
28027,
6,
9308,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
792,
16448,
141,
8624... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
10806,
7,
61,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
8624,
4397,
3274,
96,
4172,
5144,
158,
7,
3299,
121,
3430,
9308,
3,
2,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which opponent has a record of 17-11? | CREATE TABLE table_name_86 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_86 WHERE record = "17-11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
32,
102,
9977,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
15264,
65,
3,
9,
1368,
13,
1003,
9169,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
1368,
3274,
96,
2517,
9169,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the total number for the Bulls when they were at Old Trafford? | CREATE TABLE table_name_27 (
bulls VARCHAR,
venue VARCHAR
) | SELECT COUNT(bulls) FROM table_name_27 WHERE venue = "old trafford" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
8434,
7,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
792,
381,
21,
8,
10204,
7,
116,
79,
130,
44,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
20638,
7,
61,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
5669,
3274,
96,
1490,
3,
14793,
2590,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the losses for the 5 matches? | CREATE TABLE table_name_40 (
losses VARCHAR,
matches VARCHAR
) | SELECT losses FROM table_name_40 WHERE matches = "5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
8467,
584,
4280,
28027,
6,
6407,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
8467,
21,
8,
305,
6407,
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,
8467,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
6407,
3274,
96,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Champion with a Year that is 2008? | CREATE TABLE table_42910 (
"Year" real,
"Champion" text,
"Runner-up" text,
"Third place" text,
"Fourth place" text,
"Jack Tompkins Trophy (MVP)" text
) | SELECT "Champion" FROM table_42910 WHERE "Year" = '2008' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3166,
1714,
41,
96,
476,
2741,
121,
490,
6,
96,
254,
1483,
12364,
121,
1499,
6,
96,
23572,
18,
413,
121,
1499,
6,
96,
382,
9288,
26,
286,
121,
1499,
6,
96,
371,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
254,
1483,
12364,
121,
21680,
953,
834,
591,
3166,
1714,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
16128,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Date that has MARTIN of 7–9% and no Undecided? | CREATE TABLE table_name_93 (date VARCHAR, undecided VARCHAR, martin VARCHAR) | SELECT date FROM table_name_93 WHERE undecided = "–" AND martin = "7–9%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4271,
41,
5522,
584,
4280,
28027,
6,
3550,
10812,
15,
26,
584,
4280,
28027,
6,
3157,
17,
77,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
767... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
4271,
549,
17444,
427,
3550,
10812,
15,
26,
3274,
96,
104,
121,
3430,
3157,
17,
77,
3274,
96,
940,
104,
7561,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which Position has a Round larger than 5, and a Selection of 168? | CREATE TABLE table_name_13 (position VARCHAR, round VARCHAR, selection VARCHAR) | SELECT position FROM table_name_13 WHERE round > 5 AND selection = 168 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
4718,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
6,
1801,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
14258,
65,
3,
9,
9609,
2186,
145,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1102,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
1751,
2490,
305,
3430,
1801,
3274,
3,
24274,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Wind* has a Nationality of soviet union, and a Venue of alma ata? | CREATE TABLE table_13123 (
"Mark" text,
"Wind*" text,
"Athlete" text,
"Nationality" text,
"Venue" text,
"Date" text
) | SELECT "Wind*" FROM table_13123 WHERE "Nationality" = 'soviet union' AND "Venue" = 'alma ata' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
14574,
41,
96,
19762,
121,
1499,
6,
96,
18455,
26,
1935,
121,
1499,
6,
96,
188,
189,
1655,
15,
121,
1499,
6,
96,
24732,
485,
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,
1... | [
3,
23143,
14196,
96,
18455,
26,
1935,
121,
21680,
953,
834,
2368,
14574,
549,
17444,
427,
96,
24732,
485,
121,
3274,
3,
31,
7,
9881,
15,
17,
7021,
31,
3430,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
138,
51,
9,
44,
9,
31,
1,
-1... |
What is the episode number for the episode 'a new dimension'? | CREATE TABLE table_20887 (
"Episode #" text,
"Original airdate (UK)" text,
"Episode title" text,
"Doctor Who episode" text,
"Webcast link" text
) | SELECT "Episode #" FROM table_20887 WHERE "Episode title" = 'A New Dimension' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23946,
4225,
41,
96,
427,
102,
159,
32,
221,
1713,
121,
1499,
6,
96,
667,
3380,
10270,
799,
5522,
41,
15787,
61,
121,
1499,
6,
96,
427,
102,
159,
32,
221,
2233,
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,
427,
102,
159,
32,
221,
1713,
121,
21680,
953,
834,
23946,
4225,
549,
17444,
427,
96,
427,
102,
159,
32,
221,
2233,
121,
3274,
3,
31,
188,
368,
14689,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the playoff advancement during the year 1998? | CREATE TABLE table_20267 (
"Year" real,
"Division" text,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
) | SELECT "Playoffs" FROM table_20267 WHERE "Year" = '1998' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19818,
3708,
41,
96,
476,
2741,
121,
490,
6,
96,
308,
23,
6610,
121,
1499,
6,
96,
2796,
9,
5398,
121,
1499,
6,
96,
17748,
4885,
7960,
121,
1499,
6,
96,
15800,
1647,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15800,
1647,
7,
121,
21680,
953,
834,
19818,
3708,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
2294,
3916,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the highest floors with rank greater than 1 in Conrad Dubai? | CREATE TABLE table_name_96 (
floors INTEGER,
rank VARCHAR,
name VARCHAR
) | SELECT MAX(floors) FROM table_name_96 WHERE rank > 1 AND name = "conrad dubai" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
8242,
3,
21342,
17966,
6,
11003,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
8242,
28,
11003,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
20924,
7,
61,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
11003,
2490,
209,
3430,
564,
3274,
96,
1018,
5672,
146,
9441,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What country has a television service with Cartello Promozionale sky hd? | CREATE TABLE table_name_95 (
country VARCHAR,
television_service VARCHAR
) | SELECT country FROM table_name_95 WHERE television_service = "cartello promozionale sky hd" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
684,
584,
4280,
28027,
6,
4390,
834,
5114,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
684,
65,
3,
9,
4390,
313,
28,
11533,
7126,
1775... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
684,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
4390,
834,
5114,
3274,
96,
1720,
17,
7126,
5585,
172,
6318,
15,
5796,
3,
107,
26,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
List the number of tournament winners when iona , siena & niagara won in the regular season. | CREATE TABLE table_24348134_3 (
tournament_winner VARCHAR,
regular_season_winner VARCHAR
) | SELECT COUNT(tournament_winner) FROM table_24348134_3 WHERE regular_season_winner = "Iona , Siena & Niagara" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27730,
3707,
23747,
834,
519,
41,
5892,
834,
3757,
687,
584,
4280,
28027,
6,
1646,
834,
9476,
834,
3757,
687,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
6792,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
17,
1211,
20205,
17,
834,
3757,
687,
61,
21680,
953,
834,
27730,
3707,
23747,
834,
519,
549,
17444,
427,
1646,
834,
9476,
834,
3757,
687,
3274,
96,
196,
106,
9,
3,
6,
292,
29,
9,
3,
184,
27823,
... |
How many seasons have a production code of 204? | CREATE TABLE table_20908 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original airdate" text,
"Production code" real
) | SELECT COUNT("No. in season") FROM table_20908 WHERE "Production code" = '204' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
2394,
927,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4168,
5,
16,
774,
8512,
21680,
953,
834,
1755,
2394,
927,
549,
17444,
427,
96,
3174,
8291,
1081,
121,
3274,
3,
31,
26363,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who had highest assists at game on December 21? | CREATE TABLE table_27723526_9 (
high_assists VARCHAR,
date VARCHAR
) | SELECT COUNT(high_assists) FROM table_27723526_9 WHERE date = "December 21" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
5865,
2469,
2688,
834,
1298,
41,
306,
834,
6500,
7,
17,
7,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
141,
2030,
13041,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
6739,
834,
6500,
7,
17,
7,
61,
21680,
953,
834,
2555,
5865,
2469,
2688,
834,
1298,
549,
17444,
427,
833,
3274,
96,
29835,
1401,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who won the womens singles in the 1958/1959 season? | CREATE TABLE table_12266757_1 (womens_singles VARCHAR, season VARCHAR) | SELECT womens_singles FROM table_12266757_1 WHERE season = "1958/1959" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
2688,
3708,
3436,
834,
536,
41,
210,
32,
904,
7,
834,
7,
53,
965,
584,
4280,
28027,
6,
774,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
751,
8,
887,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
887,
7,
834,
7,
53,
965,
21680,
953,
834,
2122,
2688,
3708,
3436,
834,
536,
549,
17444,
427,
774,
3274,
96,
2294,
3449,
13523,
3390,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Show me a bar chart for what are the total enrollments of universities of each affiliation type? | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT Affiliation, SUM(Enrollment) FROM university GROUP BY Affiliation | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8498,
834,
19515,
41,
2271,
834,
4309,
16,
17,
6,
1121,
834,
4309,
16,
17,
6,
2271,
834,
23954,
1499,
6,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
1499,
6,
3,
14775,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
89,
8027,
23,
257,
6,
180,
6122,
599,
8532,
4046,
297,
61,
21680,
3819,
350,
4630,
6880,
272,
476,
71,
89,
8027,
23,
257,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the name when avg/g is 13.7? | CREATE TABLE table_name_1 (
name VARCHAR,
avg_g VARCHAR
) | SELECT name FROM table_name_1 WHERE avg_g = 13.7 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
564,
584,
4280,
28027,
6,
3,
9,
208,
122,
834,
122,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
564,
116,
3,
9,
208,
122,
87... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
564,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
3,
9,
208,
122,
834,
122,
3274,
209,
25168,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the genus/species of accession number bx897699.1 | CREATE TABLE table_29341 (
"Genus/Species" text,
"Gene Name" text,
"Accession number" text,
"Sequence Length" text,
"Sequence similarity" real
) | SELECT "Genus/Species" FROM table_29341 WHERE "Accession number" = 'BX897699.1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
3710,
536,
41,
96,
13714,
302,
87,
7727,
725,
121,
1499,
6,
96,
13714,
15,
5570,
121,
1499,
6,
96,
31679,
23,
106,
381,
121,
1499,
6,
96,
134,
15,
835,
3772,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
302,
87,
7727,
725,
121,
21680,
953,
834,
3166,
3710,
536,
549,
17444,
427,
96,
31679,
23,
106,
381,
121,
3274,
3,
31,
279,
4,
3914,
3959,
3264,
5,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the date of the game that had a loss of Johnson (9-8)? | CREATE TABLE table_name_30 (
date VARCHAR,
loss VARCHAR
) | SELECT date FROM table_name_30 WHERE loss = "johnson (9-8)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
833,
584,
4280,
28027,
6,
1453,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
833,
13,
8,
467,
24,
141,
3,
9,
1453,
13,
5891,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
1453,
3274,
96,
27341,
739,
14156,
18,
13520,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the first region on the chart | CREATE TABLE table_204_321 (
id number,
"community" text,
"currency" text,
"region" text,
"target date" number,
"notes" text
) | SELECT "region" FROM table_204_321 WHERE id = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
519,
2658,
41,
3,
23,
26,
381,
6,
96,
18782,
485,
121,
1499,
6,
96,
3663,
52,
4392,
121,
1499,
6,
96,
18145,
121,
1499,
6,
96,
24315,
833,
121,
381,
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,
18145,
121,
21680,
953,
834,
26363,
834,
519,
2658,
549,
17444,
427,
3,
23,
26,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who is born on 29 September 1766? | CREATE TABLE table_6113 (
"Name" text,
"Birth" text,
"Marriage" text,
"Became Queen" text,
"Ceased to be Queen" text,
"Death" text,
"Spouse" text
) | SELECT "Name" FROM table_6113 WHERE "Birth" = '29 september 1766' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
2368,
41,
96,
23954,
121,
1499,
6,
96,
279,
23,
52,
189,
121,
1499,
6,
96,
329,
10269,
545,
121,
1499,
6,
96,
2703,
6527,
15,
5286,
121,
1499,
6,
96,
254,
14608,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23954,
121,
21680,
953,
834,
4241,
2368,
549,
17444,
427,
96,
279,
23,
52,
189,
121,
3274,
3,
31,
3166,
16022,
18247,
1003,
3539,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What score has 12/1 as the date? | CREATE TABLE table_name_86 (
score VARCHAR,
date VARCHAR
) | SELECT score FROM table_name_86 WHERE date = "12/1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
2604,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
2604,
65,
586,
14785,
38,
8,
833,
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,
2604,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
833,
3274,
96,
2122,
14785,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the winning score in the PGA Championship? | CREATE TABLE table_name_14 (
winning_score VARCHAR,
championship VARCHAR
) | SELECT winning_score FROM table_name_14 WHERE championship = "pga championship" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
3447,
834,
7,
9022,
584,
4280,
28027,
6,
10183,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3447,
2604,
16,
8,
3,
24127,
7666,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3447,
834,
7,
9022,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
10183,
3274,
96,
102,
122,
9,
10183,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Surface of the match with a Score in the final of 5 7, 6 7 (2 7)? | CREATE TABLE table_name_86 (
surface VARCHAR,
score_in_the_final VARCHAR
) | SELECT surface FROM table_name_86 WHERE score_in_the_final = "5–7, 6–7 (2–7)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
1774,
584,
4280,
28027,
6,
2604,
834,
77,
834,
532,
834,
12406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
18884,
13,
8,
1588,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1774,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
2604,
834,
77,
834,
532,
834,
12406,
3274,
96,
755,
104,
940,
6,
431,
104,
940,
4743,
104,
12703,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
List all years in Orlando where Jeryl Sasser was a player. | CREATE TABLE table_1286 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years in Orlando" text,
"School/Club Team" text
) | SELECT "Years in Orlando" FROM table_1286 WHERE "Player" = 'Jeryl Sasser' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
3840,
41,
96,
15800,
49,
121,
1499,
6,
96,
4168,
535,
490,
6,
96,
24732,
485,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
476,
2741,
7,
16,
14374,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
476,
2741,
7,
16,
14374,
121,
21680,
953,
834,
2122,
3840,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
7851,
12973,
1138,
7,
7,
49,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
who directed the episode that have 14.59 million viewers | CREATE TABLE table_22997 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
) | SELECT "Directed by" FROM table_22997 WHERE "U.S. viewers (millions)" = '14.59' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3166,
4327,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23620,
15,
26,
57,
121,
21680,
953,
834,
357,
3166,
4327,
549,
17444,
427,
96,
1265,
5,
134,
5,
13569,
41,
17030,
7,
61,
121,
3274,
3,
31,
2534,
5,
3390,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What clay surface edition had an opponent of miho saeki? | CREATE TABLE table_name_2 (
edition VARCHAR,
surface VARCHAR,
opponent VARCHAR
) | SELECT edition FROM table_name_2 WHERE surface = "clay" AND opponent = "miho saeki" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
4182,
584,
4280,
28027,
6,
1774,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
14364,
1774,
4182,
141,
46,
1526... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4182,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
1774,
3274,
96,
4651,
63,
121,
3430,
15264,
3274,
96,
51,
23,
107,
32,
3,
7,
9,
15,
2168,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Wha argon has helium of 1.0000684? | CREATE TABLE table_name_54 (argon VARCHAR, helium VARCHAR) | SELECT argon FROM table_name_54 WHERE helium = "1.0000684" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
8240,
106,
584,
4280,
28027,
6,
3,
17801,
440,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
549,
1024,
3,
8240,
106,
65,
3,
17801,
440,
13,
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,
3,
8240,
106,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
3,
17801,
440,
3274,
96,
21824,
5176,
4608,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
On what date did they have a record of 12-17? | CREATE TABLE table_15731 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) | SELECT "Date" FROM table_15731 WHERE "Record" = '12-17' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27452,
3341,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
121,
1499,
6,
96,
188,
17,
324,
26,
663... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27452,
3341,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
2122,
10794,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the highest total number? | CREATE TABLE table_14330096_4 (total_number INTEGER) | SELECT MAX(total_number) FROM table_14330096_4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25133,
5426,
4314,
834,
591,
41,
235,
1947,
834,
5525,
1152,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
792,
381,
58,
1,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
235,
1947,
834,
5525,
1152,
61,
21680,
953,
834,
25133,
5426,
4314,
834,
591,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many patients whose admission location is clinic referral/premature and diagnoses icd9 code is 431? | 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 prescription... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND diagnoses.icd9_code = "431" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
Which Points is the average one that has Drawn of 3, and a Played smaller than 22? | CREATE TABLE table_name_74 (points INTEGER, drawn VARCHAR, played VARCHAR) | SELECT AVG(points) FROM table_name_74 WHERE drawn = 3 AND played < 22 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
2700,
7,
3,
21342,
17966,
6,
6796,
584,
4280,
28027,
6,
1944,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
4564,
7,
19,
8,
1348,
80,
24,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
6796,
3274,
220,
3430,
1944,
3,
2,
1630,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the platelet count for congenital afibrinogenemia? | CREATE TABLE table_2949 (
"Condition" text,
"Prothrombin time" text,
"Partial thromboplastin time" text,
"Bleeding time" text,
"Platelet count" text
) | SELECT "Platelet count" FROM table_2949 WHERE "Condition" = 'Congenital afibrinogenemia' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
3647,
41,
96,
4302,
10569,
121,
1499,
6,
96,
3174,
8514,
51,
4517,
97,
121,
1499,
6,
96,
13212,
10646,
3,
8514,
6310,
23918,
77,
97,
121,
1499,
6,
96,
279,
40,
6958... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10146,
400,
17,
3476,
121,
21680,
953,
834,
3166,
3647,
549,
17444,
427,
96,
4302,
10569,
121,
3274,
3,
31,
4302,
729,
9538,
3,
9,
89,
23,
2160,
29,
5255,
11658,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the remark for Norway? | CREATE TABLE table_name_38 (
remarks VARCHAR,
country_of_origin VARCHAR
) | SELECT remarks FROM table_name_38 WHERE country_of_origin = "norway" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
21029,
584,
4280,
28027,
6,
684,
834,
858,
834,
32,
3380,
77,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
60,
3920,
21,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
21029,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
684,
834,
858,
834,
32,
3380,
77,
3274,
96,
29,
127,
1343,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the score of the replay at Millwall? | CREATE TABLE table_name_23 (
score VARCHAR,
tie_no VARCHAR,
home_team VARCHAR
) | SELECT score FROM table_name_23 WHERE tie_no = "replay" AND home_team = "millwall" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
2604,
584,
4280,
28027,
6,
6177,
834,
29,
32,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
6177,
834,
29,
32,
3274,
96,
60,
4895,
121,
3430,
234,
834,
11650,
3274,
96,
12415,
10279,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Team, when Game is 77? | CREATE TABLE table_76739 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"Record" text,
"Streak" text
) | SELECT "Team" FROM table_76739 WHERE "Game" = '77' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
3708,
3288,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
11500,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18699,
121,
21680,
953,
834,
940,
3708,
3288,
549,
17444,
427,
96,
23055,
121,
3274,
3,
31,
4013,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the 1st round when team 2 is olympique lyonnais (d2)? | CREATE TABLE table_name_67 (
team_2 VARCHAR
) | SELECT 1 AS st_round FROM table_name_67 WHERE team_2 = "olympique lyonnais (d2)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3708,
41,
372,
834,
357,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
209,
7,
17,
1751,
116,
372,
204,
19,
3,
32,
120,
1167,
1495,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
209,
6157,
3,
7,
17,
834,
7775,
21680,
953,
834,
4350,
834,
3708,
549,
17444,
427,
372,
834,
357,
3274,
96,
32,
120,
1167,
1495,
3,
120,
16835,
41,
26,
7318,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
With a Date of 22 July, what is the Winning team? | CREATE TABLE table_name_43 (winning_team VARCHAR, date VARCHAR) | SELECT winning_team FROM table_name_43 WHERE date = "22 july" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
8163,
834,
11650,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
438,
3,
9,
7678,
13,
1630,
1718,
6,
125,
19,
8,
549,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3447,
834,
11650,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
833,
3274,
96,
2884,
3,
2047,
120,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What are the dates of the latest logon of the students with family name 'Jaskolski' or 'Langosh', and count them by a bar chart, and I want to order in asc by the total number. | CREATE TABLE Courses (
course_id INTEGER,
author_id INTEGER,
subject_id INTEGER,
course_name VARCHAR(120),
course_description VARCHAR(255)
)
CREATE TABLE Subjects (
subject_id INTEGER,
subject_name VARCHAR(120)
)
CREATE TABLE Student_Tests_Taken (
registration_id INTEGER,
date_test... | SELECT date_of_latest_logon, COUNT(date_of_latest_logon) FROM Students WHERE family_name = "Jaskolski" OR family_name = "Langosh" ORDER BY COUNT(date_of_latest_logon) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8670,
7,
41,
503,
834,
23,
26,
3,
21342,
17966,
6,
2291,
834,
23,
26,
3,
21342,
17966,
6,
1426,
834,
23,
26,
3,
21342,
17966,
6,
503,
834,
4350,
584,
4280,
28027,
599,
15518,
201,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
833,
834,
858,
834,
521,
4377,
834,
2152,
106,
6,
2847,
17161,
599,
5522,
834,
858,
834,
521,
4377,
834,
2152,
106,
61,
21680,
4375,
549,
17444,
427,
384,
834,
4350,
3274,
96,
683,
9,
7,
11292,
4009,
121,
4674,
38... |
What school does John Crotty play for? | CREATE TABLE table_53254 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
) | SELECT "School/Club Team" FROM table_53254 WHERE "Player" = 'john crotty' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
1828,
591,
41,
96,
15800,
49,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
476,
2741,
7,
21,
12313,
121,
1499,
6,
96,
29364... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29364,
87,
254,
11158,
2271,
121,
21680,
953,
834,
4867,
1828,
591,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
27341,
3,
75,
14369,
63,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which player had an opponent of Blackburn Rovers? | CREATE TABLE table_24765815_1 (player VARCHAR, opponent VARCHAR) | SELECT player FROM table_24765815_1 WHERE opponent = "Blackburn Rovers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
3959,
3449,
1808,
834,
536,
41,
20846,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1959,
141,
46,
15264,
13,
1589,
7223,
21608,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1959,
21680,
953,
834,
2266,
3959,
3449,
1808,
834,
536,
549,
17444,
427,
15264,
3274,
96,
20096,
7223,
21608,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
tell me the sex of patient 021-111547. | CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellv... | SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '021-111547' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7757,
41,
7757,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2672,
4350,
1499,
6,
17166,
1499,
6,
2981,
20466,
29,
1499,
6,
2672,
10208,
715,
97,
6,
4845,
2916,
715,
97,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
1868,
5,
122,
3868,
21680,
1868,
549,
17444,
427,
1868,
5,
202,
1495,
12417,
3274,
3,
31,
632,
2658,
9169,
1808,
4177,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Give me a pie to show acc_percent from different all neutral. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT All_Neutral, ACC_Percent FROM basketball_match | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3819,
41,
1121,
834,
4309,
16,
17,
6,
1121,
1499,
6,
10450,
1499,
6,
3,
20100,
490,
6,
71,
89,
8027,
23,
257,
1499,
6,
695,
4046,
297,
490,
6,
7486,
4350,
1499,
6,
14542,
834,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
26288,
8792,
6,
3,
14775,
834,
12988,
3728,
21680,
8498,
834,
19515,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
give the number of patients whose diagnosis short title is wegener granulomatosis. | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Wegener's granulomatosis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
Where did the home team score 14.13 (97)? | CREATE TABLE table_10537 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_10537 WHERE "Home team score" = '14.13 (97)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
12869,
4118,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
12869,
4118,
549,
17444,
427,
96,
19040,
372,
2604,
121,
3274,
3,
31,
2534,
5,
2368,
41,
4327,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the score of the game on June 9? | CREATE TABLE table_name_75 (
score VARCHAR,
date VARCHAR
) | SELECT score FROM table_name_75 WHERE date = "june 9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
2604,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
13,
8,
467,
30,
1515,
668,
58,
1,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2604,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
833,
3274,
96,
6959,
15,
668,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the lowest pick number for a united states player picked before round 7? | CREATE TABLE table_name_91 (
pick INTEGER,
round VARCHAR,
nationality VARCHAR
) | SELECT MIN(pick) FROM table_name_91 WHERE round > 7 AND nationality = "united states" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
1432,
3,
21342,
17966,
6,
1751,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
7402,
1432,
381,
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,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
17967,
61,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
1751,
2490,
489,
3430,
1157,
485,
3274,
96,
15129,
15,
26,
2315,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which line offers Fast to Norwood Junction? | CREATE TABLE table_1612760_1 (line VARCHAR, service_pattern VARCHAR) | SELECT line FROM table_1612760_1 WHERE service_pattern = "Fast to Norwood Junction" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
22367,
3328,
834,
536,
41,
747,
584,
4280,
28027,
6,
313,
834,
4665,
2947,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
689,
704,
6805,
12,
7005,
2037,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
689,
21680,
953,
834,
2938,
22367,
3328,
834,
536,
549,
17444,
427,
313,
834,
4665,
2947,
3274,
96,
371,
9,
7,
17,
12,
7005,
2037,
29092,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the lowest rank that has paul biedermann as the name? | CREATE TABLE table_name_31 (rank INTEGER, name VARCHAR) | SELECT MIN(rank) FROM table_name_31 WHERE name = "paul biedermann" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
6254,
3,
21342,
17966,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
11003,
24,
65,
2576,
83,
3,
4232,
588,
2434,
38,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
6254,
61,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
564,
3274,
96,
102,
9,
83,
3,
4232,
588,
2434,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the company from Greece with author Aeschylus? | CREATE TABLE table_name_45 (
company VARCHAR,
country VARCHAR,
author VARCHAR
) | SELECT company FROM table_name_45 WHERE country = "greece" AND author = "aeschylus" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
349,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
6,
2291,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
349,
45,
12263,
28,
2291,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
349,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
684,
3274,
96,
3584,
15,
565,
121,
3430,
2291,
3274,
96,
9,
15,
7,
11971,
7650,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the score of game 4? | CREATE TABLE table_name_84 (
score VARCHAR,
game VARCHAR
) | SELECT score FROM table_name_84 WHERE game = 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
2604,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
13,
467,
314,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
467,
3274,
314,
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,... |
give me the number of patients whose drug code is gcsf480i? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "GCSF480I" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
What is the score of the United States, which has more than $24,542? | CREATE TABLE table_name_21 (
score VARCHAR,
country VARCHAR,
money___$__ VARCHAR
) | SELECT score FROM table_name_21 WHERE country = "united states" AND money___$__ > 24 OFFSET 542 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
2604,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
6,
540,
834,
834,
834,
3229,
834,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
684,
3274,
96,
15129,
15,
26,
2315,
121,
3430,
540,
834,
834,
834,
3229,
834,
834,
2490,
997,
3,
15316,
20788,
305,
4165,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the average for the player with BBM 5/85? | CREATE TABLE table_27922491_8 (
average VARCHAR,
bbm VARCHAR
) | SELECT average FROM table_27922491_8 WHERE bbm = "5/85" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
4508,
2266,
4729,
834,
927,
41,
1348,
584,
4280,
28027,
6,
3,
115,
115,
51,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
21,
8,
1959,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1348,
21680,
953,
834,
2555,
4508,
2266,
4729,
834,
927,
549,
17444,
427,
3,
115,
115,
51,
3274,
96,
755,
9483,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the dominant religion (2002) of the Mala Remeta settlement? | CREATE TABLE table_27890 (
"Settlement" text,
"Cyrillic Name Other Names" text,
"Type" text,
"Population (2011)" real,
"Largest ethnic group (2002)" text,
"Dominant religion (2002)" text
) | SELECT "Dominant religion (2002)" FROM table_27890 WHERE "Settlement" = 'Mala Remeta' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3940,
2394,
41,
96,
17175,
17,
3335,
121,
1499,
6,
96,
254,
63,
52,
173,
2176,
5570,
2502,
5570,
7,
121,
1499,
6,
96,
25160,
121,
1499,
6,
96,
27773,
7830,
25163,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4135,
1109,
288,
5562,
3,
31444,
121,
21680,
953,
834,
357,
3940,
2394,
549,
17444,
427,
96,
17175,
17,
3335,
121,
3274,
3,
31,
329,
138,
9,
419,
3493,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the title of the episode directed by Linda Mendoza? | CREATE TABLE table_25548505_1 (
title VARCHAR,
directed_by VARCHAR
) | SELECT title FROM table_25548505_1 WHERE directed_by = "Linda Mendoza" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
5062,
4433,
3076,
834,
536,
41,
2233,
584,
4280,
28027,
6,
6640,
834,
969,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2233,
13,
8,
5640,
6640... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2233,
21680,
953,
834,
1828,
5062,
4433,
3076,
834,
536,
549,
17444,
427,
6640,
834,
969,
3274,
96,
434,
77,
26,
9,
3137,
26,
13277,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many different descriptions are there for the flag that means decimal digit 2? | CREATE TABLE table_74438 (
"Flag Name" text,
"Transliteration" text,
"Meaning" text,
"Description" text,
"International Use" text
) | SELECT COUNT("Description") FROM table_74438 WHERE "Meaning" = 'Decimal Digit 2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4581,
591,
3747,
41,
96,
371,
5430,
5570,
121,
1499,
6,
96,
18474,
9842,
257,
121,
1499,
6,
96,
329,
15,
152,
53,
121,
1499,
6,
96,
2962,
11830,
121,
1499,
6,
96,
27490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2962,
11830,
8512,
21680,
953,
834,
4581,
591,
3747,
549,
17444,
427,
96,
329,
15,
152,
53,
121,
3274,
3,
31,
2962,
75,
23,
1982,
21951,
17,
204,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which surface had Yew-Ming Si as a partner? | CREATE TABLE table_name_83 (surface VARCHAR, partner VARCHAR) | SELECT surface FROM table_name_83 WHERE partner = "yew-ming si" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4591,
41,
26899,
584,
4280,
28027,
6,
2397,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1774,
141,
7271,
210,
18,
329,
53,
925,
38,
3,
9,
2397,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1774,
21680,
953,
834,
4350,
834,
4591,
549,
17444,
427,
2397,
3274,
96,
63,
15,
210,
18,
51,
53,
108,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who was the champion at berlin when the result was 2-0 with 100,000 fans in attendance? | CREATE TABLE table_name_65 (champion VARCHAR, result VARCHAR, venue VARCHAR, attendance VARCHAR) | SELECT champion FROM table_name_65 WHERE venue = "berlin" AND attendance = "100,000" AND result = "2-0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
17788,
12364,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6336,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
5669,
3274,
96,
27995,
121,
3430,
11364,
3274,
96,
2915,
6,
2313,
121,
3430,
741,
3274,
96,
19423,
121,
1,
-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.