NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What is the Country of the Rowers with a Rank larger than 4 and Time of 5:59.56? | CREATE TABLE table_name_26 (
country VARCHAR,
rank VARCHAR,
time VARCHAR
) | SELECT country FROM table_name_26 WHERE rank > 4 AND time = "5:59.56" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
684,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
6993,
13,
8,
11768,
277,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
684,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
11003,
2490,
314,
3430,
97,
3274,
96,
755,
10,
3390,
5,
4834,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
count the number of patients less than 58 years on neb route of drug administration. | 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,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "58" AND prescriptions.route = "NEB" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
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 position is the player who was on the Grizzlies from 1995-1996? | CREATE TABLE table_16494599_1 (
position VARCHAR,
years_for_grizzlies VARCHAR
) | SELECT position FROM table_16494599_1 WHERE years_for_grizzlies = "1995-1996" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
3647,
2128,
3264,
834,
536,
41,
1102,
584,
4280,
28027,
6,
203,
834,
1161,
834,
3496,
5271,
4664,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1102,
19,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1102,
21680,
953,
834,
2938,
3647,
2128,
3264,
834,
536,
549,
17444,
427,
203,
834,
1161,
834,
3496,
5271,
4664,
3274,
96,
2294,
3301,
4481,
4314,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the total amount of Top-25 having a Top-5 greater than 1? | CREATE TABLE table_15567 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
) | SELECT COUNT("Top-25") FROM table_15567 WHERE "Top-5" > '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20896,
3708,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
22481,
18,
17395,
490,
6,
96,
22481,
4536,
121,
490,
6,
96,
22481,
14855,
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,
2847,
17161,
599,
121,
22481,
14855,
8512,
21680,
953,
834,
20896,
3708,
549,
17444,
427,
96,
22481,
18,
17395,
2490,
3,
31,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which entrant has a Honda V6 engine and a Lotus 99t chassis? | CREATE TABLE table_67440 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) | SELECT "Entrant" FROM table_67440 WHERE "Engine" = 'honda v6' AND "Chassis" = 'lotus 99t' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
22335,
41,
96,
476,
2741,
121,
490,
6,
96,
16924,
3569,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
22512,
7,
121,
490,
3,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
16924,
3569,
121,
21680,
953,
834,
3708,
22335,
549,
17444,
427,
96,
31477,
121,
3274,
3,
31,
31782,
3,
208,
948,
31,
3430,
96,
3541,
6500,
7,
121,
3274,
3,
31,
3171,
302,
12185,
17,
31,
1,
-100,
-100,
-100,
... |
What date was the Home team fitzroy? | CREATE TABLE table_32734 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Date" FROM table_32734 WHERE "Home team" = 'fitzroy' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2555,
3710,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
519,
2555,
3710,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
89,
5615,
8170,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the average Attendance, when Venue is "A", and when Date is "5 January 2005"? | CREATE TABLE table_name_65 (attendance INTEGER, venue VARCHAR, date VARCHAR) | SELECT AVG(attendance) FROM table_name_65 WHERE venue = "a" AND date = "5 january 2005" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
15116,
663,
3,
21342,
17966,
6,
5669,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
22497,
663,
6,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
5669,
3274,
96,
9,
121,
3430,
833,
3274,
96,
755,
3,
7066,
76,
1208,
3105,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the score where the country is Japan? | CREATE TABLE table_name_95 (
score VARCHAR,
country VARCHAR
) | SELECT score FROM table_name_95 WHERE country = "japan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
2604,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
213,
8,
684,
19,
3411,
58,
1,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
684,
3274,
96,
1191,
2837,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total number of Total values associated with mroe than 3 silvers, more than 2 bronze, and a rank of 3? | CREATE TABLE table_name_53 (total VARCHAR, bronze VARCHAR, silver VARCHAR, rank VARCHAR) | SELECT COUNT(total) FROM table_name_53 WHERE silver > 3 AND rank = 3 AND bronze > 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
235,
1947,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
4294,
2490,
220,
3430,
11003,
3274,
220,
3430,
13467,
2490,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Total, when Silver is less than 65, when Bronze is greater than 4, and when Rank is '4'? | CREATE TABLE table_62341 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT "Total" FROM table_62341 WHERE "Silver" < '65' AND "Bronze" > '4' AND "Rank" = '4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
3710,
536,
41,
96,
22557,
121,
1499,
6,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3696,
1947,
121,
21680,
953,
834,
4056,
3710,
536,
549,
17444,
427,
96,
134,
173,
624,
121,
3,
2,
3,
31,
4122,
31,
3430,
96,
22780,
29,
776,
121,
2490,
3,
31,
591,
31,
3430,
96,
22557,
121,
3274,
3,
31,
59... |
How many tries for are there when 11 were won? | CREATE TABLE table_17625749_3 (
tries_for VARCHAR,
won VARCHAR
) | SELECT tries_for FROM table_17625749_3 WHERE won = "11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
4056,
3436,
3647,
834,
519,
41,
3,
9000,
834,
1161,
584,
4280,
28027,
6,
751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
3,
9000,
21,
33,
132,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
9000,
834,
1161,
21680,
953,
834,
2517,
4056,
3436,
3647,
834,
519,
549,
17444,
427,
751,
3274,
96,
2596,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Where is Norco HIgh School? | CREATE TABLE table_17111 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
) | SELECT "Hometown" FROM table_17111 WHERE "School" = 'Norco High School' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
15866,
41,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
29364,
121,
1499,
6,
96,
19040,
3540,
121,
1499,
6,
96,
9939,
7883,
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,
0,
0,
0... | [
3,
23143,
14196,
96,
19040,
3540,
121,
21680,
953,
834,
2517,
15866,
549,
17444,
427,
96,
29364,
121,
3274,
3,
31,
567,
127,
509,
1592,
1121,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the latest first year with 0 total medals and over 0 golds? | CREATE TABLE table_name_5 (
first INTEGER,
total VARCHAR,
gold VARCHAR
) | SELECT MAX(first) FROM table_name_5 WHERE total > 0 AND gold > 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
166,
3,
21342,
17966,
6,
792,
584,
4280,
28027,
6,
2045,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1251,
166,
215,
28,
3,
63... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
14672,
61,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
792,
2490,
3,
632,
3430,
2045,
2490,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of hire_date and the sum of employee_id bin hire_date by time, could you list by the y axis from low to high? | CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL v... | SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(EMPLOYEE_ID) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3248,
41,
301,
5618,
8015,
834,
4309,
7908,
1982,
599,
8525,
632,
201,
3,
13733,
26418,
834,
24604,
12200,
134,
3,
4331,
4059,
599,
2445,
201,
3,
16034,
16359,
834,
5911,
5596,
3,
4331... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
180,
6122,
599,
6037,
345,
5017,
476,
5080,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
454,
14132,
834,
308,
6048,
3,
2,
3,
31,
24898,
18,
5176,
16539,
31,
4674,
11300,
272,
476,
1... |
What is the average Top-10 when there were 17 cuts made with less than 0 wins? | CREATE TABLE table_name_93 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR) | SELECT AVG(top_10) FROM table_name_93 WHERE cuts_made = 17 AND wins < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4271,
41,
2916,
834,
1714,
3,
21342,
17966,
6,
8620,
834,
4725,
584,
4280,
28027,
6,
9204,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
2916,
834,
16968,
21680,
953,
834,
4350,
834,
4271,
549,
17444,
427,
8620,
834,
4725,
3274,
1003,
3430,
9204,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
During the year when Lansing's fare is $433.59, what is the fare to Kalamazoo? | CREATE TABLE table_1637981_7 (
kalamazoo__azo_ VARCHAR,
lansing__lan_ VARCHAR
) | SELECT kalamazoo__azo_ FROM table_1637981_7 WHERE lansing__lan_ = "$433.59" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4118,
3916,
536,
834,
940,
41,
3,
4766,
265,
17694,
32,
834,
834,
17694,
834,
584,
4280,
28027,
6,
3,
1618,
7,
53,
834,
834,
1618,
834,
584,
4280,
28027,
3,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
4766,
265,
17694,
32,
834,
834,
17694,
834,
21680,
953,
834,
2938,
4118,
3916,
536,
834,
940,
549,
17444,
427,
3,
1618,
7,
53,
834,
834,
1618,
834,
3274,
96,
3229,
4906,
9285,
1298,
121,
1,
-100,
-100,
-100,
-1... |
Plot date claim settled by the number of date claim settled as a line chart | CREATE TABLE Claims (
Claim_ID INTEGER,
Policy_ID INTEGER,
Date_Claim_Made DATE,
Date_Claim_Settled DATE,
Amount_Claimed INTEGER,
Amount_Settled INTEGER
)
CREATE TABLE Customers (
Customer_ID INTEGER,
Customer_Details VARCHAR(255)
)
CREATE TABLE Settlements (
Settlement_ID INTEGER,... | SELECT Date_Claim_Settled, COUNT(Date_Claim_Settled) FROM Settlements GROUP BY Date_Claim_Settled | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4779,
8345,
41,
7781,
603,
834,
4309,
3,
21342,
17966,
6,
7587,
834,
4309,
3,
21342,
17966,
6,
7678,
834,
254,
521,
603,
834,
329,
9,
221,
309,
6048,
6,
7678,
834,
254,
521,
603,
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,
7678,
834,
254,
521,
603,
834,
17175,
17,
1361,
6,
2847,
17161,
599,
308,
342,
834,
254,
521,
603,
834,
17175,
17,
1361,
61,
21680,
31044,
7,
350,
4630,
6880,
272,
476,
7678,
834,
254,
521,
603,
834,
17175,
17,
13... |
What is the airport with the IATA MEL? | CREATE TABLE table_17419587_1 (airport VARCHAR, iata VARCHAR) | SELECT COUNT(airport) FROM table_17419587_1 WHERE iata = "MEL" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27693,
22464,
4225,
834,
536,
41,
2256,
1493,
584,
4280,
28027,
6,
3,
17221,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3761,
28,
8,
27,
19282,
283,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
2256,
1493,
61,
21680,
953,
834,
27693,
22464,
4225,
834,
536,
549,
17444,
427,
3,
17221,
3274,
96,
329,
3577,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What kind of Live births has a Migration of -14 873? | CREATE TABLE table_name_85 (live_births VARCHAR, migration VARCHAR) | SELECT live_births FROM table_name_85 WHERE migration = "-14 873" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
7591,
834,
20663,
7,
584,
4280,
28027,
6,
11661,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
773,
13,
3306,
3879,
7,
65,
3,
9,
25450,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
619,
834,
20663,
7,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
11661,
3274,
96,
11590,
505,
4552,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the latest year when the venue is berlin, germany? | CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR) | SELECT MAX(year) FROM table_name_35 WHERE venue = "berlin, germany" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
1201,
3,
21342,
17966,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
1251,
215,
116,
8,
5669,
19,
3,
27995,
6,
13692,
63,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
1201,
61,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
5669,
3274,
96,
27995,
6,
13692,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the KINKA 1.2 when the pre-release is no and the developer is yes? | CREATE TABLE table_12232 (
"Version" text,
"KINKA Developer" text,
"KINKA Pre-release" text,
"KINKA 1.0" text,
"KINKA 1.2" text,
"KINKA 1.3" text
) | SELECT "KINKA 1.2" FROM table_12232 WHERE "KINKA Pre-release" = 'no' AND "KINKA Developer" = 'yes' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
23188,
41,
96,
5000,
1938,
121,
1499,
6,
96,
439,
3162,
12048,
17179,
121,
1499,
6,
96,
439,
3162,
12048,
1266,
18,
21019,
121,
1499,
6,
96,
439,
3162,
12048,
3,
1273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
439,
3162,
12048,
3,
10917,
121,
21680,
953,
834,
2122,
23188,
549,
17444,
427,
96,
439,
3162,
12048,
1266,
18,
21019,
121,
3274,
3,
31,
29,
32,
31,
3430,
96,
439,
3162,
12048,
17179,
121,
3274,
3,
31,
10070,
... |
What is the name of the 2008 club with Nadia Centoni Category:Articles with hCards? | CREATE TABLE table_name_69 (name VARCHAR) | SELECT 2008 AS _club FROM table_name_69 WHERE name = "nadia centoni category:articles with hcards" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
4350,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
2628,
1886,
28,
445,
17327,
18434,
106,
23,
17459,
10,
7754,
447,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2628,
6157,
3,
834,
13442,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
564,
3274,
96,
29,
17327,
3151,
106,
23,
3295,
10,
8372,
7,
28,
3,
107,
6043,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which athlete has a 35 km event? | CREATE TABLE table_name_74 (athlete VARCHAR, event VARCHAR) | SELECT athlete FROM table_name_74 WHERE event = "35 km" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
26170,
15,
584,
4280,
28027,
6,
605,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
17893,
65,
3,
9,
3097,
2280,
605,
58,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
17893,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
605,
3274,
96,
2469,
2280,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who had the high points when the score was w 112-110? | CREATE TABLE table_27902171_7 (high_points VARCHAR, score VARCHAR) | SELECT high_points FROM table_27902171_7 WHERE score = "W 112-110" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
2394,
2658,
4450,
834,
940,
41,
6739,
834,
2700,
7,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
141,
8,
306,
979,
116,
8,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
306,
834,
2700,
7,
21680,
953,
834,
2555,
2394,
2658,
4450,
834,
940,
549,
17444,
427,
2604,
3274,
96,
518,
850,
17234,
1714,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many episodes in the series are also episode 18 in the season? | CREATE TABLE table_26112 (
"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 COUNT("No. in series") FROM table_26112 WHERE "No. in season" = '18' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
2596,
357,
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,
939,
8512,
21680,
953,
834,
2688,
2596,
357,
549,
17444,
427,
96,
4168,
5,
16,
774,
121,
3274,
3,
31,
2606,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the height in Rouen? | CREATE TABLE table_name_23 (height_metres___ft VARCHAR, town VARCHAR) | SELECT height_metres___ft FROM table_name_23 WHERE town = "rouen" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
88,
2632,
834,
22404,
7,
834,
834,
834,
89,
17,
584,
4280,
28027,
6,
1511,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3902,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3902,
834,
22404,
7,
834,
834,
834,
89,
17,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
1511,
3274,
96,
3964,
35,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many high rebounds are in series 3-3? | CREATE TABLE table_22871316_11 (high_rebounds VARCHAR, series VARCHAR) | SELECT COUNT(high_rebounds) FROM table_22871316_11 WHERE series = "3-3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
4225,
2368,
2938,
834,
2596,
41,
6739,
834,
23768,
584,
4280,
28027,
6,
939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
306,
3,
23768,
33,
16,
939,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6739,
834,
23768,
61,
21680,
953,
834,
2884,
4225,
2368,
2938,
834,
2596,
549,
17444,
427,
939,
3274,
96,
519,
3486,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the Surface of the match with a Score of 2 6, 6 4, 7 6? | CREATE TABLE table_name_30 (
surface VARCHAR,
score VARCHAR
) | SELECT surface FROM table_name_30 WHERE score = "2–6, 6–4, 7–6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
1774,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
18884,
13,
8,
1588,
28,
3,
9,
17763,
13,
204,
85... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1774,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
2604,
3274,
96,
357,
104,
11071,
431,
104,
8525,
489,
104,
948,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what are the number of sites national amusements have ? | CREATE TABLE table_203_752 (
id number,
"rank" number,
"circuit" text,
"headquarters" text,
"screens" number,
"sites" number
) | SELECT "sites" FROM table_203_752 WHERE "circuit" = 'national amusements' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3072,
357,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
15357,
21560,
121,
1499,
6,
96,
3313,
19973,
7,
121,
1499,
6,
96,
8527,
7,
121,
381,
6,
96,
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,
3585,
7,
121,
21680,
953,
834,
23330,
834,
3072,
357,
549,
17444,
427,
96,
15357,
21560,
121,
3274,
3,
31,
16557,
183,
12431,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is 1st Leg, when Team #2 is "Emelec"? | CREATE TABLE table_name_76 (team__number2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_76 WHERE team__number2 = "emelec" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
11650,
834,
834,
5525,
1152,
357,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
209,
7,
17,
18978,
6,
116,
2271,
15493,
19,
96,
427,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
209,
6157,
3,
7,
17,
834,
5772,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
372,
834,
834,
5525,
1152,
357,
3274,
96,
15,
2341,
15,
75,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the total membership for the metropolitan area in the city of Manchester? | CREATE TABLE table_2273738_1 (
metropolitan_area INTEGER,
city VARCHAR
) | SELECT MAX(metropolitan_area) FROM table_2273738_1 WHERE city = "Manchester" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
27931,
3747,
834,
536,
41,
25233,
834,
498,
3,
21342,
17966,
6,
690,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
4757,
21,
8,
25233,
616,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
51,
15252,
21631,
29,
834,
498,
61,
21680,
953,
834,
2884,
27931,
3747,
834,
536,
549,
17444,
427,
690,
3274,
96,
7296,
13263,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many points did piritas klaipėda get? | CREATE TABLE table_16034882_4 (points VARCHAR, club VARCHAR) | SELECT points FROM table_16034882_4 WHERE club = "Piritas Klaipėda" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19129,
3710,
4060,
357,
834,
591,
41,
2700,
7,
584,
4280,
28027,
6,
1886,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
979,
410,
2816,
10694,
7,
3,
8142,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
979,
21680,
953,
834,
19129,
3710,
4060,
357,
834,
591,
549,
17444,
427,
1886,
3274,
96,
345,
23,
10694,
7,
9058,
23,
102,
2,
26,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which home team is on April 21? | CREATE TABLE table_49633 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
) | SELECT "Home Team" FROM table_49633 WHERE "Date" = 'april 21' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3647,
3891,
519,
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,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
19040,
2271,
121,
21680,
953,
834,
3647,
3891,
519,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
9,
2246,
40,
1401,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the least amount of new adherents per year | CREATE TABLE table_30290 (
"Religion" text,
"Births" real,
"Conversions" text,
"New adherents per year" real,
"Growth rate" text
) | SELECT MIN("New adherents per year") FROM table_30290 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1458,
23838,
41,
96,
1649,
2825,
23,
106,
121,
1499,
6,
96,
279,
23,
52,
189,
7,
121,
490,
6,
96,
4302,
8674,
7,
121,
1499,
6,
96,
6861,
13859,
29,
17,
7,
399,
215,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6861,
13859,
29,
17,
7,
399,
215,
8512,
21680,
953,
834,
1458,
23838,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the date for moonee valley | CREATE TABLE table_2062148_4 (
date VARCHAR,
venue VARCHAR
) | SELECT date FROM table_2062148_4 WHERE venue = "Moonee Valley" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
4056,
24748,
834,
591,
41,
833,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
833,
21,
8114,
15,
15,
10645,
1,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
1755,
4056,
24748,
834,
591,
549,
17444,
427,
5669,
3274,
96,
16334,
29,
15,
15,
3460,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is Melaine Walker's Rank? | CREATE TABLE table_name_78 (rank INTEGER, name VARCHAR) | SELECT SUM(rank) FROM table_name_78 WHERE name = "melaine walker" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3940,
41,
6254,
3,
21342,
17966,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
5049,
7043,
13521,
31,
7,
3,
22557,
58,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
6254,
61,
21680,
953,
834,
4350,
834,
3940,
549,
17444,
427,
564,
3274,
96,
2341,
7043,
3,
24063,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what was the name of the drug that since 2 months ago patient 005-73237 was last prescribed? | CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime... | SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-73237')) AND DATETIME(medication.drugstarttime) >= DATETIME(CUR... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2179,
9339,
41,
2179,
521,
9824,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
1543,
3585,
1499,
6,
9329,
1499,
6,
1543,
4914,
29,
715,
97,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7757,
5,
26,
13534,
4350,
21680,
7757,
549,
17444,
427,
7757,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15129,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
10061,
15878,
3734,
21... |
what is the total when bronze is 0 and the nation is hungary? | CREATE TABLE table_name_58 (
total INTEGER,
bronze VARCHAR,
nation VARCHAR
) | SELECT MAX(total) FROM table_name_58 WHERE bronze = 0 AND nation = "hungary" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
792,
3,
21342,
17966,
6,
13467,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
792,
116,
13467,
19,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
13467,
3274,
3,
632,
3430,
2982,
3274,
96,
6668,
1208,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Nominee Neal Baer had what result? | CREATE TABLE table_63638 (
"Year" real,
"Category" text,
"Nominee(s)" text,
"Episode" text,
"Result" text
) | SELECT "Result" FROM table_63638 WHERE "Nominee(s)" = 'neal baer' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3420,
3747,
41,
96,
476,
2741,
121,
490,
6,
96,
18610,
6066,
651,
121,
1499,
6,
96,
4168,
8695,
15,
599,
7,
61,
121,
1499,
6,
96,
427,
102,
159,
32,
221,
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,
20119,
121,
21680,
953,
834,
948,
3420,
3747,
549,
17444,
427,
96,
4168,
8695,
15,
599,
7,
61,
121,
3274,
3,
31,
29,
15,
138,
4698,
49,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many self pay insurance patients have had blood lab test? | 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 demographic ... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Self Pay" AND lab.label = "Blood" | [
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 is diagnoses short title and procedure short title of subject id 42963? | 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 diagnoses.short_title, procedures.short_title FROM diagnoses INNER JOIN procedures ON diagnoses.hadm_id = procedures.hadm_id WHERE diagnoses.subject_id = "42963" | [
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,
18730,
7,
5,
7,
14184,
834,
21869,
6,
4293,
5,
7,
14184,
834,
21869,
21680,
18730,
7,
3388,
18206,
3,
15355,
3162,
4293,
9191,
18730,
7,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444... |
What is the average number of students in East Lansing, MI? | CREATE TABLE table_name_70 (
founded INTEGER,
location VARCHAR
) | SELECT AVG(founded) FROM table_name_70 WHERE location = "east lansing, mi" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
5710,
3,
21342,
17966,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
381,
13,
481,
16,
1932,
9144,
7,
53,
6,
816... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
23329,
61,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
1128,
3274,
96,
11535,
3,
1618,
7,
53,
6,
1337,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How long was his fight against kim kyoung-suk? | CREATE TABLE table_name_27 (
time VARCHAR,
opponent VARCHAR
) | SELECT time FROM table_name_27 WHERE opponent = "kim kyoung-suk" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
97,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
307,
47,
112,
2870,
581,
3,
19754,
3,
3781,
32,
425,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
97,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
15264,
3274,
96,
19754,
3,
3781,
32,
425,
18,
7,
1598,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the highest total when bronze is less than 1 and gold more than 0? | CREATE TABLE table_name_65 (total INTEGER, bronze VARCHAR, gold VARCHAR) | SELECT MAX(total) FROM table_name_65 WHERE bronze < 1 AND gold > 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
235,
1947,
3,
21342,
17966,
6,
13467,
584,
4280,
28027,
6,
2045,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
792,
116,
13467,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
13467,
3,
2,
209,
3430,
2045,
2490,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What date has w 20-17 as the result, and 1-0 as the record? | CREATE TABLE table_name_32 (
date VARCHAR,
result VARCHAR,
record VARCHAR
) | SELECT date FROM table_name_32 WHERE result = "w 20-17" AND record = "1-0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
833,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
65,
3,
210,
460,
10794,
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,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
741,
3274,
96,
210,
460,
10794,
121,
3430,
1368,
3274,
96,
18930,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What round was the draft pick of tight end with an Overall larger than 21? | CREATE TABLE table_name_68 (
round VARCHAR,
position VARCHAR,
overall VARCHAR
) | SELECT COUNT(round) FROM table_name_68 WHERE position = "tight end" AND overall > 21 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3651,
41,
1751,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
1879,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1751,
47,
8,
6488,
1432,
13,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
7775,
61,
21680,
953,
834,
4350,
834,
3651,
549,
17444,
427,
1102,
3274,
96,
17,
2632,
414,
121,
3430,
1879,
2490,
1401,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Seasonhas a Score of 3 – 3 aet , 4–3 pen? | CREATE TABLE table_name_52 (season INTEGER, score VARCHAR) | SELECT MAX(season) FROM table_name_52 WHERE score = "3 – 3 aet , 4–3 pen" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
9476,
3,
21342,
17966,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
7960,
10293,
3,
9,
17763,
13,
220,
3,
104,
220,
3,
9,
15,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
9476,
61,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
2604,
3274,
96,
519,
3,
104,
220,
3,
9,
15,
17,
3,
6,
314,
104,
519,
4550,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the verb meaning when the part 2 is bl ot? | CREATE TABLE table_name_5 (
verb_meaning VARCHAR,
part_2 VARCHAR
) | SELECT verb_meaning FROM table_name_5 WHERE part_2 = "blēot" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
7375,
834,
27639,
584,
4280,
28027,
6,
294,
834,
357,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7375,
2530,
116,
8,
294,
204,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7375,
834,
27639,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
294,
834,
357,
3274,
96,
115,
40,
2,
32,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Score of the T3 Place Player? | CREATE TABLE table_name_33 (score VARCHAR, place VARCHAR) | SELECT score FROM table_name_33 WHERE place = "t3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
7,
9022,
584,
4280,
28027,
6,
286,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
17763,
13,
8,
332,
519,
3399,
12387,
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,
2604,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
286,
3274,
96,
17,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many courses does the department of Computer Information Systmes offer? | CREATE TABLE student (
stu_num number,
stu_lname text,
stu_fname text,
stu_init text,
stu_dob time,
stu_hrs number,
stu_class text,
stu_gpa number,
stu_transfer number,
dept_code text,
stu_phone text,
prof_num number
)
CREATE TABLE professor (
emp_num number,
dep... | SELECT COUNT(*) FROM department AS T1 JOIN course AS T2 ON T1.dept_code = T2.dept_code WHERE dept_name = "Computer Info. Systems" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1236,
41,
21341,
834,
5525,
381,
6,
21341,
834,
40,
4350,
1499,
6,
21341,
834,
89,
4350,
1499,
6,
21341,
834,
77,
155,
1499,
6,
21341,
834,
26,
32,
115,
97,
6,
21341,
834,
18745,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
3066,
6157,
332,
536,
3,
15355,
3162,
503,
6157,
332,
357,
9191,
332,
5411,
26,
6707,
834,
4978,
3274,
332,
4416,
26,
6707,
834,
4978,
549,
17444,
427,
20,
102,
17,
834,
4350,
3274... |
What is the nationality of ' Kevin Spacey ' ? | CREATE TABLE writer (
wid int,
gender text,
name text,
nationality text,
birth_city text,
birth_year int
)
CREATE TABLE cast (
id int,
msid int,
aid int,
role text
)
CREATE TABLE copyright (
id int,
msid int,
cid int
)
CREATE TABLE director (
did int,
gende... | SELECT nationality FROM writer WHERE name = 'Kevin Spacey' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4346,
41,
3,
12018,
16,
17,
6,
7285,
1499,
6,
564,
1499,
6,
1157,
485,
1499,
6,
3879,
834,
6726,
1499,
6,
3879,
834,
1201,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1157,
485,
21680,
4346,
549,
17444,
427,
564,
3274,
3,
31,
439,
15,
2494,
5844,
63,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Home team on October 17 with a Score of 1 2? | CREATE TABLE table_46247 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
) | SELECT "Home" FROM table_46247 WHERE "Score" = '1–2' AND "Date" = 'october 17' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
357,
4177,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
1649,
7621,
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,
19040,
121,
21680,
953,
834,
4448,
357,
4177,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
536,
104,
357,
31,
3430,
96,
308,
342,
121,
3274,
3,
31,
32,
75,
235,
1152,
1003,
31,
1,
-100,
-100,
-100,
-100... |
Count the number of services by services. | CREATE TABLE station (
id int,
network_name text,
services text,
local_authority text
)
CREATE TABLE weekly_weather (
station_id int,
day_of_week text,
high_temperature int,
low_temperature int,
precipitation real,
wind_speed_mph int
)
CREATE TABLE train (
id int,
train... | SELECT services, COUNT(services) FROM station GROUP BY services | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2478,
41,
3,
23,
26,
16,
17,
6,
1229,
834,
4350,
1499,
6,
364,
1499,
6,
415,
834,
17415,
485,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
5547,
834,
26809,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
364,
6,
2847,
17161,
599,
5114,
7,
61,
21680,
2478,
350,
4630,
6880,
272,
476,
364,
1,
-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 average money requested by all entrepreneurs? | CREATE TABLE entrepreneur (
Money_Requested INTEGER
) | SELECT AVG(Money_Requested) FROM entrepreneur | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3,
12290,
41,
8833,
834,
1649,
835,
6265,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
540,
6709,
57,
66,
9970,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
9168,
15,
63,
834,
1649,
835,
6265,
61,
21680,
3,
12290,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Show weight from each date of birth, and I want to rank in asc by the y axis please. | CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate re... | SELECT Date_of_Birth, Weight FROM people ORDER BY Weight | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
151,
41,
2449,
834,
4309,
16,
17,
6,
679,
226,
1499,
6,
5570,
1499,
6,
7678,
834,
858,
834,
279,
23,
52,
189,
1499,
6,
24231,
490,
6,
14230,
490,
3,
61,
3,
32102,
32103,
32102,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7678,
834,
858,
834,
279,
23,
52,
189,
6,
14230,
21680,
151,
4674,
11300,
272,
476,
14230,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who won the $109 no limit hold'em w/rebuys [turbo]? | CREATE TABLE table_22050544_3 (winner VARCHAR, event VARCHAR) | SELECT winner FROM table_22050544_3 WHERE event = "$109 No Limit Hold'em w/rebuys [Turbo]" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
3076,
3076,
3628,
834,
519,
41,
3757,
687,
584,
4280,
28027,
6,
605,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
751,
8,
1970,
4198,
150,
2006,
1520,
31,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4668,
21680,
953,
834,
2884,
3076,
3076,
3628,
834,
519,
549,
17444,
427,
605,
3274,
96,
3229,
17304,
465,
18185,
8470,
31,
15,
51,
3,
210,
87,
60,
14584,
7,
784,
382,
450,
115,
32,
908,
121,
1,
-100,
-100,
-100,
... |
What is the city of the Museum that houses the specimen discovered by Jane Solem? | CREATE TABLE table_name_28 (
museum VARCHAR,
discoverer VARCHAR
) | SELECT museum AS city FROM table_name_28 WHERE discoverer = "jane solem" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
7071,
584,
4280,
28027,
6,
2928,
49,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
690,
13,
8,
3312,
24,
4790,
8,
19622,
3883,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7071,
6157,
690,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
2928,
49,
3274,
96,
7066,
15,
4199,
51,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
how many patients whose ethnicity is hispanic or latino and diagnoses long title is sebaceous cyst? | 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 demographic.ethnicity = "HISPANIC OR LATINO" AND diagnoses.long_title = "Sebaceous cyst" | [
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... |
What were the goals when the caps were set at 48? | CREATE TABLE table_name_66 (
goals VARCHAR,
caps VARCHAR
) | SELECT goals FROM table_name_66 WHERE caps = 48 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
1766,
584,
4280,
28027,
6,
16753,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
130,
8,
1766,
116,
8,
16753,
130,
356,
44,
4678,
58,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1766,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
16753,
3274,
4678,
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... |
When fleetwood is the city/town how many sets of population are there? | CREATE TABLE table_23248420_1 (
population VARCHAR,
city_town VARCHAR
) | SELECT COUNT(population) FROM table_23248420_1 WHERE city_town = "Fleetwood" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23188,
3707,
21899,
834,
536,
41,
2074,
584,
4280,
28027,
6,
690,
834,
3540,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
9111,
2037,
19,
8,
690,
87,
3540,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
9791,
7830,
61,
21680,
953,
834,
23188,
3707,
21899,
834,
536,
549,
17444,
427,
690,
834,
3540,
3274,
96,
371,
109,
15,
17,
2037,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total having a bronze value over 1, silver under 5, and ranked 9? | CREATE TABLE table_name_55 (total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT total FROM table_name_55 WHERE bronze > 1 AND silver < 5 AND rank = "9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
235,
1947,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
792,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
13467,
2490,
209,
3430,
4294,
3,
2,
305,
3430,
11003,
3274,
96,
1298,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
With a 2011 of 0 what was the 2006 result? | CREATE TABLE table_50385 (
"Tournament" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
) | SELECT "2006" FROM table_50385 WHERE "2011" = '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
519,
4433,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
23948,
121,
1499,
6,
96,
21653,
121,
1499,
6,
96,
22594,
121,
1499,
6,
96,
21196,
121,
1499,
6,
96,
20615... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21196,
121,
21680,
953,
834,
1752,
519,
4433,
549,
17444,
427,
96,
13907,
121,
3274,
3,
31,
632,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who is the partner of the tournament on 6 July 1987? | CREATE TABLE table_5648 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
) | SELECT "Partner" FROM table_5648 WHERE "Date" = '6 july 1987' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
3707,
41,
96,
15767,
287,
15,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
13725,
687,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
13725,
687,
121,
21680,
953,
834,
4834,
3707,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
948,
3,
2047,
120,
12701,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Visualize the title and their total smallest ratings of the movie using a bar chart, and rank from high to low by the y-axis please. | CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
) | SELECT T2.title, SUM(MIN(T1.stars)) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.title ORDER BY SUM(MIN(T1.stars)) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
21662,
41,
3,
52,
4309,
16,
17,
6,
3,
51,
4309,
16,
17,
6,
4811,
16,
17,
6,
5773,
308,
342,
833,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
4543,
49,
41,
3,
52... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
21869,
6,
180,
6122,
599,
17684,
599,
382,
5411,
3624,
7,
61,
61,
21680,
21662,
6157,
332,
536,
3,
15355,
3162,
10743,
6157,
332,
357,
9191,
332,
5411,
51,
4309,
3274,
332,
4416,
51,
4309,
350,
4630,
6880... |
What was the connection speed when launched on 07.06.2005? | CREATE TABLE table_19246_1 (connection_speed VARCHAR, launch_date__ddmmyyyy_ VARCHAR) | SELECT connection_speed FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "07.06.2005" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19978,
4448,
834,
536,
41,
28102,
834,
9993,
584,
4280,
28027,
6,
3289,
834,
5522,
834,
834,
26,
26,
635,
63,
63,
63,
63,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2135,
834,
9993,
21680,
953,
834,
19978,
4448,
834,
536,
549,
17444,
427,
3289,
834,
5522,
834,
834,
26,
26,
635,
63,
63,
63,
63,
834,
3274,
96,
14681,
13821,
22594,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many joined Manchester University? | CREATE TABLE table_27740 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" text
) | SELECT "Joined" FROM table_27740 WHERE "Institution" = 'Manchester University' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4013,
2445,
41,
96,
1570,
17448,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
567,
3142,
4350,
121,
1499,
6,
96,
20100,
121,
490,
6,
96,
25160,
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,
683,
32,
630,
26,
121,
21680,
953,
834,
357,
4013,
2445,
549,
17444,
427,
96,
1570,
17448,
121,
3274,
3,
31,
7296,
13263,
636,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who had the play-by-play on espn with sideline reporter monica gonzalez? | CREATE TABLE table_21761 (
"Year" real,
"Network" text,
"Play-by-play" text,
"Color commentator" text,
"Sideline reporters" text,
"Pregame host" text,
"Pregame analysts" text
) | SELECT "Play-by-play" FROM table_21761 WHERE "Network" = 'ESPN' AND "Sideline reporters" = 'Monica Gonzalez' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2517,
4241,
41,
96,
476,
2741,
121,
490,
6,
96,
9688,
1981,
121,
1499,
6,
96,
15800,
18,
969,
18,
4895,
121,
1499,
6,
96,
3881,
322,
1670,
1016,
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,
15800,
18,
969,
18,
4895,
121,
21680,
953,
834,
357,
2517,
4241,
549,
17444,
427,
96,
9688,
1981,
121,
3274,
3,
31,
26130,
567,
31,
3430,
96,
134,
1599,
747,
19644,
121,
3274,
3,
31,
9168,
2617,
31403,
31,
1,
... |
Who played in Maryland the same year that Deep Run Valley LL Hilltown played in Pennsylvania? | CREATE TABLE table_17912 (
"Year" real,
"Delaware" text,
"Maryland" text,
"New Jersey" text,
"New York" text,
"Pennsylvania" text,
"Washington, D.C." text
) | SELECT "Maryland" FROM table_17912 WHERE "Pennsylvania" = 'Deep Run Valley LL Hilltown' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26593,
2122,
41,
96,
476,
2741,
121,
490,
6,
96,
2962,
4207,
355,
121,
1499,
6,
96,
7286,
28900,
121,
1499,
6,
96,
6861,
5092,
121,
1499,
6,
96,
6861,
1060,
121,
1499,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
7286,
28900,
121,
21680,
953,
834,
26593,
2122,
549,
17444,
427,
96,
345,
35,
29,
7,
63,
40,
16658,
9,
121,
3274,
3,
31,
2962,
15,
102,
7113,
3460,
3,
10376,
3588,
3540,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
which is the year that has a gross domestic product more than 8,114 but less than 21,783 in gross domestic product ? | CREATE TABLE table_201_7 (
id number,
"year" number,
"gross domestic product" number,
"us dollar exchange" text,
"inflation index\n(2000=100)" number,
"per capita income\n(as % of usa)" number
) | SELECT "year" FROM table_201_7 WHERE "gross domestic product" > 8114 AND "gross domestic product" < 21783 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22772,
834,
940,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
3844,
7,
7,
4422,
556,
121,
381,
6,
96,
302,
6816,
2509,
121,
1499,
6,
96,
77,
89,
6105,
5538,
2,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1201,
121,
21680,
953,
834,
22772,
834,
940,
549,
17444,
427,
96,
3844,
7,
7,
4422,
556,
121,
2490,
505,
18959,
3430,
96,
3844,
7,
7,
4422,
556,
121,
3,
2,
204,
2517,
4591,
1,
-100,
-100,
-100,
-100,
-100,
-... |
What is the ceremony year when Ganito Kami Noon, Paano Kayo Ngayon was the original title? | CREATE TABLE table_name_62 (year__ceremony_ VARCHAR, original_title VARCHAR) | SELECT year__ceremony_ FROM table_name_62 WHERE original_title = "ganito kami noon, paano kayo ngayon" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
1201,
834,
834,
2110,
15,
21208,
834,
584,
4280,
28027,
6,
926,
834,
21869,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7252,
215,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
215,
834,
834,
2110,
15,
21208,
834,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
926,
834,
21869,
3274,
96,
2565,
23,
235,
6511,
23,
18472,
6,
2576,
152,
32,
3,
18075,
32,
3,
1725,
9,
63,
106,
121,
1,
-10... |
Which Yards have Carries smaller than 23, and a Team of at chi, and an Average smaller than 8.5? | CREATE TABLE table_name_5 (yards INTEGER, average VARCHAR, carries VARCHAR, team VARCHAR) | SELECT MIN(yards) FROM table_name_5 WHERE carries < 23 AND team = "at chi" AND average < 8.5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
6636,
7,
3,
21342,
17966,
6,
1348,
584,
4280,
28027,
6,
3,
11078,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6636,
7,
61,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
3,
11078,
3,
2,
1902,
3430,
372,
3274,
96,
144,
3,
1436,
121,
3430,
1348,
3,
2,
3,
19253,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the name of the home team when the away team was Melbourne? | CREATE TABLE table_name_70 (
home_team VARCHAR,
away_team VARCHAR
) | SELECT home_team FROM table_name_70 WHERE away_team = "melbourne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
234,
834,
11650,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
234,
372,
116,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
234,
834,
11650,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
550,
834,
11650,
3274,
96,
2341,
26255,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and revenue , and group by attribute founder, and could you list in descending by the y axis? | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T2.Revenue DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7554,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
5312,
3396,
254,
26330,
434,
6,
15248,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
23954,
6,
332,
4416,
1649,
15098,
21680,
7554,
6157,
332,
536,
3,
15355,
3162,
15248,
7,
6157,
332,
357,
9191,
332,
5411,
7296,
76,
8717,
450,
49,
3274,
332,
4416,
22737,
350,
4630,
6880,
272,
476,
3,
191... |
Which Power has Location in metro manila | CREATE TABLE table_name_75 (
power__kw_ VARCHAR,
location VARCHAR
) | SELECT power__kw_ FROM table_name_75 WHERE location = "metro manila" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
579,
834,
834,
157,
210,
834,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
2621,
65,
10450,
16,
12810,
388,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
579,
834,
834,
157,
210,
834,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
1128,
3274,
96,
51,
15252,
388,
173,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
When Pat Robertson had 19%, and Bob Dole had 26%, what did George H.W. Bush have? | CREATE TABLE table_name_43 (george_hw_bush VARCHAR, pat_robertson VARCHAR, bob_dole VARCHAR) | SELECT george_hw_bush FROM table_name_43 WHERE pat_robertson = "19%" AND bob_dole = "26%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
397,
1677,
15,
834,
107,
210,
834,
3465,
107,
584,
4280,
28027,
6,
6234,
834,
5840,
49,
17,
739,
584,
4280,
28027,
6,
3,
17396,
834,
26,
32,
109,
584... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
873,
1677,
15,
834,
107,
210,
834,
3465,
107,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
6234,
834,
5840,
49,
17,
739,
3274,
96,
2294,
1454,
121,
3430,
3,
17396,
834,
26,
32,
109,
3274,
96,
357,
6370,
121,... |
What is the 2009 estimate population of the Northeast? | CREATE TABLE table_name_34 (population__2009_estimate_ VARCHAR, name VARCHAR) | SELECT population__2009_estimate_ FROM table_name_34 WHERE name = "northeast" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
9791,
7830,
834,
834,
16660,
834,
3340,
5058,
834,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2464,
7037,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2074,
834,
834,
16660,
834,
3340,
5058,
834,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
564,
3274,
96,
29,
127,
189,
11535,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
In what year was the score 204 (-6)? | CREATE TABLE table_name_3 (
year VARCHAR,
score VARCHAR
) | SELECT year FROM table_name_3 WHERE score = "204 (-6)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
215,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
125,
215,
47,
8,
2604,
3,
26363,
41,
18,
10938,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
215,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
2604,
3274,
96,
26363,
41,
18,
10938,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
I want the sum of Laps with Grid less than 11 for jean-pierre jarier | CREATE TABLE table_52399 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT SUM("Laps") FROM table_52399 WHERE "Grid" < '11' AND "Driver" = 'jean-pierre jarier' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2773,
3264,
41,
96,
20982,
52,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
3612,
102,
7,
8512,
21680,
953,
834,
755,
2773,
3264,
549,
17444,
427,
96,
13313,
26,
121,
3,
2,
3,
31,
2596,
31,
3430,
96,
20982,
52,
121,
3274,
3,
31,
26459,
18,
8343,
60,
2662,
6711,
31,
... |
What is the highest game that has January 5 as the date? | CREATE TABLE table_50989 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"Location Attendance" text,
"Record" text
) | SELECT MAX("Game") FROM table_50989 WHERE "Date" = 'january 5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
1298,
3914,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
23055,
8512,
21680,
953,
834,
1752,
1298,
3914,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
7066,
76,
1208,
305,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What form factor has capacities at 60/120/180/240? | CREATE TABLE table_name_65 (
form_factor VARCHAR,
capacities__gb_ VARCHAR
) | SELECT form_factor FROM table_name_65 WHERE capacities__gb_ = "60/120/180/240" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
607,
834,
17899,
584,
4280,
28027,
6,
23875,
834,
834,
122,
115,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
607,
2945,
65,
23875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
607,
834,
17899,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
23875,
834,
834,
122,
115,
834,
3274,
96,
3328,
87,
15518,
87,
20829,
87,
11944,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many times is the accession number xp_001843282? | CREATE TABLE table_28972 (
"Species" text,
"Common Name" text,
"Protein Name" text,
"Accession Number" text,
"NT Length" text,
"NT Identity" text,
"AA Length" text,
"AA Identity" text,
"E-Value" text
) | SELECT COUNT("Common Name") FROM table_28972 WHERE "Accession Number" = 'XP_001843282' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
4327,
357,
41,
96,
7727,
725,
121,
1499,
6,
96,
10205,
106,
5570,
121,
1499,
6,
96,
3174,
17,
2455,
5570,
121,
1499,
6,
96,
31679,
23,
106,
7720,
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,
10205,
106,
5570,
8512,
21680,
953,
834,
2577,
4327,
357,
549,
17444,
427,
96,
31679,
23,
106,
7720,
121,
3274,
3,
31,
4,
345,
834,
1206,
25987,
2668,
4613,
31,
1,
-100,
-100,
-100,
-100,
-100... |
Which rd. took place at Hockenheimring? | CREATE TABLE table_1137718_2 (
rd INTEGER,
location VARCHAR
) | SELECT MIN(rd) FROM table_1137718_2 WHERE location = "Hockenheimring" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20522,
4013,
2606,
834,
357,
41,
3,
52,
26,
3,
21342,
17966,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
3,
52,
26,
5,
808,
286,
44,
1546,
4695... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
52,
26,
61,
21680,
953,
834,
20522,
4013,
2606,
834,
357,
549,
17444,
427,
1128,
3274,
96,
4489,
4695,
3254,
1007,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find All_Home and the sum of School_ID , and group by attribute All_Home, and visualize them by a bar chart, and rank sum school id in ascending order please. | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT All_Home, SUM(School_ID) FROM basketball_match GROUP BY All_Home ORDER BY SUM(School_ID) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8498,
834,
19515,
41,
2271,
834,
4309,
16,
17,
6,
1121,
834,
4309,
16,
17,
6,
2271,
834,
23954,
1499,
6,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
1499,
6,
3,
14775,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
19040,
6,
180,
6122,
599,
29364,
834,
4309,
61,
21680,
8498,
834,
19515,
350,
4630,
6880,
272,
476,
432,
834,
19040,
4674,
11300,
272,
476,
180,
6122,
599,
29364,
834,
4309,
61,
1,
-100,
-100,
-100,
-100,
... |
among patients with item id 51466, how many of them were tested by lab for abnormal delta? | 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 lab.itemid = "51466" AND lab.flag = "delta" | [
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 is the name of award when the awardee(s) is elangbam natasha? | CREATE TABLE table_28186 (
"Name of Award" text,
"Name of Film" text,
"Language" text,
"Awardee(s)" text,
"Cash Prize" text
) | SELECT "Name of Award" FROM table_28186 WHERE "Awardee(s)" = 'Elangbam Natasha' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
25398,
41,
96,
23954,
13,
3677,
121,
1499,
6,
96,
23954,
13,
3417,
121,
1499,
6,
96,
434,
1468,
76,
545,
121,
1499,
6,
96,
188,
2239,
15,
15,
599,
7,
61,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23954,
13,
3677,
121,
21680,
953,
834,
2577,
25398,
549,
17444,
427,
96,
188,
2239,
15,
15,
599,
7,
61,
121,
3274,
3,
31,
427,
4612,
115,
265,
9267,
3198,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When was Windy Hill used as a venue? | CREATE TABLE table_name_90 (
date VARCHAR,
venue VARCHAR
) | SELECT date FROM table_name_90 WHERE venue = "windy hill" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2394,
41,
833,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
47,
5634,
63,
3588,
261,
38,
3,
9,
5669,
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,
833,
21680,
953,
834,
4350,
834,
2394,
549,
17444,
427,
5669,
3274,
96,
5165,
63,
9956,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
WHAT IS THE HIGHEST AGAINST WITH LOSSES SMALLER THAN 17, DRAWS LARGER THAN 1? | CREATE TABLE table_name_35 (against INTEGER, losses VARCHAR, draws VARCHAR) | SELECT MAX(against) FROM table_name_35 WHERE losses < 17 AND draws > 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
9,
16720,
7,
17,
3,
21342,
17966,
6,
8467,
584,
4280,
28027,
6,
14924,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
21665,
6827,
1853,
27722,
603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
9,
16720,
7,
17,
61,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
8467,
3,
2,
1003,
3430,
14924,
2490,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many films are titled "Dans la Ville Blanche"? | CREATE TABLE table_22034853_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | SELECT COUNT(film_title_used_in_nomination) FROM table_22034853_1 WHERE original_title = "Dans la ville blanche" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
23330,
3707,
4867,
834,
536,
41,
9988,
834,
21869,
834,
10064,
834,
77,
834,
29,
32,
14484,
584,
4280,
28027,
6,
926,
834,
21869,
584,
4280,
28027,
61,
3,
32102,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
9988,
834,
21869,
834,
10064,
834,
77,
834,
29,
32,
14484,
61,
21680,
953,
834,
357,
23330,
3707,
4867,
834,
536,
549,
17444,
427,
926,
834,
21869,
3274,
96,
308,
3247,
50,
3,
1420,
21403,
121,
1,
... |
How many people graduated from San Francisco State University in 2004? | CREATE TABLE enrollments (
campus number,
year number,
totalenrollment_ay number,
fte_ay number
)
CREATE TABLE campuses (
id number,
campus text,
location text,
county text,
year number
)
CREATE TABLE degrees (
year number,
campus number,
degrees number
)
CREATE TABLE ... | SELECT SUM(t1.graduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = "San Francisco State University" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
17938,
7,
41,
4730,
381,
6,
215,
381,
6,
792,
35,
4046,
297,
834,
9,
63,
381,
6,
3,
89,
17,
15,
834,
9,
63,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
257... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17,
5411,
17079,
61,
21680,
7998,
834,
35,
4046,
4128,
6157,
3,
17,
536,
3,
15355,
3162,
25784,
6157,
3,
17,
357,
9191,
3,
17,
5411,
25532,
3274,
3,
17,
4416,
23,
26,
549,
17444,
427,
3,
17,
5411... |
With a 1992 result of A, and at the U.S. Open Tournament, what is the 1989 result? | CREATE TABLE table_8779 (
"Tournament" text,
"1987" text,
"1988" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"Career SR" text
) | SELECT "1989" FROM table_8779 WHERE "1992" = 'a' AND "Tournament" = 'u.s. open' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4225,
4440,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
2294,
4225,
121,
1499,
6,
96,
2294,
4060,
121,
1499,
6,
96,
2294,
3914,
121,
1499,
6,
96,
2294,
2394,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
2294,
3914,
121,
21680,
953,
834,
4225,
4440,
549,
17444,
427,
96,
19479,
357,
121,
3274,
3,
31,
9,
31,
3430,
96,
382,
1211,
20205,
17,
121,
3274,
3,
31,
76,
5,
7,
5,
539,
31,
1,
-100,
-100,
-100,
-100,
-1... |
What is the total of all YARDS with 0 SACK and less than 14 P/KO RET? | CREATE TABLE table_name_31 (
yards VARCHAR,
sack VARCHAR,
p_ko_ret VARCHAR
) | SELECT COUNT(yards) FROM table_name_31 WHERE sack = 0 AND p_ko_ret < 14 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
6460,
584,
4280,
28027,
6,
3,
15525,
584,
4280,
28027,
6,
3,
102,
834,
157,
32,
834,
60,
17,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
6636,
7,
61,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
3,
15525,
3274,
3,
632,
3430,
3,
102,
834,
157,
32,
834,
60,
17,
3,
2,
968,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the reserved for the constituency of 192? | CREATE TABLE table_name_34 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_34 WHERE constituency_number = "192" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
60,
3473,
15,
26,
834,
1161,
834,
834,
834,
7,
75,
834,
834,
834,
7,
17,
834,
834,
29,
782,
834,
584,
4280,
28027,
6,
6439,
4392,
834,
5525,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14040,
834,
1161,
834,
834,
834,
7,
75,
834,
834,
834,
7,
17,
834,
834,
29,
782,
834,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
6439,
4392,
834,
5525,
1152,
3274,
96,
19978,
121,
1,
-100,
-100,
-100,
-100... |
Show all game ids and the number of hours played. | CREATE TABLE Plays_games (gameid VARCHAR, hours_played INTEGER) | SELECT gameid, SUM(hours_played) FROM Plays_games GROUP BY gameid | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2911,
7,
834,
7261,
7,
41,
7261,
23,
26,
584,
4280,
28027,
6,
716,
834,
4895,
15,
26,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
3111,
66,
467,
3,
23,
26,
7,
11,
8,
381,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
467,
23,
26,
6,
180,
6122,
599,
5842,
7,
834,
4895,
15,
26,
61,
21680,
2911,
7,
834,
7261,
7,
350,
4630,
6880,
272,
476,
467,
23,
26,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the Round din Ullevaal? | CREATE TABLE table_name_23 (
round VARCHAR,
venue VARCHAR
) | SELECT round FROM table_name_23 WHERE venue = "ullevaal" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
1751,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
9609,
176,
412,
195,
4721,
138,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1751,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
5669,
3274,
96,
83,
10912,
9,
138,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
When Estudiantes was team #2, what was their agg. value? | CREATE TABLE table_name_28 (agg VARCHAR, team__number2 VARCHAR) | SELECT agg FROM table_name_28 WHERE team__number2 = "estudiantes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
9,
4102,
584,
4280,
28027,
6,
372,
834,
834,
5525,
1152,
357,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
7545,
5291,
8386,
47,
372,
15493,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
9,
4102,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
372,
834,
834,
5525,
1152,
357,
3274,
96,
222,
5291,
8386,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which NFL Recap had a Record of 1–3? | CREATE TABLE table_name_1 (nfl_recap VARCHAR, record VARCHAR) | SELECT nfl_recap FROM table_name_1 WHERE record = "1–3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
29,
89,
40,
834,
60,
4010,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
10439,
419,
4010,
141,
3,
9,
11392,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
29,
89,
40,
834,
60,
4010,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
1368,
3274,
96,
536,
104,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who has the high assists when April 26 is the date? | CREATE TABLE table_23285761_11 (
high_assists VARCHAR,
date VARCHAR
) | SELECT high_assists FROM table_23285761_11 WHERE date = "April 26" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2577,
3436,
4241,
834,
2596,
41,
306,
834,
6500,
7,
17,
7,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
65,
8,
306,
13041,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
306,
834,
6500,
7,
17,
7,
21680,
953,
834,
2773,
2577,
3436,
4241,
834,
2596,
549,
17444,
427,
833,
3274,
96,
23323,
2208,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who won the gold when Jules van Dyk Belgium won bronze? | CREATE TABLE table_name_13 (gold VARCHAR, bronze VARCHAR) | SELECT gold FROM table_name_13 WHERE bronze = "jules van dyk belgium" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
14910,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
751,
8,
2045,
116,
3736,
965,
4049,
12991,
157,
15575,
751,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2045,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
13467,
3274,
96,
2047,
965,
4049,
3,
26,
63,
157,
36,
40,
122,
2552,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the score of the Kings game when they had a record of 8–11–1? | CREATE TABLE table_name_27 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_27 WHERE record = "8–11–1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
7,
9022,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
13,
8,
13913,
467,
116,
79,
141,
3,
9,
136... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2555,
549,
17444,
427,
1368,
3274,
96,
927,
104,
2596,
104,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the fewest amount of laps when the grid was larger than 1 and 42:31.153? | CREATE TABLE table_name_45 (
laps INTEGER,
time VARCHAR,
grid VARCHAR
) | SELECT MIN(laps) FROM table_name_45 WHERE time = "42:31.153" AND grid > 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
14941,
7,
3,
21342,
17966,
6,
97,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
360,
222,
866,
13,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
8478,
7,
61,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
97,
3274,
96,
4165,
10,
3341,
5,
27025,
121,
3430,
8634,
2490,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.