NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Name the number of district for tom marino | CREATE TABLE table_27306 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT COUNT("District") FROM table_27306 WHERE "Incumbent" = 'Tom Marino' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
1458,
948,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
308,
23,
20066,
8512,
21680,
953,
834,
2555,
1458,
948,
549,
17444,
427,
96,
1570,
75,
5937,
295,
121,
3274,
3,
31,
3696,
51,
17154,
32,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For team reggina please mention all the outgoing manager | CREATE TABLE table_27114708_2 (outgoing_manager VARCHAR, team VARCHAR) | SELECT outgoing_manager FROM table_27114708_2 WHERE team = "Reggina" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
2596,
4177,
4018,
834,
357,
41,
670,
9545,
834,
24185,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
242,
372,
5925,
19604,
754,
2652,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
91,
9545,
834,
24185,
21680,
953,
834,
2555,
2596,
4177,
4018,
834,
357,
549,
17444,
427,
372,
3274,
96,
17748,
19604,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Money of the T4 Place Player with a Score of 71-66-74-67=278? | CREATE TABLE table_name_64 (
money___ INTEGER,
place VARCHAR,
score VARCHAR
) | SELECT AVG(money___) AS $__ FROM table_name_64 WHERE place = "t4" AND score = 71 - 66 - 74 - 67 = 278 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
540,
834,
834,
834,
3,
21342,
17966,
6,
286,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
8833,
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,
71,
17217,
599,
28442,
834,
834,
834,
61,
6157,
1514,
834,
834,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
286,
3274,
96,
17,
20364,
3430,
2604,
3274,
3,
4450,
3,
18,
3,
3539,
3,
18,
3,
4581,
3,
18,
3,
... |
When has a Result of 0–2 and a Opponent of aberdeen? | CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_13 WHERE result = "0–2" AND opponent = "aberdeen" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
5522,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
65,
3,
9,
3,
20119,
13,
3,
632,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
741,
3274,
96,
632,
104,
357,
121,
3430,
15264,
3274,
96,
9,
1152,
221,
35,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Find the saving balance of the account with the highest checking balance. | CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE checking (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (custid VARCHAR) | SELECT T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5051,
41,
3849,
663,
584,
4280,
28027,
6,
123,
2248,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
6450,
41,
1071,
2248,
26,
584,
4280,
28027,
6,
2109,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5787,
3849,
663,
21680,
3744,
6157,
332,
536,
3,
15355,
3162,
6450,
6157,
332,
357,
9191,
332,
5411,
1071,
2248,
26,
3274,
332,
4416,
1071,
2248,
26,
3,
15355,
3162,
5051,
6157,
332,
519,
9191,
332,
5411,
1071,
... |
What was the new WNBA team of the player selected with a pick over 7? | CREATE TABLE table_name_52 (new_wnba_team VARCHAR, pick INTEGER) | SELECT new_wnba_team FROM table_name_52 WHERE pick > 7 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
5534,
834,
210,
29,
115,
9,
834,
11650,
584,
4280,
28027,
6,
1432,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
126,
3,
21170,
4882,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
126,
834,
210,
29,
115,
9,
834,
11650,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
1432,
2490,
489,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What date did the Indians have a record of 14-28? | CREATE TABLE table_name_89 (
date VARCHAR,
record VARCHAR
) | SELECT date FROM table_name_89 WHERE record = "14-28" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
833,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
410,
8,
2557,
7,
43,
3,
9,
1368,
13,
968,
18,
2577,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3914,
549,
17444,
427,
1368,
3274,
96,
2534,
18,
2577,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who was the Centerfold Model on 5-95? | CREATE TABLE table_name_32 (
centerfold_model VARCHAR,
date VARCHAR
) | SELECT centerfold_model FROM table_name_32 WHERE date = "5-95" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
1530,
10533,
834,
21770,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
1166,
10533,
5154,
30,
7670,
3301... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1530,
10533,
834,
21770,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
833,
3274,
96,
755,
18,
3301,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many live births per year are there in the period where the life expectancy for females is 73.3? | CREATE TABLE table_22707 (
"Period" text,
"Live births per year" text,
"Deaths per year" text,
"Natural change per year" text,
"CBR*" text,
"CDR*" text,
"NC*" text,
"TFR*" text,
"IMR*" real,
"Life expectancy total" text,
"Life expectancy males" text,
"Life expectancy fema... | SELECT "Live births per year" FROM table_22707 WHERE "Life expectancy females" = '73.3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2555,
4560,
41,
96,
12988,
23,
32,
26,
121,
1499,
6,
96,
24179,
3879,
7,
399,
215,
121,
1499,
6,
96,
2962,
9,
189,
7,
399,
215,
121,
1499,
6,
96,
567,
13149,
40,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24179,
3879,
7,
399,
215,
121,
21680,
953,
834,
357,
2555,
4560,
549,
17444,
427,
96,
16427,
1672,
6833,
3955,
7,
121,
3274,
3,
31,
940,
19660,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When was Moores Creek Bridge built? | CREATE TABLE table_name_20 (built VARCHAR, name VARCHAR) | SELECT built FROM table_name_20 WHERE name = "moores creek bridge" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
16152,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
47,
11103,
7,
7682,
6132,
1192,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1192,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
564,
3274,
96,
21477,
15,
7,
25153,
4716,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Bernie Germain's nationality? | CREATE TABLE table_1473672_5 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_1473672_5 WHERE player = "Bernie Germain" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24719,
3420,
5865,
834,
755,
41,
16557,
485,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
29017,
3,
31978,
31,
7,
1157,
485,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1157,
485,
21680,
953,
834,
24719,
3420,
5865,
834,
755,
549,
17444,
427,
1959,
3274,
96,
2703,
23752,
3,
31978,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Time/Retired with more Laps than 34, a Grid smaller than 15, and Driver Damon Hill? | CREATE TABLE table_name_88 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_88 WHERE laps > 34 AND grid < 15 AND driver = "damon hill" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
715,
834,
10682,
1271,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
97,
834,
10682,
1271,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
14941,
7,
2490,
6154,
3430,
8634,
3,
2,
627,
3430,
2535,
3274,
96,
7812,
106,
9956,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
For teams that played 5 games, what was the smallest number of wins? | CREATE TABLE table_14288212_1 (
win INTEGER,
played VARCHAR
) | SELECT MIN(win) FROM table_14288212_1 WHERE played = 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24978,
4060,
24837,
834,
536,
41,
1369,
3,
21342,
17966,
6,
1944,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
242,
2323,
24,
1944,
305,
1031,
6,
125,
47,
8,
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,
17684,
599,
3757,
61,
21680,
953,
834,
24978,
4060,
24837,
834,
536,
549,
17444,
427,
1944,
3274,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which opponent has a Record of 54-38? | CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_73 WHERE record = "54-38" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
32,
102,
9977,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
15264,
65,
3,
9,
11392,
13,
10630,
18,
3747,
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,
15264,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
1368,
3274,
96,
5062,
18,
3747,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which date of Date of successor's formal installation has a State (class) of michigan (2)? | CREATE TABLE table_66239 (
"State (class)" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date of successor's formal installation" text
) | SELECT "Date of successor's formal installation" FROM table_66239 WHERE "State (class)" = 'michigan (2)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
357,
3288,
41,
96,
134,
4748,
41,
4057,
61,
121,
1499,
6,
96,
25203,
1016,
121,
1499,
6,
96,
1649,
9,
739,
21,
483,
121,
1499,
6,
96,
134,
17431,
24901,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
13,
22261,
31,
7,
4727,
2545,
121,
21680,
953,
834,
3539,
357,
3288,
549,
17444,
427,
96,
134,
4748,
41,
4057,
61,
121,
3274,
3,
31,
51,
362,
12588,
6499,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which date has a Tournament of la quinta? | CREATE TABLE table_name_14 (
date VARCHAR,
tournament VARCHAR
) | SELECT date FROM table_name_14 WHERE tournament = "la quinta" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
833,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
833,
65,
3,
9,
20502,
13,
50,
285,
29,
17,
9,
58,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
5892,
3274,
96,
521,
285,
29,
17,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the sum of the losses that a match score larger than 26, a points score of 62, and a draw greater than 5? | CREATE TABLE table_name_6 (lost INTEGER, draw VARCHAR, matches VARCHAR, points VARCHAR) | SELECT SUM(lost) FROM table_name_6 WHERE matches > 26 AND points = 62 AND draw > 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
2298,
17,
3,
21342,
17966,
6,
3314,
584,
4280,
28027,
6,
6407,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
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,
180,
6122,
599,
2298,
17,
61,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
6407,
2490,
2208,
3430,
979,
3274,
3,
4056,
3430,
3314,
2490,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the Visitor when the home was toronto maple leafs and the score was 4 1? | CREATE TABLE table_name_63 (
visitor VARCHAR,
home VARCHAR,
score VARCHAR
) | SELECT visitor FROM table_name_63 WHERE home = "toronto maple leafs" AND score = "4–1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
7019,
584,
4280,
28027,
6,
234,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
4957,
127,
116,
8,
234,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7019,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
234,
3274,
96,
235,
4438,
32,
22007,
8384,
7,
121,
3430,
2604,
3274,
96,
591,
104,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who is the player with an average of 35.42? | CREATE TABLE table_30780 (
"Player" text,
"Matches" real,
"Overs" text,
"Wickets" real,
"Average" text,
"Economy" text,
"BBI" text,
"4wi" real
) | SELECT "Player" FROM table_30780 WHERE "Average" = '35.42' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1458,
940,
2079,
41,
96,
15800,
49,
121,
1499,
6,
96,
329,
144,
2951,
121,
490,
6,
96,
23847,
7,
121,
1499,
6,
96,
518,
447,
8044,
7,
121,
490,
6,
96,
188,
624,
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,
15800,
49,
121,
21680,
953,
834,
1458,
940,
2079,
549,
17444,
427,
96,
188,
624,
545,
121,
3274,
3,
31,
2469,
5,
4165,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which week was there a w 23 14 result? | CREATE TABLE table_15445 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) | SELECT "Week" FROM table_15445 WHERE "Result" = 'w 23–14' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27308,
2128,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
188,
17,
324,
26,
663,
121,
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,
96,
518,
10266,
121,
21680,
953,
834,
27308,
2128,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
210,
1902,
104,
2534,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When saif saaeed shaheen ( qat ) is the saif saaeed shaheen ( qat ) what is the date on September 3rd, 2004? | CREATE TABLE table_23988726_2 (Id VARCHAR) | SELECT 3 AS _september_2004 FROM table_23988726_2 WHERE "saif_saaeed_shaheen___qat__" = "saif_saaeed_shaheen___qat__" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
3916,
4225,
2688,
834,
357,
41,
196,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
3,
7,
9,
99,
3,
7,
9,
9,
6958,
6660,
9,
88,
35,
41,
3,
1824,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
220,
6157,
3,
834,
7,
6707,
18247,
834,
21653,
21680,
953,
834,
2773,
3916,
4225,
2688,
834,
357,
549,
17444,
427,
96,
7,
9,
99,
834,
7,
9,
9,
6958,
834,
7,
1024,
88,
35,
834,
834,
834,
1824,
144,
834,
834,
12... |
How many segment b's when segment a is filigree glass | CREATE TABLE table_19912 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
) | SELECT COUNT("Segment B") FROM table_19912 WHERE "Segment A" = 'Filigree Glass' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19479,
2122,
41,
96,
12106,
7,
10395,
535,
1499,
6,
96,
427,
102,
159,
32,
221,
121,
490,
6,
96,
9688,
89,
17591,
121,
1499,
6,
96,
134,
15,
122,
297,
71,
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,
2847,
17161,
599,
121,
134,
15,
122,
297,
272,
8512,
21680,
953,
834,
19479,
2122,
549,
17444,
427,
96,
134,
15,
122,
297,
71,
121,
3274,
3,
31,
3183,
2825,
60,
15,
7642,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,... |
What show had a nomination for best actor in a lead role female (popular) in 2006? | CREATE TABLE table_51708 (
"Year" real,
"Category" text,
"Character" text,
"For The Show" text,
"Result" text
) | SELECT "For The Show" FROM table_51708 WHERE "Category" = 'best actor in a lead role – female (popular)' AND "Year" = '2006' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2517,
4018,
41,
96,
476,
2741,
121,
490,
6,
96,
18610,
6066,
651,
121,
1499,
6,
96,
18947,
2708,
49,
121,
1499,
6,
96,
3809,
37,
3111,
121,
1499,
6,
96,
20119,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3809,
37,
3111,
121,
21680,
953,
834,
755,
2517,
4018,
549,
17444,
427,
96,
18610,
6066,
651,
121,
3274,
3,
31,
9606,
7556,
16,
3,
9,
991,
1075,
3,
104,
3955,
41,
27302,
61,
31,
3430,
96,
476,
2741,
121,
327... |
When are end dates (last night) for the season of 1918? | CREATE TABLE table_159359_2 (end_date__last_night_ VARCHAR, season VARCHAR) | SELECT end_date__last_night_ FROM table_159359_2 WHERE season = "1918" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
4271,
3390,
834,
357,
41,
989,
834,
5522,
834,
834,
5064,
834,
7602,
834,
584,
4280,
28027,
6,
774,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
33,
414,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
414,
834,
5522,
834,
834,
5064,
834,
7602,
834,
21680,
953,
834,
1808,
4271,
3390,
834,
357,
549,
17444,
427,
774,
3274,
96,
2294,
2606,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which method has a 1:46 time? | CREATE TABLE table_35538 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
) | SELECT "Method" FROM table_35538 WHERE "Time" = '1:46' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
755,
3747,
41,
96,
1649,
7,
535,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
23351,
107,
32,
26,
121,
1499,
6,
96,
448,
32,
1106,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23351,
107,
32,
26,
121,
21680,
953,
834,
2469,
755,
3747,
549,
17444,
427,
96,
13368,
121,
3274,
3,
31,
536,
10,
4448,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
show all train numbers and names ordered by their time from early to late. | CREATE TABLE train (
train_number VARCHAR,
name VARCHAR,
TIME VARCHAR
) | SELECT train_number, name FROM train ORDER BY TIME | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2412,
41,
2412,
834,
5525,
1152,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
6,
332,
15382,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
504,
66,
2412,
2302,
11,
3056,
5563,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2412,
834,
5525,
1152,
6,
564,
21680,
2412,
4674,
11300,
272,
476,
332,
15382,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What kind of IHSAA Class has a School of decatur central? | CREATE TABLE table_name_2 (ihsaa_class VARCHAR, school VARCHAR) | SELECT ihsaa_class FROM table_name_2 WHERE school = "decatur central" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
23,
107,
7,
9,
9,
834,
4057,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
773,
13,
27,
4950,
5498,
4501,
65,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
23,
107,
7,
9,
9,
834,
4057,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
496,
3274,
96,
221,
75,
6010,
2069,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what was the name of the first intake that patient 031-15666 had. | CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREAT... | SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-15666')) AND intakeoutput.cellpath LIKE '%intake%' ORDER... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
50,
9824,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
7690,
4350,
1499,
6,
50,
1999,
7,
83,
17,
381,
6,
50,
1999,
7,
83,
17,
715,
97,
3,
61,
3,
32102,
32103,
32102,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
11963,
670,
2562,
5,
8725,
40,
10333,
21680,
11963,
670,
2562,
549,
17444,
427,
11963,
670,
2562,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15129,
21545,
23,
26,
21680,
1868,
549,
17444,
... |
what is admission time of subject id 15061? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | SELECT demographic.admittime FROM demographic WHERE demographic.subject_id = "15061" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
20466,
17,
715,
21680,
14798,
549,
17444,
427,
14798,
5,
7304,
11827,
834,
23,
26,
3274,
96,
12278,
4241,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What extra has world championships as the tournament, and 1st as the result? | CREATE TABLE table_name_2 (
extra VARCHAR,
tournament VARCHAR,
result VARCHAR
) | SELECT extra FROM table_name_2 WHERE tournament = "world championships" AND result = "1st" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
996,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
996,
65,
296,
10183,
7,
38,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
996,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
5892,
3274,
96,
7276,
10183,
7,
121,
3430,
741,
3274,
96,
536,
7,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What school did the catcher attend? | CREATE TABLE table_294 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"MLB Draft" text
) | SELECT "School" FROM table_294 WHERE "Position" = 'Catcher' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4240,
41,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
29364,
121,
1499,
6,
96,
19040,
3540,
121,
1499,
6,
96,
6858,
279,
21409,
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,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
29364,
121,
21680,
953,
834,
357,
4240,
549,
17444,
427,
96,
345,
32,
7,
4749,
121,
3274,
3,
31,
18610,
1703,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is diagnoses long title of subject name stephanie suchan? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescription... | SELECT diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Stephanie Suchan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
18730,
7,
5,
2961,
834,
21869,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
14337... |
What was the average attendance when the New York Mets were opponents with a record of 51-33? | CREATE TABLE table_71816 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) | SELECT AVG("Attendance") FROM table_71816 WHERE "Opponent" = 'new york mets' AND "Record" = '51-33' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2606,
2938,
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,
71,
17217,
599,
121,
188,
17,
324,
26,
663,
8512,
21680,
953,
834,
940,
2606,
2938,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
5534,
25453,
1736,
7,
31,
3430,
96,
1649,
7621,
121,
3274,
3,
31,
5553,
... |
Which To par has $100 in money played by Vic Ghezzi? | CREATE TABLE table_name_88 (
to_par VARCHAR,
money___$__ VARCHAR,
player VARCHAR
) | SELECT to_par FROM table_name_88 WHERE money___$__ = 100 AND player = "vic ghezzi" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
12,
834,
1893,
584,
4280,
28027,
6,
540,
834,
834,
834,
3229,
834,
834,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12,
834,
1893,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
540,
834,
834,
834,
3229,
834,
834,
3274,
910,
3430,
1959,
3274,
96,
7287,
3,
122,
88,
21607,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
For the team with a class of gt2 and 3:59.820 on day 2, what was the behind? | CREATE TABLE table_name_26 (behind VARCHAR, class VARCHAR, day_2 VARCHAR) | SELECT behind FROM table_name_26 WHERE class = "gt2" AND day_2 = "3:59.820" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
346,
2907,
26,
584,
4280,
28027,
6,
853,
584,
4280,
28027,
6,
239,
834,
357,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
242,
8,
372,
28,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1187,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
853,
3274,
96,
122,
17,
357,
121,
3430,
239,
834,
357,
3274,
96,
519,
10,
3390,
5,
927,
1755,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the year range of season 4? | CREATE TABLE table_22383603_1 (season VARCHAR, no VARCHAR) | SELECT season FROM table_22383603_1 WHERE no = 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
3747,
19208,
519,
834,
536,
41,
9476,
584,
4280,
28027,
6,
150,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
215,
620,
13,
774,
314,
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,
774,
21680,
953,
834,
2884,
3747,
19208,
519,
834,
536,
549,
17444,
427,
150,
3274,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Place of the Player with a To par of 1? | CREATE TABLE table_name_61 (
place VARCHAR,
to_par VARCHAR
) | SELECT place FROM table_name_61 WHERE to_par = "–1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
286,
584,
4280,
28027,
6,
12,
834,
1893,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3399,
13,
8,
12387,
28,
3,
9,
304,
260,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
12,
834,
1893,
3274,
96,
104,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What were the quarterfinals in the round of 32 was S williams / V williams ( usa ) l 6 4, 5 7, 1 6? | CREATE TABLE table_17289604_38 (
quarterfinals VARCHAR,
round_of_32 VARCHAR
) | SELECT quarterfinals FROM table_17289604_38 WHERE round_of_32 = "S Williams / V Williams ( USA ) L 6–4, 5–7, 1–6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2577,
4314,
6348,
834,
3747,
41,
2893,
12406,
7,
584,
4280,
28027,
6,
1751,
834,
858,
834,
2668,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
130,
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,
2893,
12406,
7,
21680,
953,
834,
2517,
2577,
4314,
6348,
834,
3747,
549,
17444,
427,
1751,
834,
858,
834,
2668,
3274,
96,
134,
6060,
3,
87,
584,
6060,
41,
2312,
3,
61,
301,
431,
104,
8525,
305,
104,
940,
6,
209,
... |
What is the sum of the round of the player who plays linebacker and has a pick # greater than 251? | CREATE TABLE table_name_38 (round INTEGER, position VARCHAR, pick__number VARCHAR) | SELECT SUM(round) FROM table_name_38 WHERE position = "linebacker" AND pick__number > 251 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
7775,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
6,
1432,
834,
834,
5525,
1152,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
7775,
61,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
1102,
3274,
96,
747,
1549,
49,
121,
3430,
1432,
834,
834,
5525,
1152,
2490,
944,
536,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of first_name and manager_id . | CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
... | SELECT FIRST_NAME, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
10521,
41,
3396,
19846,
11810,
834,
4309,
7908,
1982,
599,
8525,
632,
201,
3396,
19846,
11810,
834,
567,
17683,
3,
4331,
4059,
599,
1458,
201,
283,
15610,
17966,
834,
4309,
7908,
1982,
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,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
30085,
834,
567,
17683,
6,
283,
15610,
17966,
834,
4309,
21680,
1652,
549,
17444,
427,
4486,
3396,
19846,
11810,
834,
4309,
3388,
41,
23143,
14196,
3396,
19846,
11810,
834,
4309,
21680,
10521,
549,
17444,
427,
283,
15610,... |
What are the descriptions of the categories that products with product descriptions that contain the letter t are in, and count them by a bar chart, could you list by the y axis in asc? | CREATE TABLE Product_Characteristics (
product_id INTEGER,
characteristic_id INTEGER,
product_characteristic_value VARCHAR(50)
)
CREATE TABLE Ref_Product_Categories (
product_category_code VARCHAR(15),
product_category_description VARCHAR(80),
unit_of_measure VARCHAR(20)
)
CREATE TABLE Ref_Cha... | SELECT product_category_description, COUNT(product_category_description) FROM Ref_Product_Categories AS T1 JOIN Products AS T2 ON T1.product_category_code = T2.product_category_code WHERE T2.product_description LIKE '%t%' GROUP BY product_category_description ORDER BY COUNT(product_category_description) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6246,
834,
18947,
2708,
49,
3040,
7,
41,
556,
834,
23,
26,
3,
21342,
17966,
6,
16115,
834,
23,
26,
3,
21342,
17966,
6,
556,
834,
31886,
3040,
834,
12097,
584,
4280,
28027,
599,
1752,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
556,
834,
8367,
839,
651,
834,
221,
11830,
6,
2847,
17161,
599,
15892,
834,
8367,
839,
651,
834,
221,
11830,
61,
21680,
419,
89,
834,
3174,
7472,
834,
18610,
6066,
2593,
6157,
332,
536,
3,
15355,
3162,
7554,
6157,
3... |
give me the number of patients whose diagnoses short title is heart valve replac nec and lab test abnormal status is delta? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Heart valve replac NEC" AND lab.flag = "delta" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
What is the number drawn when 3 have been lost? | CREATE TABLE table_name_74 (
drawn VARCHAR,
lost VARCHAR
) | SELECT drawn FROM table_name_74 WHERE lost = "3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
6796,
584,
4280,
28027,
6,
1513,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
381,
6796,
116,
220,
43,
118,
1513,
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,
6796,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
1513,
3274,
96,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is age and death status of subject id 4589? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (... | SELECT demographic.age, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "4589" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
545,
6,
14798,
5,
994,
2388,
15,
834,
89,
5430,
21680,
14798,
549,
17444,
427,
14798,
5,
7304,
11827,
834,
23,
26,
3274,
96,
2128,
3914,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the report for 10 october? | CREATE TABLE table_56238 (
"Race" text,
"Date" text,
"Location" text,
"Pole Position" text,
"Fastest Lap" text,
"Race Winner" text,
"Constructor" text,
"Report" text
) | SELECT "Report" FROM table_56238 WHERE "Date" = '10 october' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
357,
3747,
41,
96,
448,
3302,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
8931,
15,
14258,
121,
1499,
6,
96,
371,
9,
7,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1649,
1493,
121,
21680,
953,
834,
4834,
357,
3747,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
1714,
3,
32,
75,
235,
1152,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is the least number of podiums for a formula BMW Americas series? | CREATE TABLE table_24330803_1 (podiums INTEGER, series VARCHAR) | SELECT MIN(podiums) FROM table_24330803_1 WHERE series = "Formula BMW Americas" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
17225,
2079,
519,
834,
536,
41,
11410,
2552,
7,
3,
21342,
17966,
6,
939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
709,
381,
13,
22828,
7,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
11410,
2552,
7,
61,
21680,
953,
834,
2266,
17225,
2079,
519,
834,
536,
549,
17444,
427,
939,
3274,
96,
3809,
4115,
9,
8764,
1371,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the original artist that has 11 as the order number? | CREATE TABLE table_75716 (
"Week #" text,
"Theme" text,
"Original artist" text,
"Order #" text,
"Result" text
) | SELECT "Original artist" FROM table_75716 WHERE "Order #" = '11' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
940,
2938,
41,
96,
518,
10266,
1713,
121,
1499,
6,
96,
634,
526,
121,
1499,
6,
96,
667,
3380,
10270,
2377,
121,
1499,
6,
96,
7395,
588,
1713,
121,
1499,
6,
96,
2011... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
3380,
10270,
2377,
121,
21680,
953,
834,
3072,
940,
2938,
549,
17444,
427,
96,
7395,
588,
1713,
121,
3274,
3,
31,
2596,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the finish for lee janzen | CREATE TABLE table_6195 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real,
"Finish" text
) | SELECT "Finish" FROM table_6195 WHERE "Player" = 'lee janzen' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
3301,
41,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
476,
2741,
599,
7,
61,
751,
121,
1499,
6,
96,
3696,
1947,
121,
490,
6,
96,
3696,
260,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
371,
77,
1273,
121,
21680,
953,
834,
4241,
3301,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
109,
15,
3,
7066,
1847,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many ships for the nation with grand total of 20? | CREATE TABLE table_name_13 (s_motor_ship___s_naval_trawler VARCHAR, grand_total VARCHAR) | SELECT s_motor_ship___s_naval_trawler FROM table_name_13 WHERE grand_total = 20 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
7,
834,
18271,
834,
2009,
834,
834,
834,
7,
834,
14128,
138,
834,
17,
10936,
1171,
584,
4280,
28027,
6,
1907,
834,
235,
1947,
584,
4280,
28027,
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,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
7,
834,
18271,
834,
2009,
834,
834,
834,
7,
834,
14128,
138,
834,
17,
10936,
1171,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
1907,
834,
235,
1947,
3274,
460,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many match points did gran parma lost | CREATE TABLE table_27987767_2 (
match_points VARCHAR,
losers VARCHAR
) | SELECT match_points FROM table_27987767_2 WHERE losers = "Gran Parma" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
3916,
4013,
3708,
834,
357,
41,
1588,
834,
2700,
7,
584,
4280,
28027,
6,
10381,
277,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
149,
186,
1588,
979,
410,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1588,
834,
2700,
7,
21680,
953,
834,
2555,
3916,
4013,
3708,
834,
357,
549,
17444,
427,
10381,
277,
3274,
96,
4744,
29,
276,
12764,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What rank is aliyya qadi with less than 1421 votes? | CREATE TABLE table_name_73 (rank INTEGER, candidate_name VARCHAR, votes VARCHAR) | SELECT MIN(rank) FROM table_name_73 WHERE candidate_name = "aliyya qadi" AND votes < 1421 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
6254,
3,
21342,
17966,
6,
4775,
834,
4350,
584,
4280,
28027,
6,
11839,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
11003,
19,
3,
4288,
63,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
6254,
61,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
4775,
834,
4350,
3274,
96,
4288,
63,
63,
9,
3,
1824,
9,
26,
23,
121,
3430,
11839,
3,
2,
968,
2658,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
How many points are there for a Mclaren m23 chassis later than 1972? | CREATE TABLE table_name_20 (points VARCHAR, year VARCHAR, chassis VARCHAR) | SELECT COUNT(points) FROM table_name_20 WHERE year > 1972 AND chassis = "mclaren m23" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
2700,
7,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
22836,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
979,
33,
132,
21,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
215,
2490,
16583,
3430,
22836,
3274,
96,
51,
23982,
35,
3,
51,
2773,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What are the first and last name of the president of the club "Bootup Baltimore"? | CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR, position VARCHAR) | SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t2.position = "President" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1886,
41,
13442,
23,
26,
584,
4280,
28027,
6,
1886,
4350,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1236,
41,
89,
4350,
584,
4280,
28027,
6,
3,
40,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17,
5787,
89,
4350,
6,
3,
17,
5787,
40,
4350,
21680,
1886,
6157,
3,
17,
536,
3,
15355,
3162,
1144,
834,
858,
834,
13442,
6157,
3,
17,
357,
9191,
3,
17,
5411,
13442,
23,
26,
3274,
3,
17,
4416,
13442,
23,
26,... |
On July 26, 1977, what competition played at the venue of Kuala Lumpur, resulted in 4-0? | CREATE TABLE table_name_89 (
competition VARCHAR,
date VARCHAR,
venue VARCHAR,
result VARCHAR
) | SELECT competition FROM table_name_89 WHERE venue = "kuala lumpur" AND result = "4-0" AND date = "july 26, 1977" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
2259,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
461,
1718,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2259,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
5669,
3274,
96,
2729,
138,
9,
20956,
450,
121,
3430,
741,
3274,
96,
26814,
121,
3430,
833,
3274,
96,
2047,
120,
13597,
16433,
121,
1,
-100,
-100,
-100,
-100,
... |
How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4? | CREATE TABLE table_72052 (
"Year" real,
"Office" text,
"Candidate" text,
"Popular Votes" real,
"Percentage" text
) | SELECT AVG("Popular Votes") FROM table_72052 WHERE "Office" = 'us representative 4' AND "Percentage" = '1.59%' AND "Year" > '1992' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
18517,
5373,
41,
96,
476,
2741,
121,
490,
6,
96,
22098,
121,
1499,
6,
96,
14050,
12416,
342,
121,
1499,
6,
96,
27773,
4885,
3152,
1422,
121,
490,
6,
96,
12988,
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,
71,
17217,
599,
121,
27773,
4885,
3152,
1422,
8512,
21680,
953,
834,
18517,
5373,
549,
17444,
427,
96,
22098,
121,
3274,
3,
31,
302,
6978,
314,
31,
3430,
96,
12988,
3728,
545,
121,
3274,
3,
31,
16593,
7561,
31,
3430... |
What is the drop number on 08/06/2011? | CREATE TABLE table_32793 (
"Player" text,
"Tries" text,
"Conv" text,
"Pens" text,
"Drop" text,
"Venue" text,
"Date" text
) | SELECT "Drop" FROM table_32793 WHERE "Date" = '08/06/2011' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2555,
4271,
41,
96,
15800,
49,
121,
1499,
6,
96,
382,
2593,
121,
1499,
6,
96,
4302,
208,
121,
1499,
6,
96,
345,
35,
7,
121,
1499,
6,
96,
308,
9505,
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,
308,
9505,
121,
21680,
953,
834,
519,
2555,
4271,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
4018,
87,
5176,
87,
13907,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the high amount of points on February 11? | CREATE TABLE table_17311812_8 (
high_points VARCHAR,
date VARCHAR
) | SELECT high_points FROM table_17311812_8 WHERE date = "February 11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
3341,
2606,
2122,
834,
927,
41,
306,
834,
2700,
7,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
306,
866,
13,
979,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
306,
834,
2700,
7,
21680,
953,
834,
2517,
3341,
2606,
2122,
834,
927,
549,
17444,
427,
833,
3274,
96,
31122,
850,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the name of country that has the shortest life expectancy in Asia? | CREATE TABLE country (Name VARCHAR, Continent VARCHAR, LifeExpectancy VARCHAR) | SELECT Name FROM country WHERE Continent = "Asia" ORDER BY LifeExpectancy LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
684,
41,
23954,
584,
4280,
28027,
6,
3,
16798,
295,
584,
4280,
28027,
6,
2330,
12882,
15,
75,
17,
6833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
684,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5570,
21680,
684,
549,
17444,
427,
3,
16798,
295,
3274,
96,
188,
7,
23,
9,
121,
4674,
11300,
272,
476,
2330,
12882,
15,
75,
17,
6833,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Draw a bar chart about the distribution of meter_200 and the amount of meter_200 , and group by attribute meter_200, and order from low to high by the bars. | CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE swimme... | SELECT meter_200, COUNT(meter_200) FROM swimmer GROUP BY meter_200 ORDER BY meter_200 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1368,
41,
4699,
16,
17,
6,
3,
20119,
1499,
6,
27813,
935,
834,
4309,
16,
17,
6,
8042,
834,
4309,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
605,
41,
4699,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
4401,
834,
3632,
6,
2847,
17161,
599,
4401,
834,
3632,
61,
21680,
27424,
350,
4630,
6880,
272,
476,
3,
4401,
834,
3632,
4674,
11300,
272,
476,
3,
4401,
834,
3632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the lowest GEO ID for the longitude of -102.158045 and the water in square miles larger than 0.979? | CREATE TABLE table_name_29 (
geo_id INTEGER,
longitude VARCHAR,
water__sqmi_ VARCHAR
) | SELECT MIN(geo_id) FROM table_name_29 WHERE longitude = -102.158045 AND water__sqmi_ > 0.979 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
9502,
834,
23,
26,
3,
21342,
17966,
6,
307,
20341,
584,
4280,
28027,
6,
387,
834,
834,
7,
1824,
51,
23,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
397,
32,
834,
23,
26,
61,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
307,
20341,
3274,
3,
18,
14388,
5,
1808,
2079,
2128,
3430,
387,
834,
834,
7,
1824,
51,
23,
834,
2490,
3,
23758,
4440,
1... |
What is the Athlete of the race with a Time of 9.78? | CREATE TABLE table_5871 (
"Rank" real,
"Time" real,
"Athlete" text,
"Nation" text,
"Date" text,
"Location" text
) | SELECT "Athlete" FROM table_5871 WHERE "Time" = '9.78' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3449,
4450,
41,
96,
22557,
121,
490,
6,
96,
13368,
121,
490,
6,
96,
188,
189,
1655,
15,
121,
1499,
6,
96,
567,
257,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
434,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
189,
1655,
15,
121,
21680,
953,
834,
3449,
4450,
549,
17444,
427,
96,
13368,
121,
3274,
3,
31,
8797,
3940,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the best preliminary score from a contestant from Oklahoma with evening gown less than 8.853? | CREATE TABLE table_name_63 (
preliminary INTEGER,
state VARCHAR,
evening_gown VARCHAR
) | SELECT MAX(preliminary) FROM table_name_63 WHERE state = "oklahoma" AND evening_gown < 8.853 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
17413,
3,
21342,
17966,
6,
538,
584,
4280,
28027,
6,
2272,
834,
122,
9197,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
200,
174... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2026,
4941,
77,
1208,
61,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
538,
3274,
96,
32,
8142,
10207,
9,
121,
3430,
2272,
834,
122,
9197,
3,
2,
4848,
4433,
519,
1,
-100,
-100,
-100,
-100,
-100... |
how many status with first elected being 1968 | CREATE TABLE table_1341522_38 (
status VARCHAR,
first_elected VARCHAR
) | SELECT COUNT(status) FROM table_1341522_38 WHERE first_elected = 1968 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
1808,
2884,
834,
3747,
41,
2637,
584,
4280,
28027,
6,
166,
834,
19971,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
149,
186,
2637,
28,
166,
8160,
271,
1650... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
8547,
302,
61,
21680,
953,
834,
23747,
1808,
2884,
834,
3747,
549,
17444,
427,
166,
834,
19971,
3274,
16506,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which nationality's distance was 500m before 2012, when the record was 1:37.071s? | CREATE TABLE table_35246 (
"Distance" text,
"Event" text,
"Record" text,
"Nationality" text,
"Year" real,
"Location" text
) | SELECT "Nationality" FROM table_35246 WHERE "Distance" = '500m' AND "Year" < '2012' AND "Record" = '1:37.071s' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
357,
4448,
41,
96,
308,
23,
8389,
121,
1499,
6,
96,
427,
2169,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
476,
2741,
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,
96,
24732,
485,
121,
21680,
953,
834,
2469,
357,
4448,
549,
17444,
427,
96,
308,
23,
8389,
121,
3274,
3,
31,
2560,
51,
31,
3430,
96,
476,
2741,
121,
3,
2,
3,
31,
12172,
31,
3430,
96,
1649,
7621,
121,
3274,
3,
... |
What was the % 2006 rating in 2006 where there were 5 seats? | CREATE TABLE table_21132404_1 (
_percentage_2006 VARCHAR,
seats_2006 VARCHAR
) | SELECT _percentage_2006 FROM table_21132404_1 WHERE seats_2006 = 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
23757,
25285,
834,
536,
41,
3,
834,
883,
3728,
545,
834,
21196,
584,
4280,
28027,
6,
6116,
834,
21196,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
834,
883,
3728,
545,
834,
21196,
21680,
953,
834,
2658,
23757,
25285,
834,
536,
549,
17444,
427,
6116,
834,
21196,
3274,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For period September 2009, what is the other Mozilla total number? | CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, period VARCHAR) | SELECT COUNT(other_mozilla) FROM table_1876262_10 WHERE period = "September 2009" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25828,
4056,
4056,
834,
1714,
41,
9269,
834,
51,
32,
29885,
584,
4280,
28027,
6,
1059,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
242,
1059,
1600,
2464,
6,
125,
19,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
9269,
834,
51,
32,
29885,
61,
21680,
953,
834,
25828,
4056,
4056,
834,
1714,
549,
17444,
427,
1059,
3274,
96,
27652,
2464,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Class has a Year(s) of Manufacture of 1899? | CREATE TABLE table_78836 (
"Class" text,
"Number(s)" text,
"Quantity" real,
"Year(s) of Manufacture" text,
"Type" text
) | SELECT "Class" FROM table_78836 WHERE "Year(s) of Manufacture" = '1899' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
927,
3420,
41,
96,
21486,
121,
1499,
6,
96,
567,
5937,
49,
599,
7,
61,
121,
1499,
6,
96,
5991,
288,
485,
121,
490,
6,
96,
476,
2741,
599,
7,
61,
13,
1140,
76,
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,
96,
21486,
121,
21680,
953,
834,
3940,
927,
3420,
549,
17444,
427,
96,
476,
2741,
599,
7,
61,
13,
1140,
76,
8717,
1462,
121,
3274,
3,
31,
2606,
3264,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What percent did LINKE get in Tyrol? | CREATE TABLE table_60669 (
"State" text,
"GR\u00dcNE" text,
"FRITZ" text,
"RETT\u00d6" text,
"LINKE" text,
"STARK" text
) | SELECT "LINKE" FROM table_60669 WHERE "State" = 'tyrol' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
948,
3951,
41,
96,
134,
4748,
121,
1499,
6,
96,
8727,
2,
76,
1206,
26,
75,
4171,
121,
1499,
6,
96,
371,
25066,
956,
121,
1499,
6,
96,
27514,
382,
2,
76,
1206,
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,
27472,
427,
121,
21680,
953,
834,
3328,
948,
3951,
549,
17444,
427,
96,
134,
4748,
121,
3274,
3,
31,
17,
63,
3491,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
WHAT IS THE CITY WITH THIRD AS LORI OLSON-JOHNS? | CREATE TABLE table_name_6 (city VARCHAR, third VARCHAR) | SELECT city FROM table_name_6 WHERE third = "lori olson-johns" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
6726,
584,
4280,
28027,
6,
1025,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
21665,
6827,
1853,
205,
15296,
11951,
332,
7094,
10255,
6157,
301,
193... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
690,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
1025,
3274,
96,
322,
23,
3,
32,
40,
739,
18,
27341,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the largest overall rank for a center drafted before round 10? | CREATE TABLE table_name_22 (overall INTEGER, position VARCHAR, round VARCHAR) | SELECT MAX(overall) FROM table_name_22 WHERE position = "center" AND round < 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
1890,
1748,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2015,
1879,
11003,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
1890,
1748,
61,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
1102,
3274,
96,
13866,
121,
3430,
1751,
3,
2,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
which conference had the same number of bids as the colonial athletic association ? | CREATE TABLE table_203_187 (
id number,
"conference" text,
"bids" number,
"record" text,
"win %" number,
"quarterfinals" number,
"semifinals" number,
"final" number,
"champions" number
) | SELECT "conference" FROM table_203_187 WHERE "conference" <> 'colonial athletic association' AND "bids" = (SELECT "bids" FROM table_203_187 WHERE "conference" = 'colonial athletic association') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
25828,
41,
3,
23,
26,
381,
6,
96,
28496,
121,
1499,
6,
96,
9824,
7,
121,
381,
6,
96,
60,
7621,
121,
1499,
6,
96,
3757,
3,
1454,
121,
381,
6,
96,
19973,
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,
28496,
121,
21680,
953,
834,
23330,
834,
25828,
549,
17444,
427,
96,
28496,
121,
3,
2,
3155,
3,
31,
8135,
7419,
12217,
6028,
31,
3430,
96,
9824,
7,
121,
3274,
41,
23143,
14196,
96,
9824,
7,
121,
21680,
953,
83... |
What party has more than 241,310 inhabitants after 2012? | CREATE TABLE table_name_20 (
party VARCHAR,
election VARCHAR,
inhabitants VARCHAR
) | SELECT party FROM table_name_20 WHERE election > 2012 AND inhabitants > 241 OFFSET 310 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
1088,
584,
4280,
28027,
6,
4356,
584,
4280,
28027,
6,
21155,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1088,
65,
72,
145,
997,
4347,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1088,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
4356,
2490,
1673,
3430,
21155,
2490,
997,
536,
3,
15316,
20788,
3,
19947,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
they must not have a history of seizures or epilepsy. | CREATE TABLE table_train_103 (
"id" int,
"systolic_blood_pressure_sbp" int,
"epilepsy" bool,
"diastolic_blood_pressure_dbp" int,
"heart_rate" int,
"seizure_disorder" bool,
"age" float,
"NOUSE" float
) | SELECT * FROM table_train_103 WHERE seizure_disorder = 1 OR epilepsy = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
17864,
41,
96,
23,
26,
121,
16,
17,
6,
96,
7,
63,
7,
235,
2176,
834,
27798,
834,
26866,
834,
7,
115,
102,
121,
16,
17,
6,
96,
15,
102,
699,
19819,
121,
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,
1429,
21680,
953,
834,
9719,
834,
17864,
549,
17444,
427,
4736,
1000,
60,
834,
26,
159,
9397,
3274,
209,
4674,
9241,
109,
19819,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the maximum points for libertad | CREATE TABLE table_18607260_6 (
points INTEGER,
team VARCHAR
) | SELECT MAX(points) FROM table_18607260_6 WHERE team = "Libertad" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24700,
5865,
3328,
834,
948,
41,
979,
3,
21342,
17966,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2411,
979,
21,
5486,
17,
9,
26,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
2700,
7,
61,
21680,
953,
834,
24700,
5865,
3328,
834,
948,
549,
17444,
427,
372,
3274,
96,
14615,
49,
17,
9,
26,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the names of people in ascending order of weight? | CREATE TABLE people (
people_id number,
name text,
height number,
weight number,
date_of_birth text
)
CREATE TABLE entrepreneur (
entrepreneur_id number,
people_id number,
company text,
money_requested number,
investor text
) | SELECT name FROM people ORDER BY weight | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
151,
41,
151,
834,
23,
26,
381,
6,
564,
1499,
6,
3902,
381,
6,
1293,
381,
6,
833,
834,
858,
834,
20663,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
3,
12290,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
564,
21680,
151,
4674,
11300,
272,
476,
1293,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the total number of Laps for year of 1961 | CREATE TABLE table_name_48 (laps VARCHAR, year VARCHAR) | SELECT COUNT(laps) FROM table_name_48 WHERE year = "1961" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
8478,
7,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
792,
381,
13,
325,
102,
7,
21,
215,
13,
21018,
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,
2847,
17161,
599,
8478,
7,
61,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
215,
3274,
96,
2294,
4241,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the high rebounds for score of 64-74 | CREATE TABLE table_21311 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location/Attendance" text,
"Record" text
) | SELECT COUNT("High rebounds") FROM table_21311 WHERE "Score" = '64-74' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2368,
2596,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
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,
21417,
3,
23768,
8512,
21680,
953,
834,
357,
2368,
2596,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
4389,
18,
4581,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the Score of the 1996 Asian Cup Qualification on June 29, 1996? | CREATE TABLE table_name_24 (
score VARCHAR,
competition VARCHAR,
date VARCHAR
) | SELECT score FROM table_name_24 WHERE competition = "1996 asian cup qualification" AND date = "june 29, 1996" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
2604,
584,
4280,
28027,
6,
2259,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
17763,
13,
8,
6911,
6578... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
2259,
3274,
96,
2294,
4314,
3,
9,
10488,
4119,
15513,
121,
3430,
833,
3274,
96,
6959,
15,
14405,
6911,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was Reid's rolex ranking in the year that her money list rank was 3? | CREATE TABLE table_29506171_2 (
rolex_ranking INTEGER,
money_list_rank VARCHAR
) | SELECT MAX(rolex_ranking) FROM table_29506171_2 WHERE money_list_rank = "3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
1752,
4241,
4450,
834,
357,
41,
1075,
226,
834,
6254,
53,
3,
21342,
17966,
6,
540,
834,
3350,
834,
6254,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
3491,
994,
834,
6254,
53,
61,
21680,
953,
834,
3166,
1752,
4241,
4450,
834,
357,
549,
17444,
427,
540,
834,
3350,
834,
6254,
3274,
96,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the title that got 1.54 viewers | CREATE TABLE table_22347090_5 (title VARCHAR, us_viewers__million_ VARCHAR) | SELECT title FROM table_22347090_5 WHERE us_viewers__million_ = "1.54" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
3710,
2518,
2394,
834,
755,
41,
21869,
584,
4280,
28027,
6,
178,
834,
4576,
277,
834,
834,
17030,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
223... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2884,
3710,
2518,
2394,
834,
755,
549,
17444,
427,
178,
834,
4576,
277,
834,
834,
17030,
834,
3274,
96,
16593,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Date has Opponents in the final of valeria casillo lilly raffa? | CREATE TABLE table_name_59 (
date VARCHAR,
opponents_in_the_final VARCHAR
) | SELECT date FROM table_name_59 WHERE opponents_in_the_final = "valeria casillo lilly raffa" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
833,
584,
4280,
28027,
6,
16383,
834,
77,
834,
532,
834,
12406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
7678,
65,
4495,
9977,
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,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
16383,
834,
77,
834,
532,
834,
12406,
3274,
96,
2165,
4476,
1990,
1092,
32,
3,
40,
173,
120,
3,
52,
4127,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who one bronze in the event where Choi Jun-Sang won gold, and Suh Jung-Kyun won silver? | CREATE TABLE table_6535 (
"Year" real,
"Location" text,
"Gold" text,
"Silver" text,
"Bronze" text
) | SELECT "Bronze" FROM table_6535 WHERE "Gold" = 'choi jun-sang' AND "Silver" = 'suh jung-kyun' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4122,
2469,
41,
96,
476,
2741,
121,
490,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
23576,
121,
1499,
6,
96,
134,
173,
624,
121,
1499,
6,
96,
22780,
29,
776,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22780,
29,
776,
121,
21680,
953,
834,
4122,
2469,
549,
17444,
427,
96,
23576,
121,
3274,
3,
31,
3995,
23,
3,
6959,
18,
7,
1468,
31,
3430,
96,
134,
173,
624,
121,
3274,
3,
31,
7,
76,
107,
3,
22498,
18,
3781... |
How many times was the date october 3, 2010? | CREATE TABLE table_27552095_27 (player VARCHAR, date VARCHAR) | SELECT COUNT(player) FROM table_27552095_27 WHERE date = "October 3, 2010" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25988,
25356,
3301,
834,
2555,
41,
20846,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
648,
47,
8,
833,
3,
32,
75,
235,
1152,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
20846,
61,
21680,
953,
834,
25988,
25356,
3301,
834,
2555,
549,
17444,
427,
833,
3274,
96,
28680,
6180,
2735,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the record for the location and attendance of american airlines arena 19,825? | CREATE TABLE table_27713030_11 (record VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_27713030_11 WHERE location_attendance = "American Airlines Arena 19,825" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
4450,
1458,
1458,
834,
2596,
41,
60,
7621,
584,
4280,
28027,
6,
1128,
834,
15116,
663,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1368,
21,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
2555,
4450,
1458,
1458,
834,
2596,
549,
17444,
427,
1128,
834,
15116,
663,
3274,
96,
8778,
15738,
14904,
12370,
4613,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Call sign of k33ln-ld, and a Virtual channel of 33.5 is what network? | CREATE TABLE table_75028 (
"Call sign" text,
"Analog channel" text,
"Digital channel" text,
"Virtual channel" text,
"Network" text,
"Station Ownership" text
) | SELECT "Network" FROM table_75028 WHERE "Call sign" = 'k33ln-ld' AND "Virtual channel" = '33.5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9979,
2577,
41,
96,
254,
1748,
1320,
121,
1499,
6,
96,
188,
29,
9,
2152,
4245,
121,
1499,
6,
96,
30225,
4245,
121,
1499,
6,
96,
21031,
17,
3471,
4245,
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,
9688,
1981,
121,
21680,
953,
834,
9979,
2577,
549,
17444,
427,
96,
254,
1748,
1320,
121,
3274,
3,
31,
157,
4201,
40,
29,
18,
40,
26,
31,
3430,
96,
21031,
17,
3471,
4245,
121,
3274,
3,
31,
519,
9285,
31,
1,
... |
What was the average Height (cm), for a player who had the Position, C, and whose 1995-96 team was the Buffalo Sabres, and whose Weight (kg) was less than 82? | CREATE TABLE table_40956 (
"Position" text,
"Jersey number" real,
"Name v t e" text,
"Height (cm)" real,
"Weight (kg)" real,
"Birthplace" text,
"1995-96 team" text
) | SELECT AVG("Height (cm)") FROM table_40956 WHERE "Position" = 'c' AND "1995-96 team" = 'buffalo sabres' AND "Weight (kg)" < '82' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2445,
3301,
948,
41,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
683,
277,
15,
63,
381,
121,
490,
6,
96,
23954,
3,
208,
3,
17,
3,
15,
121,
1499,
6,
96,
3845,
2632,
41,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
3845,
2632,
41,
75,
51,
61,
8512,
21680,
953,
834,
2445,
3301,
948,
549,
17444,
427,
96,
345,
32,
7,
4749,
121,
3274,
3,
31,
75,
31,
3430,
96,
2294,
3301,
18,
4314,
372,
121,
3274,
3,
31,
... |
How many laps for denny hulme with under 4 on the grid? | CREATE TABLE table_52688 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT SUM("Laps") FROM table_52688 WHERE "Driver" = 'denny hulme' AND "Grid" < '4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2688,
4060,
41,
96,
20982,
52,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
3612,
102,
7,
8512,
21680,
953,
834,
755,
2688,
4060,
549,
17444,
427,
96,
20982,
52,
121,
3274,
3,
31,
537,
29,
63,
3,
107,
83,
526,
31,
3430,
96,
13313,
26,
121,
3,
2,
3,
31,
591,
31,
... |
What is the zip code in which the average mean sea level pressure is the lowest? | CREATE TABLE weather (zip_code VARCHAR, mean_sea_level_pressure_inches INTEGER) | SELECT zip_code FROM weather GROUP BY zip_code ORDER BY AVG(mean_sea_level_pressure_inches) LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1969,
41,
13453,
834,
4978,
584,
4280,
28027,
6,
1243,
834,
7,
15,
9,
834,
4563,
834,
26866,
834,
77,
2951,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
10658,
108... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
10658,
834,
4978,
21680,
1969,
350,
4630,
6880,
272,
476,
10658,
834,
4978,
4674,
11300,
272,
476,
71,
17217,
599,
526,
152,
834,
7,
15,
9,
834,
4563,
834,
26866,
834,
77,
2951,
61,
8729,
12604,
209,
1,
-100,
-100,
... |
What player was picked 176? | CREATE TABLE table_name_51 (player VARCHAR, pick VARCHAR) | SELECT player FROM table_name_51 WHERE pick = 176 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
20846,
584,
4280,
28027,
6,
1432,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1959,
47,
4758,
3,
26782,
58,
1,
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,
1959,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
1432,
3274,
3,
26782,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What year was the diesel fuel propulsion, with a length of 40', and numbers (quanity ordered) of 3701-3729 (29 buses), retired? | CREATE TABLE table_38826 (
"Make/ Model" text,
"Length" text,
"Year" real,
"Numbers (Quantity Ordered)" text,
"Fuel Propulsion" text,
"Year Retired" text
) | SELECT "Year Retired" FROM table_38826 WHERE "Fuel Propulsion" = 'diesel' AND "Length" = '40' AND "Numbers (Quantity Ordered)" = '3701-3729 (29 buses)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
4060,
2688,
41,
96,
22638,
87,
5154,
121,
1499,
6,
96,
434,
4606,
189,
121,
1499,
6,
96,
476,
2741,
121,
490,
6,
96,
567,
5937,
277,
41,
5991,
288,
485,
5197,
15,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
476,
2741,
419,
11809,
26,
121,
21680,
953,
834,
519,
4060,
2688,
549,
17444,
427,
96,
371,
76,
15,
40,
749,
20567,
121,
3274,
3,
31,
7719,
15,
40,
31,
3430,
96,
434,
4606,
189,
121,
3274,
3,
31,
2445,
31,
... |
Which method did pride bushido 10 have ? | CREATE TABLE table_38548 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
) | SELECT "Method" FROM table_38548 WHERE "Event" = 'pride bushido 10' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
4433,
3707,
41,
96,
1649,
7,
535,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
23351,
107,
32,
26,
121,
1499,
6,
96,
427,
2169,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23351,
107,
32,
26,
121,
21680,
953,
834,
519,
4433,
3707,
549,
17444,
427,
96,
427,
2169,
121,
3274,
3,
31,
2246,
221,
2601,
11740,
32,
335,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the L when the W is 4? | CREATE TABLE table_29565120_2 (
l INTEGER,
w VARCHAR
) | SELECT MIN(l) FROM table_29565120_2 WHERE w = 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3301,
4122,
15518,
834,
357,
41,
3,
40,
3,
21342,
17966,
6,
3,
210,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
301,
116,
8,
549,
19,
314,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
40,
61,
21680,
953,
834,
357,
3301,
4122,
15518,
834,
357,
549,
17444,
427,
3,
210,
3274,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
age 70 years and older | CREATE TABLE table_train_243 (
"id" int,
"c_peptide_level" float,
"finger_stick_measurements" bool,
"diabetic" string,
"fasting_blood_glucose_fbg" float,
"hypoglycemia" bool,
"insulin_requirement" float,
"triglyceride_tg" float,
"a1c" float,
"age" float,
"NOUSE" float
) | SELECT * FROM table_train_243 WHERE age > 70 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
27730,
41,
96,
23,
26,
121,
16,
17,
6,
96,
75,
834,
21826,
15,
834,
4563,
121,
3,
12660,
6,
96,
89,
9963,
834,
9656,
834,
31038,
4128,
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,
9719,
834,
27730,
549,
17444,
427,
1246,
2490,
2861,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the county when the value for Others% is 1.1%, and the value for Kerry# is greater than 19,177, and the value for Bush% is 52.1%? | CREATE TABLE table_15686 (
"County" text,
"Kerry%" text,
"Kerry#" real,
"Bush%" text,
"Bush#" real,
"Others%" text,
"Others#" real
) | SELECT "County" FROM table_15686 WHERE "Others%" = '1.1%' AND "Kerry#" > '19,177' AND "Bush%" = '52.1%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25463,
3840,
41,
96,
10628,
63,
121,
1499,
6,
96,
439,
49,
651,
1454,
121,
1499,
6,
96,
439,
49,
651,
4663,
121,
490,
6,
96,
279,
8489,
1454,
121,
1499,
6,
96,
279,
848... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
63,
121,
21680,
953,
834,
25463,
3840,
549,
17444,
427,
96,
667,
189,
277,
1454,
121,
3274,
3,
31,
11039,
1454,
31,
3430,
96,
439,
49,
651,
4663,
121,
2490,
3,
31,
2294,
6,
26793,
31,
3430,
96,
279,
8... |
What is Name, when Score is '101'? | CREATE TABLE table_62482 (
"Name" text,
"Score" text,
"Balls" real,
"Venue" text,
"Date" text
) | SELECT "Name" FROM table_62482 WHERE "Score" = '101' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
3707,
357,
41,
96,
23954,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
279,
1748,
7,
121,
490,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
308,
342,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23954,
121,
21680,
953,
834,
4056,
3707,
357,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
19621,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the average region that has an Area (km 2 ) of 451.79, and a Population under 496,257? | CREATE TABLE table_10688 (
"Code" real,
"Type" text,
"Name" text,
"Area (km 2 )" real,
"Population" real,
"Regional County Municipality" text,
"Region" real
) | SELECT AVG("Region") FROM table_10688 WHERE "Area (km 2 )" = '451.79' AND "Population" < '496,257' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
16431,
4060,
41,
96,
22737,
121,
490,
6,
96,
25160,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
188,
864,
41,
5848,
204,
3,
61,
121,
490,
6,
96,
27773,
7830,
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,
17748,
23,
106,
8512,
21680,
953,
834,
16431,
4060,
549,
17444,
427,
96,
188,
864,
41,
5848,
204,
3,
61,
121,
3274,
3,
31,
2128,
5411,
4440,
31,
3430,
96,
27773,
7830,
121,
3,
2,
3,
31,
3647... |
What is the highest number of players during 1r year with a clay set and more than 4 aces? | CREATE TABLE table_name_63 (
player INTEGER,
year VARCHAR,
sets VARCHAR,
aces VARCHAR
) | SELECT MAX(player) FROM table_name_63 WHERE year = "1r" AND sets = "clay" AND NOT aces > 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
1959,
3,
21342,
17966,
6,
215,
584,
4280,
28027,
6,
3369,
584,
4280,
28027,
6,
3,
9,
2319,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
20846,
61,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
215,
3274,
96,
536,
52,
121,
3430,
3369,
3274,
96,
4651,
63,
121,
3430,
4486,
3,
9,
2319,
2490,
314,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the lowest value for N, Golosov, when N, Laakso-Taagepera is greater than 10.64? | CREATE TABLE table_43956 (
"Constellation" text,
"Largest component, fractional share" real,
"Other components, fractional shares" text,
"N, Laakso-Taagepera" real,
"N, Golosov" real
) | SELECT MIN("N, Golosov") FROM table_43956 WHERE "N, Laakso-Taagepera" > '10.64' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3288,
4834,
41,
96,
4302,
7,
6714,
257,
121,
1499,
6,
96,
434,
8240,
222,
3876,
6,
12211,
138,
698,
121,
490,
6,
96,
667,
189,
49,
3379,
6,
12211,
138,
4776,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
567,
6,
1263,
2298,
32,
208,
8512,
21680,
953,
834,
591,
3288,
4834,
549,
17444,
427,
96,
567,
6,
325,
1639,
7,
32,
18,
382,
9,
545,
883,
9,
121,
2490,
3,
31,
10415,
4389,
31,
1,
-100,
-100... |
How many locations were recorded when the opponent Columbus Blue Jackets? | CREATE TABLE table_21655 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
) | SELECT COUNT("Location") FROM table_21655 WHERE "Opponent" = 'Columbus Blue Jackets' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27184,
3769,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
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,
2847,
17161,
599,
121,
434,
32,
75,
257,
8512,
21680,
953,
834,
27184,
3769,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
9939,
440,
3465,
2419,
24412,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show the names of people and the number of times they have been on the affirmative side of debates. | CREATE TABLE debate_people (
debate_id number,
affirmative number,
negative number,
if_affirmative_win others
)
CREATE TABLE debate (
debate_id number,
date text,
venue text,
num_of_audience number
)
CREATE TABLE people (
people_id number,
district text,
name text,
part... | SELECT T2.name, COUNT(*) FROM debate_people AS T1 JOIN people AS T2 ON T1.affirmative = T2.people_id GROUP BY T2.name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5054,
834,
16588,
41,
5054,
834,
23,
26,
381,
6,
11153,
1528,
381,
6,
2841,
381,
6,
3,
99,
834,
27236,
51,
1528,
834,
3757,
717,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
4350,
6,
2847,
17161,
599,
1935,
61,
21680,
5054,
834,
16588,
6157,
332,
536,
3,
15355,
3162,
151,
6157,
332,
357,
9191,
332,
5411,
27236,
51,
1528,
3274,
332,
4416,
16588,
834,
23,
26,
350,
4630,
6880,
2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.