NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What in the minimum number of championships won by a nation? | CREATE TABLE table_19487922_2 (championships INTEGER) | SELECT MIN(championships) FROM table_19487922_2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
3707,
4440,
2884,
834,
357,
41,
17788,
12364,
2009,
7,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
16,
8,
2559,
381,
13,
10183,
7,
751,
57,
3,
9,
2982,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17788,
12364,
2009,
7,
61,
21680,
953,
834,
2294,
3707,
4440,
2884,
834,
357,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Athlete has a Reaction of 0.248? | CREATE TABLE table_name_9 (athlete VARCHAR, react VARCHAR) | SELECT athlete FROM table_name_9 WHERE react = 0.248 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
26170,
15,
584,
4280,
28027,
6,
8922,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
71,
189,
1655,
15,
65,
3,
9,
419,
4787,
13,
3,
18189,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17893,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
8922,
3274,
3,
18189,
3707,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What were the blocks per game in the selection where the field goal percentage was .594 (2nd)? | CREATE TABLE table_25774493_3 (
blocks_per_game VARCHAR,
field_goal_percentage VARCHAR
) | SELECT blocks_per_game FROM table_25774493_3 WHERE field_goal_percentage = ".594 (2nd)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
4013,
3628,
4271,
834,
519,
41,
6438,
834,
883,
834,
7261,
584,
4280,
28027,
6,
1057,
834,
839,
138,
834,
883,
3728,
545,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
6438,
834,
883,
834,
7261,
21680,
953,
834,
1828,
4013,
3628,
4271,
834,
519,
549,
17444,
427,
1057,
834,
839,
138,
834,
883,
3728,
545,
3274,
96,
5,
3390,
591,
4743,
727,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
how many patients whose diagnoses short title is elev transaminase/ldh and lab test fluid is other body fluid? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | 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 = "Elev transaminase/ldh" AND lab.fluid = "Other Body Fluid" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
how many people attended the game held on november 10 , 1996 ? | CREATE TABLE table_203_280 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game site" text,
"tv time" text,
"attendance" number,
"bye" text
) | SELECT "attendance" FROM table_203_280 WHERE "date" = 'november 10, 1996' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
17518,
41,
3,
23,
26,
381,
6,
96,
8041,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
60,
7,
83,
17,
121,
1499,
6,
96,
60,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15116,
663,
121,
21680,
953,
834,
23330,
834,
17518,
549,
17444,
427,
96,
5522,
121,
3274,
3,
31,
5326,
18247,
10372,
6911,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the number of podiums for season 2010 for campionato italiano superstars. | CREATE TABLE table_10420426_1 (podiums VARCHAR, season VARCHAR, series VARCHAR) | SELECT COUNT(podiums) FROM table_10420426_1 WHERE season = "2010" AND series = "Campionato Italiano Superstars" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15442,
26363,
2688,
834,
536,
41,
11410,
2552,
7,
584,
4280,
28027,
6,
774,
584,
4280,
28027,
6,
939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
11410,
2552,
7,
61,
21680,
953,
834,
15442,
26363,
2688,
834,
536,
549,
17444,
427,
774,
3274,
96,
14926,
121,
3430,
939,
3274,
96,
24626,
8796,
32,
4338,
32,
2011,
3624,
7,
121,
1,
-100,
-100,
-10... |
Which nationality's distance was 500m before 2012, when the record was 1:37.071s? | CREATE TABLE table_name_26 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR) | SELECT nationality FROM table_name_26 WHERE distance = "500m" AND year < 2012 AND record = "1:37.071s" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
16557,
485,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
6,
2357,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1157,
485,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
2357,
3274,
96,
2560,
51,
121,
3430,
215,
3,
2,
1673,
3430,
1368,
3274,
96,
536,
10,
519,
26346,
4450,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the number of films that ishaan dev has given music to ? | CREATE TABLE table_204_546 (
id number,
"year" number,
"film" text,
"song" text,
"language" text
) | SELECT COUNT("film") FROM table_204_546 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
755,
4448,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
9988,
121,
1499,
6,
96,
7,
2444,
121,
1499,
6,
96,
24925,
121,
1499,
3,
61,
3,
32102,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
9988,
8512,
21680,
953,
834,
26363,
834,
755,
4448,
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... |
Which score has a Record of 48-55? | CREATE TABLE table_name_66 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_66 WHERE record = "48-55" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
7,
9022,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2604,
65,
3,
9,
11392,
13,
4678,
18,
3769,
58,
1,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
1368,
3274,
96,
3707,
4525,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
how long did it take to walk 50 km in the 2004 olympic games ? | CREATE TABLE table_203_874 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
) | SELECT "notes" FROM table_203_874 WHERE "event" = '50 km walk' AND "year" = 2004 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
4225,
591,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
287,
4995,
4749,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
4718,
121,
1499,
6,
96,
15,
2169,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7977,
7,
121,
21680,
953,
834,
23330,
834,
4225,
591,
549,
17444,
427,
96,
15,
2169,
121,
3274,
3,
31,
1752,
2280,
1482,
31,
3430,
96,
1201,
121,
3274,
4406,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Just show the employee's last name and their department's id using a bar chart. | CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMENT_ID decimal(... | SELECT LAST_NAME, DEPARTMENT_ID FROM employees | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1652,
41,
262,
5244,
5017,
476,
5080,
834,
4309,
7908,
1982,
599,
11071,
632,
201,
30085,
834,
567,
17683,
3,
4331,
4059,
599,
1755,
201,
301,
12510,
834,
567,
17683,
3,
4331,
4059,
59... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
301,
12510,
834,
567,
17683,
6,
3396,
19846,
11810,
834,
4309,
21680,
1652,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the average number of draws for the team that had more than 0 wins? | CREATE TABLE table_name_13 (draws INTEGER, wins INTEGER) | SELECT AVG(draws) FROM table_name_13 WHERE wins > 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
19489,
7,
3,
21342,
17966,
6,
9204,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
381,
13,
14924,
21,
8,
372,
24,
141,
72,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
19489,
7,
61,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
9204,
2490,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Date of the game with a Record of 12 7 6? | CREATE TABLE table_name_20 (
date VARCHAR,
record VARCHAR
) | SELECT date FROM table_name_20 WHERE record = "12–7–6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
833,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7678,
13,
8,
467,
28,
3,
9,
11392,
13,
586,
489,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
1368,
3274,
96,
2122,
104,
940,
104,
948,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the total number of tracks for of the fallen angel | CREATE TABLE table_51602 (
"Track" real,
"Title" text,
"Translation" text,
"Composer" text,
"Recorded" text
) | SELECT COUNT("Track") FROM table_51602 WHERE "Translation" = 'the fallen angel' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5553,
3328,
357,
41,
96,
382,
16729,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
18474,
6105,
121,
1499,
6,
96,
5890,
2748,
49,
121,
1499,
6,
96,
1649,
7621,
15,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
382,
16729,
8512,
21680,
953,
834,
5553,
3328,
357,
549,
17444,
427,
96,
18474,
6105,
121,
3274,
3,
31,
532,
9717,
11831,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Compare each editors' ages using a bar chart, sort by the x axis in ascending. | CREATE TABLE journal_committee (
Editor_ID int,
Journal_ID int,
Work_Type text
)
CREATE TABLE editor (
Editor_ID int,
Name text,
Age real
)
CREATE TABLE journal (
Journal_ID int,
Date text,
Theme text,
Sales int
) | SELECT Name, Age FROM editor ORDER BY Name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6378,
834,
287,
1538,
17,
15,
15,
41,
11953,
834,
4309,
16,
17,
6,
3559,
834,
4309,
16,
17,
6,
3118,
834,
25160,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
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,
5570,
6,
7526,
21680,
6005,
4674,
11300,
272,
476,
5570,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
provide the number of patients whose gender is f and procedure short title is ven cath renal dialysis? | 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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.short_title = "Ven cath renal dialysis" | [
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,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
What Local/Networked has a Show Name of nightline? | CREATE TABLE table_name_99 (
local_networked VARCHAR,
show_name VARCHAR
) | SELECT local_networked FROM table_name_99 WHERE show_name = "nightline" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
415,
834,
1582,
1981,
15,
26,
584,
4280,
28027,
6,
504,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
4593,
87,
9688,
1981,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
415,
834,
1582,
1981,
15,
26,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
504,
834,
4350,
3274,
96,
7602,
747,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are Wells Fargo's assets? | CREATE TABLE table_1682026_2 (
assets__billion_$_ VARCHAR,
company VARCHAR
) | SELECT assets__billion_$_ FROM table_1682026_2 WHERE company = "Wells Fargo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24274,
1755,
2688,
834,
357,
41,
4089,
834,
834,
115,
14916,
834,
3229,
834,
584,
4280,
28027,
6,
349,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
1548,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4089,
834,
834,
115,
14916,
834,
3229,
834,
21680,
953,
834,
24274,
1755,
2688,
834,
357,
549,
17444,
427,
349,
3274,
96,
18741,
7,
5186,
839,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What chassis is on the car repped by team rahal letterman lanigan racing? | CREATE TABLE table_2503102_2 (
chassis VARCHAR,
team VARCHAR
) | SELECT chassis FROM table_2503102_2 WHERE team = "Rahal Letterman Lanigan Racing" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11434,
519,
14388,
834,
357,
41,
22836,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
22836,
19,
30,
8,
443,
3852,
3138,
57,
372,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
22836,
21680,
953,
834,
11434,
519,
14388,
834,
357,
549,
17444,
427,
372,
3274,
96,
448,
9,
3828,
8706,
348,
9144,
12588,
16046,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What number in the season was the episode with 12.23 million viewers? | CREATE TABLE table_27246 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
) | SELECT "Season #" FROM table_27246 WHERE "U.S. viewers (millions)" = '12.23' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
357,
4448,
41,
96,
12106,
7,
1713,
121,
490,
6,
96,
134,
15,
9,
739,
1713,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
15,
9,
739,
1713,
121,
21680,
953,
834,
2555,
357,
4448,
549,
17444,
427,
96,
1265,
5,
134,
5,
13569,
41,
17030,
7,
61,
121,
3274,
3,
31,
9368,
2773,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the maaidens where overs bowled is 13 | CREATE TABLE table_15700367_2 (maidens VARCHAR, overs_bowled VARCHAR) | SELECT maidens FROM table_15700367_2 WHERE overs_bowled = "13" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
9295,
519,
3708,
834,
357,
41,
6840,
537,
7,
584,
4280,
28027,
6,
147,
7,
834,
17710,
1361,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
954,
5385,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
187,
537,
7,
21680,
953,
834,
1808,
9295,
519,
3708,
834,
357,
549,
17444,
427,
147,
7,
834,
17710,
1361,
3274,
96,
2368,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the total number of median income for population 2006 for 365540 | CREATE TABLE table_19948 (
"District" text,
"Population (2006_est.)" real,
"Area (km\u00b2)" text,
"Density (/km\u00b2)" text,
"Median monthly per capita / labour force income (HKD)" text
) | SELECT COUNT("Median monthly per capita / labour force income (HKD)") FROM table_19948 WHERE "Population (2006_est.)" = '365540' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19479,
3707,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
27773,
7830,
41,
21196,
834,
222,
5,
61,
121,
490,
6,
96,
188,
864,
41,
5848,
2,
76,
1206,
115,
7318,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
24607,
29,
3718,
399,
23219,
3,
87,
12568,
2054,
2055,
41,
20240,
308,
61,
8512,
21680,
953,
834,
19479,
3707,
549,
17444,
427,
96,
27773,
7830,
41,
21196,
834,
222,
5,
61,
121,
3274,
3,
31,
... |
in the irish national final for the eurovision song contest in 1990 , which artist won more points than linda martin and friends ? | CREATE TABLE table_203_695 (
id number,
"draw" number,
"artist" text,
"song" text,
"points" number,
"place" text
) | SELECT "artist" FROM table_203_695 WHERE "points" > (SELECT "points" FROM table_203_695 WHERE "artist" = 'linda martin and friends') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3951,
755,
41,
3,
23,
26,
381,
6,
96,
19489,
121,
381,
6,
96,
1408,
343,
121,
1499,
6,
96,
7,
2444,
121,
1499,
6,
96,
2700,
7,
121,
381,
6,
96,
4687,
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,
1408,
343,
121,
21680,
953,
834,
23330,
834,
3951,
755,
549,
17444,
427,
96,
2700,
7,
121,
2490,
41,
23143,
14196,
96,
2700,
7,
121,
21680,
953,
834,
23330,
834,
3951,
755,
549,
17444,
427,
96,
1408,
343,
121,
... |
Which Week has an Air Date of august 2, 2008? | CREATE TABLE table_78860 (
"Week" real,
"Event" text,
"Air Date" text,
"Winning team" text,
"Winners club" text
) | SELECT "Week" FROM table_78860 WHERE "Air Date" = 'august 2, 2008' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
3840,
632,
41,
96,
518,
10266,
121,
490,
6,
96,
427,
2169,
121,
1499,
6,
96,
20162,
7678,
121,
1499,
6,
96,
518,
10503,
372,
121,
1499,
6,
96,
18455,
687,
7,
1886,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
518,
10266,
121,
21680,
953,
834,
3940,
3840,
632,
549,
17444,
427,
96,
20162,
7678,
121,
3274,
3,
31,
402,
17198,
3547,
2628,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the year First Elected, when the Party is Alp, and when the State is qld? | CREATE TABLE table_name_17 (
first_elected VARCHAR,
party VARCHAR,
state VARCHAR
) | SELECT first_elected FROM table_name_17 WHERE party = "alp" AND state = "qld" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2517,
41,
166,
834,
19971,
584,
4280,
28027,
6,
1088,
584,
4280,
28027,
6,
538,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
215,
1485,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
166,
834,
19971,
21680,
953,
834,
4350,
834,
2517,
549,
17444,
427,
1088,
3274,
96,
138,
102,
121,
3430,
538,
3274,
96,
1824,
40,
26,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
List the names of all distinct medications, ordered in an alphabetical order. | CREATE TABLE prescribes (
physician number,
patient number,
medication number,
date time,
appointment number,
dose text
)
CREATE TABLE trained_in (
physician number,
treatment number,
certificationdate time,
certificationexpires time
)
CREATE TABLE undergoes (
patient numbe... | SELECT DISTINCT name FROM medication ORDER BY name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
27766,
7,
41,
10027,
381,
6,
1868,
381,
6,
7757,
381,
6,
833,
97,
6,
4141,
381,
6,
6742,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
4252,
834,
77,
41,
10027,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
564,
21680,
7757,
4674,
11300,
272,
476,
564,
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,
-10... |
What is the Speed for Chris Swallow? | CREATE TABLE table_name_13 (speed VARCHAR, rider VARCHAR) | SELECT speed FROM table_name_13 WHERE rider = "chris swallow" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
9993,
584,
4280,
28027,
6,
2564,
52,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
9913,
21,
4409,
7320,
18912,
58,
1,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1634,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
2564,
52,
3274,
96,
524,
52,
159,
20370,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the Name of the person from the Netherlands in a Lane lower than 5, with a Rank better than 5, and a time of less than 55.62? | CREATE TABLE table_71937 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
) | SELECT "Name" FROM table_71937 WHERE "Rank" < '5' AND "Time" < '55.62' AND "Lane" < '5' AND "Nationality" = 'netherlands' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2294,
4118,
41,
96,
22557,
121,
490,
6,
96,
434,
152,
15,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
13368,
121,
490,
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,
96,
23954,
121,
21680,
953,
834,
940,
2294,
4118,
549,
17444,
427,
96,
22557,
121,
3,
2,
3,
31,
755,
31,
3430,
96,
13368,
121,
3,
2,
3,
31,
3769,
5,
4056,
31,
3430,
96,
434,
152,
15,
121,
3,
2,
3,
31,
755,
... |
Name the winning driver for havana | CREATE TABLE table_53314 (
"Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
) | SELECT "Winning driver" FROM table_53314 WHERE "Circuit" = 'havana' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
519,
2534,
41,
96,
23954,
121,
1499,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
518,
10503,
2535,
121,
1499,
6,
96,
518,
10503,
6774,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10503,
2535,
121,
21680,
953,
834,
4867,
519,
2534,
549,
17444,
427,
96,
254,
23,
52,
21560,
121,
3274,
3,
31,
1024,
2132,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Stack bar chart of school_id vs ACC_Road based on all home, I want to sort in ascending by the Y-axis. | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT All_Home, School_ID FROM basketball_match GROUP BY ACC_Road, All_Home ORDER BY School_ID | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8498,
834,
19515,
41,
2271,
834,
4309,
16,
17,
6,
1121,
834,
4309,
16,
17,
6,
2271,
834,
23954,
1499,
6,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
1499,
6,
3,
14775,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
19040,
6,
1121,
834,
4309,
21680,
8498,
834,
19515,
350,
4630,
6880,
272,
476,
3,
14775,
834,
448,
32,
9,
26,
6,
432,
834,
19040,
4674,
11300,
272,
476,
1121,
834,
4309,
1,
-100,
-100,
-100,
-100,
-100,
... |
Score of 6–4, and a Opponent of @ marlins had what record? | CREATE TABLE table_name_96 (record VARCHAR, score VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_96 WHERE score = "6–4" AND opponent = "@ marlins" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
60,
7621,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
17763,
13,
431,
104,
8525,
11,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
2604,
3274,
96,
948,
104,
20364,
3430,
15264,
3274,
96,
1741,
3157,
40,
77,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When 2000-2005 is smaller than 2.52, and 1990-1995 is less than 0.37, what's the total of 1995-2000? | CREATE TABLE table_34952 (
"Region/country" text,
"1985-1990" real,
"1990-1995" real,
"1995-2000" real,
"2000-2005" real
) | SELECT SUM("1995-2000") FROM table_34952 WHERE "2000-2005" < '2.52' AND "1990-1995" < '0.37' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3710,
3301,
357,
41,
96,
17748,
23,
106,
87,
17529,
121,
1499,
6,
96,
2294,
4433,
4481,
2394,
121,
490,
6,
96,
19479,
9498,
19479,
17395,
490,
6,
96,
19479,
24279,
2313,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
19479,
24279,
2313,
8512,
21680,
953,
834,
3710,
3301,
357,
549,
17444,
427,
96,
13527,
18,
22594,
121,
3,
2,
3,
31,
15967,
357,
31,
3430,
96,
19479,
9498,
19479,
17395,
3,
2,
3,
31,
19997,
94... |
What was the manner of departure for the manager of Cercle Brugge? | CREATE TABLE table_27374004_3 (manner_of_departure VARCHAR, team VARCHAR) | SELECT manner_of_departure FROM table_27374004_3 WHERE team = "Cercle Brugge" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
4118,
5548,
591,
834,
519,
41,
2434,
49,
834,
858,
834,
221,
2274,
1462,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3107,
834,
858,
834,
221,
2274,
1462,
21680,
953,
834,
2555,
4118,
5548,
591,
834,
519,
549,
17444,
427,
372,
3274,
96,
254,
49,
2482,
6806,
13917,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the against percentage in the Vest-Agder constituency? | CREATE TABLE table_1289762_1 (
against___percentage_ VARCHAR,
constituency VARCHAR
) | SELECT against___percentage_ FROM table_1289762_1 WHERE constituency = "Vest-Agder" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
3914,
3959,
357,
834,
536,
41,
581,
834,
834,
834,
883,
3728,
545,
834,
584,
4280,
28027,
6,
6439,
4392,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
581,
834,
834,
834,
883,
3728,
545,
834,
21680,
953,
834,
2122,
3914,
3959,
357,
834,
536,
549,
17444,
427,
6439,
4392,
3274,
96,
553,
222,
18,
188,
122,
588,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
presence of hiv infection | CREATE TABLE table_train_67 (
"id" int,
"corticosteroid_therapy" bool,
"viral_infection" bool,
"active_infection" bool,
"hiv_infection" bool,
"neutropenia" int,
"receiving_prednisolone" int,
"age" float,
"NOUSE" float
) | SELECT * FROM table_train_67 WHERE hiv_infection = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
3708,
41,
96,
23,
26,
121,
16,
17,
6,
96,
5715,
1225,
32,
849,
8184,
834,
10896,
121,
3,
12840,
40,
6,
96,
5771,
138,
834,
77,
17856,
121,
3,
12840,
40,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1429,
21680,
953,
834,
9719,
834,
3708,
549,
17444,
427,
7102,
208,
834,
77,
17856,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the party for first elected 1923? | CREATE TABLE table_18713 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT "Party" FROM table_18713 WHERE "First elected" = '1923' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25828,
2368,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
490,
6,
96,
20119,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
13725,
63,
121,
21680,
953,
834,
25828,
2368,
549,
17444,
427,
96,
25171,
8160,
121,
3274,
3,
31,
2294,
2773,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the total number of payout for december 28, 2009 | CREATE TABLE table_24427210_1 (payout___us VARCHAR, date VARCHAR) | SELECT COUNT(payout___us) AS $__ FROM table_24427210_1 WHERE date = "December 28, 2009" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3628,
2555,
15239,
834,
536,
41,
8832,
670,
834,
834,
834,
302,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
792,
381,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
8832,
670,
834,
834,
834,
302,
61,
6157,
1514,
834,
834,
21680,
953,
834,
357,
3628,
2555,
15239,
834,
536,
549,
17444,
427,
833,
3274,
96,
29835,
13719,
2464,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
Show the carriers of devices in stock at more than one shop. | CREATE TABLE stock (Device_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR) | SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1519,
41,
2962,
7287,
15,
834,
4309,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1407,
41,
6936,
6711,
584,
4280,
28027,
6,
15511,
834,
4309,
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,
0,
0... | [
3,
23143,
14196,
332,
4416,
6936,
6711,
21680,
1519,
6157,
332,
536,
3,
15355,
3162,
1407,
6157,
332,
357,
9191,
332,
5411,
2962,
7287,
15,
834,
4309,
3274,
332,
4416,
2962,
7287,
15,
834,
4309,
350,
4630,
6880,
272,
476,
332,
5411,
... |
What conference has mayville state as the school? | CREATE TABLE table_name_71 (
conference VARCHAR,
school VARCHAR
) | SELECT conference FROM table_name_71 WHERE school = "mayville state" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4450,
41,
2542,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
2542,
65,
164,
1420,
538,
38,
8,
496,
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,
2542,
21680,
953,
834,
4350,
834,
4450,
549,
17444,
427,
496,
3274,
96,
13726,
1420,
538,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the series with a North American release date on 2013-09-03? | CREATE TABLE table_79015 (
"Series" text,
"Platform" text,
"Japanese Release Date" text,
"North American Release Date" text,
"European Release Date" text,
"Australia Release Date" text
) | SELECT "Series" FROM table_79015 WHERE "North American Release Date" = '2013-09-03' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2394,
1808,
41,
96,
12106,
7,
121,
1499,
6,
96,
10146,
2032,
121,
1499,
6,
96,
683,
9750,
1496,
15,
13048,
7678,
121,
1499,
6,
96,
22969,
797,
13048,
7678,
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,
12106,
7,
121,
21680,
953,
834,
940,
2394,
1808,
549,
17444,
427,
96,
22969,
797,
13048,
7678,
121,
3274,
3,
31,
11138,
18,
4198,
18,
4928,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Does Trinity (valhalla) have HDMI? | CREATE TABLE table_80197 (
"Codename" text,
"HDMI" text,
"Power Supply" text,
"In Production" text,
"Date Released" text
) | SELECT "HDMI" FROM table_80197 WHERE "Codename" = 'trinity (valhalla)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
27181,
41,
96,
22737,
4350,
121,
1499,
6,
96,
11083,
7075,
121,
1499,
6,
96,
23553,
15642,
121,
1499,
6,
96,
1570,
11114,
121,
1499,
6,
96,
308,
342,
13048,
26,
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,
0,
0... | [
3,
23143,
14196,
96,
11083,
7075,
121,
21680,
953,
834,
2079,
27181,
549,
17444,
427,
96,
22737,
4350,
121,
3274,
3,
31,
1788,
29,
485,
41,
2165,
11516,
9,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Census Ranking has a Population smaller than 879, and an Area km 2 larger than 537.62? | CREATE TABLE table_name_36 (census_ranking VARCHAR, population VARCHAR, area_km_2 VARCHAR) | SELECT census_ranking FROM table_name_36 WHERE population < 879 AND area_km_2 > 537.62 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
75,
35,
7,
302,
834,
6254,
53,
584,
4280,
28027,
6,
2074,
584,
4280,
28027,
6,
616,
834,
5848,
834,
357,
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,
23087,
834,
6254,
53,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
2074,
3,
2,
505,
4440,
3430,
616,
834,
5848,
834,
357,
2490,
305,
4118,
5,
4056,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What's the catalog number for a record from columbia formatted in a cd/dvd that's from the United States region? | CREATE TABLE table_name_97 (catalog VARCHAR, format VARCHAR, label VARCHAR, region VARCHAR) | SELECT catalog FROM table_name_97 WHERE label = "columbia" AND region = "united states" AND format = "cd/dvd" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
2138,
9,
2152,
584,
4280,
28027,
6,
1910,
584,
4280,
28027,
6,
3783,
584,
4280,
28027,
6,
1719,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
10173,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
3783,
3274,
96,
3297,
5937,
23,
9,
121,
3430,
1719,
3274,
96,
15129,
15,
26,
2315,
121,
3430,
1910,
3274,
96,
75,
26,
87,
26,
208,
26,
121,
1,
-100,
-100,
... |
What is the highest birth/2013 when the death/2012 is 14,1? | CREATE TABLE table_25703_1 (
birth_2013 INTEGER,
death_2012 VARCHAR
) | SELECT MAX(birth_2013) FROM table_25703_1 WHERE death_2012 = "14,1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
2518,
519,
834,
536,
41,
3879,
834,
11138,
3,
21342,
17966,
6,
1687,
834,
12172,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
3879,
87,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
20663,
834,
11138,
61,
21680,
953,
834,
1828,
2518,
519,
834,
536,
549,
17444,
427,
1687,
834,
12172,
3274,
96,
2534,
6,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What's the predecessor of the Ekavian word vreme? | CREATE TABLE table_27730_9 (
predecessor VARCHAR,
ekavian VARCHAR
) | SELECT predecessor FROM table_27730_9 WHERE ekavian = "vreme" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4013,
1458,
834,
1298,
41,
21654,
584,
4280,
28027,
6,
3,
15,
157,
2960,
152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
21654,
13,
8,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
21654,
21680,
953,
834,
357,
4013,
1458,
834,
1298,
549,
17444,
427,
3,
15,
157,
2960,
152,
3274,
96,
10859,
526,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What company constructed the car with more than 0 laps and shows 5 for grid? | CREATE TABLE table_name_42 (constructor VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_42 WHERE laps > 0 AND grid = 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
15982,
5317,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
349,
8520,
8,
443,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6774,
127,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
14941,
7,
2490,
3,
632,
3430,
8634,
3274,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What are the Transfers out for Peru? | CREATE TABLE table_name_76 (transfers_out VARCHAR, country VARCHAR) | SELECT transfers_out FROM table_name_76 WHERE country = "peru" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
7031,
1010,
7,
834,
670,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
9900,
7,
91,
21,
17665,
58,
1,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
16319,
834,
670,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
684,
3274,
96,
883,
76,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what is the number of patients less than 45 years who have drug code glyc1r? | 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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "45" AND prescriptions.formulary_drug_cd = "GLYC1R" | [
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,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
Who is the second where the third of Kelly Wood (e) Anna Sloan (Jr)? | CREATE TABLE table_name_80 (second VARCHAR, third VARCHAR) | SELECT second FROM table_name_80 WHERE third = "kelly wood (e) anna sloan (jr)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
12091,
584,
4280,
28027,
6,
1025,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
511,
213,
8,
1025,
13,
10605,
2985,
41,
15,
61,
758... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
511,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
1025,
3274,
96,
5768,
120,
1679,
41,
15,
61,
3,
10878,
3,
7,
40,
32,
152,
41,
354,
52,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who is the visitor on the date december 31? | CREATE TABLE table_name_95 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_95 WHERE date = "december 31" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
3466,
155,
127,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
7019,
30,
8,
833,
20,
75,
18247,
2664,
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,
7019,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
833,
3274,
96,
221,
75,
18247,
2664,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the total of the ranks that did not participate? | CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR) | SELECT total FROM table_name_88 WHERE rank = "did not participate" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
235,
1947,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
13,
8,
13799,
24,
410,
59,
3716,
58,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
792,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
11003,
3274,
96,
12416,
59,
3716,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the rated power for the reactor that ended construction on May 10, 1978? | CREATE TABLE table_name_52 (
rated_power VARCHAR,
finish_construction VARCHAR
) | SELECT rated_power FROM table_name_52 WHERE finish_construction = "may 10, 1978" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
3,
4094,
834,
6740,
584,
4280,
28027,
6,
1992,
834,
26471,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
4094,
579,
21,
8,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
4094,
834,
6740,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
1992,
834,
26471,
3274,
96,
13726,
10372,
14834,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the score when 7260 people attended the game? | CREATE TABLE table_20745746_1 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_20745746_1 WHERE attendance = 7260 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
4581,
3436,
4448,
834,
536,
41,
7,
9022,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
116,
489,
18365,
151,
5526,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2604,
21680,
953,
834,
1755,
4581,
3436,
4448,
834,
536,
549,
17444,
427,
11364,
3274,
489,
18365,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Show me about the correlation between CID and Credits in a scatter chart. | CREATE TABLE Minor_in (
StuID INTEGER,
DNO INTEGER
)
CREATE TABLE Enrolled_in (
StuID INTEGER,
CID VARCHAR(7),
Grade VARCHAR(2)
)
CREATE TABLE Gradeconversion (
lettergrade VARCHAR(2),
gradepoint FLOAT
)
CREATE TABLE Course (
CID VARCHAR(7),
CName VARCHAR(40),
Credits INTEGER,... | SELECT CID, Credits FROM Course ORDER BY Credits | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
20650,
834,
77,
41,
3,
13076,
4309,
3,
21342,
17966,
6,
309,
7400,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
695,
10671,
834,
77,
41,
3,
13076,
430... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
205,
4309,
6,
6529,
7,
21680,
8670,
4674,
11300,
272,
476,
6529,
7,
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,
-1... |
How many Sri Lankans were admitted in 2004 when more than 594 Nepalis were admitted? | CREATE TABLE table_name_96 (
sri_lankans_admitted INTEGER,
year VARCHAR,
nepalis_admitted VARCHAR
) | SELECT SUM(sri_lankans_admitted) FROM table_name_96 WHERE year = "2004" AND nepalis_admitted > 594 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
3,
7,
52,
23,
834,
1618,
3304,
7,
834,
9,
26,
16030,
3,
21342,
17966,
6,
215,
584,
4280,
28027,
6,
3,
29,
15,
6459,
159,
834,
9,
26,
16030,
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,
180,
6122,
599,
7,
52,
23,
834,
1618,
3304,
7,
834,
9,
26,
16030,
61,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
215,
3274,
96,
21653,
121,
3430,
3,
29,
15,
6459,
159,
834,
9,
26,
16030,
2490,
305,
4240,... |
How many television station listing have a radio station as lao national radio? | CREATE TABLE table_2879165_1 (television_station VARCHAR, radio_station VARCHAR) | SELECT COUNT(television_station) FROM table_2879165_1 WHERE radio_station = "Lao National Radio" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
4440,
22823,
834,
536,
41,
1931,
6610,
834,
6682,
584,
4280,
28027,
6,
2252,
834,
6682,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
4390,
2478,
6437,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1931,
6610,
834,
6682,
61,
21680,
953,
834,
2577,
4440,
22823,
834,
536,
549,
17444,
427,
2252,
834,
6682,
3274,
96,
3612,
32,
868,
5061,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What bombing happened in Brighton, UK? | CREATE TABLE table_name_98 (
event VARCHAR,
location VARCHAR
) | SELECT event FROM table_name_98 WHERE location = "brighton, uk" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
605,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
6417,
53,
2817,
16,
25080,
6,
1270,
58,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
605,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
1128,
3274,
96,
115,
3535,
106,
6,
3,
1598,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Record with a Date that is may 20, 1961? | CREATE TABLE table_name_73 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_73 WHERE date = "may 20, 1961" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
60,
7621,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
11392,
28,
3,
9,
7678,
24,
19,
164,
16047,
21018,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1368,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
833,
3274,
96,
13726,
16047,
21018,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
When @ new orleans is the team who has the highest amount of rebounds? | CREATE TABLE table_17288825_6 (high_rebounds VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_17288825_6 WHERE team = "@ New Orleans" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27156,
10927,
1828,
834,
948,
41,
6739,
834,
23768,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
3320,
126,
42,
109,
3247,
19,
8,
372,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
306,
834,
23768,
21680,
953,
834,
27156,
10927,
1828,
834,
948,
549,
17444,
427,
372,
3274,
96,
1741,
368,
14433,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was part 2 when part 4 was *blōtanaz? | CREATE TABLE table_name_67 (part_2 VARCHAR, part_4 VARCHAR) | SELECT part_2 FROM table_name_67 WHERE part_4 = "*blōtanaz" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3708,
41,
2274,
834,
357,
584,
4280,
28027,
6,
294,
834,
591,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
294,
204,
116,
294,
314,
47,
1429,
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,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
294,
834,
357,
21680,
953,
834,
4350,
834,
3708,
549,
17444,
427,
294,
834,
591,
3274,
96,
1935,
115,
40,
2,
17,
152,
9,
172,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the largest crowd for an away team score of 8.7 (55)? | CREATE TABLE table_33037 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT MAX("Crowd") FROM table_33037 WHERE "Away team score" = '8.7 (55)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17225,
4118,
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,
4800,
4,
599,
121,
254,
3623,
26,
8512,
21680,
953,
834,
17225,
4118,
549,
17444,
427,
96,
188,
1343,
372,
2604,
121,
3274,
3,
31,
927,
5,
940,
9209,
9120,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which opponent has 32194 as the attendance? | CREATE TABLE table_26092 (
"Week" real,
"Date" text,
"Opponent" text,
"Location" text,
"Final Score" text,
"Attendance" real,
"Record" text
) | SELECT "Opponent" FROM table_26092 WHERE "Attendance" = '32194' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
18365,
4508,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
371,
10270,
17763,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18365,
4508,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
3274,
3,
31,
2668,
2294,
591,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the record with attendance of 73,996 | CREATE TABLE table_15111 (
"Week" text,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" text
) | SELECT "Record" FROM table_15111 WHERE "Attendance" = '73,996' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
15866,
41,
96,
518,
10266,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
23055,
353,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1649,
7621,
121,
21680,
953,
834,
1808,
15866,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
3274,
3,
31,
4552,
6,
3264,
948,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is Score, when Year is before 2007, and when Tournament is "Sydney"? | CREATE TABLE table_name_88 (score VARCHAR, year VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_88 WHERE year < 2007 AND tournament = "sydney" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
7,
9022,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
17763,
6,
116,
2929,
19,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
215,
3,
2,
4101,
3430,
5892,
3274,
96,
7,
63,
26,
3186,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the average number of League Goals for palyers with 0 FA Cup Goals? | CREATE TABLE table_name_26 (league_goals INTEGER, fa_cup_goals INTEGER) | SELECT AVG(league_goals) FROM table_name_26 WHERE fa_cup_goals < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
29512,
834,
839,
5405,
3,
21342,
17966,
6,
3,
89,
9,
834,
4658,
834,
839,
5405,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
29512,
834,
839,
5405,
61,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
3,
89,
9,
834,
4658,
834,
839,
5405,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is Equipment, when Points is less than 6, and when Position is 53? | CREATE TABLE table_name_79 (
equipment VARCHAR,
points VARCHAR,
position VARCHAR
) | SELECT equipment FROM table_name_79 WHERE points < 6 AND position = 53 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
1277,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
10528,
6,
116,
4564,
7,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1277,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
979,
3,
2,
431,
3430,
1102,
3274,
12210,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is the maximum hospital cost in which are involved social work consult? | CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... | SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'social work consult')) GROUP BY cost.patient... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1868,
41,
775,
12417,
1499,
6,
1868,
15878,
3734,
21545,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
7285,
1499,
6,
1246,
1499,
6,
11655,
485,
1499,
6,
2833,
23,
26,
381,
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,
4800,
4,
599,
17,
5411,
75,
6982,
21680,
41,
23143,
14196,
180,
6122,
599,
11290,
5,
11290,
61,
6157,
3,
75,
536,
21680,
583,
549,
17444,
427,
583,
5,
10061,
15878,
3734,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,... |
Name the total number of founded for yankton | CREATE TABLE table_23897 (
"School" text,
"Location(s)" text,
"Control" text,
"Type" text,
"Enrollment (spring 2012)" real,
"Founded" real,
"Accreditation" text
) | SELECT COUNT("Founded") FROM table_23897 WHERE "Location(s)" = 'Yankton' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3747,
4327,
41,
96,
29364,
121,
1499,
6,
96,
434,
32,
75,
257,
599,
7,
61,
121,
1499,
6,
96,
25716,
121,
1499,
6,
96,
25160,
121,
1499,
6,
96,
8532,
4046,
297,
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,
2847,
17161,
599,
121,
20100,
8512,
21680,
953,
834,
357,
3747,
4327,
549,
17444,
427,
96,
434,
32,
75,
257,
599,
7,
61,
121,
3274,
3,
31,
476,
5979,
17,
106,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the record from the 2,500 in attendance? | CREATE TABLE table_9959 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" text,
"Record" text,
"Points" real
) | SELECT "Record" FROM table_9959 WHERE "Attendance" = '2,500' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3264,
3390,
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,
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,
1649,
7621,
121,
21680,
953,
834,
3264,
3390,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
3274,
3,
31,
22092,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Attendance has an Arena of arrowhead pond of anaheim, and Points smaller than 5? | CREATE TABLE table_64932 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text,
"Arena" text,
"Points" real
) | SELECT "Attendance" FROM table_64932 WHERE "Arena" = 'arrowhead pond of anaheim' AND "Points" < '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4389,
4271,
357,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
121,
1499,
6,
96,
188,
17,
324,
26,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
17,
324,
26,
663,
121,
21680,
953,
834,
4389,
4271,
357,
549,
17444,
427,
96,
188,
1536,
9,
121,
3274,
3,
31,
6770,
3313,
3,
7290,
13,
46,
9,
3254,
31,
3430,
96,
22512,
7,
121,
3,
2,
3,
31,
755,
31,... |
When the share of votes is 33.9%, what's the highest total amount of seats? | CREATE TABLE table_name_4 (total_seats INTEGER, share_of_votes VARCHAR) | SELECT MAX(total_seats) FROM table_name_4 WHERE share_of_votes = "33.9%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
235,
1947,
834,
7,
1544,
7,
3,
21342,
17966,
6,
698,
834,
858,
834,
1621,
1422,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
8,
698,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
235,
1947,
834,
7,
1544,
7,
61,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
698,
834,
858,
834,
1621,
1422,
3274,
96,
4201,
5,
7561,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
When 1 - 1 leckie 90+3' is the score what is the stadium? | CREATE TABLE table_2446 (
"Round" real,
"Date" text,
"Home Team" text,
"Score" text,
"Away Team" text,
"Attendance" real,
"Stadium" text,
"Match Details" text
) | SELECT "Stadium" FROM table_2446 WHERE "Score" = '1 - 1 Leckie 90+3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
4448,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
19040,
2271,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
2271,
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,
134,
17,
9,
12925,
121,
21680,
953,
834,
2266,
4448,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
536,
3,
18,
209,
312,
75,
11390,
2777,
1220,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the part number(s) when the turbo is 9/11 and the frequency is 1.5 ghz? | CREATE TABLE table_13515 (
"Model number" text,
"sSpec number" text,
"Cores" text,
"Frequency" text,
"Turbo" text,
"L2 cache" text,
"L3 cache" text,
"GPU model" text,
"GPU frequency" text,
"Socket" text,
"I/O bus" text,
"Release date" text,
"Part number(s)" text,
... | SELECT "Part number(s)" FROM table_13515 WHERE "Turbo" = '9/11' AND "Frequency" = '1.5 ghz' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
536,
2469,
1808,
41,
96,
24663,
381,
121,
1499,
6,
96,
7,
7727,
381,
121,
1499,
6,
96,
254,
14846,
121,
1499,
6,
96,
371,
60,
835,
11298,
121,
1499,
6,
96,
382,
450,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
13725,
381,
599,
7,
61,
121,
21680,
953,
834,
536,
2469,
1808,
549,
17444,
427,
96,
382,
450,
115,
32,
121,
3274,
3,
31,
1298,
20223,
31,
3430,
96,
371,
60,
835,
11298,
121,
3274,
3,
31,
16593,
3,
122,
107,
... |
what are the total number of athletes representing bulgaria ? | CREATE TABLE table_203_211 (
id number,
"pos." number,
"time" text,
"athlete" text,
"country" text,
"venue" text,
"date" text
) | SELECT COUNT("athlete") FROM table_203_211 WHERE "country" = 'bulgaria' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
27278,
41,
3,
23,
26,
381,
6,
96,
2748,
535,
381,
6,
96,
715,
121,
1499,
6,
96,
26170,
15,
121,
1499,
6,
96,
17529,
121,
1499,
6,
96,
15098,
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,
26170,
15,
8512,
21680,
953,
834,
23330,
834,
27278,
549,
17444,
427,
96,
17529,
121,
3274,
3,
31,
6724,
122,
6286,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what is the highest frequency mhz with the call sign w292cu? | CREATE TABLE table_71455 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
) | SELECT MAX("Frequency MHz") FROM table_71455 WHERE "Call sign" = 'w292cu' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4450,
2128,
755,
41,
96,
254,
1748,
1320,
121,
1499,
6,
96,
371,
60,
835,
11298,
3,
20210,
121,
490,
6,
96,
254,
485,
13,
3344,
121,
1499,
6,
96,
3316,
345,
549,
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,
371,
60,
835,
11298,
3,
20210,
8512,
21680,
953,
834,
4450,
2128,
755,
549,
17444,
427,
96,
254,
1748,
1320,
121,
3274,
3,
31,
210,
3166,
357,
1071,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is admission type and drug type of subject id 2560? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... | SELECT demographic.admission_type, prescriptions.drug_type FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.subject_id = "2560" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
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,
1... | [
3,
23143,
14196,
14798,
5,
9,
26,
5451,
834,
6137,
6,
7744,
7,
5,
26,
13534,
834,
6137,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549,
1... |
What year was the Honda ra168e 1.5 v6 t engine used? | CREATE TABLE table_name_47 (year VARCHAR, engine VARCHAR) | SELECT year FROM table_name_47 WHERE engine = "honda ra168e 1.5 v6 t" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
1201,
584,
4280,
28027,
6,
1948,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
215,
47,
8,
12886,
3,
52,
9,
24274,
15,
8613,
3,
208,
948,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
1948,
3274,
96,
31782,
3,
52,
9,
24274,
15,
8613,
3,
208,
948,
3,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
List all the username and passwords of users with the most popular role. | CREATE TABLE users (user_name VARCHAR, password VARCHAR, role_code VARCHAR) | SELECT user_name, password FROM users GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1105,
41,
10041,
834,
4350,
584,
4280,
28027,
6,
4735,
584,
4280,
28027,
6,
1075,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
6792,
66,
8,
20304,
11,
4735,
7,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1139,
834,
4350,
6,
4735,
21680,
1105,
350,
4630,
6880,
272,
476,
1075,
834,
4978,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
When the away team is Geelong, what is the highest crowd count? | CREATE TABLE table_name_86 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_86 WHERE away_team = "geelong" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
75,
3623,
26,
3,
21342,
17966,
6,
550,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
8,
550,
372,
19,
961,
15,
2961,
6,
125,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
75,
3623,
26,
61,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
550,
834,
11650,
3274,
96,
397,
15,
2961,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which round had a city/location of Toronto, Ontario? | CREATE TABLE table_name_81 (
round VARCHAR,
city_location VARCHAR
) | SELECT round FROM table_name_81 WHERE city_location = "toronto, ontario" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
1751,
584,
4280,
28027,
6,
690,
834,
14836,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1751,
141,
3,
9,
690,
87,
14836,
13,
7030,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1751,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
690,
834,
14836,
3274,
96,
235,
4438,
32,
6,
30,
5310,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What are the names of companies that do not make DVD drives? | CREATE TABLE products (
code number,
name text,
price number,
manufacturer number
)
CREATE TABLE manufacturers (
code number,
name text,
headquarter text,
founder text,
revenue number
) | SELECT name FROM manufacturers EXCEPT SELECT T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.manufacturer = T2.code WHERE T1.name = 'DVD drive' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
494,
41,
1081,
381,
6,
564,
1499,
6,
594,
381,
6,
4818,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
5360,
41,
1081,
381,
6,
564,
1499,
6,
819,
19973,
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,
564,
21680,
5360,
262,
4,
30416,
3,
23143,
14196,
332,
4416,
4350,
21680,
494,
6157,
332,
536,
3,
15355,
3162,
5360,
6157,
332,
357,
9191,
332,
5411,
348,
76,
8717,
450,
49,
3274,
332,
4416,
4978,
549,
17444,
427,
3... |
Can you tell me the Time that has the Heat of 1, and the Lane of 2? | CREATE TABLE table_name_72 (
time VARCHAR,
heat VARCHAR,
lane VARCHAR
) | SELECT time FROM table_name_72 WHERE heat = 1 AND lane = 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
97,
584,
4280,
28027,
6,
1678,
584,
4280,
28027,
6,
3,
8102,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
1072,
25,
817,
140,
8,
2900,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
97,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
1678,
3274,
209,
3430,
3,
8102,
3274,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many patients whose diagnoses short title is accid in resident instit and lab test abnormal status is delta? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... | 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 = "Accid in resident instit" AND lab.flag = "delta" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
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,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
What is the Date of the game with a Score of 3–1 and Record of 1–1–0? | CREATE TABLE table_name_70 (date VARCHAR, score VARCHAR, record VARCHAR) | SELECT date FROM table_name_70 WHERE score = "3–1" AND record = "1–1–0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
5522,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7678,
13,
8,
467,
28,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
2604,
3274,
96,
519,
104,
536,
121,
3430,
1368,
3274,
96,
536,
104,
536,
104,
632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the team classification with a winner of Beat Zberg, and a points classification of Jos Mar a Jim nez. | CREATE TABLE table_6110 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points Classification" text,
"Mountains Classification" text,
"Team Classification" text
) | SELECT "Team Classification" FROM table_6110 WHERE "Points Classification" = 'josé maría jiménez' AND "Winner" = 'beat zberg' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
1714,
41,
96,
134,
6505,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
20857,
13774,
121,
1499,
6,
96,
22512,
7,
4501,
2420,
121,
1499,
6,
96,
329,
32,
14016,
77,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18699,
4501,
2420,
121,
21680,
953,
834,
4241,
1714,
549,
17444,
427,
96,
22512,
7,
4501,
2420,
121,
3274,
3,
31,
1927,
7,
154,
3157,
2,
9,
3,
354,
23,
5079,
9645,
31,
3430,
96,
18455,
687,
121,
3274,
3,
31,... |
What round did the player from delta st. get picked? | CREATE TABLE table_33619 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"School/Club Team" text
) | SELECT "Round" FROM table_33619 WHERE "School/Club Team" = 'delta st.' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3420,
2294,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
23847,
1748,
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,
96,
448,
32,
1106,
121,
21680,
953,
834,
519,
3420,
2294,
549,
17444,
427,
96,
29364,
87,
254,
11158,
2271,
121,
3274,
3,
31,
24876,
9,
3,
7,
17,
5,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
A bar chart about what are the statuses and average populations of each city?, could you sort Y from high to low order? | CREATE TABLE city (
City_ID int,
Official_Name text,
Status text,
Area_km_2 real,
Population real,
Census_Ranking text
)
CREATE TABLE farm (
Farm_ID int,
Year int,
Total_Horses real,
Working_Horses real,
Total_Cattle real,
Oxen real,
Bulls real,
Cows real,
Pi... | SELECT Status, AVG(Population) FROM city GROUP BY Status ORDER BY AVG(Population) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
690,
41,
896,
834,
4309,
16,
17,
6,
13686,
834,
23954,
1499,
6,
19318,
1499,
6,
5690,
834,
5848,
834,
357,
490,
6,
29659,
490,
6,
23086,
834,
22557,
53,
1499,
3,
61,
3,
32102,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
19318,
6,
71,
17217,
599,
27773,
7830,
61,
21680,
690,
350,
4630,
6880,
272,
476,
19318,
4674,
11300,
272,
476,
71,
17217,
599,
27773,
7830,
61,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Display a bar chart for what is the total revenue of companies started by founder? | 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 Founder, SUM(Revenue) FROM Manufacturers GROUP BY Founder | [
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,
3,
19145,
6,
180,
6122,
599,
1649,
15098,
61,
21680,
15248,
7,
350,
4630,
6880,
272,
476,
3,
19145,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What nation did the speed skater that set a record in the 1000 metres event represent? | CREATE TABLE table_49192 (
"Event" text,
"Time" text,
"Name" text,
"Nation" text,
"Games" text,
"Date" text
) | SELECT "Nation" FROM table_49192 WHERE "Event" = '1000 metres' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3647,
19978,
41,
96,
427,
2169,
121,
1499,
6,
96,
13368,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
567,
257,
121,
1499,
6,
96,
23055,
7,
121,
1499,
6,
96,
308,
342,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
567,
257,
121,
21680,
953,
834,
3647,
19978,
549,
17444,
427,
96,
427,
2169,
121,
3274,
3,
31,
16824,
14604,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which score has a Date of october 29, 2008? | CREATE TABLE table_name_70 (
score VARCHAR,
date VARCHAR
) | SELECT score FROM table_name_70 WHERE date = "october 29, 2008" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
2604,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
2604,
65,
3,
9,
7678,
13,
3,
32,
75,
235,
1152,
14405,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2604,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
833,
3274,
96,
32,
75,
235,
1152,
14405,
2628,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
when was the ship launched when it was laid down 20 october 1924 and built by fujinagata shipyards, japan? | CREATE TABLE table_name_36 (
launched VARCHAR,
builder VARCHAR,
laid_down VARCHAR
) | SELECT launched FROM table_name_36 WHERE builder = "fujinagata shipyards, japan" AND laid_down = "20 october 1924" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
3759,
584,
4280,
28027,
6,
918,
49,
584,
4280,
28027,
6,
7245,
834,
3035,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
116,
47,
8,
4383,
375... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3759,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
918,
49,
3274,
96,
89,
76,
354,
77,
9,
5497,
9,
4383,
6636,
7,
6,
2662,
2837,
121,
3430,
7245,
834,
3035,
3274,
96,
1755,
3,
32,
75,
235,
1152,
3,
19978,
... |
What is the to par for the score 72-69-68=209? | CREATE TABLE table_name_11 (
to_par VARCHAR,
score VARCHAR
) | SELECT to_par FROM table_name_11 WHERE score = 72 - 69 - 68 = 209 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2596,
41,
12,
834,
1893,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
12,
260,
21,
8,
2604,
9455,
18,
3951,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
12,
834,
1893,
21680,
953,
834,
4350,
834,
2596,
549,
17444,
427,
2604,
3274,
9455,
3,
18,
3,
3951,
3,
18,
3,
3651,
3274,
460,
1298,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the kinship for *t-ina | CREATE TABLE table_15568886_14 (kinship VARCHAR, proto_malayo_polynesian VARCHAR) | SELECT kinship FROM table_15568886_14 WHERE proto_malayo_polynesian = "*t-ina" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
4834,
10927,
948,
834,
2534,
41,
2917,
2009,
584,
4280,
28027,
6,
23844,
834,
1982,
9,
63,
32,
834,
3233,
63,
29,
15,
10488,
584,
4280,
28027,
61,
3,
32102,
32103,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
2917,
2009,
21680,
953,
834,
1808,
4834,
10927,
948,
834,
2534,
549,
17444,
427,
23844,
834,
1982,
9,
63,
32,
834,
3233,
63,
29,
15,
10488,
3274,
96,
1935,
17,
18,
77,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
What is the voltage of the Pentiumiii866 microprocessor with a socket 370? | CREATE TABLE table_45474 (
"Model Number" text,
"Frequency" text,
"L2 Cache" text,
"Mult" text,
"Voltage" text,
"Socket" text,
"Release Date" text,
"Part Number(s)" text
) | SELECT "Voltage" FROM table_45474 WHERE "Socket" = 'socket 370' AND "Model Number" = 'pentiumiii866' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
4177,
591,
41,
96,
24663,
7720,
121,
1499,
6,
96,
371,
60,
835,
11298,
121,
1499,
6,
96,
434,
357,
205,
4933,
121,
1499,
6,
96,
329,
83,
17,
121,
1499,
6,
96,
228... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22803,
6505,
121,
21680,
953,
834,
2128,
4177,
591,
549,
17444,
427,
96,
5231,
8849,
17,
121,
3274,
3,
31,
7,
3961,
15,
17,
3,
22520,
31,
3430,
96,
24663,
7720,
121,
3274,
3,
31,
102,
295,
2552,
23,
23,
23,
... |
What is the top price of $1 with a launch date on February 12, 2008? | CREATE TABLE table_33266 (
"Game Name" text,
"Price" text,
"Top Prize" text,
"Launch Date" text,
"Odds of Winning" text
) | SELECT "Top Prize" FROM table_33266 WHERE "Price" = '$1' AND "Launch Date" = 'february 12, 2008' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2668,
3539,
41,
96,
23055,
5570,
121,
1499,
6,
96,
345,
4920,
121,
1499,
6,
96,
22481,
11329,
121,
1499,
6,
96,
3612,
202,
524,
7678,
121,
1499,
6,
96,
667,
26,
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,
22481,
11329,
121,
21680,
953,
834,
519,
2668,
3539,
549,
17444,
427,
96,
345,
4920,
121,
3274,
3,
31,
3229,
536,
31,
3430,
96,
3612,
202,
524,
7678,
121,
3274,
3,
31,
89,
15,
9052,
1208,
10440,
2628,
31,
1,
... |
What company is known as the producer at the kethanur location? | CREATE TABLE table_56454 (
"Power Plant" text,
"Producer" text,
"Location" text,
"State" text,
"Total Capacity (MWe)" real
) | SELECT "Producer" FROM table_56454 WHERE "Location" = 'kethanur' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
2128,
591,
41,
96,
23553,
6041,
121,
1499,
6,
96,
3174,
4817,
49,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
134,
4748,
121,
1499,
6,
96,
3696,
1947,
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,
96,
3174,
4817,
49,
121,
21680,
953,
834,
4834,
2128,
591,
549,
17444,
427,
96,
434,
32,
75,
257,
121,
3274,
3,
31,
1050,
6736,
450,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what was the total attendance at the august 30 game against alabama ? | CREATE TABLE table_204_858 (
id number,
"date" text,
"time" text,
"opponent#" text,
"rank#" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
) | SELECT "attendance" FROM table_204_858 WHERE "date" = 'august 30' AND "opponent#" = 'alabama' | [
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,
96,
15116,
663,
121,
21680,
953,
834,
26363,
834,
927,
3449,
549,
17444,
427,
96,
5522,
121,
3274,
3,
31,
402,
17198,
604,
31,
3430,
96,
32,
102,
9977,
4663,
121,
3274,
3,
31,
9,
9339,
265,
9,
31,
1,
-100,
-100,... |
What is the release date of a CD with the catalog number ALCA-9206? | CREATE TABLE table_name_87 (
date VARCHAR,
format VARCHAR,
catalog VARCHAR
) | SELECT date FROM table_name_87 WHERE format = "cd" AND catalog = "alca-9206" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
833,
584,
4280,
28027,
6,
1910,
584,
4280,
28027,
6,
10173,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1576,
833,
13,
3,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
1910,
3274,
96,
75,
26,
121,
3430,
10173,
3274,
96,
138,
658,
7141,
24643,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What Silver has a Golf of Li AO? | CREATE TABLE table_name_20 (silver VARCHAR, gold VARCHAR) | SELECT silver FROM table_name_20 WHERE gold = "li ao" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
7,
173,
624,
584,
4280,
28027,
6,
2045,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
5642,
65,
3,
9,
7063,
13,
1414,
3,
17249,
58,
1,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4294,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
2045,
3274,
96,
40,
23,
3,
9,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many times is a score for stolen ends recorded for France? | CREATE TABLE table_20827 (
"Country" text,
"Skip" text,
"W" real,
"L" real,
"PF" real,
"PA" real,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real,
"Shot %" real
) | SELECT COUNT("Stolen Ends") FROM table_20827 WHERE "Country" = 'France' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23946,
2555,
41,
96,
10628,
651,
121,
1499,
6,
96,
134,
2168,
102,
121,
1499,
6,
96,
518,
121,
490,
6,
96,
434,
121,
490,
6,
96,
12017,
121,
490,
6,
96,
3965,
121,
490,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
134,
235,
40,
35,
3720,
7,
8512,
21680,
953,
834,
23946,
2555,
549,
17444,
427,
96,
10628,
651,
121,
3274,
3,
31,
371,
5219,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.