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 name of the baseball stadium for the school with the Murray Center basketball arena? | CREATE TABLE table_1974545_3 (baseball_stadium VARCHAR, basketball_arena VARCHAR) | SELECT baseball_stadium FROM table_1974545_3 WHERE basketball_arena = "The Murray Center" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27181,
2128,
2128,
834,
519,
41,
10925,
3184,
834,
2427,
12925,
584,
4280,
28027,
6,
8498,
834,
9,
1536,
9,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
9600,
834,
2427,
12925,
21680,
953,
834,
27181,
2128,
2128,
834,
519,
549,
17444,
427,
8498,
834,
9,
1536,
9,
3274,
96,
634,
15497,
1166,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Show all party names and the number of members in each party with a bar chart, rank by the Party_name from low to high please. | CREATE TABLE party_events (
Event_ID int,
Event_Name text,
Party_ID int,
Member_in_charge_ID int
)
CREATE TABLE party (
Party_ID int,
Minister text,
Took_office text,
Left_office text,
Region_ID int,
Party_name text
)
CREATE TABLE member (
Member_ID int,
Member_Name tex... | SELECT Party_name, COUNT(*) FROM member AS T1 JOIN party AS T2 ON T1.Party_ID = T2.Party_ID GROUP BY T1.Party_ID ORDER BY Party_name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1088,
834,
15,
2169,
7,
41,
8042,
834,
4309,
16,
17,
6,
8042,
834,
23954,
1499,
6,
3450,
834,
4309,
16,
17,
6,
8541,
834,
77,
834,
7993,
834,
4309,
16,
17,
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,
3450,
834,
4350,
6,
2847,
17161,
599,
1935,
61,
21680,
1144,
6157,
332,
536,
3,
15355,
3162,
1088,
6157,
332,
357,
9191,
332,
5411,
13725,
63,
834,
4309,
3274,
332,
4416,
13725,
63,
834,
4309,
350,
4630,
6880,
272,
... |
What is the Series, when the Season is after 2008, when the value for Podiums is 3, and when the Position is 8th? | CREATE TABLE table_67067 (
"Season" real,
"Series" text,
"Wins" text,
"Podiums" text,
"Position" text
) | SELECT "Series" FROM table_67067 WHERE "Season" > '2008' AND "Podiums" = '3' AND "Position" = '8th' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
632,
3708,
41,
96,
134,
15,
9,
739,
121,
490,
6,
96,
12106,
7,
121,
1499,
6,
96,
18455,
7,
121,
1499,
6,
96,
16665,
2552,
7,
121,
1499,
6,
96,
345,
32,
7,
4749,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
12106,
7,
121,
21680,
953,
834,
3708,
632,
3708,
549,
17444,
427,
96,
134,
15,
9,
739,
121,
2490,
3,
31,
16128,
31,
3430,
96,
16665,
2552,
7,
121,
3274,
3,
31,
519,
31,
3430,
96,
345,
32,
7,
4749,
121,
327... |
What nation has 1 bronze and 3 silvers? | CREATE TABLE table_11683 (
"Nation" text,
"Gold" text,
"Silver" text,
"Bronze" text,
"Total" real
) | SELECT "Nation" FROM table_11683 WHERE "Bronze" = '1' AND "Silver" = '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20159,
4591,
41,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
1499,
6,
96,
134,
173,
624,
121,
1499,
6,
96,
22780,
29,
776,
121,
1499,
6,
96,
3696,
1947,
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,
0,
0,
0... | [
3,
23143,
14196,
96,
567,
257,
121,
21680,
953,
834,
20159,
4591,
549,
17444,
427,
96,
22780,
29,
776,
121,
3274,
3,
31,
536,
31,
3430,
96,
134,
173,
624,
121,
3274,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Ofsted has a School of marple hall school, and a Capacity larger than 1711? | CREATE TABLE table_name_63 (ofsted INTEGER, school VARCHAR, capacity VARCHAR) | SELECT MIN(ofsted) FROM table_name_63 WHERE school = "marple hall school" AND capacity > 1711 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
858,
6265,
3,
21342,
17966,
6,
496,
584,
4280,
28027,
6,
2614,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1129,
6265,
65,
3,
9,
1121,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
858,
6265,
61,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
496,
3274,
96,
1635,
4788,
6358,
496,
121,
3430,
2614,
2490,
1003,
2596,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which district has the earliest date that a successor was seated ? | CREATE TABLE table_203_400 (
id number,
"district" text,
"vacator" text,
"reason for change" text,
"successor" text,
"date successor\nseated" text
) | SELECT "district" FROM table_203_400 ORDER BY "date successor\nseated" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
5548,
41,
3,
23,
26,
381,
6,
96,
26,
23,
20066,
121,
1499,
6,
96,
8938,
1016,
121,
1499,
6,
96,
864,
739,
21,
483,
121,
1499,
6,
96,
7,
17431,
24901,
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,
26,
23,
20066,
121,
21680,
953,
834,
23330,
834,
5548,
4674,
11300,
272,
476,
96,
5522,
22261,
2,
29,
22933,
121,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the name of the city whose first season was in 1996? | CREATE TABLE table_name_32 (city VARCHAR, first_season VARCHAR) | SELECT city FROM table_name_32 WHERE first_season = 1996 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
6726,
584,
4280,
28027,
6,
166,
834,
9476,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
564,
13,
8,
690,
3,
2544,
166,
774,
47... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
690,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
166,
834,
9476,
3274,
6911,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the family relations of the king with the throne name 303? | CREATE TABLE table_name_20 (
family_relations VARCHAR,
throne_name VARCHAR
) | SELECT family_relations FROM table_name_20 WHERE throne_name = "303" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
384,
834,
60,
6105,
7,
584,
4280,
28027,
6,
3,
8514,
29,
15,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
384,
5836... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
384,
834,
60,
6105,
7,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
3,
8514,
29,
15,
834,
4350,
3274,
96,
23335,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which Long is the highest one that has a Loss larger than 3, and a Gain larger than 2,894? | CREATE TABLE table_name_22 (long INTEGER, loss VARCHAR, gain VARCHAR) | SELECT MAX(long) FROM table_name_22 WHERE loss > 3 AND gain > 2 OFFSET 894 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
2961,
3,
21342,
17966,
6,
1453,
584,
4280,
28027,
6,
2485,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
3230,
19,
8,
2030,
80,
24,
65,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
2961,
61,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
1453,
2490,
220,
3430,
2485,
2490,
204,
3,
15316,
20788,
505,
4240,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which overall pick was traded to the Cleveland Browns? | CREATE TABLE table_10360823_1 (overall VARCHAR, college VARCHAR) | SELECT overall FROM table_10360823_1 WHERE college = "Traded to the Cleveland Browns" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1714,
3420,
4018,
2773,
834,
536,
41,
1890,
1748,
584,
4280,
28027,
6,
1900,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1879,
1432,
47,
18107,
12,
8,
13160,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1879,
21680,
953,
834,
1714,
3420,
4018,
2773,
834,
536,
549,
17444,
427,
1900,
3274,
96,
9402,
221,
26,
12,
8,
13160,
3899,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Give me a histogram for how many students play each sport? | CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE SportsInfo (
StuID INTEGER,
SportName VARCHAR(32),
HoursPerWeek INTEGER,
GamesPlayed INTEGER,
... | SELECT SportName, COUNT(*) FROM SportsInfo GROUP BY SportName | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6341,
41,
3,
13076,
4309,
3,
21342,
17966,
6,
301,
23954,
584,
4280,
28027,
599,
2122,
201,
377,
4350,
584,
4280,
28027,
599,
2122,
201,
7526,
3,
21342,
17966,
6,
679,
226,
584,
4280,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3349,
23954,
6,
2847,
17161,
599,
1935,
61,
21680,
5716,
29381,
350,
4630,
6880,
272,
476,
3349,
23954,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is Lost, when Drawn is "2", and when Points is "36"? | CREATE TABLE table_name_94 (lost VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT lost FROM table_name_94 WHERE drawn = "2" AND points = "36" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
2298,
17,
584,
4280,
28027,
6,
6796,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
19576,
6,
116,
19183,
29,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1513,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
6796,
3274,
96,
357,
121,
3430,
979,
3274,
96,
3420,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the class position of the team that was in the 4th position? | CREATE TABLE table_name_73 (class VARCHAR, pos VARCHAR) | SELECT class AS pos FROM table_name_73 WHERE pos = "4th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
4057,
584,
4280,
28027,
6,
3,
2748,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
853,
1102,
13,
8,
372,
24,
47,
16,
8,
314,
189,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
853,
6157,
3,
2748,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
3,
2748,
3274,
96,
591,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the July temperature where plant hardiness zone is 2B and January figure is −12/−23°c (10-9°f)? | CREATE TABLE table_name_32 (july VARCHAR, plant_hardiness_zone VARCHAR, january VARCHAR) | SELECT july FROM table_name_32 WHERE plant_hardiness_zone = "2b" AND january = "−12/−23°c (10-9°f)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
2047,
120,
584,
4280,
28027,
6,
1475,
834,
5651,
6096,
834,
9431,
584,
4280,
28027,
6,
3,
7066,
76,
1208,
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,
3,
2047,
120,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
1475,
834,
5651,
6096,
834,
9431,
3274,
96,
357,
115,
121,
3430,
3,
7066,
76,
1208,
3274,
96,
2,
2122,
87,
2,
2773,
1956,
75,
11704,
7141,
1956,
89,... |
For those employees who did not have any job in the past, return a bar chart about the distribution of job_id and the average of department_id , and group by attribute job_id, list in asc by the y-axis. | CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
... | SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY AVG(DEPARTMENT_ID) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3248,
41,
301,
5618,
8015,
834,
4309,
7908,
1982,
599,
8525,
632,
201,
3,
13733,
26418,
834,
24604,
12200,
134,
3,
4331,
4059,
599,
2445,
201,
3,
16034,
16359,
834,
5911,
5596,
3,
4331... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
446,
10539,
834,
4309,
6,
71,
17217,
599,
5596,
19846,
11810,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
4486,
262,
5244,
5017,
476,
5080,
834,
4309,
3388,
41,
23143,
14196,
262,
5244,
5017,
476,
5080,
834,
4309,
21... |
How many times is the nation china and bronze more than 0? | CREATE TABLE table_name_4 (rank VARCHAR, nation VARCHAR, bronze VARCHAR) | SELECT COUNT(rank) FROM table_name_4 WHERE nation = "china" AND bronze > 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
6254,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
648,
19,
8,
2982,
20576,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
6254,
61,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
2982,
3274,
96,
5675,
9,
121,
3430,
13467,
2490,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When the Away team scored 6.13 (49), what was the Home teams score? | CREATE TABLE table_56401 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Home team score" FROM table_56401 WHERE "Away team score" = '6.13 (49)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
20016,
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,
19040,
372,
2604,
121,
21680,
953,
834,
4834,
20016,
549,
17444,
427,
96,
188,
1343,
372,
2604,
121,
3274,
3,
31,
23769,
519,
8457,
11728,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which actor won in 1966? | CREATE TABLE table_name_43 (actor VARCHAR, year VARCHAR) | SELECT actor FROM table_name_43 WHERE year = 1966 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
9,
5317,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
7556,
751,
16,
20658,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7556,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
215,
3274,
20658,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what tims is wed may 28 and mon may 26 is 17' 58.34 125.960mph? | CREATE TABLE table_14209455_1 (
wed_28_may VARCHAR,
mon_26_may VARCHAR
) | SELECT wed_28_may FROM table_14209455_1 WHERE mon_26_may = "17' 58.34 125.960mph" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
1755,
4240,
3769,
834,
536,
41,
62,
26,
834,
2577,
834,
13726,
584,
4280,
28027,
6,
1911,
834,
2688,
834,
13726,
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,
62,
26,
834,
2577,
834,
13726,
21680,
953,
834,
2534,
1755,
4240,
3769,
834,
536,
549,
17444,
427,
1911,
834,
2688,
834,
13726,
3274,
96,
2517,
31,
3,
3449,
5,
3710,
3,
10124,
5,
27699,
7656,
121,
1,
-100,
-100,
-... |
What horse has a 66.452 result? | CREATE TABLE table_62858 (
"Athlete" text,
"Class" text,
"Horse" text,
"Event" text,
"Result" text,
"Rank" text
) | SELECT "Horse" FROM table_62858 WHERE "Result" = '66.452' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
2577,
3449,
41,
96,
188,
189,
1655,
15,
121,
1499,
6,
96,
21486,
121,
1499,
6,
96,
566,
127,
7,
15,
121,
1499,
6,
96,
427,
2169,
121,
1499,
6,
96,
20119,
121,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
566,
127,
7,
15,
121,
21680,
953,
834,
948,
2577,
3449,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
3539,
5,
2128,
357,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
List the position of players and the average number of points of players of each position by a bar chart, could you order in asc by the the average of points? | CREATE TABLE competition_result (
Competition_ID int,
Club_ID_1 int,
Club_ID_2 int,
Score text
)
CREATE TABLE club (
Club_ID int,
name text,
Region text,
Start_year text
)
CREATE TABLE competition (
Competition_ID int,
Year real,
Competition_type text,
Country text
)
C... | SELECT Position, AVG(Points) FROM player GROUP BY Position ORDER BY AVG(Points) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2259,
834,
60,
7,
83,
17,
41,
15571,
834,
4309,
16,
17,
6,
1949,
834,
4309,
834,
536,
16,
17,
6,
1949,
834,
4309,
834,
357,
16,
17,
6,
17763,
1499,
3,
61,
3,
32102,
32103,
32102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14258,
6,
71,
17217,
599,
22512,
7,
61,
21680,
1959,
350,
4630,
6880,
272,
476,
14258,
4674,
11300,
272,
476,
71,
17217,
599,
22512,
7,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who is the 2nd round opponent when Team 2 is Red Star (D1)? | CREATE TABLE table_name_91 (
team_2 VARCHAR
) | SELECT 2 AS nd_round FROM table_name_91 WHERE team_2 = "red star (d1)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
372,
834,
357,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
204,
727,
1751,
15264,
116,
2271,
204,
19,
1624,
2042,
41,
308,
698... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
204,
6157,
3,
727,
834,
7775,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
372,
834,
357,
3274,
96,
1271,
2213,
41,
26,
6982,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the number of faculty lines in campus "Long Beach State University" in 2002? | CREATE TABLE campuses (id VARCHAR, campus VARCHAR); CREATE TABLE faculty (campus VARCHAR, year VARCHAR) | SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2002 AND T2.campus = "Long Beach State University" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
25784,
41,
23,
26,
584,
4280,
28027,
6,
4730,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
6040,
41,
25532,
584,
4280,
28027,
6,
215,
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,
6040,
21680,
6040,
6157,
332,
536,
3,
15355,
3162,
25784,
6157,
332,
357,
9191,
332,
5411,
25532,
3274,
332,
4416,
23,
26,
549,
17444,
427,
332,
5411,
1201,
3274,
4407,
3430,
332,
4416,
25532,
3274,
96,
434,
2444,
297... |
Name the sanskrit word and meaning for aquarius | CREATE TABLE table_20354_7 (sanskrit_word_and_meaning VARCHAR, zodiac_sign VARCHAR) | SELECT sanskrit_word_and_meaning FROM table_20354_7 WHERE zodiac_sign = "Aquarius" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
5062,
834,
940,
41,
7,
3247,
10648,
17,
834,
6051,
834,
232,
834,
27639,
584,
4280,
28027,
6,
26933,
9,
75,
834,
6732,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1532,
10648,
17,
834,
6051,
834,
232,
834,
27639,
21680,
953,
834,
23330,
5062,
834,
940,
549,
17444,
427,
26933,
9,
75,
834,
6732,
3274,
96,
188,
4960,
18956,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many players did the most high points in the game with 39-22 record? | CREATE TABLE table_73531 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT COUNT("High points") FROM table_73531 WHERE "Record" = '39-22' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2469,
3341,
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,
2847,
17161,
599,
121,
21417,
979,
8512,
21680,
953,
834,
940,
2469,
3341,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
3288,
16149,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
how many district with incumbent being david delano glover | CREATE TABLE table_1342331_5 (
district VARCHAR,
incumbent VARCHAR
) | SELECT COUNT(district) FROM table_1342331_5 WHERE incumbent = "David Delano Glover" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2773,
3341,
834,
755,
41,
3939,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
149,
186,
3939,
28,
28406,
271,
836,
6961,
20,
1618... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
26,
23,
20066,
61,
21680,
953,
834,
23747,
2773,
3341,
834,
755,
549,
17444,
427,
28406,
3274,
96,
308,
9,
6961,
374,
1618,
32,
9840,
624,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which athlete, has an 18.55 result | CREATE TABLE table_name_43 (athlete VARCHAR, result VARCHAR) | SELECT athlete FROM table_name_43 WHERE result = 18.55 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
26170,
15,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
17893,
6,
65,
46,
12265,
3769,
741,
1,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
17893,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
741,
3274,
12265,
3769,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What Willinghshain has Reimboldsh of 101? | CREATE TABLE table_14774 (
"Gersdorf" text,
"Gershausen" text,
"Heddersdorf" text,
"Kemmerode" text,
"Kirchheim" text,
"Reckerode ****" text,
"Reimboldsh." text,
"Rotterterode" text,
"Willingshain" text
) | SELECT "Willingshain" FROM table_14774 WHERE "Reimboldsh." = '101' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24719,
4581,
41,
96,
517,
277,
8716,
121,
1499,
6,
96,
517,
277,
18535,
121,
1499,
6,
96,
3845,
26,
588,
7,
8716,
121,
1499,
6,
96,
439,
15,
635,
29145,
121,
1499,
6,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
518,
1092,
53,
7,
1024,
77,
121,
21680,
953,
834,
24719,
4581,
549,
17444,
427,
96,
1649,
603,
4243,
26,
7,
107,
535,
3274,
3,
31,
19621,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which Circuit has a Winning driver of scott pruett? | CREATE TABLE table_name_15 (
circuit VARCHAR,
winning_driver VARCHAR
) | SELECT circuit FROM table_name_15 WHERE winning_driver = "scott pruett" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1808,
41,
4558,
584,
4280,
28027,
6,
3447,
834,
13739,
52,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
17007,
65,
3,
9,
549,
10503,
2535,
13,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4558,
21680,
953,
834,
4350,
834,
1808,
549,
17444,
427,
3447,
834,
13739,
52,
3274,
96,
7,
10405,
3,
12129,
15,
17,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the home teams score when the VFL played Princes Park? | CREATE TABLE table_53646 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Home team score" FROM table_53646 WHERE "Venue" = 'princes park' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3420,
4448,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
19040,
372,
2604,
121,
21680,
953,
834,
755,
3420,
4448,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
12298,
2319,
2447,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest against when the draws are more than 0 and the losses are less than 3? | CREATE TABLE table_name_74 (
against INTEGER,
losses VARCHAR,
draws VARCHAR
) | SELECT MIN(against) FROM table_name_74 WHERE losses < 3 AND draws > 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
581,
3,
21342,
17966,
6,
8467,
584,
4280,
28027,
6,
14924,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
581,
116,
8,
14924... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
9,
16720,
7,
17,
61,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
8467,
3,
2,
220,
3430,
14924,
2490,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the maximum t20 on green lane? | CREATE TABLE table_17180 (
"Name of ground" text,
"Location" text,
"Year" text,
"FC matches" real,
"LA matches" real,
"T20 matches" real,
"Total" real
) | SELECT MAX("T20 matches") FROM table_17180 WHERE "Name of ground" = 'Green Lane' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
20829,
41,
96,
23954,
13,
1591,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
476,
2741,
121,
1499,
6,
96,
5390,
6407,
121,
490,
6,
96,
4569,
6407,
121,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
382,
1755,
6407,
8512,
21680,
953,
834,
2517,
20829,
549,
17444,
427,
96,
23954,
13,
1591,
121,
3274,
3,
31,
22918,
11834,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
WHAT SEASON HAD COACH JONAS KAZLAUSKAS AT champions cup group stage? | CREATE TABLE table_name_72 (season VARCHAR, head_coach VARCHAR, europe VARCHAR) | SELECT season FROM table_name_72 WHERE head_coach = "jonas kazlauskas" AND europe = "champions cup group stage" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
9476,
584,
4280,
28027,
6,
819,
834,
509,
1836,
584,
4280,
28027,
6,
3,
28188,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
21665,
3,
25542,
1046... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
774,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
819,
834,
509,
1836,
3274,
96,
15429,
9,
7,
3,
1258,
172,
40,
2064,
1258,
7,
121,
3430,
3,
28188,
3274,
96,
17788,
12364,
7,
4119,
563,
1726,
121,
1,
-100,
... |
in round 9 who was the 250cc winner? | CREATE TABLE table_19988 (
"Round" real,
"Date" text,
"Grand Prix" text,
"Circuit" text,
"125cc winner" text,
"250cc winner" text,
"MotoGP winner" text,
"Report" text
) | SELECT "250cc winner" FROM table_19988 WHERE "Round" = '9' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19479,
4060,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
4744,
727,
12942,
121,
1499,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
10124,
75,
75... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11434,
75,
75,
4668,
121,
21680,
953,
834,
19479,
4060,
549,
17444,
427,
96,
448,
32,
1106,
121,
3274,
3,
31,
1298,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What are the contestant numbers and names of the contestants who had at least two votes? | CREATE TABLE votes (contestant_number VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR) | SELECT T1.contestant_number, T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number HAVING COUNT(*) >= 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11839,
41,
1018,
4377,
288,
834,
5525,
1152,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
4233,
2366,
41,
1018,
4377,
288,
834,
5525,
1152,
584,
4280,
28027... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
1018,
4377,
288,
834,
5525,
1152,
6,
332,
5411,
1018,
4377,
288,
834,
4350,
21680,
4233,
2366,
6157,
332,
536,
3,
15355,
3162,
11839,
6157,
332,
357,
9191,
332,
5411,
1018,
4377,
288,
834,
5525,
1152,
3274,... |
What opponent has 3-2 as the score, and anderson (2-6) as a loss? | CREATE TABLE table_5110 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) | SELECT "Opponent" FROM table_5110 WHERE "Score" = '3-2' AND "Loss" = 'anderson (2-6)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5553,
1714,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
121,
1499,
6,
96,
188,
17,
324,
26,
663,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
102,
9977,
121,
21680,
953,
834,
5553,
1714,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
21160,
31,
3430,
96,
434,
32,
7,
7,
121,
3274,
3,
31,
232,
13515,
4743,
18,
10938,
31,
1,
-100,
-100,
-100,... |
what was the total attendance for the tigers ' first three games of 2008 ? | CREATE TABLE table_204_858 (
id number,
"date" text,
"time" text,
"opponent#" text,
"rank#" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
) | SELECT SUM("attendance") FROM table_204_858 WHERE id <= 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
927,
3449,
41,
3,
23,
26,
381,
6,
96,
5522,
121,
1499,
6,
96,
715,
121,
1499,
6,
96,
32,
102,
9977,
4663,
121,
1499,
6,
96,
6254,
4663,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
15116,
663,
8512,
21680,
953,
834,
26363,
834,
927,
3449,
549,
17444,
427,
3,
23,
26,
3,
2,
2423,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who appointed the representative that had a Presentation of Credentials on March 25, 1976? | CREATE TABLE table_name_72 (appointed_by VARCHAR, presentation_of_credentials VARCHAR) | SELECT appointed_by FROM table_name_72 WHERE presentation_of_credentials = "march 25, 1976" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
31574,
834,
969,
584,
4280,
28027,
6,
3831,
834,
858,
834,
17216,
7220,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
7817,
8,
6978,
24,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7817,
834,
969,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
3831,
834,
858,
834,
17216,
7220,
7,
3274,
96,
51,
7064,
14105,
16164,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many years had a formula of Grand Prix? | CREATE TABLE table_name_46 (year VARCHAR, formula VARCHAR) | SELECT COUNT(year) FROM table_name_46 WHERE formula = "grand prix" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
1201,
584,
4280,
28027,
6,
5403,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
203,
141,
3,
9,
5403,
13,
2698,
12942,
58,
1,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1201,
61,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
5403,
3274,
96,
15448,
3407,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
count the number of patients who are admitted to hospital until 1 year ago. | CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE lab (
labid number,
pa... | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE DATETIME(patient.hospitaladmittime) <= DATETIME(CURRENT_TIME(), '-1 year') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1058,
41,
1058,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
1058,
4350,
1499,
6,
1058,
715,
97,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
8209,
41,
8209,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1868,
5,
202,
1495,
12417,
61,
21680,
1868,
549,
17444,
427,
309,
6048,
382,
15382,
599,
10061,
5,
31386,
20466,
17,
715,
61,
3,
2,
2423,
309,
6048,
382,
15382,
599,
5211,
12224,
... |
What is the player that is from seattle prep? | CREATE TABLE table_57883 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text
) | SELECT "Player" FROM table_57883 WHERE "School" = 'seattle prep' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3436,
4060,
519,
41,
96,
15800,
49,
121,
1499,
6,
96,
3845,
2632,
121,
1499,
6,
96,
29364,
121,
1499,
6,
96,
19040,
3540,
121,
1499,
6,
96,
9939,
7883,
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,
0,
0,
0... | [
3,
23143,
14196,
96,
15800,
49,
121,
21680,
953,
834,
3436,
4060,
519,
549,
17444,
427,
96,
29364,
121,
3274,
3,
31,
7,
15,
9,
8692,
13422,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
In which city was the berlin marathon? | CREATE TABLE table_28360 (
"Road race" text,
"Distance" text,
"Location" text,
"Country" text,
"Month held" text
) | SELECT "Location" FROM table_28360 WHERE "Road race" = 'Berlin Marathon' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
19208,
41,
96,
448,
32,
9,
26,
1964,
121,
1499,
6,
96,
308,
23,
8389,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
9168,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2577,
19208,
549,
17444,
427,
96,
448,
32,
9,
26,
1964,
121,
3274,
3,
31,
279,
49,
40,
77,
19012,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the type for rank 2? | CREATE TABLE table_name_26 (type VARCHAR, rank VARCHAR) | SELECT type FROM table_name_26 WHERE rank = 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
6137,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
686,
21,
11003,
204,
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,
686,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
11003,
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... |
How many defending points did radek t p nek have? | CREATE TABLE table_3054 (
"Rank" real,
"Player" text,
"Points" real,
"Points defending" real,
"Points won" real,
"New points" real,
"Withdrew due to" text
) | SELECT MAX("Points defending") FROM table_3054 WHERE "Player" = 'Radek Štěpánek' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1458,
5062,
41,
96,
22557,
121,
490,
6,
96,
15800,
49,
121,
1499,
6,
96,
22512,
7,
121,
490,
6,
96,
22512,
7,
3,
20309,
121,
490,
6,
96,
22512,
7,
751,
121,
490,
6,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
22512,
7,
3,
20309,
8512,
21680,
953,
834,
1458,
5062,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
448,
9,
221,
157,
3,
2,
17,
2,
102,
12916,
15,
157,
31,
1,
-100,
-100,
-100,
-100,
-1... |
What is the sum of Runners-Up, when Champions is greater than 5? | CREATE TABLE table_name_2 (
runners_up INTEGER,
champions INTEGER
) | SELECT SUM(runners_up) FROM table_name_2 WHERE champions > 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
16448,
834,
413,
3,
21342,
17966,
6,
6336,
7,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,
13,
3,
23572,
7,
18,
11161,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
10806,
7,
834,
413,
61,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
6336,
7,
2490,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many total games did boston college win in the beanpot ? | CREATE TABLE table_203_13 (
id number,
"year" number,
"champion" text,
"score" text,
"runner-up" text,
"coach" text
) | SELECT COUNT(*) FROM table_203_13 WHERE "champion" = 'boston college' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2368,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
17788,
12364,
121,
1499,
6,
96,
7,
9022,
121,
1499,
6,
96,
10806,
18,
413,
121,
1499,
6,
96,
509,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2368,
549,
17444,
427,
96,
17788,
12364,
121,
3274,
3,
31,
115,
32,
4411,
1900,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who is the Winner for the City of Loutraki? | CREATE TABLE table_71050 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
) | SELECT "Winner" FROM table_71050 WHERE "City" = 'loutraki' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
1714,
1752,
41,
96,
308,
342,
121,
1499,
6,
96,
254,
485,
121,
1499,
6,
96,
427,
2169,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
7855,
776,
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,
1,
0... | [
3,
23143,
14196,
96,
18455,
687,
121,
21680,
953,
834,
940,
1714,
1752,
549,
17444,
427,
96,
254,
485,
121,
3274,
3,
31,
40,
670,
9782,
23,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the population of each community with city status? | CREATE TABLE table_171361_1 (population VARCHAR, status VARCHAR) | SELECT population FROM table_171361_1 WHERE status = "City" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2368,
4241,
834,
536,
41,
9791,
7830,
584,
4280,
28027,
6,
2637,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2074,
13,
284,
573,
28,
690,
2637,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2074,
21680,
953,
834,
2517,
2368,
4241,
834,
536,
549,
17444,
427,
2637,
3274,
96,
254,
485,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the reporters for dave johnson for eddie arcaro and howard cosell | CREATE TABLE table_22514845_5 (
reporters VARCHAR,
race_caller VARCHAR,
s_analyst VARCHAR
) | SELECT reporters FROM table_22514845_5 WHERE race_caller = "Dave Johnson" AND s_analyst = "Eddie Arcaro and Howard Cosell" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20489,
24748,
2128,
834,
755,
41,
19644,
584,
4280,
28027,
6,
1964,
834,
16482,
49,
584,
4280,
28027,
6,
3,
7,
834,
152,
9,
120,
7,
17,
584,
4280,
28027,
3,
61,
3,
32102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
19644,
21680,
953,
834,
20489,
24748,
2128,
834,
755,
549,
17444,
427,
1964,
834,
16482,
49,
3274,
96,
308,
9,
162,
5891,
121,
3430,
3,
7,
834,
152,
9,
120,
7,
17,
3274,
96,
427,
26,
2498,
1533,
1720,
32,
11,
13... |
What is the name of the competition with opponents of Sv Werder Bremen and a score of 1-2? | CREATE TABLE table_name_37 (
competition VARCHAR,
opponents VARCHAR,
score VARCHAR
) | SELECT competition FROM table_name_37 WHERE opponents = "sv werder bremen" AND score = "1-2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
2259,
584,
4280,
28027,
6,
16383,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
2259,
28,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2259,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
16383,
3274,
96,
7,
208,
10808,
52,
3,
1999,
904,
121,
3430,
2604,
3274,
96,
9596,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who is the third on the team from Madison, Wisconsin that has Craig Brown as skip? | CREATE TABLE table_62759 (
"Team" text,
"Country" text,
"Home" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
) | SELECT "Third" FROM table_62759 WHERE "Home" = 'madison, wisconsin' AND "Skip" = 'craig brown' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
2555,
3390,
41,
96,
18699,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
134,
2168,
102,
121,
1499,
6,
96,
382,
9288,
26,
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,
382,
9288,
26,
121,
21680,
953,
834,
948,
2555,
3390,
549,
17444,
427,
96,
19040,
121,
3274,
3,
31,
11374,
23,
739,
6,
11064,
7,
8056,
77,
31,
3430,
96,
134,
2168,
102,
121,
3274,
3,
31,
2935,
23,
122,
4216,... |
Who were the running candidates when Joshua Sands was the incumbent? | CREATE TABLE table_28873 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
) | SELECT "Candidates" FROM table_28873 WHERE "Incumbent" = 'Joshua Sands' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
4225,
519,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
1499,
6,
96,
20119,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
14050,
12416,
6203,
121,
21680,
953,
834,
2577,
4225,
519,
549,
17444,
427,
96,
1570,
75,
5937,
295,
121,
3274,
3,
31,
683,
32,
14279,
9,
5440,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Player has a Transfer fee of 750,000 [x]? | CREATE TABLE table_48852 (
"Date" text,
"Pos." text,
"Player" text,
"From club" text,
"Transfer fee" text
) | SELECT "Player" FROM table_48852 WHERE "Transfer fee" = '£750,000 [x]' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3707,
4433,
357,
41,
96,
308,
342,
121,
1499,
6,
96,
345,
32,
7,
535,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
22674,
1886,
121,
1499,
6,
96,
18474,
1010,
2572,
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,
1... | [
3,
23143,
14196,
96,
15800,
49,
121,
21680,
953,
834,
3707,
4433,
357,
549,
17444,
427,
96,
18474,
1010,
2572,
121,
3274,
3,
31,
19853,
940,
9286,
784,
226,
908,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what is the difference in gauge between works numbers 541 and 542 ? | CREATE TABLE table_204_30 (
id number,
"year built" text,
"works number" number,
"wheel arr." text,
"gauge" text,
"original owner" text,
"name" text,
"current location" text,
"notes" text
) | SELECT ABS((SELECT "gauge" FROM table_204_30 WHERE "works number" = 541) - (SELECT "gauge" FROM table_204_30 WHERE "works number" = 542)) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
1458,
41,
3,
23,
26,
381,
6,
96,
1201,
1192,
121,
1499,
6,
96,
13631,
381,
121,
381,
6,
96,
14074,
1584,
52,
535,
1499,
6,
96,
20038,
397,
121,
1499,
6,
96,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
20798,
599,
599,
23143,
14196,
96,
20038,
397,
121,
21680,
953,
834,
26363,
834,
1458,
549,
17444,
427,
96,
13631,
381,
121,
3274,
10630,
6982,
3,
18,
41,
23143,
14196,
96,
20038,
397,
121,
21680,
953,
834,
26363,
834... |
List the position of players with average number of points scored by players of that position bigger than 20. | CREATE TABLE player (
POSITION VARCHAR,
name VARCHAR,
Points INTEGER
) | SELECT POSITION FROM player GROUP BY name HAVING AVG(Points) >= 20 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1959,
41,
3,
16034,
196,
9562,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
6,
4564,
7,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
6792,
8,
1102,
13,
1508,
28,
1348,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
16034,
196,
9562,
21680,
1959,
350,
4630,
6880,
272,
476,
564,
454,
6968,
2365,
71,
17217,
599,
22512,
7,
61,
2490,
2423,
460,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
A bar chart shows the distribution of All_Road and School_ID , and show from high to low by the Y-axis. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT All_Road, School_ID FROM basketball_match ORDER BY School_ID DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3819,
41,
1121,
834,
4309,
16,
17,
6,
1121,
1499,
6,
10450,
1499,
6,
3,
20100,
490,
6,
71,
89,
8027,
23,
257,
1499,
6,
695,
4046,
297,
490,
6,
7486,
4350,
1499,
6,
14542,
834,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
448,
32,
9,
26,
6,
1121,
834,
4309,
21680,
8498,
834,
19515,
4674,
11300,
272,
476,
1121,
834,
4309,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the year for les portes tournantes | CREATE TABLE table_21216 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Director" text,
"Result" text
) | SELECT "Year (Ceremony)" FROM table_21216 WHERE "Original title" = 'Les portes tournantes' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24837,
2938,
41,
96,
476,
2741,
41,
254,
49,
15,
21208,
61,
121,
1499,
6,
96,
371,
173,
51,
2233,
261,
16,
13588,
121,
1499,
6,
96,
667,
3380,
10270,
2233,
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,
476,
2741,
41,
254,
49,
15,
21208,
61,
121,
21680,
953,
834,
24837,
2938,
549,
17444,
427,
96,
667,
3380,
10270,
2233,
121,
3274,
3,
31,
2796,
7,
5137,
7,
1552,
29,
8386,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
Which federal state has 6 representatives of national average? | CREATE TABLE table_42947 (
"Federal State" text,
"Number of Members" real,
"% Of total Members" text,
"Population (on the census also called Censo 2010)" text,
"% Of the population (Censo 2010)" text,
"Representativeness (Inhabitants / Mr)" text,
"Representatives of national average" text,
... | SELECT "Federal State" FROM table_42947 WHERE "Representatives of national average" = '6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3166,
4177,
41,
96,
371,
15,
588,
138,
1015,
121,
1499,
6,
96,
567,
5937,
49,
13,
9537,
121,
490,
6,
96,
1454,
1129,
792,
9537,
121,
1499,
6,
96,
27773,
7830,
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,
96,
371,
15,
588,
138,
1015,
121,
21680,
953,
834,
591,
3166,
4177,
549,
17444,
427,
96,
1649,
12640,
1528,
7,
13,
1157,
1348,
121,
3274,
3,
31,
948,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Year has a Film of baazigar? | CREATE TABLE table_34119 (
"Year" real,
"Song" text,
"Film" text,
"Music director(s)" text,
"Lyricist" text
) | SELECT MAX("Year") FROM table_34119 WHERE "Film" = 'baazigar' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3710,
19993,
41,
96,
476,
2741,
121,
490,
6,
96,
134,
2444,
121,
1499,
6,
96,
371,
173,
51,
121,
1499,
6,
96,
29035,
2090,
599,
7,
61,
121,
1499,
6,
96,
434,
63,
2234,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3710,
19993,
549,
17444,
427,
96,
371,
173,
51,
121,
3274,
3,
31,
115,
9,
9,
702,
1478,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What structure is in Chile? | CREATE TABLE table_name_88 (
structure VARCHAR,
country VARCHAR
) | SELECT structure FROM table_name_88 WHERE country = "chile" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
1809,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1809,
19,
16,
15428,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1809,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
684,
3274,
96,
1436,
109,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the origin of aircraft in service in 1943 and retired in 1954? | CREATE TABLE table_825 (
"Aircraft type" text,
"National Origin" text,
"1st Flight" real,
"In Service" text,
"Retired" text,
"# built" text
) | SELECT "National Origin" FROM table_825 WHERE "Retired" = '1954' AND "In Service" = '1943' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
927,
1828,
41,
96,
20162,
6696,
686,
121,
1499,
6,
96,
24732,
19477,
121,
1499,
6,
96,
536,
7,
17,
16736,
121,
490,
6,
96,
1570,
1387,
121,
1499,
6,
96,
1649,
11809,
26,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
24732,
19477,
121,
21680,
953,
834,
927,
1828,
549,
17444,
427,
96,
1649,
11809,
26,
121,
3274,
3,
31,
2294,
5062,
31,
3430,
96,
1570,
1387,
121,
3274,
3,
31,
2294,
4906,
31,
1,
-100,
-100,
-100,
-100,
-100,
-... |
was the % of party list votes in 1976 above or below 30 ? | CREATE TABLE table_204_72 (
id number,
"election year" number,
"# of\nconstituency votes" number,
"# of\nparty list votes" number,
"% of\nparty list votes" number,
"# of\noverall seats won" text,
"+/-" number
) | SELECT (SELECT "% of\nparty list votes" FROM table_204_72 WHERE "election year" = 1976) > 30 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
5865,
41,
3,
23,
26,
381,
6,
96,
15,
12252,
215,
121,
381,
6,
96,
4663,
13,
2,
29,
8056,
17,
155,
76,
4392,
11839,
121,
381,
6,
96,
4663,
13,
2,
29,
8071,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
41,
23143,
14196,
96,
1454,
13,
2,
29,
8071,
570,
11839,
121,
21680,
953,
834,
26363,
834,
5865,
549,
17444,
427,
96,
15,
12252,
215,
121,
3274,
16164,
61,
2490,
604,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the Record with a Date with 24 march 2008? | CREATE TABLE table_name_47 (
record VARCHAR,
date VARCHAR
) | SELECT record FROM table_name_47 WHERE date = "24 march 2008" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
1368,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
11392,
28,
3,
9,
7678,
28,
997,
10556,
2628,
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,
1368,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
833,
3274,
96,
2266,
10556,
2628,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Round of 1r, and an away result of 7 1 is what season? | CREATE TABLE table_75506 (
"Season" text,
"Competition" text,
"Round" text,
"Club" text,
"Home result" text,
"Away result" text
) | SELECT "Season" FROM table_75506 WHERE "Round" = '1r' AND "Away result" = '7–1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
1752,
948,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
254,
11158,
121,
1499,
6,
96,
19040,
74... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
15,
9,
739,
121,
21680,
953,
834,
3072,
1752,
948,
549,
17444,
427,
96,
448,
32,
1106,
121,
3274,
3,
31,
536,
52,
31,
3430,
96,
188,
1343,
741,
121,
3274,
3,
31,
940,
104,
536,
31,
1,
-100,
-100,
-100... |
Find the name and capacity of products with price greater than 700 (in USD) Show bar chart, and I want to show in desc by the y axis. | CREATE TABLE Attribute_Definitions (
attribute_id INTEGER,
attribute_name VARCHAR(30),
attribute_data_type VARCHAR(10)
)
CREATE TABLE Catalogs (
catalog_id INTEGER,
catalog_name VARCHAR(50),
catalog_publisher VARCHAR(80),
date_of_publication DATETIME,
date_of_latest_revision DATETIME
)
... | SELECT catalog_entry_name, capacity FROM Catalog_Contents WHERE price_in_dollars > 700 ORDER BY capacity DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
486,
5135,
17,
15,
834,
2962,
5582,
10872,
41,
15816,
834,
23,
26,
3,
21342,
17966,
6,
15816,
834,
4350,
584,
4280,
28027,
599,
1458,
201,
15816,
834,
6757,
834,
6137,
584,
4280,
28027... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10173,
834,
295,
651,
834,
4350,
6,
2614,
21680,
22424,
834,
4302,
4669,
7,
549,
17444,
427,
594,
834,
77,
834,
26748,
7,
2490,
12283,
4674,
11300,
272,
476,
2614,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many drawns have 7 for the lost? | CREATE TABLE table_name_83 (drawn INTEGER, lost VARCHAR) | SELECT SUM(drawn) FROM table_name_83 WHERE lost = 7 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4591,
41,
19489,
29,
3,
21342,
17966,
6,
1513,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
6796,
7,
43,
489,
21,
8,
1513,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
19489,
29,
61,
21680,
953,
834,
4350,
834,
4591,
549,
17444,
427,
1513,
3274,
489,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
who is the winners where season result is 7th | CREATE TABLE table_1139835_3 (winners VARCHAR, season_result VARCHAR) | SELECT winners FROM table_1139835_3 WHERE season_result = "7th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20522,
3916,
2469,
834,
519,
41,
3757,
687,
7,
584,
4280,
28027,
6,
774,
834,
60,
7,
83,
17,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
113,
19,
8,
8969,
213,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
8969,
21680,
953,
834,
20522,
3916,
2469,
834,
519,
549,
17444,
427,
774,
834,
60,
7,
83,
17,
3274,
96,
940,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Zack Jordan has the lowest pick and a round of less than 28? | CREATE TABLE table_39072 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School/Club Team" text
) | SELECT MIN("Pick") FROM table_39072 WHERE "Player" = 'zack jordan' AND "Round" < '28' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3288,
4560,
357,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
345,
3142,
121,
490,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
29364,
87,
254,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
345,
3142,
8512,
21680,
953,
834,
3288,
4560,
357,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
172,
4365,
3,
12775,
3768,
31,
3430,
96,
448,
32,
1106,
121,
3,
2,
3,
31,
2577,
31,
1,
-... |
For sep 18 what is the total number of 1 prize ($) | CREATE TABLE table_name_56 (date VARCHAR) | SELECT COUNT(1 AS st_prize__) AS $__ FROM table_name_56 WHERE date = "sep 18" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4834,
41,
5522,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
242,
142,
102,
507,
125,
19,
8,
792,
381,
13,
209,
6441,
8785,
61,
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,
2847,
17161,
599,
536,
6157,
3,
7,
17,
834,
2246,
776,
834,
834,
61,
6157,
1514,
834,
834,
21680,
953,
834,
4350,
834,
4834,
549,
17444,
427,
833,
3274,
96,
7,
15,
102,
507,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
what was the score in toronto | CREATE TABLE table_name_2 (
score VARCHAR,
home VARCHAR
) | SELECT score FROM table_name_2 WHERE home = "toronto" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
2604,
584,
4280,
28027,
6,
234,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
47,
8,
2604,
16,
12,
4438,
32,
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,
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,
357,
549,
17444,
427,
234,
3274,
96,
235,
4438,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which country mines 24.0% of the world demand of uranium? | CREATE TABLE table_15624586_2 (indigenous_mining_production_2006 VARCHAR, _percentage_of_world_demand VARCHAR) | SELECT indigenous_mining_production_2006 FROM table_15624586_2 WHERE _percentage_of_world_demand = "24.0%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
4056,
2128,
3840,
834,
357,
41,
8482,
729,
1162,
834,
1109,
53,
834,
20762,
834,
21196,
584,
4280,
28027,
6,
3,
834,
883,
3728,
545,
834,
858,
834,
7276,
834,
19497,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19771,
834,
1109,
53,
834,
20762,
834,
21196,
21680,
953,
834,
1808,
4056,
2128,
3840,
834,
357,
549,
17444,
427,
3,
834,
883,
3728,
545,
834,
858,
834,
7276,
834,
19497,
3274,
96,
2266,
5,
6932,
121,
1,
-100,
-100,... |
Tell me the average top 25 with events of 5 and cuts madde less than 3 | CREATE TABLE table_54914 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-25" real,
"Events" real,
"Cuts made" real
) | SELECT AVG("Top-25") FROM table_54914 WHERE "Events" = '5' AND "Cuts made" < '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3647,
2534,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
22481,
18,
17395,
490,
6,
96,
22481,
14855,
121,
490,
6,
96,
427,
2169,
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,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
22481,
14855,
8512,
21680,
953,
834,
755,
3647,
2534,
549,
17444,
427,
96,
427,
2169,
7,
121,
3274,
3,
31,
755,
31,
3430,
96,
15784,
17,
7,
263,
121,
3,
2,
3,
31,
519,
31,
1,
-100,
-100,
-... |
What is the Home Team of the game against Seattle on June 1? | CREATE TABLE table_8074 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
) | SELECT "Home Team" FROM table_8074 WHERE "Road Team" = 'seattle' AND "Date" = 'june 1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
4581,
41,
96,
23055,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
19040,
2271,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
448,
32,
9,
26,
2271,
121,
1499,
3,
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,
19040,
2271,
121,
21680,
953,
834,
2079,
4581,
549,
17444,
427,
96,
448,
32,
9,
26,
2271,
121,
3274,
3,
31,
7,
15,
9,
8692,
31,
3430,
96,
308,
342,
121,
3274,
3,
31,
6959,
15,
209,
31,
1,
-100,
-100,
-100,... |
what is admission type and diagnoses long title of subject id 74032? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT demographic.admission_type, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "74032" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
9,
26,
5451,
834,
6137,
6,
18730,
7,
5,
2961,
834,
21869,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
549,
1744... |
what is the number of patients whose diagnoses short title is single lb in-hosp w cs and lab test category is chemistry? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Single lb in-hosp w cs" AND lab."CATEGORY" = "Chemistry" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
How many vocal types are used in the song 'Le Pop'? | CREATE TABLE tracklists (
albumid number,
position number,
songid number
)
CREATE TABLE instruments (
songid number,
bandmateid number,
instrument text
)
CREATE TABLE vocals (
songid number,
bandmate number,
type text
)
CREATE TABLE performance (
songid number,
bandmate nu... | SELECT COUNT(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Le Pop" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1463,
3350,
7,
41,
2306,
23,
26,
381,
6,
1102,
381,
6,
2324,
23,
26,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
7778,
41,
2324,
23,
26,
381,
6,
1928,
5058,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6721,
7,
6157,
332,
536,
3,
15355,
3162,
3605,
6157,
332,
357,
9191,
332,
5411,
7,
2444,
23,
26,
3274,
332,
4416,
7,
2444,
23,
26,
549,
17444,
427,
2233,
3274,
96,
2796,
5777,
12... |
Which year has a Main of Eintracht Frankfurt and Hessen of FSV Mainz 05? | CREATE TABLE table_name_3 (
year VARCHAR,
main VARCHAR,
hessen VARCHAR
) | SELECT year FROM table_name_3 WHERE main = "eintracht frankfurt" AND hessen = "fsv mainz 05" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
215,
584,
4280,
28027,
6,
711,
584,
4280,
28027,
6,
3,
88,
4932,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
215,
65,
3,
9,
5140,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
215,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
711,
3274,
96,
2455,
1313,
3997,
3,
89,
6254,
9827,
17,
121,
3430,
3,
88,
4932,
3274,
96,
89,
7,
208,
711,
172,
3,
3076,
121,
1,
-100,
-100,
-100,
-100,
-10... |
What is Against, when Opposing Teams is "Australia", and when Date is "27/07/1991"? | CREATE TABLE table_name_12 (against VARCHAR, opposing_teams VARCHAR, date VARCHAR) | SELECT against FROM table_name_12 WHERE opposing_teams = "australia" AND date = "27/07/1991" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
9,
16720,
7,
17,
584,
4280,
28027,
6,
10720,
53,
834,
11650,
7,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
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,
1,
1,
1... | [
3,
23143,
14196,
581,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
10720,
53,
834,
11650,
7,
3274,
96,
2064,
8792,
23,
9,
121,
3430,
833,
3274,
96,
2555,
87,
4560,
13523,
4729,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the score with a 16 14 6 record? | CREATE TABLE table_77620 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
) | SELECT "Score" FROM table_77620 WHERE "Record" = '16–14–6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
26898,
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,
2962,
18901,
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,
9022,
121,
21680,
953,
834,
4013,
26898,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
2938,
104,
2534,
104,
948,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the Losing BP with drawn of 1 and a Try BP of 6. | CREATE TABLE table_70819 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Try BP" text,
"Losing BP" text
) | SELECT "Losing BP" FROM table_70819 WHERE "Drawn" = '1' AND "Try BP" = '6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
927,
2294,
41,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
1499,
6,
96,
308,
10936,
29,
121,
1499,
6,
96,
434,
3481,
121,
1499,
6,
96,
382,
651,
3,
1116... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7,
53,
3,
11165,
121,
21680,
953,
834,
2518,
927,
2294,
549,
17444,
427,
96,
308,
10936,
29,
121,
3274,
3,
31,
536,
31,
3430,
96,
382,
651,
3,
11165,
121,
3274,
3,
31,
948,
31,
1,
-100,
-100,
-100... |
What position has less than 343 laps in 2010? | CREATE TABLE table_name_4 (pos VARCHAR, laps VARCHAR, year VARCHAR) | SELECT pos FROM table_name_4 WHERE laps < 343 AND year = 2010 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
2748,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1102,
65,
705,
145,
220,
4906,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
2748,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
14941,
7,
3,
2,
220,
4906,
3430,
215,
3274,
2735,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the lowest week number where they played against the Detroit Lions? | CREATE TABLE table_name_94 (week INTEGER, opponent VARCHAR) | SELECT MIN(week) FROM table_name_94 WHERE opponent = "detroit lions" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
8041,
3,
21342,
17966,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
471,
381,
213,
79,
1944,
581,
8,
11901,
10371,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
8041,
61,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
15264,
3274,
96,
26,
15252,
155,
3,
7325,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What Goals with a Level of 5 or greater is the lowest? | CREATE TABLE table_5329 (
"Season" text,
"Level" real,
"Position" text,
"Nationality" text,
"Apps" real,
"Goals" real
) | SELECT MIN("Goals") FROM table_5329 WHERE "Level" > '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
3166,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
25465,
121,
490,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
9648,
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,
3,
17684,
599,
121,
6221,
5405,
8512,
21680,
953,
834,
4867,
3166,
549,
17444,
427,
96,
25465,
121,
2490,
3,
31,
755,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the general classification of Ignatas Konovalovas when the mountains classification was Stefano Garzelli and points classification was Danilo Di Luca? | CREATE TABLE table_name_36 (general_classification VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR) | SELECT general_classification FROM table_name_36 WHERE mountains_classification = "stefano garzelli" AND points_classification = "danilo di luca" AND winner = "ignatas konovalovas" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
27369,
834,
4057,
2420,
584,
4280,
28027,
6,
4668,
584,
4280,
28027,
6,
8022,
834,
4057,
2420,
584,
4280,
28027,
6,
979,
834,
4057,
2420,
584,
4280,
2802... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
879,
834,
4057,
2420,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
8022,
834,
4057,
2420,
3274,
96,
7,
24018,
32,
5260,
172,
7999,
121,
3430,
979,
834,
4057,
2420,
3274,
96,
3768,
173,
32,
1227,
3,
11525,
9,
... |
Which is the total number in the 2010 Census in Oconee County where the area in square miles was less than 674? | CREATE TABLE table_56570 (
"County" text,
"Year Founded" text,
"County Seat" text,
"2010 Census Population" real,
"July 1, 2012 Population Estimate." real,
"Area (Sq. Mi.)" real,
"Land Area (Sq. Mi.)" real
) | SELECT SUM("2010 Census Population") FROM table_56570 WHERE "County" = 'oconee county' AND "Area (Sq. Mi.)" < '674' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
28363,
41,
96,
10628,
63,
121,
1499,
6,
96,
476,
2741,
3,
20100,
121,
1499,
6,
96,
10628,
63,
15915,
121,
1499,
6,
96,
14926,
23086,
29659,
121,
490,
6,
96,
683,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
14926,
23086,
29659,
8512,
21680,
953,
834,
4834,
28363,
549,
17444,
427,
96,
10628,
63,
121,
3274,
3,
31,
32,
1018,
15,
15,
5435,
31,
3430,
96,
188,
864,
41,
134,
1824,
5,
2133,
5,
61,
121,
... |
how many bells have weights above 2000 kg ? | CREATE TABLE table_203_283 (
id number,
"#" number,
"name" text,
"strike tone\n(st-1/16)" text,
"weight\n(kg)" number,
"diameter\n(mm)" number,
"inscription" text
) | SELECT COUNT("name") FROM table_203_283 WHERE "weight\n(kg)" > 2000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2577,
519,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
4350,
121,
1499,
6,
96,
7,
1788,
1050,
5739,
2,
29,
599,
7,
17,
2292,
16033,
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,
2847,
17161,
599,
121,
4350,
8512,
21680,
953,
834,
23330,
834,
2577,
519,
549,
17444,
427,
96,
9378,
2,
29,
599,
8711,
61,
121,
2490,
2766,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the Player which has a To par of 6? | CREATE TABLE table_60260 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "Player" FROM table_60260 WHERE "To par" = '–6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
18365,
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,
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,
15800,
49,
121,
21680,
953,
834,
3328,
18365,
549,
17444,
427,
96,
3696,
260,
121,
3274,
3,
31,
104,
948,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the frequence MHz for ERP W of 55 | CREATE TABLE table_name_80 (
frequency_mhz VARCHAR,
erp_w VARCHAR
) | SELECT frequency_mhz FROM table_name_80 WHERE erp_w = 55 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
7321,
834,
51,
107,
172,
584,
4280,
28027,
6,
3,
49,
102,
834,
210,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2515,
15,
835,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7321,
834,
51,
107,
172,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
3,
49,
102,
834,
210,
3274,
6897,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those records from the products and each product's manufacturer, give me the comparison about the average of price over the name , and group by attribute name by a bar chart, rank in descending by the y axis. | CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) | SELECT T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Price DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
15248,
7,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
3642,
19973,
584,
4280,
28027,
599,
25502,
201,
3,
19145,
584,
4280,
28027,
599,
25502,
201,
19764,
17833... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23954,
6,
332,
5411,
345,
4920,
21680,
7554,
6157,
332,
536,
3,
15355,
3162,
15248,
7,
6157,
332,
357,
9191,
332,
5411,
7296,
76,
8717,
450,
49,
3274,
332,
4416,
22737,
350,
4630,
6880,
272,
476,
332,
441... |
Name the ansi code fore ashtabula | CREATE TABLE table_18600760_1 (ansi_code INTEGER, township VARCHAR) | SELECT MIN(ansi_code) FROM table_18600760_1 WHERE township = "Ashtabula" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24700,
4560,
3328,
834,
536,
41,
3247,
23,
834,
4978,
3,
21342,
17966,
6,
1511,
2009,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
46,
7,
23,
1081,
21,
15,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
3247,
23,
834,
4978,
61,
21680,
953,
834,
24700,
4560,
3328,
834,
536,
549,
17444,
427,
1511,
2009,
3274,
96,
188,
7,
107,
10309,
83,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When Melbourne was the Away team, what was their score? | CREATE TABLE table_name_75 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_75 WHERE away_team = "melbourne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
8006,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
9396,
47,
8,
71,
1343,
372,
6,
125,
47,
70,
2604,
58,
1,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
550,
834,
11650,
3274,
96,
2341,
26255,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Year for fleet number 5000? | CREATE TABLE table_name_98 (
year_made VARCHAR,
fleet_number_s_ VARCHAR
) | SELECT year_made FROM table_name_98 WHERE fleet_number_s_ = "5000" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
215,
834,
4725,
584,
4280,
28027,
6,
9111,
834,
5525,
1152,
834,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2929,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
215,
834,
4725,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
9111,
834,
5525,
1152,
834,
7,
834,
3274,
96,
12814,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which method had a time of 0:46? | CREATE TABLE table_name_85 (method VARCHAR, time VARCHAR) | SELECT method FROM table_name_85 WHERE time = "0:46" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
23152,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1573,
141,
3,
9,
97,
13,
3,
632,
10,
4448,
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,
1573,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
97,
3274,
96,
632,
10,
4448,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the womens singles for korea open super series | CREATE TABLE table_14496232_2 (
womens_singles VARCHAR,
tour VARCHAR
) | SELECT womens_singles FROM table_14496232_2 WHERE tour = "Korea Open Super Series" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20885,
4314,
23188,
834,
357,
41,
887,
7,
834,
7,
53,
965,
584,
4280,
28027,
6,
1552,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
887,
7,
712,
7,
21,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
887,
7,
834,
7,
53,
965,
21680,
953,
834,
20885,
4314,
23188,
834,
357,
549,
17444,
427,
1552,
3274,
96,
439,
32,
864,
2384,
2011,
4531,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is date of birth of subject name stephanie suchan? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | SELECT demographic.dob FROM demographic WHERE demographic.name = "Stephanie Suchan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
26,
32,
115,
21680,
14798,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
14337,
8237,
23,
15,
3900,
152,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the oldest season that had a listed Super G score of 33? | CREATE TABLE table_name_34 (
season INTEGER,
super_g VARCHAR
) | SELECT MIN(season) FROM table_name_34 WHERE super_g = "33" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
774,
3,
21342,
17966,
6,
1355,
834,
122,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
10043,
774,
24,
141,
3,
9,
2616,
2011,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
9476,
61,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
1355,
834,
122,
3274,
96,
4201,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many gas station are opened between 2000 and 2005? | CREATE TABLE gas_station (
station_id number,
open_year number,
location text,
manager_name text,
vice_manager_name text,
representative_name text
)
CREATE TABLE company (
company_id number,
rank number,
company text,
headquarters text,
main_industry text,
sales_billion ... | SELECT COUNT(*) FROM gas_station WHERE open_year BETWEEN 2000 AND 2005 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1807,
834,
6682,
41,
2478,
834,
23,
26,
381,
6,
539,
834,
1201,
381,
6,
1128,
1499,
6,
2743,
834,
4350,
1499,
6,
6444,
834,
24185,
834,
4350,
1499,
6,
6978,
834,
4350,
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,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
1807,
834,
6682,
549,
17444,
427,
539,
834,
1201,
272,
7969,
518,
23394,
2766,
3430,
3105,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the total number of her 2nd place finishes on the list ? | CREATE TABLE table_204_607 (
id number,
"season" number,
"date" text,
"location" text,
"discipline" text,
"place" text
) | SELECT COUNT(*) FROM table_204_607 WHERE "place" = 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3328,
940,
41,
3,
23,
26,
381,
6,
96,
9476,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
26,
159,
3389,
747,
121,
1499,
6,
96,
4687,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3328,
940,
549,
17444,
427,
96,
4687,
121,
3274,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the latest available income inequality for the country with a population of 21,315,135? | CREATE TABLE table_name_91 (
income_inequality_1994_2011__latest_available_ VARCHAR,
population_2011 VARCHAR
) | SELECT income_inequality_1994_2011__latest_available_ FROM table_name_91 WHERE population_2011 = "21,315,135" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
2055,
834,
630,
4497,
834,
2294,
4240,
834,
13907,
834,
834,
521,
4377,
834,
28843,
834,
584,
4280,
28027,
6,
2074,
834,
13907,
584,
4280,
28027,
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,
2055,
834,
630,
4497,
834,
2294,
4240,
834,
13907,
834,
834,
521,
4377,
834,
28843,
834,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
2074,
834,
13907,
3274,
96,
2658,
6,
3341,
11116,
2368,
17395,
1,
-100,
-100,... |
What is the name of the artist who produced the shortest song? | CREATE TABLE song (
artist_name VARCHAR,
f_id VARCHAR
)
CREATE TABLE files (
f_id VARCHAR,
duration VARCHAR
) | SELECT T1.artist_name FROM song AS T1 JOIN files AS T2 ON T1.f_id = T2.f_id ORDER BY T2.duration LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2324,
41,
2377,
834,
4350,
584,
4280,
28027,
6,
3,
89,
834,
23,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2073,
41,
3,
89,
834,
23,
26,
584,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
1408,
343,
834,
4350,
21680,
2324,
6157,
332,
536,
3,
15355,
3162,
2073,
6157,
332,
357,
9191,
332,
5411,
89,
834,
23,
26,
3274,
332,
4416,
89,
834,
23,
26,
4674,
11300,
272,
476,
332,
4416,
1259,
2661,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.