NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What is the largest played when the drawn is less than 1? | CREATE TABLE table_name_62 (played INTEGER, drawn INTEGER) | SELECT MAX(played) FROM table_name_62 WHERE drawn < 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
4895,
15,
26,
3,
21342,
17966,
6,
6796,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2015,
1944,
116,
8,
6796,
19,
705,
145,
209,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
4895,
15,
26,
61,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
6796,
3,
2,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who directed the film titled 'Steam of Life'? | CREATE TABLE table_22020724_1 (
director VARCHAR,
film_title_used_in_nomination VARCHAR
) | SELECT director FROM table_22020724_1 WHERE film_title_used_in_nomination = "Steam of Life" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
22224,
940,
2266,
834,
536,
41,
2090,
584,
4280,
28027,
6,
814,
834,
21869,
834,
10064,
834,
77,
834,
29,
32,
14484,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
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,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2090,
21680,
953,
834,
357,
22224,
940,
2266,
834,
536,
549,
17444,
427,
814,
834,
21869,
834,
10064,
834,
77,
834,
29,
32,
14484,
3274,
96,
134,
11650,
13,
2330,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What day was the game that had the Cavaliers as visiting team and the Knicks as the home team? | CREATE TABLE table_name_85 (date VARCHAR, visitor VARCHAR, home VARCHAR) | SELECT date FROM table_name_85 WHERE visitor = "cavaliers" AND home = "knicks" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
5522,
584,
4280,
28027,
6,
7019,
584,
4280,
28027,
6,
234,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
239,
47,
8,
467,
24,
141,
8,
17655... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
7019,
3274,
96,
658,
2165,
4518,
121,
3430,
234,
3274,
96,
157,
11191,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which african country had more total medal wins then nigeria ? | CREATE TABLE table_203_61 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) | SELECT "nation" FROM table_203_61 WHERE "total" > (SELECT "total" FROM table_203_61 WHERE "nation" = 'nigeria') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
4241,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
29,
257,
121,
1499,
6,
96,
14910,
121,
381,
6,
96,
7,
173,
624,
121,
381,
6,
96,
13711,
776,
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,
29,
257,
121,
21680,
953,
834,
23330,
834,
4241,
549,
17444,
427,
96,
235,
1947,
121,
2490,
41,
23143,
14196,
96,
235,
1947,
121,
21680,
953,
834,
23330,
834,
4241,
549,
17444,
427,
96,
29,
257,
121,
3274,
3,
... |
What types of stations are located in Cebu? | CREATE TABLE table_30766 (
"Branding" text,
"Callsign" text,
"Frequency" text,
"Power (kW)" text,
"Station Type" text,
"Location" text
) | SELECT "Station Type" FROM table_30766 WHERE "Location" = 'Cebu' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1458,
940,
3539,
41,
96,
18304,
727,
53,
121,
1499,
6,
96,
254,
1748,
6732,
121,
1499,
6,
96,
371,
60,
835,
11298,
121,
1499,
6,
96,
23553,
41,
21729,
61,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
6821,
6632,
121,
21680,
953,
834,
1458,
940,
3539,
549,
17444,
427,
96,
434,
32,
75,
257,
121,
3274,
3,
31,
254,
15,
3007,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the greatest rank for Fifth third center? | CREATE TABLE table_71948 (
"Rank" real,
"Name" text,
"Height ft (m)" text,
"Floors" real,
"Year" real
) | SELECT MAX("Rank") FROM table_71948 WHERE "Name" = 'fifth third center' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2294,
3707,
41,
96,
22557,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
3845,
2632,
3,
89,
17,
41,
51,
61,
121,
1499,
6,
96,
11251,
127,
7,
121,
490,
6,
96,
476,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
22557,
8512,
21680,
953,
834,
940,
2294,
3707,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
89,
99,
189,
1025,
1530,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Tell me the county for mariano castro | CREATE TABLE table_name_48 (county VARCHAR, grantee VARCHAR) | SELECT county FROM table_name_48 WHERE grantee = "mariano castro" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
13362,
63,
584,
4280,
28027,
6,
5334,
15,
15,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
8779,
140,
8,
5435,
21,
3157,
20028,
212,
6626,
1,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5435,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
5334,
15,
15,
3274,
96,
1635,
20028,
212,
6626,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the Rank of the Character with Tenure of 2011? | CREATE TABLE table_13071 (
"Actor/actress" text,
"Character" text,
"Rank" text,
"Tenure" text,
"Episodes" text
) | SELECT "Rank" FROM table_13071 WHERE "Tenure" = '2011' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
21448,
4450,
41,
96,
188,
5317,
87,
2708,
9377,
121,
1499,
6,
96,
18947,
2708,
49,
121,
1499,
6,
96,
22557,
121,
1499,
6,
96,
382,
35,
1462,
121,
1499,
6,
96,
427,
102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22557,
121,
21680,
953,
834,
21448,
4450,
549,
17444,
427,
96,
382,
35,
1462,
121,
3274,
3,
31,
13907,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Tell me the total number of top 25 for wins less than 1 and cuts made of 22 | CREATE TABLE table_name_59 (top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR) | SELECT COUNT(top_25) FROM table_name_59 WHERE cuts_made = 22 AND wins < 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
2916,
834,
1828,
584,
4280,
28027,
6,
8620,
834,
4725,
584,
4280,
28027,
6,
9204,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
8779,
140,
8,
792,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
2916,
834,
1828,
61,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
8620,
834,
4725,
3274,
1630,
3430,
9204,
3,
2,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
WHat was the max public with danniella and matthew? | CREATE TABLE table_26375386_18 (
public INTEGER,
couple VARCHAR
) | SELECT MAX(public) FROM table_26375386_18 WHERE couple = "Danniella and Matthew" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
22954,
519,
3840,
834,
2606,
41,
452,
3,
21342,
17966,
6,
1158,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
3,
15313,
144,
47,
8,
9858,
452,
28,
1352,
23,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
15727,
61,
21680,
953,
834,
2688,
22954,
519,
3840,
834,
2606,
549,
17444,
427,
1158,
3274,
96,
308,
14431,
5303,
11,
9771,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Pick # smaller than 46, and a Round of 5, and a Position of defensive tackle involves which college? | CREATE TABLE table_69689 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) | SELECT "College" FROM table_69689 WHERE "Pick #" < '46' AND "Round" = '5' AND "Position" = 'defensive tackle' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
948,
3914,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
345,
3142,
1713,
121,
490,
6,
96,
23847,
1748,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
345,
32,
7,
4749,
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,
9939,
7883,
121,
21680,
953,
834,
3951,
948,
3914,
549,
17444,
427,
96,
345,
3142,
1713,
121,
3,
2,
3,
31,
4448,
31,
3430,
96,
448,
32,
1106,
121,
3274,
3,
31,
755,
31,
3430,
96,
345,
32,
7,
4749,
121,
327... |
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,
1959,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
648,
47,
8,
833,
3,
32,
75,
235,
1152,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,... |
In how many locations was the game against Barcelona Dragons played? | CREATE TABLE table_1941183_2 (
game_site VARCHAR,
opponent VARCHAR
) | SELECT COUNT(game_site) FROM table_1941183_2 WHERE opponent = "Barcelona Dragons" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
4853,
24361,
834,
357,
41,
467,
834,
3585,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
149,
186,
3248,
47,
8,
467,
581,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
7261,
834,
3585,
61,
21680,
953,
834,
2294,
4853,
24361,
834,
357,
549,
17444,
427,
15264,
3274,
96,
14851,
7125,
106,
9,
10282,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is High Assists, when Date is 'March 10'? | CREATE TABLE table_name_93 (
high_assists VARCHAR,
date VARCHAR
) | SELECT high_assists FROM table_name_93 WHERE date = "march 10" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4271,
41,
306,
834,
6500,
7,
17,
7,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
1592,
282,
7,
343,
7,
6,
116,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
306,
834,
6500,
7,
17,
7,
21680,
953,
834,
4350,
834,
4271,
549,
17444,
427,
833,
3274,
96,
51,
7064,
335,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What year was first elected william m. wheeler (d) unopposed? | CREATE TABLE table_1342218_11 (first_elected VARCHAR, candidates VARCHAR) | SELECT first_elected FROM table_1342218_11 WHERE candidates = "William M. Wheeler (D) Unopposed" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2884,
2606,
834,
2596,
41,
14672,
834,
19971,
584,
4280,
28027,
6,
4341,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
215,
47,
166,
8160,
56,
23,
265,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
166,
834,
19971,
21680,
953,
834,
23747,
2884,
2606,
834,
2596,
549,
17444,
427,
4341,
3274,
96,
518,
1092,
23,
265,
283,
5,
10707,
49,
41,
308,
61,
597,
28236,
3843,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Pole Position for Winning Team Penske Racing, and the Name of II Copa Mexico 150? | CREATE TABLE table_4500 (
"Name" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning driver" text,
"Winning team" text,
"Report" text
) | SELECT "Pole Position" FROM table_4500 WHERE "Winning team" = 'penske racing' AND "Name" = 'ii copa mexico 150' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2560,
41,
96,
23954,
121,
1499,
6,
96,
8931,
15,
14258,
121,
1499,
6,
96,
371,
9,
7,
4377,
325,
102,
121,
1499,
6,
96,
518,
10503,
2535,
121,
1499,
6,
96,
518,
105... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8931,
15,
14258,
121,
21680,
953,
834,
591,
2560,
549,
17444,
427,
96,
518,
10503,
372,
121,
3274,
3,
31,
3801,
1050,
8191,
31,
3430,
96,
23954,
121,
3274,
3,
31,
23,
23,
7326,
9,
140,
226,
5807,
4261,
31,
1... |
What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments? | CREATE TABLE table_name_33 (
Id VARCHAR
) | SELECT 1990 FROM table_name_33 WHERE 1996 = "grand slam tournaments" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
27,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
7273,
2698,
29291,
20502,
3,
99,
6911,
19,
92,
1907,
3,
7,
40,
265,
5892,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5541,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
6911,
3274,
96,
15448,
3,
7,
40,
265,
5892,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
When did the Grand Prix de Monaco race? | CREATE TABLE table_name_13 (date VARCHAR, race_title VARCHAR) | SELECT date FROM table_name_13 WHERE race_title = "grand prix de monaco" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
5522,
584,
4280,
28027,
6,
1964,
834,
21869,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
410,
8,
2698,
12942,
20,
25258,
1964,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
1964,
834,
21869,
3274,
96,
15448,
3407,
20,
1911,
9,
509,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many times did Silas leave as a team manager? | CREATE TABLE table_29414946_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT COUNT(manner_of_departure) FROM table_29414946_3 WHERE outgoing_manager = "Silas" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4240,
24816,
4448,
834,
519,
41,
2434,
49,
834,
858,
834,
221,
2274,
1462,
584,
4280,
28027,
6,
91,
9545,
834,
24185,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
2434,
49,
834,
858,
834,
221,
2274,
1462,
61,
21680,
953,
834,
357,
4240,
24816,
4448,
834,
519,
549,
17444,
427,
91,
9545,
834,
24185,
3274,
96,
134,
173,
9,
7,
121,
1,
-100,
-100,
-100,
-100,
-... |
In the year 1992 for the Seibu Lions, the BB + HBP which is larger than 49 was this as a BA (Place)? | CREATE TABLE table_69873 (
"Year" text,
"Team" text,
"Number" text,
"BB +HBP" real,
"BA (Place)" text
) | SELECT "BA (Place)" FROM table_69873 WHERE "BB +HBP" > '49' AND "Team" = 'seibu lions' AND "Year" = '1992' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
4225,
519,
41,
96,
476,
2741,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
567,
5937,
49,
121,
1499,
6,
96,
7640,
1768,
566,
11165,
121,
490,
6,
96,
4882,
41,
345,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4882,
41,
345,
11706,
61,
121,
21680,
953,
834,
3951,
4225,
519,
549,
17444,
427,
96,
7640,
1768,
566,
11165,
121,
2490,
3,
31,
3647,
31,
3430,
96,
18699,
121,
3274,
3,
31,
7,
15,
23,
3007,
3,
7325,
7,
31,
... |
When did the VFL pay at Victoria Park? | CREATE TABLE table_name_17 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_17 WHERE venue = "victoria park" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2517,
41,
5522,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
410,
8,
584,
10765,
726,
44,
7488,
1061,
58,
1,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2517,
549,
17444,
427,
5669,
3274,
96,
7287,
3600,
9,
2447,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what's the shuttle with primary payload(s) being united states microgravity laboratory-1 | CREATE TABLE table_19142 (
"EDO Flight" real,
"Shuttle" text,
"Mission" text,
"Launch Date" text,
"Duration" text,
"Primary Payload(s)" text
) | SELECT "Shuttle" FROM table_19142 WHERE "Primary Payload(s)" = 'United States Microgravity Laboratory-1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
24978,
41,
96,
2326,
667,
16736,
121,
490,
6,
96,
10499,
76,
8692,
121,
1499,
6,
96,
329,
159,
1938,
121,
1499,
6,
96,
3612,
202,
524,
7678,
121,
1499,
6,
96,
12998... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10499,
76,
8692,
121,
21680,
953,
834,
2294,
24978,
549,
17444,
427,
96,
7855,
51,
1208,
5077,
7134,
599,
7,
61,
121,
3274,
3,
31,
5110,
23,
1054,
1323,
5893,
15299,
485,
19474,
2292,
31,
1,
-100,
-100,
-100,
... |
What is the report for the race that Ayrton Senna won on 27 August? | CREATE TABLE table_name_84 (report VARCHAR, winning_driver VARCHAR, date VARCHAR) | SELECT report FROM table_name_84 WHERE winning_driver = "ayrton senna" AND date = "27 august" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
60,
1493,
584,
4280,
28027,
6,
3447,
834,
13739,
52,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
934,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
934,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
3447,
834,
13739,
52,
3274,
96,
9,
63,
17330,
3,
7,
35,
29,
9,
121,
3430,
833,
3274,
96,
2555,
14663,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What are the names and year of construction for the mills of 'Grondzeiler' type? | CREATE TABLE mill (name VARCHAR, built_year VARCHAR, TYPE VARCHAR) | SELECT name, built_year FROM mill WHERE TYPE = 'Grondzeiler' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3293,
41,
4350,
584,
4280,
28027,
6,
1192,
834,
1201,
584,
4280,
28027,
6,
3,
12016,
5668,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
3056,
11,
215,
13,
1449,
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,
0,
0,
0,
0... | [
3,
23143,
14196,
564,
6,
1192,
834,
1201,
21680,
3293,
549,
17444,
427,
3,
12016,
5668,
3274,
3,
31,
517,
52,
106,
26,
776,
173,
49,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
on immunosuppressant or long term corticosteroid therapy | CREATE TABLE table_train_44 (
"id" int,
"pregnancy_or_lactation" bool,
"severe_sepsis" bool,
"corticosteroid_therapy" bool,
"immune_suppression" bool,
"hepatic_disease" bool,
"septic_shock" bool,
"age" float,
"NOUSE" float
) | SELECT * FROM table_train_44 WHERE immune_suppression = 1 OR corticosteroid_therapy = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
3628,
41,
96,
23,
26,
121,
16,
17,
6,
96,
2026,
11260,
11298,
834,
127,
834,
9700,
6821,
121,
3,
12840,
40,
6,
96,
7,
3258,
15,
834,
7,
15,
102,
7,
159,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1429,
21680,
953,
834,
9719,
834,
3628,
549,
17444,
427,
9392,
834,
7,
413,
8243,
3274,
209,
4674,
4301,
1225,
32,
849,
8184,
834,
10896,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the lowest Points, when Games is greater than 20, and when Team is Partizan Belgrade? | CREATE TABLE table_41922 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Points" real
) | SELECT MIN("Points") FROM table_41922 WHERE "Games" > '20' AND "Team" = 'partizan belgrade' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2294,
2884,
41,
96,
22557,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
23055,
7,
121,
490,
6,
96,
22512,
7,
121,
490,
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,
121,
22512,
7,
8512,
21680,
953,
834,
591,
2294,
2884,
549,
17444,
427,
96,
23055,
7,
121,
2490,
3,
31,
1755,
31,
3430,
96,
18699,
121,
3274,
3,
31,
2274,
5584,
29,
36,
40,
6801,
31,
1,
-100,
-100... |
what episode number had 11.73 million viewers? | CREATE TABLE table_24689168_5 (
episode VARCHAR,
viewers__millions_ VARCHAR
) | SELECT episode FROM table_24689168_5 WHERE viewers__millions_ = "11.73" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
3651,
4729,
3651,
834,
755,
41,
5640,
584,
4280,
28027,
6,
13569,
834,
834,
17030,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
5640,
381,
141,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5640,
21680,
953,
834,
2266,
3651,
4729,
3651,
834,
755,
549,
17444,
427,
13569,
834,
834,
17030,
7,
834,
3274,
96,
10032,
4552,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the score on April 20? | CREATE TABLE table_name_3 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_3 WHERE date = "april 20" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
7,
9022,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
30,
1186,
460,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
833,
3274,
96,
9,
2246,
40,
460,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the crowd number when the home team was Carlton? | CREATE TABLE table_10239 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT MIN("Crowd") FROM table_10239 WHERE "Home team" = 'carlton' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
14388,
3288,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
254,
3623,
26,
8512,
21680,
953,
834,
14388,
3288,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
1720,
7377,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the final score when July 16 is the date? | CREATE TABLE table_23612439_2 (final_score VARCHAR, date VARCHAR) | SELECT final_score FROM table_23612439_2 WHERE date = "July 16" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
4241,
2266,
3288,
834,
357,
41,
12406,
834,
7,
9022,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
804,
2604,
116,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
804,
834,
7,
9022,
21680,
953,
834,
2773,
4241,
2266,
3288,
834,
357,
549,
17444,
427,
833,
3274,
96,
683,
83,
63,
898,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who was the runner-up on Jul 14, 1968? | CREATE TABLE table_name_64 (runner_s__up VARCHAR, date VARCHAR) | SELECT runner_s__up FROM table_name_64 WHERE date = "jul 14, 1968" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
10806,
834,
7,
834,
834,
413,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
3,
10806,
18,
413,
30,
17829,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
10806,
834,
7,
834,
834,
413,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
833,
3274,
96,
354,
83,
11363,
16506,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Game 2 has how much attendance? | CREATE TABLE table_name_1 (
attendance VARCHAR,
game VARCHAR
) | SELECT attendance FROM table_name_1 WHERE game = 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
11364,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4435,
204,
65,
149,
231,
11364,
58,
1,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11364,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
467,
3274,
204,
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,... |
What class had a Championship Test event with a 62.516 result? | CREATE TABLE table_name_66 (
class VARCHAR,
event VARCHAR,
result VARCHAR
) | SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
853,
584,
4280,
28027,
6,
605,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
853,
141,
3,
9,
7666,
2300,
605,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
853,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
605,
3274,
96,
17788,
12364,
2009,
794,
121,
3430,
741,
3274,
96,
948,
15967,
2938,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the result for the district Maryland 7? | CREATE TABLE table_2668416_7 (
result VARCHAR,
district VARCHAR
) | SELECT result FROM table_2668416_7 WHERE district = "Maryland 7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3539,
4608,
2938,
834,
940,
41,
741,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
741,
21,
8,
3939,
10271,
489,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
357,
3539,
4608,
2938,
834,
940,
549,
17444,
427,
3939,
3274,
96,
7286,
28900,
489,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who is the alternate for Magnus Swartling as Second? | CREATE TABLE table_name_38 (alternate VARCHAR, second VARCHAR) | SELECT alternate FROM table_name_38 WHERE second = "magnus swartling" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
8818,
29,
342,
584,
4280,
28027,
6,
511,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
13902,
21,
14767,
302,
7320,
1408,
697,
38,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
13902,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
511,
3274,
96,
7493,
29,
302,
3,
7,
2910,
17,
697,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which sign has a red border? | CREATE TABLE table_name_42 (
text_symbol VARCHAR,
border VARCHAR
) | SELECT text_symbol FROM table_name_42 WHERE border = "red" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
1499,
834,
7,
63,
51,
4243,
584,
4280,
28027,
6,
4947,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1320,
65,
3,
9,
1131,
4947,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1499,
834,
7,
63,
51,
4243,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
4947,
3274,
96,
1271,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
On what date was the match played in Victoria Park? | CREATE TABLE table_4819 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Date" FROM table_4819 WHERE "Venue" = 'victoria park' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3707,
2294,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
3707,
2294,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
7287,
3600,
9,
2447,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What were the result(s) of the election featuring grace napolitano as the incumbent? | CREATE TABLE table_1805191_6 (results VARCHAR, incumbent VARCHAR) | SELECT results FROM table_1805191_6 WHERE incumbent = "Grace Napolitano" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20829,
5553,
4729,
834,
948,
41,
60,
7,
83,
17,
7,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
130,
8,
741,
599,
7,
61,
13,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
772,
21680,
953,
834,
20829,
5553,
4729,
834,
948,
549,
17444,
427,
28406,
3274,
96,
4744,
565,
1823,
21631,
29,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the assists for the year 1995? | CREATE TABLE table_name_66 (assists VARCHAR, year VARCHAR) | SELECT assists FROM table_name_66 WHERE year = "1995" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
6500,
7,
17,
7,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
13041,
21,
8,
215,
7273,
58,
1,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
13041,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
215,
3274,
96,
19479,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Show the number of names of phones in a bar chart, list by the Name in ascending. | CREATE TABLE phone_market (
Market_ID int,
Phone_ID text,
Num_of_stock int
)
CREATE TABLE phone (
Name text,
Phone_ID int,
Memory_in_G int,
Carrier text,
Price real
)
CREATE TABLE market (
Market_ID int,
District text,
Num_of_employees int,
Num_of_shops real,
Ranking int
) | SELECT Name, COUNT(Name) FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID GROUP BY Name ORDER BY Name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
951,
834,
8809,
41,
3611,
834,
4309,
16,
17,
6,
8924,
834,
4309,
1499,
6,
1174,
51,
834,
858,
834,
7149,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
951,
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,
5570,
6,
2847,
17161,
599,
23954,
61,
21680,
951,
834,
8809,
6157,
332,
536,
3,
15355,
3162,
512,
6157,
332,
357,
9191,
332,
5411,
22572,
834,
4309,
3274,
332,
4416,
22572,
834,
4309,
3,
15355,
3162,
951,
6157,
332,
... |
Who is the Opponent in the game with a Record of 1–3–0? | CREATE TABLE table_name_26 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_26 WHERE record = "1–3–0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
32,
102,
9977,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
4495,
9977,
16,
8,
467,
28,
3,
9,
11392,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15264,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
1368,
3274,
96,
536,
104,
519,
104,
632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many of these games occurred before 17 february 1976 ? | CREATE TABLE table_204_861 (
id number,
"tie no" number,
"home team" text,
"score" text,
"away team" text,
"date" text
) | SELECT COUNT(*) FROM table_204_861 WHERE "date" < (SELECT "date" FROM table_204_861 WHERE "date" = '17 february 1976') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3840,
536,
41,
3,
23,
26,
381,
6,
96,
17,
23,
15,
150,
121,
381,
6,
96,
5515,
372,
121,
1499,
6,
96,
7,
9022,
121,
1499,
6,
96,
8006,
372,
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,
1935,
61,
21680,
953,
834,
26363,
834,
3840,
536,
549,
17444,
427,
96,
5522,
121,
3,
2,
41,
23143,
14196,
96,
5522,
121,
21680,
953,
834,
26363,
834,
3840,
536,
549,
17444,
427,
96,
5522,
121,
3274... |
Tell me the lens zoom for aperture of model s2600 | CREATE TABLE table_name_39 (
lens_35mmequiv__zoom VARCHAR,
_aperture VARCHAR,
model VARCHAR
) | SELECT lens_35mmequiv__zoom, _aperture FROM table_name_39 WHERE model = "s2600" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
6888,
834,
2469,
635,
15,
1169,
208,
834,
834,
172,
14872,
584,
4280,
28027,
6,
3,
834,
9,
883,
2693,
584,
4280,
28027,
6,
825,
584,
4280,
28027,
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,
0... | [
3,
23143,
14196,
6888,
834,
2469,
635,
15,
1169,
208,
834,
834,
172,
14872,
6,
3,
834,
9,
883,
2693,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
825,
3274,
96,
7,
357,
6007,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who came in third in England? | CREATE TABLE table_35950 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
) | SELECT "Third" FROM table_35950 WHERE "Nation" = 'england' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
25188,
41,
96,
567,
257,
121,
1499,
6,
96,
134,
2168,
102,
121,
1499,
6,
96,
382,
9288,
26,
121,
1499,
6,
96,
134,
15,
1018,
26,
121,
1499,
6,
96,
2796,
9,
26,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
96,
382,
9288,
26,
121,
21680,
953,
834,
2469,
25188,
549,
17444,
427,
96,
567,
257,
121,
3274,
3,
31,
4606,
40,
232,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the score when the home is ny islanders and the visitor is montreal | CREATE TABLE table_name_86 (
score VARCHAR,
home VARCHAR,
visitor VARCHAR
) | SELECT score FROM table_name_86 WHERE home = "ny islanders" AND visitor = "montreal" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
2604,
584,
4280,
28027,
6,
234,
584,
4280,
28027,
6,
7019,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2604,
116,
8,
234,
19,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
234,
3274,
96,
29,
63,
3368,
277,
121,
3430,
7019,
3274,
96,
4662,
6644,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
The player with a rank of 9, made a move from what football club? | CREATE TABLE table_name_55 (moving_from VARCHAR, rank VARCHAR) | SELECT moving_from FROM table_name_55 WHERE rank = 9 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
7168,
53,
834,
7152,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
37,
1959,
28,
3,
9,
11003,
13,
9902,
263,
3,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1735,
834,
7152,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
11003,
3274,
668,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many viewers did the episode written by Warren Lieberstein & Halsted Sullivan have? | CREATE TABLE table_17482534_1 (
us_viewers__millions_ VARCHAR,
written_by VARCHAR
) | SELECT us_viewers__millions_ FROM table_17482534_1 WHERE written_by = "Warren Lieberstein & Halsted Sullivan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
3707,
1828,
3710,
834,
536,
41,
178,
834,
4576,
277,
834,
834,
17030,
7,
834,
584,
4280,
28027,
6,
1545,
834,
969,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
178,
834,
4576,
277,
834,
834,
17030,
7,
834,
21680,
953,
834,
2517,
3707,
1828,
3710,
834,
536,
549,
17444,
427,
1545,
834,
969,
3274,
96,
21032,
1536,
10484,
52,
4008,
3,
184,
5648,
6265,
3,
23748,
121,
1,
-100,
... |
When Bunky Henry placed t8, what was his To par? | CREATE TABLE table_name_75 (
to_par VARCHAR,
place VARCHAR,
player VARCHAR
) | SELECT to_par FROM table_name_75 WHERE place = "t8" AND player = "bunky henry" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
12,
834,
1893,
584,
4280,
28027,
6,
286,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
6100,
3781,
7780,
2681,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12,
834,
1893,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
286,
3274,
96,
17,
927,
121,
3430,
1959,
3274,
96,
9617,
3781,
3,
3225,
651,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the players position in 2013 who had 29 seasons in the second tier | CREATE TABLE table_20174 (
"Club" text,
"Position in 2013" text,
"First season" real,
"First season of current spell" real,
"Number of seasons in Superettan" real,
"Number of seasons in second tier" text
) | SELECT "Position in 2013" FROM table_20174 WHERE "Number of seasons in second tier" = '29' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9887,
591,
41,
96,
254,
11158,
121,
1499,
6,
96,
345,
32,
7,
4749,
16,
2038,
121,
1499,
6,
96,
25171,
774,
121,
490,
6,
96,
25171,
774,
13,
750,
10783,
121,
490,
6,
96,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
345,
32,
7,
4749,
16,
2038,
121,
21680,
953,
834,
9887,
591,
549,
17444,
427,
96,
567,
5937,
49,
13,
9385,
16,
511,
3,
3276,
121,
3274,
3,
31,
3166,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the pick# for the medicine hat tigers (wchl)? | CREATE TABLE table_1473672_2 (
pick__number INTEGER,
college_junior_club_team VARCHAR
) | SELECT MIN(pick__number) FROM table_1473672_2 WHERE college_junior_club_team = "Medicine Hat Tigers (WCHL)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24719,
3420,
5865,
834,
357,
41,
1432,
834,
834,
5525,
1152,
3,
21342,
17966,
6,
1900,
834,
6959,
23,
127,
834,
13442,
834,
11650,
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,
17967,
834,
834,
5525,
1152,
61,
21680,
953,
834,
24719,
3420,
5865,
834,
357,
549,
17444,
427,
1900,
834,
6959,
23,
127,
834,
13442,
834,
11650,
3274,
96,
15789,
630,
7559,
11804,
7,
41,
10038,
13641,
... |
what is the capacity of central vitebsk and neman combined ? | CREATE TABLE table_203_208 (
id number,
"team" text,
"location" text,
"venue" text,
"capacity" number,
"position in 1993-94" number
) | SELECT SUM(DISTINCT "capacity") FROM table_203_208 WHERE "venue" IN ('central, vitebsk', 'neman') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
23946,
41,
3,
23,
26,
381,
6,
96,
11650,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
4010,
9,
6726,
121,
381,
6,
96,
4718,
16,
8388,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15438,
25424,
6227,
96,
4010,
9,
6726,
8512,
21680,
953,
834,
23330,
834,
23946,
549,
17444,
427,
96,
15098,
121,
3388,
41,
31,
20071,
6,
12201,
115,
7,
157,
31,
6,
3,
31,
29,
15,
348,
31,
61,
1,... |
How many times did Roy Emerson win the Australian Open? | CREATE TABLE table_197638_6 (australian_open VARCHAR, player VARCHAR) | SELECT COUNT(australian_open) FROM table_197638_6 WHERE player = "Roy Emerson" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
3959,
3747,
834,
948,
41,
402,
3109,
9928,
834,
8751,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
648,
410,
15875,
3967,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
402,
3109,
9928,
834,
8751,
61,
21680,
953,
834,
2294,
3959,
3747,
834,
948,
549,
17444,
427,
1959,
3274,
96,
448,
32,
63,
3967,
13515,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Can you tell me the Chassis that has the Year of 1977? | CREATE TABLE table_70502 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) | SELECT "Chassis" FROM table_70502 WHERE "Year" = '1977' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
1752,
357,
41,
96,
476,
2741,
121,
490,
6,
96,
16924,
3569,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
22512,
7,
121,
490,
3,
61,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3541,
6500,
7,
121,
21680,
953,
834,
2518,
1752,
357,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
2294,
4013,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What's the total number of league cup apps when the league goals were less than 0? | CREATE TABLE table_64988 (
"Name" text,
"Position" text,
"League Apps" text,
"League Goals" real,
"FA Cup Apps" real,
"FA Cup Goals" real,
"League Cup Apps" real,
"League Cup Goals" real,
"Total Apps" text,
"Total Goals" real
) | SELECT COUNT("League Cup Apps") FROM table_64988 WHERE "League Goals" < '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3647,
4060,
41,
96,
23954,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
2796,
9,
5398,
2276,
7,
121,
1499,
6,
96,
2796,
9,
5398,
17916,
7,
121,
490,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
2796,
9,
5398,
3802,
2276,
7,
8512,
21680,
953,
834,
948,
3647,
4060,
549,
17444,
427,
96,
2796,
9,
5398,
17916,
7,
121,
3,
2,
3,
31,
632,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
A bar chart about what are the ids and names of the medicine that can interact with two or more enzymes?, and order by the X-axis from high to low. | CREATE TABLE medicine_enzyme_interaction (
enzyme_id int,
medicine_id int,
interaction_type text
)
CREATE TABLE medicine (
id int,
name text,
Trade_Name text,
FDA_approved text
)
CREATE TABLE enzyme (
id int,
name text,
Location text,
Product text,
Chromosome text,
OMIM int,
Porphyria text
) | SELECT name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id ORDER BY name DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4404,
834,
35,
4164,
526,
834,
3870,
4787,
41,
15735,
834,
23,
26,
16,
17,
6,
4404,
834,
23,
26,
16,
17,
6,
6565,
834,
6137,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
564,
6,
3,
23,
26,
21680,
4404,
6157,
332,
536,
3,
15355,
3162,
4404,
834,
35,
4164,
526,
834,
3870,
4787,
6157,
332,
357,
9191,
332,
4416,
29368,
834,
23,
26,
3274,
332,
5411,
23,
26,
4674,
11300,
272,
476,
564,
... |
What is the location that has a date of demolition of 1940 and has a church named Christ Church Greyfriars? | CREATE TABLE table_71984 (
"Church name" text,
"Location" text,
"Rebuilt" text,
"Date of demolition" real,
"Subsuming parish" text
) | SELECT "Location" FROM table_71984 WHERE "Date of demolition" = '1940' AND "Church name" = 'christ church greyfriars' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2294,
4608,
41,
96,
3541,
450,
524,
564,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
1649,
16152,
121,
1499,
6,
96,
308,
342,
13,
27462,
121,
490,
6,
96,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
940,
2294,
4608,
549,
17444,
427,
96,
308,
342,
13,
27462,
121,
3274,
3,
31,
2294,
2445,
31,
3430,
96,
3541,
450,
524,
564,
121,
3274,
3,
31,
15294,
2078,
7592,
89,
52... |
count the number of patients whose diagnoses icd9 code is 76528 and lab test category is chemistry? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
) | 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.icd9_code = "76528" AND lab."CATEGORY" = "Chemistry" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
Which episode/s were written by Evan Gore? | CREATE TABLE table_29087004_3 (series__number VARCHAR, written_by VARCHAR) | SELECT series__number FROM table_29087004_3 WHERE written_by = "Evan Gore" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
4018,
9295,
591,
834,
519,
41,
10833,
7,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
1545,
834,
969,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
5640,
87,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
939,
834,
834,
5525,
1152,
21680,
953,
834,
3166,
4018,
9295,
591,
834,
519,
549,
17444,
427,
1545,
834,
969,
3274,
96,
427,
2132,
1263,
60,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Week smaller than 4, and a Game Site of rca dome, and a Opponent of new england patriots involves what date? | CREATE TABLE table_name_12 (
date VARCHAR,
opponent VARCHAR,
week VARCHAR,
game_site VARCHAR
) | SELECT date FROM table_name_12 WHERE week < 4 AND game_site = "rca dome" AND opponent = "new england patriots" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
833,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
6,
467,
834,
3585,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
471,
3,
2,
314,
3430,
467,
834,
3585,
3274,
96,
52,
658,
22161,
121,
3430,
15264,
3274,
96,
5534,
3,
4606,
40,
232,
6234,
12884,
7,
121,
1,
-100,
-100,
-100,... |
What was Christian Kubusch's lane when the heat was more than 2 and time was DNS? | CREATE TABLE table_name_91 (lane INTEGER, heat VARCHAR, time VARCHAR, name VARCHAR) | SELECT SUM(lane) FROM table_name_91 WHERE time = "dns" AND name = "christian kubusch" AND heat > 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
8102,
3,
21342,
17966,
6,
1678,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
2826,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
180,
6122,
599,
8102,
61,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
97,
3274,
96,
26,
29,
7,
121,
3430,
564,
3274,
96,
15294,
23,
152,
3,
2729,
115,
14220,
121,
3430,
1678,
2490,
204,
1,
-100,
-100,
-100,... |
Who is the callsign that has ICAO of SCO? | CREATE TABLE table_name_68 (
callsign VARCHAR,
icao VARCHAR
) | SELECT callsign FROM table_name_68 WHERE icao = "sco" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3651,
41,
580,
6732,
584,
4280,
28027,
6,
3,
2617,
32,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
580,
6732,
24,
65,
3,
15038,
667,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
580,
6732,
21680,
953,
834,
4350,
834,
3651,
549,
17444,
427,
3,
2617,
32,
3274,
96,
3523,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is listed as the highest Year that's also got a Bronze of Wataru Haraguchi? | CREATE TABLE table_37012 (
"Year" real,
"Location" text,
"Gold" text,
"Silver" text,
"Bronze" text
) | SELECT MAX("Year") FROM table_37012 WHERE "Bronze" = 'wataru haraguchi' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22520,
2122,
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,
4800,
4,
599,
121,
476,
2741,
8512,
21680,
953,
834,
22520,
2122,
549,
17444,
427,
96,
22780,
29,
776,
121,
3274,
3,
31,
210,
9,
2046,
76,
3,
14888,
1744,
1436,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What date was the game played at Lake Oval? | CREATE TABLE table_name_80 (
date VARCHAR,
venue VARCHAR
) | SELECT date FROM table_name_80 WHERE venue = "lake oval" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
833,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
47,
8,
467,
1944,
44,
2154,
411,
2165,
58,
1,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
5669,
3274,
96,
16948,
17986,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which rank has final with 5:18.85? | CREATE TABLE table_name_96 (
rank VARCHAR,
final VARCHAR
) | SELECT rank FROM table_name_96 WHERE final = "5:18.85" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
11003,
584,
4280,
28027,
6,
804,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
11003,
65,
804,
28,
305,
10,
2606,
5,
4433,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11003,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
804,
3274,
96,
755,
10,
2606,
5,
4433,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the high rebound for June 9? | CREATE TABLE table_29857 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
) | SELECT "High rebounds" FROM table_29857 WHERE "Date" = 'June 9' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3916,
3436,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
21417,
3,
23768,
121,
21680,
953,
834,
357,
3916,
3436,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
683,
444,
668,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show ids for all the male faculty. | CREATE TABLE Faculty (
FacID VARCHAR,
Sex VARCHAR
) | SELECT FacID FROM Faculty WHERE Sex = 'M' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
16896,
41,
1699,
75,
4309,
584,
4280,
28027,
6,
679,
226,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
3111,
3,
23,
26,
7,
21,
66,
8,
5069,
6040,
5,
1,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1699,
75,
4309,
21680,
16896,
549,
17444,
427,
679,
226,
3274,
3,
31,
329,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
In what event was the compulsory dance score 28.12? | CREATE TABLE table_22644589_4 (
event VARCHAR,
compulsory_dance__cd_ VARCHAR
) | SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "28.12" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
4389,
2128,
3914,
834,
591,
41,
605,
584,
4280,
28027,
6,
29701,
834,
26,
663,
834,
834,
75,
26,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
125,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
605,
21680,
953,
834,
2884,
4389,
2128,
3914,
834,
591,
549,
17444,
427,
29701,
834,
26,
663,
834,
834,
75,
26,
834,
3274,
96,
2577,
5,
2122,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Jean Alesi, drives the Acer 01A engine for which team? | CREATE TABLE table_57692 (
"Team" text,
"Constructor" text,
"Chassis" text,
"Engine \u2020" text,
"Tyre" text,
"Driver" text,
"Rounds" text
) | SELECT "Team" FROM table_57692 WHERE "Driver" = 'jean alesi' AND "Engine \u2020" = 'acer 01a' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3436,
3951,
357,
41,
96,
18699,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
31477,
3,
2,
76,
22224,
121,
1499,
6,
96,
382,
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,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18699,
121,
21680,
953,
834,
3436,
3951,
357,
549,
17444,
427,
96,
20982,
52,
121,
3274,
3,
31,
26459,
4620,
23,
31,
3430,
96,
31477,
3,
2,
76,
22224,
121,
3274,
3,
31,
9,
2110,
7088,
9,
31,
1,
-100,
-100,
... |
Which episode in year 2003 that have Gary Murphy and Neil Thompson? | CREATE TABLE table_14081 (
"Year" real,
"Category" text,
"Nominee(s)" text,
"Episode" text,
"Result" text
) | SELECT "Episode" FROM table_14081 WHERE "Nominee(s)" = 'gary murphy and neil thompson' AND "Year" = '2003' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22012,
4959,
41,
96,
476,
2741,
121,
490,
6,
96,
18610,
6066,
651,
121,
1499,
6,
96,
4168,
8695,
15,
599,
7,
61,
121,
1499,
6,
96,
427,
102,
159,
32,
221,
121,
1499,
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,
427,
102,
159,
32,
221,
121,
21680,
953,
834,
22012,
4959,
549,
17444,
427,
96,
4168,
8695,
15,
599,
7,
61,
121,
3274,
3,
31,
1478,
63,
9593,
6941,
11,
3,
29,
15,
173,
3,
189,
32,
1167,
739,
31,
3430,
96,
... |
What is the average number of goals of park sung-ho at the k-league competition, which has the pohang steelers team and less than 46 total Gs? | CREATE TABLE table_name_65 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR) | SELECT AVG(goals) FROM table_name_65 WHERE competition = "k-league" AND team = "pohang steelers" AND name = "park sung-ho" AND total_gs < 46 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
839,
5405,
3,
21342,
17966,
6,
792,
834,
122,
7,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
6,
2259,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
839,
5405,
61,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
2259,
3274,
96,
157,
18,
29512,
121,
3430,
372,
3274,
96,
102,
32,
9270,
2470,
277,
121,
3430,
564,
3274,
96,
6334,
3,
7,
425,
18,
... |
how many international goals did teeratep winothai make in 2009 ? | CREATE TABLE table_203_14 (
id number,
"#" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
) | SELECT COUNT(*) FROM table_203_14 WHERE "date" = 2009 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2534,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
7,
9022,
121,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
23330,
834,
2534,
549,
17444,
427,
96,
5522,
121,
3274,
2464,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the largest goal number when the transfer fee was 0.8m? | CREATE TABLE table_51576 (
"Nat." text,
"Name" text,
"Since" text,
"Goals" real,
"Transfer fee" text
) | SELECT MAX("Goals") FROM table_51576 WHERE "Transfer fee" = '£0.8m' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
1808,
3959,
41,
96,
567,
144,
535,
1499,
6,
96,
23954,
121,
1499,
6,
96,
134,
77,
565,
121,
1499,
6,
96,
6221,
5405,
121,
490,
6,
96,
18474,
1010,
2572,
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,
4800,
4,
599,
121,
6221,
5405,
8512,
21680,
953,
834,
755,
1808,
3959,
549,
17444,
427,
96,
18474,
1010,
2572,
121,
3274,
3,
31,
19853,
22384,
51,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the largest drawn number when 14 is the position, and goals for is more than 66? | CREATE TABLE table_name_17 (drawn INTEGER, position VARCHAR, goals_for VARCHAR) | SELECT MAX(drawn) FROM table_name_17 WHERE position = 14 AND goals_for > 66 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2517,
41,
19489,
29,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
6,
1766,
834,
1161,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2015,
6796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
19489,
29,
61,
21680,
953,
834,
4350,
834,
2517,
549,
17444,
427,
1102,
3274,
968,
3430,
1766,
834,
1161,
2490,
3,
3539,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What candidate was featured in the election for incumbent samuel j. nicholls' seat? | CREATE TABLE table_1342451_38 (
candidates VARCHAR,
incumbent VARCHAR
) | SELECT candidates FROM table_1342451_38 WHERE incumbent = "Samuel J. Nicholls" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2266,
5553,
834,
3747,
41,
4341,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
4775,
47,
4510,
16,
8,
4356,
21,
28406,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4341,
21680,
953,
834,
23747,
2266,
5553,
834,
3747,
549,
17444,
427,
28406,
3274,
96,
134,
265,
76,
15,
40,
446,
5,
2504,
14297,
40,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
looking at the top 10 busiest routes to and from london southend airport what is the average number of passengers handled ? | CREATE TABLE table_203_340 (
id number,
"rank" number,
"airport" text,
"passengers handled" number,
"% change 2011 / 12" number
) | SELECT AVG("passengers handled") FROM table_203_340 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
21129,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
2256,
1493,
121,
1499,
6,
96,
3968,
4606,
277,
10298,
121,
381,
6,
96,
1454,
483,
2722,
3,
87,
586,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3968,
4606,
277,
10298,
8512,
21680,
953,
834,
23330,
834,
21129,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the FCC info of the translator with an Irmo, South Carolina city license? | CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR) | SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
89,
75,
75,
834,
9583,
584,
4280,
28027,
6,
690,
834,
858,
834,
28062,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
377,
2823,
2845... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
89,
75,
75,
834,
9583,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
690,
834,
858,
834,
28062,
3274,
96,
23,
52,
51,
32,
6,
3414,
443,
12057,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the lowest position when the name is esv türkheim, and Drawn more than 0? | CREATE TABLE table_name_12 (position INTEGER, name VARCHAR, drawn VARCHAR) | SELECT MIN(position) FROM table_name_12 WHERE name = "esv türkheim" AND drawn > 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
4718,
3,
21342,
17966,
6,
564,
584,
4280,
28027,
6,
6796,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
7402,
1102,
116,
8,
564,
19,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
4718,
61,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
564,
3274,
96,
15,
7,
208,
3,
11150,
157,
3254,
121,
3430,
6796,
2490,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Please give me a bar chart showing institution types, along with the number of institutions for each type, and display bars from high to low order. | CREATE TABLE protein (
common_name text,
protein_name text,
divergence_from_human_lineage real,
accession_number text,
sequence_length real,
sequence_identity_to_human_protein text,
Institution_id text
)
CREATE TABLE building (
building_id text,
Name text,
Street_address text,
Years_as_tallest text,
Height_feet int,
Floors int
)
CREATE TABLE Institution (
Institution_id text,
Institution text,
Location text,
Founded real,
Type text,
Enrollment int,
Team text,
Primary_Conference text,
building_id text
) | SELECT Type, COUNT(*) FROM Institution GROUP BY Type ORDER BY Type DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3619,
41,
1017,
834,
4350,
1499,
6,
3619,
834,
4350,
1499,
6,
12355,
122,
1433,
834,
7152,
834,
12450,
834,
747,
545,
490,
6,
4991,
1938,
834,
5525,
1152,
1499,
6,
5932,
834,
19457,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6632,
6,
2847,
17161,
599,
1935,
61,
21680,
14932,
350,
4630,
6880,
272,
476,
6632,
4674,
11300,
272,
476,
6632,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When the frequency is 103.7 MHz and the ERP W is more than 10, what is the call sign? | CREATE TABLE table_name_77 (call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR) | SELECT call_sign FROM table_name_77 WHERE erp_w > 10 AND frequency_mhz = 103.7 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
16482,
834,
6732,
584,
4280,
28027,
6,
3,
49,
102,
834,
210,
584,
4280,
28027,
6,
7321,
834,
51,
107,
172,
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,
580,
834,
6732,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
3,
49,
102,
834,
210,
2490,
335,
3430,
7321,
834,
51,
107,
172,
3274,
335,
25168,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Bar chart of how many building from each building, rank by the Y in asc. | CREATE TABLE classroom (
building varchar(15),
room_number varchar(7),
capacity numeric(4,0)
)
CREATE TABLE instructor (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2)
)
CREATE TABLE department (
dept_name varchar(20),
building varchar(15),
budget numeric(12,2)
)
CREATE TABLE time_slot (
time_slot_id varchar(4),
day varchar(1),
start_hr numeric(2),
start_min numeric(2),
end_hr numeric(2),
end_min numeric(2)
)
CREATE TABLE prereq (
course_id varchar(8),
prereq_id varchar(8)
)
CREATE TABLE section (
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0),
building varchar(15),
room_number varchar(7),
time_slot_id varchar(4)
)
CREATE TABLE student (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
tot_cred numeric(3,0)
)
CREATE TABLE course (
course_id varchar(8),
title varchar(50),
dept_name varchar(20),
credits numeric(2,0)
)
CREATE TABLE teaches (
ID varchar(5),
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0)
)
CREATE TABLE takes (
ID varchar(5),
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0),
grade varchar(2)
)
CREATE TABLE advisor (
s_ID varchar(5),
i_ID varchar(5)
) | SELECT building, COUNT(building) FROM department GROUP BY building ORDER BY COUNT(building) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4858,
41,
740,
3,
4331,
4059,
599,
1808,
201,
562,
834,
5525,
1152,
3,
4331,
4059,
24358,
6,
2614,
206,
17552,
599,
8525,
632,
61,
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,
740,
6,
2847,
17161,
599,
10905,
61,
21680,
3066,
350,
4630,
6880,
272,
476,
740,
4674,
11300,
272,
476,
2847,
17161,
599,
10905,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many assists did Steve Walker have? | CREATE TABLE table_59213 (
"Player" text,
"Seasons" text,
"Games" text,
"Goals" text,
"Assists" text,
"Points" text
) | SELECT "Assists" FROM table_59213 WHERE "Player" = 'steve walker' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
357,
2368,
41,
96,
15800,
49,
121,
1499,
6,
96,
134,
15,
9,
6577,
121,
1499,
6,
96,
23055,
7,
121,
1499,
6,
96,
6221,
5405,
121,
1499,
6,
96,
188,
7,
7,
343,
7,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
7,
7,
343,
7,
121,
21680,
953,
834,
3390,
357,
2368,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
849,
162,
3,
24063,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When vp8 ( webm ) is 4.4, how much is vp9 ( webm ) | CREATE TABLE table_28294 (
"Browser" text,
"Operating system" text,
"Latest stable release" text,
"Theora" text,
"H.264" text,
"VP8 ( WebM )" text,
"VP9 ( WebM )" text
) | SELECT "VP9 ( WebM )" FROM table_28294 WHERE "VP8 ( WebM )" = '4.4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
357,
4240,
41,
96,
279,
3623,
7,
49,
121,
1499,
6,
96,
667,
883,
1014,
358,
121,
1499,
6,
96,
3612,
4377,
5711,
1576,
121,
1499,
6,
96,
634,
127,
9,
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,
11527,
1298,
41,
1620,
329,
3,
61,
121,
21680,
953,
834,
2577,
357,
4240,
549,
17444,
427,
96,
11527,
927,
41,
1620,
329,
3,
61,
121,
3274,
3,
31,
23444,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Michael Stewart's school or club team? | CREATE TABLE table_31926 (
"Player" text,
"Nationality" text,
"Position" text,
"Years in Toronto" text,
"School/Club Team" text
) | SELECT "School/Club Team" FROM table_31926 WHERE "Player" = 'michael stewart' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2294,
2688,
41,
96,
15800,
49,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
476,
2741,
7,
16,
7030,
121,
1499,
6,
96,
29364,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
29364,
87,
254,
11158,
2271,
121,
21680,
953,
834,
519,
2294,
2688,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
51,
362,
9,
15,
40,
21786,
1408,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
At the venue of panama city, on 11 Febrero 2006, how many goals were scored? | CREATE TABLE table_name_10 (goal VARCHAR, venue VARCHAR, date VARCHAR) | SELECT COUNT(goal) FROM table_name_10 WHERE venue = "panama city" AND date = "11 febrero 2006" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
839,
138,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
486,
8,
5669,
13,
3418,
51,
9,
690,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
839,
138,
61,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
5669,
3274,
96,
2837,
265,
9,
690,
121,
3430,
833,
3274,
96,
2596,
29976,
49,
32,
3581,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What venue features essendon at home? | CREATE TABLE table_name_65 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_65 WHERE home_team = "essendon" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
15098,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
5669,
753,
3,
8185,
2029,
44,
234,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
234,
834,
11650,
3274,
96,
8185,
2029,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What date was the record 11-67? | CREATE TABLE table_22879323_10 (date VARCHAR, record VARCHAR) | SELECT date FROM table_22879323_10 WHERE record = "11-67" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
4225,
4271,
2773,
834,
1714,
41,
5522,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
47,
8,
1368,
850,
18,
3708,
58,
1,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
2884,
4225,
4271,
2773,
834,
1714,
549,
17444,
427,
1368,
3274,
96,
2596,
18,
3708,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which 2005 has a G zel aml s Lost Panther of green fairy? | CREATE TABLE table_name_76 (
güzelçamlı’s_lost_panther VARCHAR
) | SELECT 2005 FROM table_name_76 WHERE güzelçamlı’s_lost_panther = "green fairy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
3,
122,
1272,
4650,
11666,
51,
40,
2,
22,
7,
834,
2298,
17,
834,
2837,
189,
49,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
3105,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
3105,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
3,
122,
1272,
4650,
11666,
51,
40,
2,
22,
7,
834,
2298,
17,
834,
2837,
189,
49,
3274,
96,
9423,
19270,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
List the number of companies for each building in a bar chart, and show by the the number of name in descending. | CREATE TABLE buildings (
id int,
name text,
City text,
Height int,
Stories int,
Status text
)
CREATE TABLE Office_locations (
building_id int,
company_id int,
move_in_year int
)
CREATE TABLE Companies (
id int,
name text,
Headquarters text,
Industry text,
Sales_billion real,
Profits_billion real,
Assets_billion real,
Market_Value_billion text
) | SELECT T2.name, COUNT(T2.name) FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T2.name ORDER BY COUNT(T2.name) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3950,
41,
3,
23,
26,
16,
17,
6,
564,
1499,
6,
896,
1499,
6,
24231,
16,
17,
6,
20406,
16,
17,
6,
19318,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2126,
834... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
4350,
6,
2847,
17161,
599,
382,
4416,
4350,
61,
21680,
2126,
834,
14836,
7,
6157,
332,
536,
3,
15355,
3162,
3950,
6157,
332,
357,
9191,
332,
5411,
10905,
834,
23,
26,
3274,
332,
4416,
23,
26,
3,
15355,
... |
How many total reason for change are listed corresponding to the successor Leonard B. Jordan (r)? | CREATE TABLE table_1802522_3 (reason_for_change VARCHAR, successor VARCHAR) | SELECT COUNT(reason_for_change) FROM table_1802522_3 WHERE successor = "Leonard B. Jordan (R)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20829,
1828,
2884,
834,
519,
41,
864,
739,
834,
1161,
834,
13073,
584,
4280,
28027,
6,
22261,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
792,
1053,
21,
48... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
864,
739,
834,
1161,
834,
13073,
61,
21680,
953,
834,
20829,
1828,
2884,
834,
519,
549,
17444,
427,
22261,
3274,
96,
2796,
106,
986,
272,
5,
8480,
41,
448,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,... |
What was the ER average for the player that conceded 368 runs? | CREATE TABLE table_15700367_6 (
er VARCHAR,
runs_conceded VARCHAR
) | SELECT er FROM table_15700367_6 WHERE runs_conceded = 368 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
9295,
519,
3708,
834,
948,
41,
3,
49,
584,
4280,
28027,
6,
3154,
834,
11620,
221,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3,
3316,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
49,
21680,
953,
834,
1808,
9295,
519,
3708,
834,
948,
549,
17444,
427,
3154,
834,
11620,
221,
26,
3274,
220,
3651,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When was the release that was in SACD (hybrid) format? | CREATE TABLE table_13858 (
"Date" text,
"Label" text,
"Format" text,
"Country" text,
"Catalog" text
) | SELECT "Date" FROM table_13858 WHERE "Format" = 'sacd (hybrid)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22744,
3449,
41,
96,
308,
342,
121,
1499,
6,
96,
434,
10333,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
18610,
9,
2152,
121,
1499,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
22744,
3449,
549,
17444,
427,
96,
3809,
3357,
121,
3274,
3,
31,
7,
9,
75,
26,
41,
107,
63,
2160,
26,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who did the most assists when Matt Barnes (11) got the most rebounds? | CREATE TABLE table_17340355_10 (high_assists VARCHAR, high_rebounds VARCHAR) | SELECT high_assists FROM table_17340355_10 WHERE high_rebounds = "Matt Barnes (11)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
21129,
2469,
755,
834,
1714,
41,
6739,
834,
6500,
7,
17,
7,
584,
4280,
28027,
6,
306,
834,
23768,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
410,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
306,
834,
6500,
7,
17,
7,
21680,
953,
834,
2517,
21129,
2469,
755,
834,
1714,
549,
17444,
427,
306,
834,
23768,
3274,
96,
329,
144,
17,
24793,
4077,
6982,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what number of patients had procedure titled central venous catheter placement with guidance and lab test fluid is cerebrospinal fluid (csf)? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
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,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
) | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Central venous catheter placement with guidance" AND lab.fluid = "Cerebrospinal Fluid (CSF)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
3388,
18206... |
What was the score when the away team was brighton & hove albion? | CREATE TABLE table_name_21 (
score VARCHAR,
away_team VARCHAR
) | SELECT score FROM table_name_21 WHERE away_team = "brighton & hove albion" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
2604,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
116,
8,
550,
372,
47,
2756,
106,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
550,
834,
11650,
3274,
96,
115,
3535,
106,
3,
184,
3534,
162,
7046,
23,
106,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the Netflix number having a segment D, of NED can corn? | CREATE TABLE table_75287 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
) | SELECT "Netflix" FROM table_75287 WHERE "Segment D" = 'ned can corn' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
357,
4225,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
89,
17591,
121,
21680,
953,
834,
3072,
357,
4225,
549,
17444,
427,
96,
134,
15,
122,
297,
309,
121,
3274,
3,
31,
29,
15,
26,
54,
7329,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Place, when Player is 'Arnold Palmer'? | CREATE TABLE table_48858 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "Place" FROM table_48858 WHERE "Player" = 'arnold palmer' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
4060,
3449,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
345,
11706,
121,
21680,
953,
834,
591,
4060,
3449,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
291,
29,
1490,
8466,
49,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
WHAT IS THE SCORE OF MARCH 28? | CREATE TABLE table_8418 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
) | SELECT "Score" FROM table_8418 WHERE "Date" = 'march 28' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4608,
2606,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
3,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
4608,
2606,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
51,
7064,
2059,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the standing in the season that the pct% was 0.769? | CREATE TABLE table_2110959_1 (standing VARCHAR, pct__percentage VARCHAR) | SELECT standing FROM table_2110959_1 WHERE pct__percentage = "0.769" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
17304,
3390,
834,
536,
41,
11018,
584,
4280,
28027,
6,
3,
102,
75,
17,
834,
834,
883,
3728,
545,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
4125... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4125,
21680,
953,
834,
2658,
17304,
3390,
834,
536,
549,
17444,
427,
3,
102,
75,
17,
834,
834,
883,
3728,
545,
3274,
96,
22426,
3951,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the resultado when E.E.U.U was the country? | CREATE TABLE table_27501971_2 (
resultado VARCHAR,
country VARCHAR
) | SELECT resultado FROM table_27501971_2 WHERE country = "E.E.U.U" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
9979,
2294,
4450,
834,
357,
41,
741,
9,
26,
32,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
741,
9,
26,
32,
116,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
9,
26,
32,
21680,
953,
834,
357,
9979,
2294,
4450,
834,
357,
549,
17444,
427,
684,
3274,
96,
427,
5,
427,
5,
1265,
5,
1265,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the latest paper by emo todorov ? | CREATE TABLE field (
fieldid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE writes (
paperid int,
authorid int
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
) | SELECT DISTINCT writes.paperid FROM author, paper, writes WHERE author.authorname = 'emo todorov' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid ORDER BY paper.year DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1057,
41,
1057,
23,
26,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1040,
41,
1040,
23,
26,
16,
17,
6,
2233,
3,
4331,
4059,
6,
5669,
23,
26,
16,
17,
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,
3,
15438,
25424,
6227,
11858,
5,
19587,
23,
26,
21680,
2291,
6,
1040,
6,
11858,
549,
17444,
427,
2291,
5,
17415,
4350,
3274,
3,
31,
15,
51,
32,
12,
26,
32,
8843,
31,
3430,
11858,
5,
17415,
23,
26,
3274,
2291,
5,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.