NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What net assets at end of year also has $736,132 as the increase in net assets? | CREATE TABLE table_63916 (
"Year" text,
"Total Support and Revenue" text,
"Total Expenses" text,
"Increase in Net Assets" text,
"Net Assets at End of Year" text
) | SELECT "Net Assets at End of Year" FROM table_63916 WHERE "Increase in Net Assets" = '$736,132' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3288,
2938,
41,
96,
476,
2741,
121,
1499,
6,
96,
3696,
1947,
4224,
11,
19764,
121,
1499,
6,
96,
3696,
1947,
3,
12882,
5167,
7,
121,
1499,
6,
96,
1570,
24706,
16,
654... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9688,
18202,
7,
44,
3720,
13,
2929,
121,
21680,
953,
834,
948,
3288,
2938,
549,
17444,
427,
96,
1570,
24706,
16,
6540,
18202,
7,
121,
3274,
3,
31,
3229,
4552,
11071,
23757,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
Name the total number of years for quarterfinals | CREATE TABLE table_name_35 (
year VARCHAR,
playoffs VARCHAR
) | SELECT COUNT(year) FROM table_name_35 WHERE playoffs = "quarterfinals" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
215,
584,
4280,
28027,
6,
15289,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
792,
381,
13,
203,
21,
2893,
12406,
7,
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,
2847,
17161,
599,
1201,
61,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
15289,
7,
3274,
96,
19973,
12406,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
If the Away team score was 14.10 (94), which Date was that? | CREATE TABLE table_54571 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Date" FROM table_54571 WHERE "Away team score" = '14.10 (94)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2128,
4450,
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,
755,
2128,
4450,
549,
17444,
427,
96,
188,
1343,
372,
2604,
121,
3274,
3,
31,
2534,
5,
1714,
14156,
7256,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the McCain vote percentage in Jerome county? | CREATE TABLE table_73228 (
"County" text,
"Obama%" text,
"Obama#" real,
"McCain%" text,
"McCain#" real
) | SELECT "McCain%" FROM table_73228 WHERE "County" = 'Jerome' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
357,
2577,
41,
96,
10628,
63,
121,
1499,
6,
96,
667,
115,
265,
9,
1454,
121,
1499,
6,
96,
667,
115,
265,
9,
4663,
121,
490,
6,
96,
329,
75,
254,
9,
77,
1454,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
329,
75,
254,
9,
77,
1454,
121,
21680,
953,
834,
4552,
357,
2577,
549,
17444,
427,
96,
10628,
63,
121,
3274,
3,
31,
7851,
11956,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
how many patients whose primary disease is liver transplant and admission year is less than 2170? | 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 WHERE demographic.diagnosis = "LIVER TRANSPLANT" AND demographic.admityear < "2170" | [
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,
549,
17444,
427,
14798,
5,
25930,
4844,
159,
3274,
96,
8159,
16174,
26585,
5329,
9156,
121,
3430,
14798,
5,
20466,
17,
1201,
... |
Result of l 17–20 had what attendance? | CREATE TABLE table_name_31 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_31 WHERE result = "l 17–20" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
15116,
663,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
3,
20119,
13,
3,
40,
1003,
104,
1755,
141,
125,
11364,
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,
11364,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
741,
3274,
96,
40,
1003,
104,
1755,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who was the entrant for Louis Chiron with a Chassis of T26C? | CREATE TABLE table_name_95 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_95 WHERE driver = "louis chiron" AND chassis = "t26c" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
295,
3569,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
6,
22836,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
3,
295,
3569,
21,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
295,
3569,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
2535,
3274,
96,
40,
1063,
159,
3,
11727,
106,
121,
3430,
22836,
3274,
96,
17,
2688,
75,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which 1998 tournament had a performance of 3R in 2007? | CREATE TABLE table_54101 (
"Tournament" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"Career SR" text
) | SELECT "1998" FROM table_54101 WHERE "2007" = '3r' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5062,
19621,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
2294,
3916,
121,
1499,
6,
96,
2294,
3264,
121,
1499,
6,
96,
13527,
121,
1499,
6,
96,
23658,
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,
2294,
3916,
121,
21680,
953,
834,
5062,
19621,
549,
17444,
427,
96,
20615,
121,
3274,
3,
31,
519,
52,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the total number of communities with a target date of 2015 ? | CREATE TABLE table_204_321 (
id number,
"community" text,
"currency" text,
"region" text,
"target date" number,
"notes" text
) | SELECT COUNT("community") FROM table_204_321 WHERE "target date" = 2015 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
519,
2658,
41,
3,
23,
26,
381,
6,
96,
18782,
485,
121,
1499,
6,
96,
3663,
52,
4392,
121,
1499,
6,
96,
18145,
121,
1499,
6,
96,
24315,
833,
121,
381,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
18782,
485,
8512,
21680,
953,
834,
26363,
834,
519,
2658,
549,
17444,
427,
96,
24315,
833,
121,
3274,
1230,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the different card types, and how many transactions have been made with each Visualize by bar chart, could you order bars in asc order? | CREATE TABLE Financial_Transactions (
transaction_id INTEGER,
previous_transaction_id INTEGER,
account_id INTEGER,
card_id INTEGER,
transaction_type VARCHAR(15),
transaction_date DATETIME,
transaction_amount DOUBLE,
transaction_comment VARCHAR(255),
other_transaction_details VARCHAR(... | SELECT card_type_code, COUNT(*) FROM Financial_Transactions AS T1 JOIN Customers_Cards AS T2 ON T1.card_id = T2.card_id GROUP BY T2.card_type_code ORDER BY card_type_code | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5421,
834,
18474,
4787,
7,
41,
5878,
834,
23,
26,
3,
21342,
17966,
6,
1767,
834,
7031,
4787,
834,
23,
26,
3,
21342,
17966,
6,
905,
834,
23,
26,
3,
21342,
17966,
6,
895,
834,
23,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
895,
834,
6137,
834,
4978,
6,
2847,
17161,
599,
1935,
61,
21680,
5421,
834,
18474,
4787,
7,
6157,
332,
536,
3,
15355,
3162,
16423,
834,
6936,
26,
7,
6157,
332,
357,
9191,
332,
5411,
6043,
834,
23,
26,
3274,
332,
4... |
What place in Lon Hinkle in? | CREATE TABLE table_name_18 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_18 WHERE player = "lon hinkle" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
4687,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
286,
16,
301,
106,
9515,
9434,
16,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
286,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
1959,
3274,
96,
40,
106,
3811,
9434,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which record has a date of January 29? | CREATE TABLE table_name_35 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_35 WHERE date = "january 29" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
60,
7621,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1368,
65,
3,
9,
833,
13,
1762,
2838,
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,
1368,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
833,
3274,
96,
7066,
76,
1208,
2838,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the 2nd ratio of 1996-2002 Dodge Viper? | CREATE TABLE table_1310499_1 (application VARCHAR) | SELECT 2 AS nd FROM table_1310499_1 WHERE application = "1996-2002 Dodge Viper" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
15442,
3264,
834,
536,
41,
12251,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
204,
727,
5688,
13,
6911,
18,
24898,
15153,
1813,
883,
58,
1,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
204,
6157,
3,
727,
21680,
953,
834,
2368,
15442,
3264,
834,
536,
549,
17444,
427,
917,
3274,
96,
2294,
4314,
18,
24898,
15153,
1813,
883,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is Venue, when Extra is Pentathlon? | CREATE TABLE table_name_39 (venue VARCHAR, extra VARCHAR) | SELECT venue FROM table_name_39 WHERE extra = "pentathlon" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
15098,
584,
4280,
28027,
6,
996,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
29940,
6,
116,
8505,
19,
4511,
17,
21774,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
996,
3274,
96,
102,
295,
21774,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Compare the prices of furnitures which some companies are manufacturing by each name using a bar chart, display in desc by the Name. | CREATE TABLE furniture_manufacte (
Manufacturer_ID int,
Furniture_ID int,
Price_in_Dollar real
)
CREATE TABLE furniture (
Furniture_ID int,
Name text,
Num_of_Component int,
Market_Rate real
)
CREATE TABLE manufacturer (
Manufacturer_ID int,
Open_Year real,
Name text,
Num_of... | SELECT Name, Price_in_Dollar FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID ORDER BY Name DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1991,
834,
348,
76,
8717,
15,
41,
15248,
834,
4309,
16,
17,
6,
9724,
834,
4309,
16,
17,
6,
5312,
834,
77,
834,
4135,
195,
291,
490,
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,
5570,
6,
5312,
834,
77,
834,
4135,
195,
291,
21680,
1991,
6157,
3,
17,
536,
3,
15355,
3162,
1991,
834,
348,
76,
8717,
15,
6157,
3,
17,
357,
9191,
3,
17,
5411,
371,
450,
29,
23,
2693,
834,
4309,
3274,
3,
17,
44... |
What is the name of the episode written by David Matthews? | CREATE TABLE table_28037619_2 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_28037619_2 WHERE written_by = "David Matthews" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17518,
519,
3959,
2294,
834,
357,
41,
21869,
584,
4280,
28027,
6,
1545,
834,
969,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
5640,
1545,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2233,
21680,
953,
834,
17518,
519,
3959,
2294,
834,
357,
549,
17444,
427,
1545,
834,
969,
3274,
96,
308,
9,
6961,
9771,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Another She's Label? | CREATE TABLE table_60264 (
"Album#" text,
"English Title" text,
"Chinese (Traditional)" text,
"Chinese (Simplified)" text,
"Release date" text,
"Label" text
) | SELECT "Label" FROM table_60264 WHERE "English Title" = 'another she' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
26755,
41,
96,
25691,
440,
4663,
121,
1499,
6,
96,
26749,
11029,
121,
1499,
6,
96,
3541,
4477,
15,
41,
9402,
10569,
138,
61,
121,
1499,
6,
96,
3541,
4477,
15,
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,
1... | [
3,
23143,
14196,
96,
434,
10333,
121,
21680,
953,
834,
3328,
26755,
549,
17444,
427,
96,
26749,
11029,
121,
3274,
3,
31,
152,
9269,
255,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which customer is associated with the latest policy? | CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (start_date INTEGER); CREATE TABLE policies (customer_id VARCHAR, start_date INTEGER) | SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.start_date = (SELECT MAX(start_date) FROM policies) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
722,
41,
25697,
49,
834,
221,
5756,
7,
584,
4280,
28027,
6,
884,
834,
23,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
3101,
41,
10208,
834,
5522,
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,
17,
4416,
25697,
49,
834,
221,
5756,
7,
21680,
3101,
6157,
3,
17,
536,
3,
15355,
3162,
722,
6157,
3,
17,
357,
9191,
3,
17,
5411,
25697,
49,
834,
23,
26,
3274,
3,
17,
4416,
25697,
49,
834,
23,
26,
549,
17444... |
Name the Losing BP of Newport Saracens RFC and has a Lost of 19. | CREATE TABLE table_name_14 (
losing_bp VARCHAR,
lost VARCHAR,
club VARCHAR
) | SELECT losing_bp FROM table_name_14 WHERE lost = "19" AND club = "newport saracens rfc" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
5489,
834,
115,
102,
584,
4280,
28027,
6,
1513,
584,
4280,
28027,
6,
1886,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
3144,
53,
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,
5489,
834,
115,
102,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
1513,
3274,
96,
2294,
121,
3430,
1886,
3274,
96,
5534,
1493,
3,
7,
9,
3738,
35,
7,
3,
52,
89,
75,
121,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
Which policy type has the most records in the database? | CREATE TABLE customers (
customer_id number,
customer_name text
)
CREATE TABLE settlements (
settlement_id number,
claim_id number,
effective_date time,
settlement_amount number
)
CREATE TABLE services (
service_id number,
service_name text
)
CREATE TABLE customers_policies (
cust... | SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
722,
41,
884,
834,
23,
26,
381,
6,
884,
834,
4350,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
7025,
7,
41,
7025,
834,
23,
26,
381,
6,
1988,
834,
23,
26,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1291,
834,
6137,
834,
4978,
21680,
347,
834,
3003,
6267,
7,
350,
4630,
6880,
272,
476,
1291,
834,
6137,
834,
4978,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
... |
has patient 030-53416 been treated since 2105 with a ct scan - spine procedure? | CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE m... | SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-53416')) AND treatment.treatmentname = 'ct scan - spine' AND STRFTIME('%... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
583,
41,
583,
23,
26,
381,
6,
775,
12417,
1499,
6,
1868,
15878,
3734,
21545,
23,
26,
381,
6,
605,
6137,
1499,
6,
605,
23,
26,
381,
6,
1567,
715,
97,
6,
583,
381,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
2490,
3,
632,
21680,
1058,
549,
17444,
427,
1058,
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,... |
What is the score when the tie number is 4? | CREATE TABLE table_name_47 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_47 WHERE tie_no = "4" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
7,
9022,
584,
4280,
28027,
6,
6177,
834,
29,
32,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
116,
8,
6177,
381,
19,
314,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4177,
549,
17444,
427,
6177,
834,
29,
32,
3274,
96,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which winning song was sung by aku tetap milikmu? | CREATE TABLE table_name_65 (
English VARCHAR,
winning_song VARCHAR
) | SELECT WINNING_SONG(English AS Title) FROM table_name_65 WHERE winning_song = "aku tetap milikmu" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
1566,
584,
4280,
28027,
6,
3447,
834,
7,
2444,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
3447,
2324,
47,
3,
7,
425,
57,
3,
16296,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21394,
567,
2365,
834,
134,
15628,
599,
26749,
6157,
11029,
61,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
3447,
834,
7,
2444,
3274,
96,
16296,
3,
17,
15,
8873,
3,
5952,
5848,
76,
121,
1,
-100,
-100,
-1... |
Name the highh points for december 29 | CREATE TABLE table_21605 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "High points" FROM table_21605 WHERE "Date" = 'December 29' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27184,
3076,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
3,
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,
21417,
979,
121,
21680,
953,
834,
27184,
3076,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
29835,
2838,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the control for the school accredited by the higher learning commission ( nca ), ccne? | CREATE TABLE table_2076522_2 (control VARCHAR, accreditation VARCHAR) | SELECT control FROM table_2076522_2 WHERE accreditation = "The Higher Learning Commission ( NCA ), CCNE" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26426,
4122,
2884,
834,
357,
41,
15247,
584,
4280,
28027,
6,
24513,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
610,
21,
8,
496,
16412,
57,
8,
1146,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
610,
21680,
953,
834,
26426,
4122,
2884,
834,
357,
549,
17444,
427,
24513,
3274,
96,
634,
16808,
6630,
3527,
41,
9187,
188,
3,
201,
3,
2823,
4171,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many games were numbered 13? | CREATE TABLE table_27700530_9 (
team VARCHAR,
game VARCHAR
) | SELECT COUNT(team) FROM table_27700530_9 WHERE game = 13 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
9295,
26918,
834,
1298,
41,
372,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1031,
130,
3,
22412,
1179,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
11650,
61,
21680,
953,
834,
2555,
9295,
26918,
834,
1298,
549,
17444,
427,
467,
3274,
1179,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Where does the customer with the first name Linda live? And what is her email? | CREATE TABLE address (
address VARCHAR,
address_id VARCHAR
)
CREATE TABLE customer (
email VARCHAR,
address_id VARCHAR,
first_name VARCHAR
) | SELECT T2.address, T1.email FROM customer AS T1 JOIN address AS T2 ON T2.address_id = T1.address_id WHERE T1.first_name = 'LINDA' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1115,
41,
1115,
584,
4280,
28027,
6,
1115,
834,
23,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
884,
41,
791,
584,
4280,
28027,
6,
1115,
834,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
9,
26,
12039,
6,
332,
5411,
15,
1963,
21680,
884,
6157,
332,
536,
3,
15355,
3162,
1115,
6157,
332,
357,
9191,
332,
4416,
9,
26,
12039,
834,
23,
26,
3274,
332,
5411,
9,
26,
12039,
834,
23,
26,
549,
174... |
What tournament is played on a carpet surface? | CREATE TABLE table_name_99 (
tournament VARCHAR,
surface VARCHAR
) | SELECT tournament FROM table_name_99 WHERE surface = "carpet" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
5892,
584,
4280,
28027,
6,
1774,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
5892,
19,
1944,
30,
3,
9,
4898,
1774,
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,
5892,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
1774,
3274,
96,
1720,
4995,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by weekday, and sort by the Y in desc. | CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE T... | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(EMPLOYEE_ID) DESC | [
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,
71,
17217,
599,
6037,
345,
5017,
476,
5080,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
30085,
834,
567,
17683,
8729,
9914,
3,
31,
1454,
308,
1454,
31,
4674,
30085,
834,
567,
17683,
8... |
What was the Average Attendance during the Year in which there were 9 Home Games? | CREATE TABLE table_name_12 (
average_attendance INTEGER,
_number_of_home_games VARCHAR
) | SELECT MAX(average_attendance) FROM table_name_12 WHERE _number_of_home_games = 9 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
1348,
834,
15116,
663,
3,
21342,
17966,
6,
3,
834,
5525,
1152,
834,
858,
834,
5515,
834,
7261,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
28951,
834,
15116,
663,
61,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
3,
834,
5525,
1152,
834,
858,
834,
5515,
834,
7261,
7,
3274,
668,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
between the uup party and the dup party , which had more votes in the 1996 forum ? | CREATE TABLE table_203_354 (
id number,
"party" text,
"candidate(s)" text,
"votes" number,
"percentage" number
) | SELECT "party" FROM table_203_354 WHERE "party" IN ('uup', 'dup') ORDER BY "votes" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2469,
591,
41,
3,
23,
26,
381,
6,
96,
8071,
121,
1499,
6,
96,
1608,
12416,
342,
599,
7,
61,
121,
1499,
6,
96,
1621,
1422,
121,
381,
6,
96,
883,
3728,
545,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8071,
121,
21680,
953,
834,
23330,
834,
2469,
591,
549,
17444,
427,
96,
8071,
121,
3388,
41,
31,
76,
413,
31,
6,
3,
31,
26,
413,
31,
61,
4674,
11300,
272,
476,
96,
1621,
1422,
121,
309,
25067,
8729,
12604,
2... |
What is Date, when Viewers is 4.4 million? | CREATE TABLE table_46814 (
"Event" text,
"Date" text,
"Rating" text,
"Share" text,
"Viewers" text
) | SELECT "Date" FROM table_46814 WHERE "Viewers" = '4.4 million' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3651,
2534,
41,
96,
427,
2169,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
448,
1014,
121,
1499,
6,
96,
24501,
121,
1499,
6,
96,
15270,
277,
121,
1499,
3,
61,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
591,
3651,
2534,
549,
17444,
427,
96,
15270,
277,
121,
3274,
3,
31,
23444,
770,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the representative for party of whig | CREATE TABLE table_name_76 (representative VARCHAR, party VARCHAR) | SELECT representative FROM table_name_76 WHERE party = "whig" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
60,
12640,
1528,
584,
4280,
28027,
6,
1088,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
6978,
21,
1088,
13,
3,
12124,
122,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6978,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
1088,
3274,
96,
12124,
122,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When the share of votes equals 21.8%, what's the sum of the total amount of seats? | CREATE TABLE table_name_61 (total_seats INTEGER, share_of_votes VARCHAR) | SELECT SUM(total_seats) FROM table_name_61 WHERE share_of_votes = "21.8%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
235,
1947,
834,
7,
1544,
7,
3,
21342,
17966,
6,
698,
834,
858,
834,
1621,
1422,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
8,
698,
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,
0... | [
3,
23143,
14196,
180,
6122,
599,
235,
1947,
834,
7,
1544,
7,
61,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
698,
834,
858,
834,
1621,
1422,
3274,
96,
2658,
5,
5953,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the attendance at the game where Neil Liddiard was Man of the Match? | CREATE TABLE table_17120964_8 (attendance INTEGER, man_of_the_match VARCHAR) | SELECT MIN(attendance) FROM table_17120964_8 WHERE man_of_the_match = "Neil Liddiard" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2122,
4198,
4389,
834,
927,
41,
15116,
663,
3,
21342,
17966,
6,
388,
834,
858,
834,
532,
834,
19515,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
15116,
663,
61,
21680,
953,
834,
2517,
2122,
4198,
4389,
834,
927,
549,
17444,
427,
388,
834,
858,
834,
532,
834,
19515,
3274,
96,
567,
15,
173,
1414,
26,
26,
23,
986,
121,
1,
-100,
-100,
-100,
-100... |
What is the largest attendance on august 10, 1963, and a week larger than 1? | CREATE TABLE table_name_75 (
attendance INTEGER,
date VARCHAR,
week VARCHAR
) | SELECT MAX(attendance) FROM table_name_75 WHERE date = "august 10, 1963" AND week > 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
11364,
3,
21342,
17966,
6,
833,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2015,
11364,
30,
14663,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15116,
663,
61,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
833,
3274,
96,
402,
17198,
10372,
20613,
121,
3430,
471,
2490,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
If the visiting team is Clemson, when was the time? | CREATE TABLE table_29070 (
"Date" text,
"Time" text,
"Visiting team" text,
"Home team" text,
"Site" text,
"Broadcast" text,
"Result" text,
"Attendance" real
) | SELECT "Time" FROM table_29070 WHERE "Visiting team" = 'Clemson' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23838,
2518,
41,
96,
308,
342,
121,
1499,
6,
96,
13368,
121,
1499,
6,
96,
30338,
372,
121,
1499,
6,
96,
19040,
372,
121,
1499,
6,
96,
26030,
121,
1499,
6,
96,
279,
8635,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13368,
121,
21680,
953,
834,
23838,
2518,
549,
17444,
427,
96,
30338,
372,
121,
3274,
3,
31,
254,
109,
51,
739,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the series episode number that is larger than 262 and has a Segment A entry of Aluminium s canoe? | CREATE TABLE table_name_60 (
series_ep VARCHAR,
episode VARCHAR,
segment_a VARCHAR
) | SELECT series_ep FROM table_name_60 WHERE episode > 262 AND segment_a = "aluminium s canoe" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
939,
834,
15,
102,
584,
4280,
28027,
6,
5640,
584,
4280,
28027,
6,
5508,
834,
9,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
939,
834,
15,
102,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
5640,
2490,
2208,
357,
3430,
5508,
834,
9,
3274,
96,
9,
5171,
77,
2552,
3,
7,
54,
32,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
When did the New England Patriots play as the visiting team? | CREATE TABLE table_name_23 (
date VARCHAR,
visiting_team VARCHAR
) | SELECT date FROM table_name_23 WHERE visiting_team = "new england patriots" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
833,
584,
4280,
28027,
6,
3644,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
410,
8,
368,
2789,
20109,
7,
577,
38,
8,
3644,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
3644,
834,
11650,
3274,
96,
5534,
3,
4606,
40,
232,
6234,
12884,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the game number that took place on April 27? | CREATE TABLE table_name_50 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_50 WHERE date = "april 27" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
7261,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
467,
381,
24,
808,
286,
30,
1186,
2307,
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,
467,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
833,
3274,
96,
9,
2246,
40,
2307,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many against when losses are 11 and wins are fewer than 5? | CREATE TABLE table_61118 (
"Central Murray" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) | SELECT AVG("Against") FROM table_61118 WHERE "Losses" = '11' AND "Wins" < '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
20056,
41,
96,
30497,
15497,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
279,
10070,
121,
490,
6,
96,
434,
13526,
7,
121,
490,
6,
96,
308,
10936,
7,
121,
490,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
20749,
8512,
21680,
953,
834,
4241,
20056,
549,
17444,
427,
96,
434,
13526,
7,
121,
3274,
3,
31,
2596,
31,
3430,
96,
18455,
7,
121,
3,
2,
3,
31,
755,
31,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
What is Opponent, when Game is '37'? | CREATE TABLE table_name_9 (
opponent VARCHAR,
game VARCHAR
) | SELECT opponent FROM table_name_9 WHERE game = 37 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
15264,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
4495,
9977,
6,
116,
4435,
19,
3,
31,
4118,
31,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
467,
3274,
6862,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what year had the most titles released ? | CREATE TABLE table_203_607 (
id number,
"catalogue number" text,
"artist" text,
"release title" text,
"format" text,
"release date" text
) | SELECT "release date" FROM table_203_607 GROUP BY "release date" ORDER BY COUNT("release title") DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3328,
940,
41,
3,
23,
26,
381,
6,
96,
2138,
9,
10384,
381,
121,
1499,
6,
96,
1408,
343,
121,
1499,
6,
96,
21019,
2233,
121,
1499,
6,
96,
8995,
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,
21019,
833,
121,
21680,
953,
834,
23330,
834,
3328,
940,
350,
4630,
6880,
272,
476,
96,
21019,
833,
121,
4674,
11300,
272,
476,
2847,
17161,
599,
121,
21019,
2233,
8512,
309,
25067,
8729,
12604,
209,
1,
-100,
-100... |
What is the date for the ship Afrika, with nationality Great Britain? | CREATE TABLE table_name_73 (
date VARCHAR,
nationality VARCHAR,
ship VARCHAR
) | SELECT date FROM table_name_73 WHERE nationality = "great britain" AND ship = "afrika" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
833,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
6,
4383,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
833,
21,
8,
4383,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
1157,
485,
3274,
96,
20288,
3,
115,
10694,
77,
121,
3430,
4383,
3274,
96,
9,
89,
9629,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the average top-10 for cuts made of 10 and top-25 more than 6 | CREATE TABLE table_6262 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
) | SELECT AVG("Top-10") FROM table_6262 WHERE "Cuts made" = '10' AND "Top-25" > '6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
4056,
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,
71,
17217,
599,
121,
22481,
4536,
8512,
21680,
953,
834,
4056,
4056,
549,
17444,
427,
96,
15784,
17,
7,
263,
121,
3274,
3,
31,
1714,
31,
3430,
96,
22481,
14855,
121,
2490,
3,
31,
948,
31,
1,
-100,
-100,
-100,
-100... |
When the a o was 2012, who was the county? | CREATE TABLE table_29566 (
"A\u00f1o" real,
"Trabajo nominado" text,
"Premio" text,
"Categor\u00eda" text,
"Country" text,
"Resultado" text
) | SELECT "Country" FROM table_29566 WHERE "A\u00f1o" = '2012' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3301,
3539,
41,
96,
188,
2,
76,
1206,
89,
536,
32,
121,
490,
6,
96,
9402,
115,
9,
1927,
5252,
23,
25065,
121,
1499,
6,
96,
10572,
51,
23,
32,
121,
1499,
6,
96,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
10628,
651,
121,
21680,
953,
834,
357,
3301,
3539,
549,
17444,
427,
96,
188,
2,
76,
1206,
89,
536,
32,
121,
3274,
3,
31,
12172,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
On which date was the opponent lamine ouahab? | CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_92 WHERE opponent = "lamine ouahab" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
5522,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
461,
84,
833,
47,
8,
15264,
50,
8695,
407,
9,
6111,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
15264,
3274,
96,
40,
8721,
407,
9,
6111,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What construction has a CERCLIS ID of ard092916188? | CREATE TABLE table_name_1 (construction_completed VARCHAR, cerclis_id VARCHAR) | SELECT construction_completed FROM table_name_1 WHERE cerclis_id = "ard092916188" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
26471,
834,
25288,
26,
584,
4280,
28027,
6,
19259,
40,
159,
834,
23,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1449,
65,
3,
9,
9265,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1449,
834,
25288,
26,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
19259,
40,
159,
834,
23,
26,
3274,
96,
986,
4198,
3166,
2938,
25794,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Top Speed has a Model Name of d14/4 supreme d14/4 sports & bushman? | CREATE TABLE table_46221 (
"Model Name" text,
"Engine" text,
"Top Speed" text,
"No. of Gears" real,
"Electrics" text
) | SELECT "Top Speed" FROM table_46221 WHERE "Model Name" = 'd14/4 supreme d14/4 sports & bushman' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
357,
2658,
41,
96,
24663,
5570,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
22481,
9913,
121,
1499,
6,
96,
4168,
5,
13,
17138,
7,
121,
490,
6,
96,
21543,
2234,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22481,
9913,
121,
21680,
953,
834,
4448,
357,
2658,
549,
17444,
427,
96,
24663,
5570,
121,
3274,
3,
31,
26,
2534,
13572,
15859,
15,
3,
26,
2534,
13572,
2100,
3,
184,
17907,
348,
31,
1,
-100,
-100,
-100,
-100,
... |
Who is the player with a FB position? | CREATE TABLE table_8458 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
) | SELECT "Player" FROM table_8458 WHERE "Position" = 'fb' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4608,
3449,
41,
96,
345,
3142,
1713,
121,
490,
6,
96,
254,
10765,
2271,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
9939,
7883,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
49,
121,
21680,
953,
834,
4608,
3449,
549,
17444,
427,
96,
345,
32,
7,
4749,
121,
3274,
3,
31,
89,
115,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by time, and sort by the y axis in ascending. | CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,... | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(EMPLOYEE_ID) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6266,
41,
4083,
517,
9215,
834,
4309,
7908,
1982,
599,
11116,
632,
201,
4083,
517,
9215,
834,
567,
17683,
3,
4331,
4059,
599,
1828,
61,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
71,
17217,
599,
6037,
345,
5017,
476,
5080,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
30085,
834,
567,
17683,
8729,
9914,
3,
31,
1454,
308,
1454,
31,
4674,
30085,
834,
567,
17683,
8... |
What is Runner-up, when Event is Mancora Peru Classic? | CREATE TABLE table_41435 (
"Date" text,
"Location" text,
"Country" text,
"Event" text,
"Winner" text,
"Runner-up" text
) | SELECT "Runner-up" FROM table_41435 WHERE "Event" = 'mancora peru classic' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2534,
2469,
41,
96,
308,
342,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
427,
2169,
121,
1499,
6,
96,
18455,
687,
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,
23572,
18,
413,
121,
21680,
953,
834,
591,
2534,
2469,
549,
17444,
427,
96,
427,
2169,
121,
3274,
3,
31,
348,
5715,
9,
399,
76,
2431,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Attendance of 36,796 had what score? | CREATE TABLE table_36903 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) | SELECT "Score" FROM table_36903 WHERE "Attendance" = '36,796' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3420,
2394,
519,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
121,
1499,
6,
96,
188,
17,
324,
26,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
3420,
2394,
519,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
3274,
3,
31,
3420,
6,
940,
4314,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many NFL teams does Stevie Brown play for? | CREATE TABLE table_20996923_25 (
nfl_team VARCHAR,
player VARCHAR
) | SELECT COUNT(nfl_team) FROM table_20996923_25 WHERE player = "Stevie Brown" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
3264,
3951,
2773,
834,
1828,
41,
3,
29,
89,
40,
834,
11650,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
10439,
2323,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
29,
89,
40,
834,
11650,
61,
21680,
953,
834,
1755,
3264,
3951,
2773,
834,
1828,
549,
17444,
427,
1959,
3274,
96,
14337,
5914,
3899,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the karen when nicky is 2.5 | CREATE TABLE table_19744915_4 (
karen VARCHAR,
nicky VARCHAR
) | SELECT karen FROM table_19744915_4 WHERE nicky = "2.5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
4581,
3647,
1808,
834,
591,
41,
3,
4031,
35,
584,
4280,
28027,
6,
3,
11191,
63,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
3,
4031,
35,
116,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
4031,
35,
21680,
953,
834,
2294,
4581,
3647,
1808,
834,
591,
549,
17444,
427,
3,
11191,
63,
3274,
96,
15967,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total overall number of the ot position player with a pick greater than 5? | CREATE TABLE table_name_59 (overall VARCHAR, position VARCHAR, pick VARCHAR) | SELECT COUNT(overall) FROM table_name_59 WHERE position = "ot" AND pick > 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
1890,
1748,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
1432,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
1879,
381,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1890,
1748,
61,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
1102,
3274,
96,
32,
17,
121,
3430,
1432,
2490,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Player with a Date with 12-03-2003? | CREATE TABLE table_54346 (
"Dismissals" text,
"Player" text,
"Versus" text,
"Venue" text,
"Date" text
) | SELECT "Player" FROM table_54346 WHERE "Date" = '12-03-2003' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5062,
519,
4448,
41,
96,
308,
159,
11502,
5405,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
5000,
7,
302,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
308,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15800,
49,
121,
21680,
953,
834,
5062,
519,
4448,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
2122,
18,
4928,
18,
23948,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who retired at lap 77 and was grid 11? | CREATE TABLE table_name_22 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_22 WHERE laps = "77" AND grid = "11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
715,
834,
10682,
1271,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
10611,
44,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
97,
834,
10682,
1271,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
14941,
7,
3274,
96,
4013,
121,
3430,
8634,
3274,
96,
2596,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What circuit was used on August 21? | CREATE TABLE table_25459168_2 (
circuit VARCHAR,
date VARCHAR
) | SELECT circuit FROM table_25459168_2 WHERE date = "August 21" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
2128,
4729,
3651,
834,
357,
41,
4558,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
4558,
47,
261,
30,
1660,
1401,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4558,
21680,
953,
834,
1828,
2128,
4729,
3651,
834,
357,
549,
17444,
427,
833,
3274,
96,
26579,
1401,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and is located in the Church of Urnes? | CREATE TABLE table_name_52 (
sub_parish__sogn_ VARCHAR,
parish__prestegjeld_ VARCHAR,
location_of_the_church VARCHAR
) | SELECT sub_parish__sogn_ FROM table_name_52 WHERE parish__prestegjeld_ = "hafslo parish" AND location_of_the_church = "urnes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
769,
834,
1893,
1273,
834,
834,
7,
32,
122,
29,
834,
584,
4280,
28027,
6,
14961,
834,
834,
2026,
849,
122,
354,
8804,
834,
584,
4280,
28027,
6,
1128,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
769,
834,
1893,
1273,
834,
834,
7,
32,
122,
29,
834,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
14961,
834,
834,
2026,
849,
122,
354,
8804,
834,
3274,
96,
1024,
89,
7,
40,
32,
14961,
121,
3430,
1128,
834,
... |
give me the number of patients whose primary disease is overdose? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "OVERDOSE" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
25930,
4844,
159,
3274,
96,
23288,
308,
22177,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the date of the munich, germany tournament? | CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_52 WHERE tournament = "munich, germany" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
5522,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
833,
13,
8,
13844,
362,
6,
13692,
63,
5892,
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,
833,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
5892,
3274,
96,
11760,
524,
6,
13692,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What year was the startup for the Project Named of taq taq ph 2? | CREATE TABLE table_name_51 (
year_startup VARCHAR,
project_name VARCHAR
) | SELECT year_startup FROM table_name_51 WHERE project_name = "taq taq ph 2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
215,
834,
10208,
413,
584,
4280,
28027,
6,
516,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
215,
47,
8,
11459,
21,
8,
2786,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
215,
834,
10208,
413,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
516,
834,
4350,
3274,
96,
17,
9,
1824,
3,
17,
9,
1824,
3,
102,
107,
204,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
how many people work with N Rawiller | CREATE TABLE table_18769 (
"Saddle cloth" real,
"Horse" text,
"Trainer" text,
"Jockey" text,
"Weight (kg)" text,
"Barrier" real,
"Placing" text
) | SELECT COUNT("Trainer") FROM table_18769 WHERE "Jockey" = 'N Rawiller' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25828,
3951,
41,
96,
134,
9,
8437,
10366,
121,
490,
6,
96,
566,
127,
7,
15,
121,
1499,
6,
96,
9402,
4899,
121,
1499,
6,
96,
683,
3961,
15,
63,
121,
1499,
6,
96,
1326,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9402,
4899,
8512,
21680,
953,
834,
25828,
3951,
549,
17444,
427,
96,
683,
3961,
15,
63,
121,
3274,
3,
31,
567,
19401,
7613,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is Josh Hamilton's hometown? | CREATE TABLE table_11677100_5 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_11677100_5 WHERE player = "Josh Hamilton" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20159,
4013,
2915,
834,
755,
41,
5515,
3540,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
14136,
13450,
31,
7,
22295,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
22295,
21680,
953,
834,
20159,
4013,
2915,
834,
755,
549,
17444,
427,
1959,
3274,
96,
683,
32,
7,
107,
13450,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who is the 2nd member elected in 1461? | CREATE TABLE table_name_46 (
elected VARCHAR
) | SELECT 2 AS nd_member FROM table_name_46 WHERE elected = "1461" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
8160,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
204,
727,
1144,
8160,
16,
968,
4241,
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,
204,
6157,
3,
727,
834,
12066,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
8160,
3274,
96,
2534,
4241,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many incumbents resulted in a lost renomination republican gain? | CREATE TABLE table_18343 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT COUNT("Incumbent") FROM table_18343 WHERE "Result" = 'Lost renomination Republican gain' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24361,
4906,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
490,
6,
96,
20119,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
1570,
75,
5937,
295,
8512,
21680,
953,
834,
24361,
4906,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
434,
3481,
3,
1536,
32,
14484,
8994,
2485,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the county for the Irish name Carna? | CREATE TABLE table_101196_1 (
county VARCHAR,
irish_name VARCHAR
) | SELECT county FROM table_101196_1 WHERE irish_name = "Carna" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19621,
26937,
834,
536,
41,
5435,
584,
4280,
28027,
6,
3,
24804,
107,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
5435,
21,
8,
7262,
564,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5435,
21680,
953,
834,
19621,
26937,
834,
536,
549,
17444,
427,
3,
24804,
107,
834,
4350,
3274,
96,
254,
15918,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What 2007 has wimbledon as the tournament? | CREATE TABLE table_name_88 (tournament VARCHAR) | SELECT 2007 FROM table_name_88 WHERE tournament = "wimbledon" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
17,
1211,
20205,
17,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
4101,
65,
11064,
51,
2296,
2029,
38,
8,
5892,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4101,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
5892,
3274,
96,
210,
603,
2296,
2029,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the most noteworthy Bike No that has a Position bigger than 1, and a Points bigger than 369, and an Equipment of zabel-wsp? | CREATE TABLE table_name_77 (bike_no INTEGER, equipment VARCHAR, position VARCHAR, points VARCHAR) | SELECT MAX(bike_no) FROM table_name_77 WHERE position > 1 AND points > 369 AND equipment = "zabel-wsp" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
15214,
834,
29,
32,
3,
21342,
17966,
6,
1277,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
15214,
834,
29,
32,
61,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
1102,
2490,
209,
3430,
979,
2490,
220,
3951,
3430,
1277,
3274,
96,
172,
10333,
18,
210,
7,
102,
121,
1,
-100,
-100,
-100,
-1... |
Away result of 1-2 has what season? | CREATE TABLE table_75503 (
"Season" text,
"Competition" text,
"Round" text,
"Club" text,
"Home result" text,
"Away result" text
) | SELECT "Season" FROM table_75503 WHERE "Away result" = '1-2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
1752,
519,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
254,
11158,
121,
1499,
6,
96,
19040,
74... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
15,
9,
739,
121,
21680,
953,
834,
3072,
1752,
519,
549,
17444,
427,
96,
188,
1343,
741,
121,
3274,
3,
31,
9596,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the sample size when the date(s) administered is march 24, 2010? | CREATE TABLE table_name_4 (
sample_size VARCHAR,
date_s__administered VARCHAR
) | SELECT sample_size FROM table_name_4 WHERE date_s__administered = "march 24, 2010" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
3106,
834,
7991,
584,
4280,
28027,
6,
833,
834,
7,
834,
834,
9,
26,
17791,
15,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3106,
834,
7991,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
833,
834,
7,
834,
834,
9,
26,
17791,
15,
26,
3274,
96,
51,
7064,
14320,
2735,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Wins of 0, and a Rank larger than 6, and a Manufacturer of kawasaki, and a Rider of massimo broccoli involved what highest points? | CREATE TABLE table_name_18 (
points INTEGER,
rider VARCHAR,
manufacturer VARCHAR,
wins VARCHAR,
rank VARCHAR
) | SELECT MAX(points) FROM table_name_18 WHERE wins = 0 AND rank > 6 AND manufacturer = "kawasaki" AND rider = "massimo broccoli" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
979,
3,
21342,
17966,
6,
2564,
52,
584,
4280,
28027,
6,
4818,
584,
4280,
28027,
6,
9204,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
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,
4800,
4,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
9204,
3274,
3,
632,
3430,
11003,
2490,
431,
3430,
4818,
3274,
96,
1258,
9491,
11259,
121,
3430,
2564,
52,
3274,
96,
2754,
28348,
24630,
1... |
What is the Series with a High rebounds with gasol (10)? | CREATE TABLE table_77505 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
) | SELECT "Series" FROM table_77505 WHERE "High rebounds" = 'gasol (10)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
1752,
755,
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,
96,
12106,
7,
121,
21680,
953,
834,
4013,
1752,
755,
549,
17444,
427,
96,
21417,
3,
23768,
121,
3274,
3,
31,
122,
9,
4099,
41,
16968,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many episodes in the season had production code of 175255? | CREATE TABLE table_27755040_1 (no_in_season VARCHAR, production_code VARCHAR) | SELECT COUNT(no_in_season) FROM table_27755040_1 WHERE production_code = 175255 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
3072,
1752,
2445,
834,
536,
41,
29,
32,
834,
77,
834,
9476,
584,
4280,
28027,
6,
999,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
13562,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
29,
32,
834,
77,
834,
9476,
61,
21680,
953,
834,
2555,
3072,
1752,
2445,
834,
536,
549,
17444,
427,
999,
834,
4978,
3274,
1003,
5373,
3769,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
when has patient 015-59871 first received a procedure when they came to the hospital last time? | CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wa... | SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-59871' AND NOT patient.hospitaldischargetime IS NULL ORDER BY... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1058,
41,
1058,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
1058,
4350,
1499,
6,
1058,
715,
97,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1868,
41,
775,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1058,
5,
26889,
715,
21680,
1058,
549,
17444,
427,
1058,
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,
21545,
... |
What is the ICAO of Nakashibetsu? | CREATE TABLE table_name_89 (
icao VARCHAR,
city VARCHAR
) | SELECT icao FROM table_name_89 WHERE city = "nakashibetsu" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
3,
2617,
32,
584,
4280,
28027,
6,
690,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
15038,
667,
13,
1823,
157,
17155,
346,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2617,
32,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
690,
3274,
96,
29,
5667,
5605,
346,
17,
7,
76,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which TV Station has a Romaji Title of kegareta shita? | CREATE TABLE table_name_43 (tv_station VARCHAR, romaji_title VARCHAR) | SELECT tv_station FROM table_name_43 WHERE romaji_title = "kegareta shita" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
17,
208,
834,
6682,
584,
4280,
28027,
6,
3,
3522,
17815,
834,
21869,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1424,
5939,
65,
3,
9,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17,
208,
834,
6682,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
3,
3522,
17815,
834,
21869,
3274,
96,
1050,
1478,
15,
17,
9,
3,
7,
10536,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What nationality is the pick from round 7? | CREATE TABLE table_45880 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/junior/club team (league)" text
) | SELECT "Nationality" FROM table_45880 WHERE "Round" = '7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
927,
2079,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
9939,
7883,
87,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
24732,
485,
121,
21680,
953,
834,
2128,
927,
2079,
549,
17444,
427,
96,
448,
32,
1106,
121,
3274,
3,
31,
940,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which city's ICAO is WADD? | CREATE TABLE table_name_92 (city VARCHAR, icao VARCHAR) | SELECT city FROM table_name_92 WHERE icao = "wadd" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
6726,
584,
4280,
28027,
6,
3,
2617,
32,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
690,
31,
7,
3,
15038,
667,
19,
549,
24604,
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,
690,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
3,
2617,
32,
3274,
96,
210,
13039,
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 average total of kenwyne jones, who has more than 10 premier leagues? | CREATE TABLE table_46962 (
"Name" text,
"Premier League" real,
"League Cup" real,
"FA Cup" real,
"Total" real
) | SELECT AVG("Total") FROM table_46962 WHERE "Name" = 'kenwyne jones' AND "Premier League" > '10' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
4314,
357,
41,
96,
23954,
121,
1499,
6,
96,
10572,
51,
972,
3815,
121,
490,
6,
96,
2796,
9,
5398,
3802,
121,
490,
6,
96,
4795,
3802,
121,
490,
6,
96,
3696,
1947,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
3696,
1947,
8512,
21680,
953,
834,
4448,
4314,
357,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
2217,
25269,
15,
3,
1927,
1496,
31,
3430,
96,
10572,
51,
972,
3815,
121,
2490,
3,
31,
1714,
31... |
Which Percentage has a District larger than 2, and a Party of independent? | CREATE TABLE table_name_86 (
percentage VARCHAR,
district VARCHAR,
party VARCHAR
) | SELECT percentage FROM table_name_86 WHERE district > 2 AND party = "independent" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
5294,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
6,
1088,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1915,
3728,
545,
65,
3,
9,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5294,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
3939,
2490,
204,
3430,
1088,
3274,
96,
77,
17631,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the attendance when the VFL played MCG? | CREATE TABLE table_name_70 (crowd VARCHAR, venue VARCHAR) | SELECT COUNT(crowd) FROM table_name_70 WHERE venue = "mcg" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
75,
3623,
26,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
11364,
116,
8,
584,
10765,
1944,
283,
12150,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
75,
3623,
26,
61,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
5669,
3274,
96,
51,
75,
122,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the world record when the 138 kg is 137kg? | CREATE TABLE table_14268 (
"World record" text,
"Snatch" text,
"Halil Mutlu ( TUR )" text,
"138kg" text,
"Antalya , Turkey" text
) | SELECT "World record" FROM table_14268 WHERE "138kg" = '137kg' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24978,
3651,
41,
96,
17954,
1368,
121,
1499,
6,
96,
134,
29,
14547,
121,
1499,
6,
96,
566,
138,
173,
16601,
40,
76,
41,
3,
21164,
3,
61,
121,
1499,
6,
96,
22744,
8711,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17954,
1368,
121,
21680,
953,
834,
24978,
3651,
549,
17444,
427,
96,
22744,
8711,
121,
3274,
3,
31,
24636,
8711,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many events did not have any participants? | CREATE TABLE EVENTS (event_id VARCHAR); CREATE TABLE Participants_in_Events (event_id VARCHAR) | SELECT COUNT(*) FROM EVENTS WHERE NOT event_id IN (SELECT event_id FROM Participants_in_Events) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
262,
24992,
134,
41,
15,
2169,
834,
23,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
19204,
834,
77,
834,
427,
2169,
7,
41,
15,
2169,
834,
23,
26,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
262,
24992,
134,
549,
17444,
427,
4486,
605,
834,
23,
26,
3388,
41,
23143,
14196,
605,
834,
23,
26,
21680,
19204,
834,
77,
834,
427,
2169,
7,
61,
1,
-100,
-100,
-100,
-100,
-100,
... |
How tall is Zipp Duncan? | CREATE TABLE table_37800 (
"Position" text,
"Number" real,
"Name" text,
"Height" text,
"Weight" real,
"Class" text,
"Hometown" text,
"Games\u2191" real
) | SELECT "Height" FROM table_37800 WHERE "Name" = 'zipp duncan' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4118,
6192,
41,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
567,
5937,
49,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
3845,
2632,
121,
1499,
6,
96,
1326,
2632,
121,
490,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3845,
2632,
121,
21680,
953,
834,
4118,
6192,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
702,
1572,
146,
29,
1608,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the record of Game 43? | CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_68 WHERE game = 43 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3651,
41,
60,
7621,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1368,
13,
4435,
8838,
58,
1,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
4350,
834,
3651,
549,
17444,
427,
467,
3274,
8838,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many times did incumbent ruben hinojosa get elected? | CREATE TABLE table_1341453_45 (
results VARCHAR,
incumbent VARCHAR
) | SELECT COUNT(results) FROM table_1341453_45 WHERE incumbent = "Ruben Hinojosa" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2534,
4867,
834,
2128,
41,
772,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
648,
410,
28406,
9641,
35,
3811,
32,
1927... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
60,
7,
83,
17,
7,
61,
21680,
953,
834,
23747,
2534,
4867,
834,
2128,
549,
17444,
427,
28406,
3274,
96,
448,
15804,
9515,
32,
1927,
7,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the performance order for 2.15% | CREATE TABLE table_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR) | SELECT performance_order FROM table_26267849_11 WHERE percentage_of_votes = "2.15%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
2688,
3940,
3647,
834,
2596,
41,
18558,
834,
9397,
584,
4280,
28027,
6,
5294,
834,
858,
834,
1621,
1422,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
821,
834,
9397,
21680,
953,
834,
2688,
2688,
3940,
3647,
834,
2596,
549,
17444,
427,
5294,
834,
858,
834,
1621,
1422,
3274,
96,
14489,
2712,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is the years when playoffs is 115? | CREATE TABLE table_name_51 (years VARCHAR, playoffs VARCHAR) | SELECT years FROM table_name_51 WHERE playoffs = 115 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
1201,
7,
584,
4280,
28027,
6,
15289,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
203,
116,
15289,
7,
19,
3,
15660,
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,
203,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
15289,
7,
3274,
3,
15660,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
history of severe hypoglycemia ( seizure ) | CREATE TABLE table_train_199 (
"id" int,
"t2dm" bool,
"hemoglobin_a1c_hba1c" float,
"renal_disease" bool,
"diabetic" string,
"hypoglycemia" bool,
"diabetes" bool,
"seizure_disorder" bool,
"glaucoma" bool,
"hypertension" bool,
"age" float,
"NOUSE" float
) | SELECT * FROM table_train_199 WHERE hypoglycemia = 1 OR seizure_disorder = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
19479,
41,
96,
23,
26,
121,
16,
17,
6,
96,
17,
357,
26,
51,
121,
3,
12840,
40,
6,
96,
6015,
32,
14063,
77,
834,
9,
536,
75,
834,
107,
115,
9,
536,
75,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1429,
21680,
953,
834,
9719,
834,
19479,
549,
17444,
427,
10950,
122,
120,
75,
11658,
3274,
209,
4674,
4736,
1000,
60,
834,
26,
159,
9397,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is Opponent, when Record is 17-44? | CREATE TABLE table_name_98 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_98 WHERE record = "17-44" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
32,
102,
9977,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
4495,
9977,
6,
116,
11392,
19,
1003,
18,
3628,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15264,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
1368,
3274,
96,
2517,
18,
3628,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many episodes directed by david carson? | CREATE TABLE table_27836 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
) | SELECT COUNT("No. in season") FROM table_27836 WHERE "Directed by" = 'David Carson' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3940,
3420,
41,
96,
4168,
5,
16,
939,
121,
490,
6,
96,
4168,
5,
16,
774,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
4168,
5,
16,
774,
8512,
21680,
953,
834,
357,
3940,
3420,
549,
17444,
427,
96,
23620,
15,
26,
57,
121,
3274,
3,
31,
308,
9,
6961,
25912,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
specify the ethnic origin and age of patient jerry deberry | 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 demographic.age, demographic.ethnicity FROM demographic WHERE demographic.name = "Jerry Deberry" | [
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,
14798,
5,
545,
6,
14798,
5,
15,
189,
2532,
485,
21680,
14798,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
683,
49,
651,
374,
7418,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the school of the player with a college hall of fame nevers hof profile? | CREATE TABLE table_name_50 (school VARCHAR, college_hall_of_fame VARCHAR) | SELECT school FROM table_name_50 WHERE college_hall_of_fame = "nevers hof profile" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
6646,
584,
4280,
28027,
6,
1900,
834,
11516,
834,
858,
834,
89,
265,
15,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
496,
13,
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,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
496,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
1900,
834,
11516,
834,
858,
834,
89,
265,
15,
3274,
96,
29,
3258,
7,
3534,
89,
3278,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the location code with the most documents? | CREATE TABLE Document_locations (location_code VARCHAR) | SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11167,
834,
14836,
7,
41,
14836,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1128,
1081,
28,
8,
167,
2691,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1128,
834,
4978,
21680,
11167,
834,
14836,
7,
350,
4630,
6880,
272,
476,
1128,
834,
4978,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0? | CREATE TABLE table_name_81 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR) | SELECT MIN(touchdowns) FROM table_name_81 WHERE points = 5 AND field_goals > 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
17681,
3035,
7,
3,
21342,
17966,
6,
979,
584,
4280,
28027,
6,
1057,
834,
839,
5405,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
11031,
303... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17681,
3035,
7,
61,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
979,
3274,
305,
3430,
1057,
834,
839,
5405,
2490,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many party were listed for district oklahoma 5? | CREATE TABLE table_1341423_36 (party VARCHAR, district VARCHAR) | SELECT COUNT(party) FROM table_1341423_36 WHERE district = "Oklahoma 5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2534,
2773,
834,
3420,
41,
8071,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1088,
130,
2616,
21,
3939,
3,
32,
8142,
1020... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8071,
61,
21680,
953,
834,
23747,
2534,
2773,
834,
3420,
549,
17444,
427,
3939,
3274,
96,
667,
8142,
10207,
9,
3,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many times did the team play charlotte? | CREATE TABLE table_21226 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT COUNT("Record") FROM table_21226 WHERE "Team" = 'Charlotte' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24837,
2688,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
3,
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,
2847,
17161,
599,
121,
1649,
7621,
8512,
21680,
953,
834,
24837,
2688,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
18947,
21538,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
renal disease: urine dipstick 4+ protein, serum creatinine is greater than or equal to 1.4 mg / dl ( female ) or is greater than or equal to 1.5 mg / dl ( male ) or currently receiving dialysis | CREATE TABLE table_dev_21 (
"id" int,
"gender" string,
"leukopenia" int,
"dialysis" bool,
"hemoglobin_a1c_hba1c" float,
"cd4_count" int,
"platelets" int,
"renal_disease" bool,
"fasting_triglycerides" int,
"hyperlipidemia" bool,
"lymphopenia" int,
"hba1c" float,
"fasti... | SELECT * FROM table_dev_21 WHERE renal_disease = 1 OR (serum_creatinine >= 1.4 AND gender = 'female') OR (serum_creatinine >= 1.5 AND gender = 'male') OR dialysis = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9776,
834,
2658,
41,
96,
23,
26,
121,
16,
17,
6,
96,
122,
3868,
121,
6108,
6,
96,
109,
1598,
8751,
23,
9,
121,
16,
17,
6,
96,
26,
23,
9,
21091,
121,
3,
12840,
40,
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,
1429,
21680,
953,
834,
9776,
834,
2658,
549,
17444,
427,
23328,
834,
26,
159,
14608,
3274,
209,
4674,
41,
7,
49,
440,
834,
5045,
144,
77,
630,
2490,
2423,
3,
14912,
3430,
7285,
3274,
3,
31,
89,
15,
13513,
31,
61,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.