NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What is the status of the unit with a net capacity of 1212 MW? | CREATE TABLE table_name_50 (
status VARCHAR,
net_capacity VARCHAR
) | SELECT status FROM table_name_50 WHERE net_capacity = "1212 mw" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
2637,
584,
4280,
28027,
6,
3134,
834,
4010,
9,
6726,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2637,
13,
8,
1745,
28,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2637,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
3134,
834,
4010,
9,
6726,
3274,
96,
2122,
2122,
3,
51,
210,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What number has the builder ruston hornsby, the date 1961, and the name Topsy? | CREATE TABLE table_name_10 (number VARCHAR, name VARCHAR, builder VARCHAR, date VARCHAR) | SELECT COUNT(number) FROM table_name_10 WHERE builder = "ruston hornsby" AND date = 1961 AND name = "topsy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
5525,
1152,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
6,
918,
49,
584,
4280,
28027,
6,
833,
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,
2847,
17161,
599,
5525,
1152,
61,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
918,
49,
3274,
96,
9277,
106,
3,
6293,
7,
969,
121,
3430,
833,
3274,
21018,
3430,
564,
3274,
96,
235,
19819,
121,
1,
-100,
-100,
... |
What is the most assists for points 129-3.9? | CREATE TABLE table_22875514_3 (
assists INTEGER,
points VARCHAR
) | SELECT MAX(assists) FROM table_22875514_3 WHERE points = "129-3.9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
4225,
3769,
2534,
834,
519,
41,
13041,
3,
21342,
17966,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
167,
13041,
21,
979,
3,
22174,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
6500,
7,
17,
7,
61,
21680,
953,
834,
2884,
4225,
3769,
2534,
834,
519,
549,
17444,
427,
979,
3274,
96,
22174,
18,
28640,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the score of the game played 26 July 2010? | CREATE TABLE table_name_22 (
score VARCHAR,
date VARCHAR
) | SELECT score FROM table_name_22 WHERE date = "26 july 2010" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
2604,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
13,
8,
467,
1944,
2208,
1718,
2735,
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,
2604,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
833,
3274,
96,
2688,
3,
2047,
120,
2735,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the Year to Open for the Dandeung Bridge? | CREATE TABLE table_name_51 (
year_to_open VARCHAR,
name VARCHAR
) | SELECT COUNT(year_to_open) FROM table_name_51 WHERE name = "dandeung bridge" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
215,
834,
235,
834,
8751,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2929,
12,
2384,
21,
8,
2744,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1201,
834,
235,
834,
8751,
61,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
564,
3274,
96,
26,
232,
15,
425,
4716,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many rating/share values does the episode aired on Saturday, May 9, 2009? | CREATE TABLE table_1712 (
"Episode #" real,
"US air date" text,
"Rating" text,
"Share" text,
"Rating/Share (18\u201349)" text,
"Viewers (millions)" text
) | SELECT COUNT("Rating/Share (18\u201349)") FROM table_1712 WHERE "US air date" = 'Saturday, May 9, 2009' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2122,
41,
96,
427,
102,
159,
32,
221,
1713,
121,
490,
6,
96,
3063,
799,
833,
121,
1499,
6,
96,
448,
1014,
121,
1499,
6,
96,
24501,
121,
1499,
6,
96,
448,
1014,
87... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
448,
1014,
87,
24501,
9323,
2,
76,
11138,
3647,
61,
8512,
21680,
953,
834,
2517,
2122,
549,
17444,
427,
96,
3063,
799,
833,
121,
3274,
3,
31,
134,
6010,
1135,
6,
932,
9902,
2464,
31,
1,
-100... |
Show all book categories and the number of books in each category, and list by the total number in asc please. | CREATE TABLE culture_company (
Company_name text,
Type text,
Incorporated_in text,
Group_Equity_Shareholding real,
book_club_id text,
movie_id text
)
CREATE TABLE movie (
movie_id int,
Title text,
Year int,
Director text,
Budget_million real,
Gross_worldwide int
)
CREAT... | SELECT Category, COUNT(*) FROM book_club GROUP BY Category ORDER BY COUNT(*) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1543,
834,
29179,
41,
1958,
834,
4350,
1499,
6,
6632,
1499,
6,
86,
25762,
26,
834,
77,
1499,
6,
1531,
834,
427,
10073,
63,
834,
24501,
21647,
490,
6,
484,
834,
13442,
834,
23,
26,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
17459,
6,
2847,
17161,
599,
1935,
61,
21680,
484,
834,
13442,
350,
4630,
6880,
272,
476,
17459,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Median household income of $40,340, and a Number of households smaller than 64,767 is what average population? | CREATE TABLE table_name_54 (
population INTEGER,
median_household_income VARCHAR,
number_of_households VARCHAR
) | SELECT AVG(population) FROM table_name_54 WHERE median_household_income = "$40,340" AND number_of_households < 64 OFFSET 767 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
2074,
3,
21342,
17966,
6,
15572,
834,
1840,
6134,
834,
15759,
584,
4280,
28027,
6,
381,
834,
858,
834,
1840,
6134,
7,
584,
4280,
28027,
3,
61,
3,
32102... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
9791,
7830,
61,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
15572,
834,
1840,
6134,
834,
15759,
3274,
96,
3229,
2445,
6,
21129,
121,
3430,
381,
834,
858,
834,
1840,
6134,
7,
3,
2,
6687,
3,
1... |
How many authors are there? | CREATE TABLE inst (
instid number,
name text,
country text
)
CREATE TABLE papers (
paperid number,
title text
)
CREATE TABLE authorship (
authid number,
instid number,
paperid number,
authorder number
)
CREATE TABLE authors (
authid number,
lname text,
fname text
) | SELECT COUNT(*) FROM authors | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
16,
7,
17,
41,
16,
2248,
26,
381,
6,
564,
1499,
6,
684,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
5778,
41,
1040,
23,
26,
381,
6,
2233,
1499,
3,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
5921,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
count the number of patients whose death status is 0 and procedure short title is atrial cardioversion? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.short_title = "Atrial cardioversion" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
How many dollars is the purse when the margin of victory is 8 strokes? | CREATE TABLE table_1529260_2 (purse___us VARCHAR, margin_of_victory VARCHAR) | SELECT COUNT(purse___us) AS $__ FROM table_1529260_2 WHERE margin_of_victory = "8 strokes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
3166,
18365,
834,
357,
41,
3791,
7,
15,
834,
834,
834,
302,
584,
4280,
28027,
6,
6346,
834,
858,
834,
7287,
10972,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
3791,
7,
15,
834,
834,
834,
302,
61,
6157,
1514,
834,
834,
21680,
953,
834,
1808,
3166,
18365,
834,
357,
549,
17444,
427,
6346,
834,
858,
834,
7287,
10972,
3274,
96,
927,
9529,
7,
121,
1,
-100,
-... |
give me the number of patients whose discharge location is snf and lab test name is sedimentation rate? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.discharge_location = "SNF" AND lab.label = "Sedimentation Rate" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
Which segment a's netflix figure is s04e24? | CREATE TABLE table_name_77 (segment_a VARCHAR, netflix VARCHAR) | SELECT segment_a FROM table_name_77 WHERE netflix = "s04e24" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
7,
15,
122,
297,
834,
9,
584,
4280,
28027,
6,
3134,
89,
17591,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
5508,
3,
9,
31,
7,
3134,
89... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5508,
834,
9,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
3134,
89,
17591,
3274,
96,
7,
6348,
15,
2266,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the total silver when total is 30 and bronze is more than 10? | CREATE TABLE table_name_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT COUNT(silver) FROM table_name_85 WHERE total = 30 AND bronze > 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
7,
173,
624,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
792,
4294,
116,
792... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
7,
173,
624,
61,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
792,
3274,
604,
3430,
13467,
2490,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which students live in the city with code 'NYC' and have class senator votes in the spring election cycle? Count the numbers. | CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE voting_record (
stuid number,
registration_date text,
election_cycle text,
president_vote number,
vice_president_vote number... | SELECT COUNT(*) FROM student AS T1 JOIN voting_record AS T2 ON T1.stuid = class_senator_vote WHERE T1.city_code = "NYC" AND T2.election_cycle = "Spring" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1236,
41,
21341,
23,
26,
381,
6,
3,
40,
4350,
1499,
6,
3,
89,
4350,
1499,
6,
1246,
381,
6,
3,
7,
994,
1499,
6,
779,
381,
6,
8815,
381,
6,
690,
834,
4978,
1499,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
1236,
6157,
332,
536,
3,
15355,
3162,
10601,
834,
60,
7621,
6157,
332,
357,
9191,
332,
5411,
7,
17,
76,
23,
26,
3274,
853,
834,
7,
35,
1016,
834,
1621,
17,
15,
549,
17444,
427,
... |
Which To par has a Score of 67-72-71-75=285? | CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_40 WHERE score = 67 - 72 - 71 - 75 = 285 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
235,
834,
1893,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
304,
260,
65,
3,
9,
17763,
13,
3,
3708,
18,
5865,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
12,
834,
1893,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
2604,
3274,
3,
3708,
3,
18,
9455,
3,
18,
3,
4450,
3,
18,
6374,
3274,
204,
4433,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was Kilgore's percentage when Potts (I) had 4% and Kaine (D) 47%, in the poll from October 30, 2005? | CREATE TABLE table_61992 (
"Source" text,
"Date" text,
"Kaine (D)" text,
"Kilgore (R)" text,
"Potts (I)" text
) | SELECT "Kilgore (R)" FROM table_61992 WHERE "Potts (I)" = '4%' AND "Kaine (D)" = '47%' AND "Date" = 'october 30, 2005' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
3264,
357,
41,
96,
23799,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
439,
7043,
41,
308,
61,
121,
1499,
6,
96,
439,
173,
839,
60,
41,
448,
61,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
439,
173,
839,
60,
41,
448,
61,
121,
21680,
953,
834,
4241,
3264,
357,
549,
17444,
427,
96,
345,
32,
17,
17,
7,
41,
196,
61,
121,
3274,
3,
31,
5988,
31,
3430,
96,
439,
7043,
41,
308,
61,
121,
3274,
3,
31... |
What is To Par, when Score is '66', and when Player is 'Brad Faxon'? | CREATE TABLE table_59724 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
) | SELECT "To par" FROM table_59724 WHERE "Score" = '66' AND "Player" = 'brad faxon' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
940,
2266,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
490,
6,
96,
3696,
260,
121,
1499,
3,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3696,
260,
121,
21680,
953,
834,
3390,
940,
2266,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
3539,
31,
3430,
96,
15800,
49,
121,
3274,
3,
31,
1939,
26,
3,
11517,
106,
31,
1,
-100,
-100,
-100,
-100,
-1... |
Which date held the match at the City Stadium, Georgetown? | CREATE TABLE table_name_7 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_7 WHERE venue = "city stadium, georgetown" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
940,
41,
5522,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
833,
1213,
8,
1588,
44,
8,
896,
12750,
6,
29218,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
940,
549,
17444,
427,
5669,
3274,
96,
6726,
14939,
6,
873,
1677,
15,
3540,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Find the distinct student first names of all students that have grade point at least 3.8 in one course. | CREATE TABLE course (
cid text,
cname text,
credits number,
instructor number,
days text,
hours text,
dno number
)
CREATE TABLE enrolled_in (
stuid number,
cid text,
grade text
)
CREATE TABLE department (
dno number,
division text,
dname text,
room text,
bui... | SELECT DISTINCT T3.fname FROM enrolled_in AS T1 JOIN gradeconversion AS T2 JOIN student AS T3 ON T1.grade = T2.lettergrade AND T1.stuid = T3.stuid WHERE T2.gradepoint >= 3.8 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
503,
41,
3,
10812,
1499,
6,
3,
75,
4350,
1499,
6,
11893,
381,
6,
10617,
381,
6,
477,
1499,
6,
716,
1499,
6,
3,
26,
29,
32,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
332,
5787,
89,
4350,
21680,
3,
15097,
834,
77,
6157,
332,
536,
3,
15355,
3162,
2769,
1018,
8674,
6157,
332,
357,
3,
15355,
3162,
1236,
6157,
332,
519,
9191,
332,
5411,
6801,
3274,
332,
4416,
1... |
What is the 1st leg of Team 2 PSV Eindhoven? | CREATE TABLE table_34554 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
) | SELECT "1st leg" FROM table_34554 WHERE "Team 2" = 'psv eindhoven' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2128,
5062,
41,
96,
18699,
209,
121,
1499,
6,
96,
188,
4102,
535,
1499,
6,
96,
18699,
204,
121,
1499,
6,
96,
536,
7,
17,
4553,
121,
1499,
6,
96,
357,
727,
4553,
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,
536,
7,
17,
4553,
121,
21680,
953,
834,
519,
2128,
5062,
549,
17444,
427,
96,
18699,
204,
121,
3274,
3,
31,
102,
7,
208,
236,
26,
23304,
35,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was 1961's qual? | CREATE TABLE table_name_98 (
qual VARCHAR,
year VARCHAR
) | SELECT qual FROM table_name_98 WHERE year = "1961" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
3,
11433,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
21018,
31,
7,
3,
11433,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
11433,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
215,
3274,
96,
2294,
4241,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which player had 6 assists? | CREATE TABLE table_25353861_5 (player VARCHAR, assists VARCHAR) | SELECT player FROM table_25353861_5 WHERE assists = 6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
2469,
3747,
4241,
834,
755,
41,
20846,
584,
4280,
28027,
6,
13041,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1959,
141,
431,
13041,
58,
3,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
1828,
2469,
3747,
4241,
834,
755,
549,
17444,
427,
13041,
3274,
431,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the road team of the game with Philadelphia as the home team with a result of 105-102? | CREATE TABLE table_6553 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
) | SELECT "Road Team" FROM table_6553 WHERE "Home Team" = 'philadelphia' AND "Result" = '105-102' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4122,
4867,
41,
96,
23055,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
19040,
2271,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
448,
32,
9,
26,
2271,
121,
1499,
3,
61,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
448,
32,
9,
26,
2271,
121,
21680,
953,
834,
4122,
4867,
549,
17444,
427,
96,
19040,
2271,
121,
3274,
3,
31,
18118,
15311,
11692,
9,
31,
3430,
96,
20119,
121,
3274,
3,
31,
12869,
18,
14388,
31,
1,
-100,
-100,
... |
Who has a term that expires on December 31, 2020 and Terry Branstad for an appointing governor? | CREATE TABLE table_name_33 (
name VARCHAR,
term_expires VARCHAR,
appointing_governor VARCHAR
) | SELECT name FROM table_name_33 WHERE term_expires = "december 31, 2020" AND appointing_governor = "terry branstad" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
564,
584,
4280,
28027,
6,
1657,
834,
994,
2388,
15,
7,
584,
4280,
28027,
6,
3,
9,
102,
15989,
834,
122,
1890,
29,
127,
584,
4280,
28027,
3,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
564,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
1657,
834,
994,
2388,
15,
7,
3274,
96,
221,
75,
18247,
12074,
6503,
121,
3430,
3,
9,
102,
15989,
834,
122,
1890,
29,
127,
3274,
96,
449,
651,
3858,
29,
2427,... |
what is the distance for ridge? | CREATE TABLE table_name_57 (
distance VARCHAR,
feature VARCHAR
) | SELECT distance FROM table_name_57 WHERE feature = "ridge" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
2357,
584,
4280,
28027,
6,
1451,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
2357,
21,
3,
7700,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2357,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
1451,
3274,
96,
7700,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
neurological history or degenerative pathology | CREATE TABLE table_train_2 (
"id" int,
"gender" string,
"pregnancy_or_lactation" bool,
"diabetic" string,
"electro_systolic_process" bool,
"degenerative_pathology" bool,
"neurological_disease" bool,
"cardiomyopathy" bool,
"NOUSE" float
) | SELECT * FROM table_train_2 WHERE neurological_disease = 1 OR degenerative_pathology = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
357,
41,
96,
23,
26,
121,
16,
17,
6,
96,
122,
3868,
121,
6108,
6,
96,
2026,
11260,
11298,
834,
127,
834,
9700,
6821,
121,
3,
12840,
40,
6,
96,
26,
23,
9,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1429,
21680,
953,
834,
9719,
834,
357,
549,
17444,
427,
28392,
834,
26,
159,
14608,
3274,
209,
4674,
20,
25181,
834,
8292,
1863,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the location when the record is 9-7? | CREATE TABLE table_name_29 (
location VARCHAR,
record VARCHAR
) | SELECT location FROM table_name_29 WHERE record = "9-7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
1128,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1128,
116,
8,
1368,
19,
668,
6832,
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,
1128,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
1368,
3274,
96,
1298,
6832,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the attendance when the result was 1-1? | CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_12 WHERE result = "1-1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
15116,
663,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
11364,
116,
8,
741,
47,
209,
2292,
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,
11364,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
741,
3274,
96,
536,
2292,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What venue has an Away team score of 8.8 (56)? | CREATE TABLE table_33216 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_33216 WHERE "Away team score" = '8.8 (56)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4201,
27184,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
4201,
27184,
549,
17444,
427,
96,
188,
1343,
372,
2604,
121,
3274,
3,
31,
927,
5,
927,
9209,
10938,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
tell me the number of patients diagnosed with subarachnoid hemorrhage who have iv bolus route of drug administration. | 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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Subarachnoid hemorrhage" AND prescriptions.route = "IV BOLUS" | [
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... |
Which Event has a Surface of semifinal, and a Winner of hard (i)? | CREATE TABLE table_66231 (
"!Event" real,
"Round" text,
"Surface" text,
"Winner" text,
"Opponent" text,
"Result" text
) | SELECT MAX("!Event") FROM table_66231 WHERE "Surface" = 'semifinal' AND "Winner" = 'hard (i)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
357,
3341,
41,
96,
55,
427,
2169,
121,
490,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
667,
102,
9977... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
55,
427,
2169,
8512,
21680,
953,
834,
3539,
357,
3341,
549,
17444,
427,
96,
134,
450,
4861,
121,
3274,
3,
31,
7,
15,
51,
23,
12406,
31,
3430,
96,
18455,
687,
121,
3274,
3,
31,
5651,
41,
23,
... |
which racer won the most races ? | CREATE TABLE table_203_704 (
id number,
"rnd" number,
"date" text,
"location" text,
"laps" number,
"distance" text,
"time" text,
"speed\n(km/h)" number,
"winner" text,
"pole position" text,
"most leading laps" text,
"fastest race lap" text
) | SELECT "winner" FROM table_203_704 GROUP BY "winner" ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2518,
591,
41,
3,
23,
26,
381,
6,
96,
52,
727,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
8478,
7,
121,
381,
6,
96,
26,
23,
8389,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
687,
121,
21680,
953,
834,
23330,
834,
2518,
591,
350,
4630,
6880,
272,
476,
96,
3757,
687,
121,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
... |
What is the highest field goals when there were more than 1 touchdown and 0 extra points? | CREATE TABLE table_name_7 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR) | SELECT MAX(field_goals) FROM table_name_7 WHERE touchdowns > 1 AND extra_points > 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
940,
41,
1846,
834,
839,
5405,
3,
21342,
17966,
6,
19396,
7,
584,
4280,
28027,
6,
996,
834,
2700,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
1846,
834,
839,
5405,
61,
21680,
953,
834,
4350,
834,
940,
549,
17444,
427,
19396,
7,
2490,
209,
3430,
996,
834,
2700,
7,
2490,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the home team score when essendon was the away team? | CREATE TABLE table_name_51 (
home_team VARCHAR,
away_team VARCHAR
) | SELECT home_team AS score FROM table_name_51 WHERE away_team = "essendon" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
234,
834,
11650,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
234,
372,
2604,
116,
3,
8185... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
234,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
550,
834,
11650,
3274,
96,
8185,
2029,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Among patients who have died, how many of them had chest pain as their primary disease? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.diagnosis = "CHEST PAIN" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
994,
2388,
15,
834,
89,
5430,
3274,
96,
536,
121,
3430,
14798,
5,
25930,
4844,
159,
3274,
96,
83... |
Who played home team at Victoria Park? | CREATE TABLE table_name_41 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_41 WHERE venue = "victoria park" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
5515,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
1944,
234,
372,
44,
7488,
1061,
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,
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,
234,
834,
11650,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
5669,
3274,
96,
7287,
3600,
9,
2447,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many games were recorded when the team was @ Memphis? | CREATE TABLE table_17326036_6 (game VARCHAR, team VARCHAR) | SELECT COUNT(game) FROM table_17326036_6 WHERE team = "@ Memphis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2668,
3328,
3420,
834,
948,
41,
7261,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1031,
130,
4381,
116,
8,
372,
47,
3320,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
7261,
61,
21680,
953,
834,
2517,
2668,
3328,
3420,
834,
948,
549,
17444,
427,
372,
3274,
96,
1741,
22715,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the production code for the episode where the patient portrayer is Kathy Lamkin? | CREATE TABLE table_26561508_1 (production_code VARCHAR, patient_portrayer VARCHAR) | SELECT production_code FROM table_26561508_1 WHERE patient_portrayer = "Kathy Lamkin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
4834,
1808,
4018,
834,
536,
41,
20762,
834,
4978,
584,
4280,
28027,
6,
1868,
834,
1493,
2866,
49,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
999,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
999,
834,
4978,
21680,
953,
834,
2688,
4834,
1808,
4018,
834,
536,
549,
17444,
427,
1868,
834,
1493,
2866,
49,
3274,
96,
439,
9,
189,
63,
15763,
2917,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the record for black knights points 54 | CREATE TABLE table_21092444_1 (record VARCHAR, black_knights_points VARCHAR) | SELECT record FROM table_21092444_1 WHERE black_knights_points = 54 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
17304,
2266,
3628,
834,
536,
41,
60,
7621,
584,
4280,
28027,
6,
1001,
834,
157,
7602,
7,
834,
2700,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
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,
1368,
21680,
953,
834,
357,
17304,
2266,
3628,
834,
536,
549,
17444,
427,
1001,
834,
157,
7602,
7,
834,
2700,
7,
3274,
10630,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing? | CREATE TABLE table_name_13 (
laps INTEGER,
class VARCHAR,
entrant VARCHAR
) | SELECT MAX(laps) FROM table_name_13 WHERE class = "v8" AND entrant = "diet-coke racing" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
14941,
7,
3,
21342,
17966,
6,
853,
584,
4280,
28027,
6,
3,
295,
3569,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2030,
866,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8478,
7,
61,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
853,
3274,
96,
208,
927,
121,
3430,
3,
295,
3569,
3274,
96,
2498,
17,
18,
509,
1050,
8191,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the title of the episode written by Mark Goffman? | CREATE TABLE table_25828 (
"Episode #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Viewers (in millions)" text
) | SELECT "Title" FROM table_25828 WHERE "Written by" = 'Mark Goffman' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3449,
2577,
41,
96,
427,
102,
159,
32,
221,
1713,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965,
324,
57,
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,
382,
155,
109,
121,
21680,
953,
834,
357,
3449,
2577,
549,
17444,
427,
96,
24965,
324,
57,
121,
3274,
3,
31,
19762,
350,
1647,
348,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the former school of the player from North Port, FL? | CREATE TABLE table_29418619_1 (former_school VARCHAR, hometown VARCHAR) | SELECT former_school FROM table_29418619_1 WHERE hometown = "North Port, FL" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4240,
25398,
2294,
834,
536,
41,
2032,
49,
834,
6646,
584,
4280,
28027,
6,
22295,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1798,
496,
13,
8,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1798,
834,
6646,
21680,
953,
834,
357,
4240,
25398,
2294,
834,
536,
549,
17444,
427,
22295,
3274,
96,
22969,
3625,
6,
7212,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which date had a loser of New York Giants and a result of 23-17? | CREATE TABLE table_name_77 (
date VARCHAR,
loser VARCHAR,
result VARCHAR
) | SELECT date FROM table_name_77 WHERE loser = "new york giants" AND result = "23-17" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
833,
584,
4280,
28027,
6,
2615,
52,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
833,
141,
3,
9,
2615,
52,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
2615,
52,
3274,
96,
5534,
25453,
6079,
7,
121,
3430,
741,
3274,
96,
2773,
10794,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Season, when # Of Episodes is '10', and when Date Released is '1 April 2010'? | CREATE TABLE table_name_97 (
season VARCHAR,
_number_of_episodes VARCHAR,
date_released VARCHAR
) | SELECT season FROM table_name_97 WHERE _number_of_episodes = 10 AND date_released = "1 april 2010" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
774,
584,
4280,
28027,
6,
3,
834,
5525,
1152,
834,
858,
834,
15,
102,
159,
32,
1395,
584,
4280,
28027,
6,
833,
834,
21019,
26,
584,
4280,
28027,
3,
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,
774,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
3,
834,
5525,
1152,
834,
858,
834,
15,
102,
159,
32,
1395,
3274,
335,
3430,
833,
834,
21019,
26,
3274,
96,
536,
3,
9,
2246,
40,
2735,
121,
1,
-100,
-100,
-... |
What is the largest % Won with a Lost smaller than 0? | CREATE TABLE table_name_89 (
_percentage_won INTEGER,
lost INTEGER
) | SELECT MAX(_percentage_won) FROM table_name_89 WHERE lost < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
3,
834,
883,
3728,
545,
834,
210,
106,
3,
21342,
17966,
6,
1513,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2015,
3,
1454,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
834,
883,
3728,
545,
834,
210,
106,
61,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
1513,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the Runs has a Venue of bellerive oval , hobart, and a Season of 2004/05, and a Rank of 5? | CREATE TABLE table_name_26 (runs VARCHAR, rank VARCHAR, venue VARCHAR, season VARCHAR) | SELECT runs FROM table_name_26 WHERE venue = "bellerive oval , hobart" AND season = "2004/05" AND rank = "5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
4312,
7,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
6,
774,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3154,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
5669,
3274,
96,
7708,
49,
757,
17986,
3,
6,
3534,
1047,
17,
121,
3430,
774,
3274,
96,
21653,
87,
3076,
121,
3430,
11003,
3274,
96,
17395,
1,
-100,
-100,
-100,... |
Robert S. Flanzer was the Free Libertarian ticket with who listed as the Liberal Ticket? | CREATE TABLE table_name_51 (liberal_ticket VARCHAR, free_libertarian_ticket VARCHAR) | SELECT liberal_ticket FROM table_name_51 WHERE free_libertarian_ticket = "robert s. flanzer" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
10661,
138,
834,
26639,
584,
4280,
28027,
6,
339,
834,
10661,
17,
6855,
834,
26639,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2715,
180,
5,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10215,
834,
26639,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
339,
834,
10661,
17,
6855,
834,
26639,
3274,
96,
5840,
49,
17,
3,
7,
5,
5731,
29,
2558,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Time/Retired had a grid number bigger than 1 and whose driver was Damon Hill? | CREATE TABLE table_name_78 (
time_retired VARCHAR,
grid VARCHAR,
driver VARCHAR
) | SELECT time_retired FROM table_name_78 WHERE grid > 1 AND driver = "damon hill" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3940,
41,
97,
834,
10682,
1271,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
2900,
87,
1649,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
97,
834,
10682,
1271,
21680,
953,
834,
4350,
834,
3940,
549,
17444,
427,
8634,
2490,
209,
3430,
2535,
3274,
96,
7812,
106,
9956,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the highest rank of an athlete from Switzerland in a heat larger than 3? | CREATE TABLE table_name_54 (rank INTEGER, heat VARCHAR, nationality VARCHAR) | SELECT MAX(rank) FROM table_name_54 WHERE heat > 3 AND nationality = "switzerland" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
6254,
3,
21342,
17966,
6,
1678,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
11003,
13,
46,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
6254,
61,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
1678,
2490,
220,
3430,
1157,
485,
3274,
96,
7,
15686,
15,
7721,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the number of electorates (2009) for the Indore district, when reserved for (SC / ST /None) is none, and constituency number is 208? | CREATE TABLE table_name_21 (
number_of_electorates__2009_ INTEGER,
constituency_number VARCHAR,
district VARCHAR,
reserved_for___sc___st__none_ VARCHAR
) | SELECT SUM(number_of_electorates__2009_) FROM table_name_21 WHERE district = "indore" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "208" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
381,
834,
858,
834,
400,
5317,
6203,
834,
834,
16660,
834,
3,
21342,
17966,
6,
6439,
4392,
834,
5525,
1152,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
5525,
1152,
834,
858,
834,
400,
5317,
6203,
834,
834,
16660,
834,
61,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
3939,
3274,
96,
77,
26,
127,
15,
121,
3430,
14040,
834,
1161,
834,
834,
834,
... |
Which team was in 1951? | CREATE TABLE table_name_40 (team VARCHAR, year VARCHAR) | SELECT team FROM table_name_40 WHERE year = 1951 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
11650,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
372,
47,
16,
25684,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
215,
3274,
25684,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the party that has the largest number of representatives? | CREATE TABLE representative (
representative_id number,
name text,
state text,
party text,
lifespan text
)
CREATE TABLE election (
election_id number,
representative_id number,
date text,
votes number,
vote_percent number,
seats number,
place number
) | SELECT party, COUNT(*) FROM representative GROUP BY party ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6978,
41,
6978,
834,
23,
26,
381,
6,
564,
1499,
6,
538,
1499,
6,
1088,
1499,
6,
27617,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
4356,
41,
4356,
834,
23,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1088,
6,
2847,
17161,
599,
1935,
61,
21680,
6978,
350,
4630,
6880,
272,
476,
1088,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which representative has a Termination of MIssion date Mar 25, 1976? | CREATE TABLE table_name_59 (representative VARCHAR, termination_of_mission VARCHAR) | SELECT representative FROM table_name_59 WHERE termination_of_mission = "mar 25, 1976" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
60,
12640,
1528,
584,
4280,
28027,
6,
18739,
834,
858,
834,
5451,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
6978,
65,
3,
9,
10181,
257,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6978,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
18739,
834,
858,
834,
5451,
3274,
96,
1635,
14105,
16164,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Round is the lowest one that has a School/Club Team of virginia? | CREATE TABLE table_name_20 (
round INTEGER,
school_club_team VARCHAR
) | SELECT MIN(round) FROM table_name_20 WHERE school_club_team = "virginia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
1751,
3,
21342,
17966,
6,
496,
834,
13442,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
9609,
19,
8,
7402,
80,
24,
65,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
7775,
61,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
496,
834,
13442,
834,
11650,
3274,
96,
5771,
122,
77,
23,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What company makes the Nokia 700? | CREATE TABLE table_47480 (
"Company name" text,
"Hardware Model" text,
"Accreditation type" text,
"Accreditation level" text,
"Date" text
) | SELECT "Company name" FROM table_47480 WHERE "Hardware Model" = 'nokia 700' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4177,
20579,
41,
96,
5890,
2837,
63,
564,
121,
1499,
6,
96,
15537,
26,
3404,
5154,
121,
1499,
6,
96,
188,
75,
15547,
257,
686,
121,
1499,
6,
96,
188,
75,
15547,
257,
593,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5890,
2837,
63,
564,
121,
21680,
953,
834,
4177,
20579,
549,
17444,
427,
96,
15537,
26,
3404,
5154,
121,
3274,
3,
31,
29,
1825,
23,
9,
12283,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many goals have a goal ration less than 0.8 with 56 games? | CREATE TABLE table_name_49 (goals VARCHAR, goal_ratio VARCHAR, games VARCHAR) | SELECT COUNT(goals) FROM table_name_49 WHERE goal_ratio < 0.8 AND games = 56 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3647,
41,
839,
5405,
584,
4280,
28027,
6,
1288,
834,
6850,
32,
584,
4280,
28027,
6,
1031,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1766,
43,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
839,
5405,
61,
21680,
953,
834,
4350,
834,
3647,
549,
17444,
427,
1288,
834,
6850,
32,
3,
2,
3,
22384,
3430,
1031,
3274,
11526,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the average number of goals conceded where more than 19 goals were scored, the team had 31 points, and more than 7 draws? | CREATE TABLE table_53653 (
"Place (Posici\u00f3n)" real,
"Team (Equipo)" text,
"Played (PJ)" real,
"Won (PG)" real,
"Draw (PE)" real,
"Lost (PP)" real,
"Goals Scored (GF)" real,
"Goals Conceded (GC)" real,
"+/- (Dif.)" real,
"Points (Pts.)" real
) | SELECT AVG("Goals Conceded (GC)") FROM table_53653 WHERE "Goals Scored (GF)" > '19' AND "Points (Pts.)" = '31' AND "Draw (PE)" > '7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
10402,
519,
41,
96,
345,
11706,
41,
345,
32,
7,
1294,
2,
76,
1206,
89,
519,
29,
61,
121,
490,
6,
96,
18699,
41,
427,
23067,
32,
61,
121,
1499,
6,
96,
15800,
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,
71,
17217,
599,
121,
6221,
5405,
1193,
565,
221,
26,
41,
11055,
61,
8512,
21680,
953,
834,
755,
10402,
519,
549,
17444,
427,
96,
6221,
5405,
17763,
26,
41,
15643,
61,
121,
2490,
3,
31,
2294,
31,
3430,
96,
22512,
7... |
What was the Attendance after Week 7 at Tiger Stadium? | CREATE TABLE table_name_27 (
attendance VARCHAR,
game_site VARCHAR,
week VARCHAR
) | SELECT COUNT(attendance) FROM table_name_27 WHERE game_site = "tiger stadium" AND week > 7 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
11364,
584,
4280,
28027,
6,
467,
834,
3585,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
22497,
663,
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,
15116,
663,
61,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
467,
834,
3585,
3274,
96,
17,
4424,
14939,
121,
3430,
471,
2490,
489,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What venue did Richmond play at as the home team? | CREATE TABLE table_54291 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_54291 WHERE "Home team" = 'richmond' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5062,
357,
4729,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
5062,
357,
4729,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
3723,
6764,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
With an overall record of KSU, 118-117 what is the last 5 meetings? | CREATE TABLE table_9610 (
"Missouri vs." text,
"Overall Record" text,
"at Columbia" text,
"at Opponent's Venue" text,
"at Neutral Site" text,
"Last 5 Meetings" text,
"Last 10 Meetings" text,
"Current Streak" text,
"During Time in Big 12" text
) | SELECT "Last 5 Meetings" FROM table_9610 WHERE "Overall Record" = 'ksu, 118-117' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4314,
1714,
41,
96,
329,
159,
7,
32,
459,
3,
208,
7,
535,
1499,
6,
96,
23847,
1748,
11392,
121,
1499,
6,
96,
144,
8183,
121,
1499,
6,
96,
144,
4495,
9977,
31,
7,
29940,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3612,
7,
17,
305,
9198,
7,
121,
21680,
953,
834,
4314,
1714,
549,
17444,
427,
96,
23847,
1748,
11392,
121,
3274,
3,
31,
157,
7,
76,
6,
3,
20056,
18,
20275,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is the number of patients whose age is less than 74? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "74" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
545,
3,
2,
96,
4581,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who had the highest points of the game on March 24? | CREATE TABLE table_10934 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "High points" FROM table_10934 WHERE "Date" = 'march 24' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17304,
3710,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
3,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
21417,
979,
121,
21680,
953,
834,
17304,
3710,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
51,
7064,
997,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who was the opponent in the final in which the court surface was hard and the score was 6–3, 3–6, 7–5? | CREATE TABLE table_name_89 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR) | SELECT opponent_in_the_final FROM table_name_89 WHERE surface = "hard" AND score = "6–3, 3–6, 7–5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
32,
102,
9977,
834,
77,
834,
532,
834,
12406,
584,
4280,
28027,
6,
1774,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
15264,
834,
77,
834,
532,
834,
12406,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
1774,
3274,
96,
5651,
121,
3430,
2604,
3274,
96,
948,
104,
6355,
220,
104,
11071,
489,
104,
17395,
1,
-100,
-100,
-100,
-100,
... |
How many couples have an average of 25.3? | CREATE TABLE table_20424140_3 (
couple VARCHAR,
average VARCHAR
) | SELECT COUNT(couple) FROM table_20424140_3 WHERE average = "25.3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
2266,
22012,
834,
519,
41,
1158,
584,
4280,
28027,
6,
1348,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
11992,
43,
46,
1348,
13,
204,
26627,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
15976,
109,
61,
21680,
953,
834,
26363,
2266,
22012,
834,
519,
549,
17444,
427,
1348,
3274,
96,
357,
26627,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
hypotensive requiring vasopressors | CREATE TABLE table_train_33 (
"id" int,
"active_infection" bool,
"allergy_to_thiamine" bool,
"receiving_vasopressor" bool,
"liver_disease" bool,
"allergy_to_vitamin_c" bool,
"allergy_to_hydrocortisone" bool,
"hypertension" bool,
"age" float,
"serum_aminotransferase_level_alt_ast"... | SELECT * FROM table_train_33 WHERE hypertension = 1 AND receiving_vasopressor = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
4201,
41,
96,
23,
26,
121,
16,
17,
6,
96,
6645,
834,
77,
17856,
121,
3,
12840,
40,
6,
96,
11211,
122,
63,
834,
235,
834,
7436,
8721,
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,
4201,
549,
17444,
427,
6676,
13177,
3274,
209,
3430,
4281,
834,
9856,
32,
4715,
127,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest Races, when Podiums is greater than 1? | CREATE TABLE table_44455 (
"Season" text,
"Races" real,
"Wins" real,
"Podiums" real,
"Poles" real
) | SELECT MIN("Races") FROM table_44455 WHERE "Podiums" > '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3628,
2128,
755,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
448,
9,
2319,
121,
490,
6,
96,
18455,
7,
121,
490,
6,
96,
16665,
2552,
7,
121,
490,
6,
96,
8931,
15,
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,
3,
17684,
599,
121,
448,
9,
2319,
8512,
21680,
953,
834,
3628,
2128,
755,
549,
17444,
427,
96,
16665,
2552,
7,
121,
2490,
3,
31,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What Country has a Player with Playoff Money with a Score of 72-69-73-73=287? | CREATE TABLE table_name_8 (
country VARCHAR,
money___$__ VARCHAR,
score VARCHAR
) | SELECT country FROM table_name_8 WHERE money___$__ = "playoff" AND score = 72 - 69 - 73 - 73 = 287 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
927,
41,
684,
584,
4280,
28027,
6,
540,
834,
834,
834,
3229,
834,
834,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
69... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
684,
21680,
953,
834,
4350,
834,
927,
549,
17444,
427,
540,
834,
834,
834,
3229,
834,
834,
3274,
96,
4895,
1647,
121,
3430,
2604,
3274,
9455,
3,
18,
3,
3951,
3,
18,
3,
4552,
3,
18,
3,
4552,
3274,
204,
4225,
1,
... |
Name the player for fiji | CREATE TABLE table_name_29 (
player VARCHAR,
country VARCHAR
) | SELECT player FROM table_name_29 WHERE country = "fiji" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
1959,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
1959,
21,
3,
89,
17279,
1,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
684,
3274,
96,
89,
17279,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which date's opponent was Dender when the tournament was in the Jupiler League and the ground was a? | CREATE TABLE table_name_52 (
date VARCHAR,
ground VARCHAR,
opponent VARCHAR,
tournament VARCHAR
) | SELECT date FROM table_name_52 WHERE opponent = "dender" AND tournament = "jupiler league" AND ground = "a" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
833,
584,
4280,
28027,
6,
1591,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
833,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
15264,
3274,
96,
26,
3868,
121,
3430,
5892,
3274,
96,
354,
413,
173,
49,
5533,
121,
3430,
1591,
3274,
96,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the school that was founded in 1950 | CREATE TABLE table_1973648_1 (institution VARCHAR, founded VARCHAR) | SELECT institution FROM table_1973648_1 WHERE founded = 1950 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27181,
3420,
3707,
834,
536,
41,
77,
17448,
584,
4280,
28027,
6,
5710,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
496,
24,
47,
5710,
16,
10247,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6568,
21680,
953,
834,
27181,
3420,
3707,
834,
536,
549,
17444,
427,
5710,
3274,
10247,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the outcome for alizé cornet janette husárová being opponent in final | CREATE TABLE table_name_97 (outcome VARCHAR, opponent_in_final VARCHAR) | SELECT outcome FROM table_name_97 WHERE opponent_in_final = "alizé cornet janette husárová" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
670,
287,
15,
584,
4280,
28027,
6,
15264,
834,
77,
834,
12406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
6138,
21,
3,
9,
13287,
154... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6138,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
15264,
834,
77,
834,
12406,
3274,
96,
9,
13287,
154,
4301,
1582,
3,
7066,
1954,
3,
11823,
2975,
8843,
2975,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the 6:00 with a 10:00 with mysteryquest? | CREATE TABLE table_51548 (
"5:00" text,
"6:00" text,
"7:00" text,
"8:00" text,
"10:00" text,
"11:00" text
) | SELECT "6:00" FROM table_51548 WHERE "10:00" = 'mysteryquest' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
1808,
3707,
41,
96,
19870,
121,
1499,
6,
96,
18828,
121,
1499,
6,
96,
18735,
121,
1499,
6,
96,
15692,
121,
1499,
6,
96,
536,
25713,
121,
1499,
6,
96,
536,
24294,
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,
18828,
121,
21680,
953,
834,
755,
1808,
3707,
549,
17444,
427,
96,
536,
25713,
121,
3274,
3,
31,
2258,
1370,
63,
10952,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Date, when Opponent is At Saskatchewan Roughriders? | CREATE TABLE table_name_13 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_13 WHERE opponent = "at saskatchewan roughriders" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
5522,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
7678,
6,
116,
4495,
9977,
19,
486,
30382,
391,
4607,
4055... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
15264,
3274,
96,
144,
3,
7,
9,
7,
8682,
1033,
3877,
8678,
4055,
277,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is No. 2, when No. 9 is Mia? | CREATE TABLE table_name_56 (no_2 VARCHAR, no_9 VARCHAR) | SELECT no_2 FROM table_name_56 WHERE no_9 = "mia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4834,
41,
29,
32,
834,
357,
584,
4280,
28027,
6,
150,
834,
1298,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
465,
5,
3547,
116,
465,
5,
668,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
150,
834,
357,
21680,
953,
834,
4350,
834,
4834,
549,
17444,
427,
150,
834,
1298,
3274,
96,
51,
23,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What score has 33 as the points? | CREATE TABLE table_name_93 (
score VARCHAR,
points VARCHAR
) | SELECT score FROM table_name_93 WHERE points = 33 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4271,
41,
2604,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
2604,
65,
5400,
38,
8,
979,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4271,
549,
17444,
427,
979,
3274,
5400,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the highest election with third party member Sir Robert Price, BT, and first party member conservative? | CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR) | SELECT MAX(election) FROM table_name_97 WHERE third_member = "sir robert price, bt" AND first_party = "conservative" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
15,
12252,
3,
21342,
17966,
6,
1025,
834,
12066,
584,
4280,
28027,
6,
166,
834,
8071,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
15,
12252,
61,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
1025,
834,
12066,
3274,
96,
7,
23,
52,
3,
5840,
49,
17,
594,
6,
3,
115,
17,
121,
3430,
166,
834,
8071,
3274,
96,
1018,
3473,
1528,
... |
Show the number of customer address history in each day and bin date from by weekday with a bar chart. | CREATE TABLE Customer_Orders (
order_id INTEGER,
customer_id INTEGER,
order_date DATETIME,
order_status_code VARCHAR(15)
)
CREATE TABLE Order_Items (
order_item_id INTEGER,
order_id INTEGER,
product_id INTEGER,
order_quantity VARCHAR(80)
)
CREATE TABLE Contacts (
contact_id INTEGER... | SELECT date_from, COUNT(date_from) FROM Customer_Address_History AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id JOIN Addresses AS T3 ON T1.address_id = T3.address_id | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7327,
834,
7395,
588,
7,
41,
455,
834,
23,
26,
3,
21342,
17966,
6,
884,
834,
23,
26,
3,
21342,
17966,
6,
455,
834,
5522,
309,
6048,
382,
15382,
6,
455,
834,
8547,
302,
834,
4978,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
833,
834,
7152,
6,
2847,
17161,
599,
5522,
834,
7152,
61,
21680,
7327,
834,
20773,
9377,
834,
12146,
13029,
6157,
332,
536,
3,
15355,
3162,
16423,
6157,
332,
357,
9191,
332,
5411,
25697,
49,
834,
23,
26,
3274,
332,
... |
Which film has a role named Taylor? | CREATE TABLE table_name_68 (film VARCHAR, role VARCHAR) | SELECT film FROM table_name_68 WHERE role = "taylor" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3651,
41,
9988,
584,
4280,
28027,
6,
1075,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
814,
65,
3,
9,
1075,
2650,
7909,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
814,
21680,
953,
834,
4350,
834,
3651,
549,
17444,
427,
1075,
3274,
96,
17,
9,
63,
322,
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 postion of the player listed from Dooly County High School? | CREATE TABLE table_17063 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
) | SELECT "Position" FROM table_17063 WHERE "School" = 'Dooly County High School' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
536,
2518,
3891,
41,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
29364,
121,
1499,
6,
96,
19040,
3540,
121,
1499,
6,
96,
9939,
7883,
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,
345,
32,
7,
4749,
121,
21680,
953,
834,
536,
2518,
3891,
549,
17444,
427,
96,
29364,
121,
3274,
3,
31,
4135,
32,
120,
1334,
1592,
1121,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What place did the person who left on day 3 finish in? | CREATE TABLE table_name_54 (finished VARCHAR, exited VARCHAR) | SELECT finished FROM table_name_54 WHERE exited = "day 3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
19420,
584,
4280,
28027,
6,
7189,
15,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
286,
410,
8,
568,
113,
646,
30,
239,
220,
1992,
16,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2369,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
7189,
15,
26,
3274,
96,
1135,
220,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Namethe team for feb 27, 1996 | CREATE TABLE table_1594772_2 (team__a_ VARCHAR, match_date VARCHAR) | SELECT team__a_ FROM table_1594772_2 WHERE match_date = "Feb 27, 1996" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27904,
4177,
5865,
834,
357,
41,
11650,
834,
834,
9,
834,
584,
4280,
28027,
6,
1588,
834,
5522,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
532,
372,
21,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
834,
834,
9,
834,
21680,
953,
834,
27904,
4177,
5865,
834,
357,
549,
17444,
427,
1588,
834,
5522,
3274,
96,
371,
15,
115,
14141,
6911,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many parties won the election in the Louisiana 5 district? | CREATE TABLE table_1341865_20 (
party VARCHAR,
district VARCHAR
) | SELECT COUNT(party) FROM table_1341865_20 WHERE district = "Louisiana 5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2606,
4122,
834,
1755,
41,
1088,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
2251,
751,
8,
4356,
16,
8,
15625,
305,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
8071,
61,
21680,
953,
834,
23747,
2606,
4122,
834,
1755,
549,
17444,
427,
3939,
3274,
96,
28365,
13662,
3,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the 2011 total with a 2008 value greater than 346.5, a 2009 value of 392, and a 2010 value bigger than 354.6? | CREATE TABLE table_name_45 (
Id VARCHAR
) | SELECT COUNT(2011) FROM table_name_45 WHERE 2008 > 346.5 AND 2009 = 392 AND 2010 > 354.6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
27,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2722,
792,
28,
3,
9,
2628,
701,
2123,
145,
6154,
17255,
6,
3,
9,
2464,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
13907,
61,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
2628,
2490,
6154,
17255,
3430,
2464,
3274,
220,
4508,
3430,
2735,
2490,
3097,
25652,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What manuals have the opus of 135? | CREATE TABLE table_12459 (
"year" text,
"opus" text,
"town" text,
"kind" text,
"manuals" text,
"stops" text
) | SELECT "manuals" FROM table_12459 WHERE "opus" = '135' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22504,
3390,
41,
96,
1201,
121,
1499,
6,
96,
32,
7800,
121,
1499,
6,
96,
3540,
121,
1499,
6,
96,
9519,
121,
1499,
6,
96,
348,
3471,
7,
121,
1499,
6,
96,
7618,
7,
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,
348,
3471,
7,
121,
21680,
953,
834,
22504,
3390,
549,
17444,
427,
96,
32,
7800,
121,
3274,
3,
31,
536,
2469,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the D 46 when the D 50 is d 50 ? | CREATE TABLE table_10345 (
"D 50 \u221a" text,
"D 49 \u221a" text,
"D 48 \u221a" text,
"D 47 \u221a" text,
"D 46 \u221a" text,
"D 45 \u221a" text,
"D 44 \u221a" text,
"D 43 \u221a" text,
"D 42 \u221a" text,
"D 41 \u221a" text
) | SELECT "D 46 \u221a" FROM table_10345 WHERE "D 50 \u221a" = 'd 50 √' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17864,
2128,
41,
96,
308,
943,
3,
2,
76,
357,
2658,
9,
121,
1499,
6,
96,
308,
9526,
3,
2,
76,
357,
2658,
9,
121,
1499,
6,
96,
308,
4678,
3,
2,
76,
357,
2658,
9,
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,
308,
9668,
3,
2,
76,
357,
2658,
9,
121,
21680,
953,
834,
17864,
2128,
549,
17444,
427,
96,
308,
943,
3,
2,
76,
357,
2658,
9,
121,
3274,
3,
31,
26,
943,
3,
2,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
yes or no for the auckland with a yes for sydney, no for perth, yes for melbourne and yes for the gold coast? | CREATE TABLE table_name_74 (auckland VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, sydney VARCHAR, perth VARCHAR) | SELECT auckland FROM table_name_74 WHERE sydney = "yes" AND perth = "no" AND melbourne = "yes" AND gold_coast = "yes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
9,
4636,
40,
232,
584,
4280,
28027,
6,
2045,
834,
25500,
584,
4280,
28027,
6,
3,
2341,
26255,
584,
4280,
28027,
6,
3,
7,
63,
26,
3186,
584,
4280,
280... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9,
4636,
40,
232,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
3,
7,
63,
26,
3186,
3274,
96,
10070,
121,
3430,
399,
189,
3274,
96,
29,
32,
121,
3430,
3,
2341,
26255,
3274,
96,
10070,
121,
3430,
2045,
83... |
Use a stacked bar chart to show how many films for each title and each type. The x-axis is title. | CREATE TABLE film_market_estimation (
Estimation_ID int,
Low_Estimate real,
High_Estimate real,
Film_ID int,
Type text,
Market_ID int,
Year int
)
CREATE TABLE market (
Market_ID int,
Country text,
Number_cities int
)
CREATE TABLE film (
Film_ID int,
Title text,
Stud... | SELECT Title, COUNT(Title) FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID GROUP BY Type, Title | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
814,
834,
8809,
834,
3340,
51,
257,
41,
23621,
23,
106,
834,
4309,
16,
17,
6,
5586,
834,
14997,
23,
5058,
490,
6,
1592,
834,
14997,
23,
5058,
490,
6,
3417,
834,
4309,
16,
17,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
11029,
6,
2847,
17161,
599,
382,
155,
109,
61,
21680,
814,
6157,
332,
536,
3,
15355,
3162,
814,
834,
8809,
834,
3340,
51,
257,
6157,
332,
357,
9191,
332,
5411,
371,
173,
51,
834,
4309,
3274,
332,
4416,
371,
173,
5... |
What is the least ERP W when the freguency MHz is 89.3 fm? | CREATE TABLE table_40241 (
"Call sign" text,
"Frequency MHz" text,
"City of license" text,
"ERP W" real,
"FCC info" text
) | SELECT MIN("ERP W") FROM table_40241 WHERE "Frequency MHz" = '89.3 fm' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2445,
2266,
536,
41,
96,
254,
1748,
1320,
121,
1499,
6,
96,
371,
60,
835,
11298,
3,
20210,
121,
1499,
6,
96,
254,
485,
13,
3344,
121,
1499,
6,
96,
3316,
345,
549,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
3316,
345,
549,
8512,
21680,
953,
834,
2445,
2266,
536,
549,
17444,
427,
96,
371,
60,
835,
11298,
3,
20210,
121,
3274,
3,
31,
3914,
5,
519,
3,
89,
51,
31,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the date for oliver stone | CREATE TABLE table_1566852_5 (
date VARCHAR,
interview_subject VARCHAR
) | SELECT date FROM table_1566852_5 WHERE interview_subject = "Oliver Stone" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25463,
3651,
5373,
834,
755,
41,
833,
584,
4280,
28027,
6,
2772,
834,
7304,
11827,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
833,
21,
7994,
52,
3372,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
25463,
3651,
5373,
834,
755,
549,
17444,
427,
2772,
834,
7304,
11827,
3274,
96,
667,
7591,
52,
5614,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is latitude when 2010 population is 24 and water is more than 0.319? | CREATE TABLE table_79290 (
"Township" text,
"County" text,
"Pop. (2010)" real,
"Land ( sqmi )" real,
"Water (sqmi)" real,
"Latitude" real,
"Longitude" real,
"GEO ID" real,
"ANSI code" real
) | SELECT MAX("Latitude") FROM table_79290 WHERE "Pop. (2010)" = '24' AND "Water (sqmi)" > '0.319' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4440,
23838,
41,
96,
382,
9197,
2009,
121,
1499,
6,
96,
10628,
63,
121,
1499,
6,
96,
27773,
5,
26118,
121,
490,
6,
96,
434,
232,
41,
11820,
51,
23,
3,
61,
121,
490,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
3612,
6592,
8512,
21680,
953,
834,
4440,
23838,
549,
17444,
427,
96,
27773,
5,
26118,
121,
3274,
3,
31,
2266,
31,
3430,
96,
28632,
41,
7,
1824,
51,
23,
61,
121,
2490,
3,
31,
19997,
2294,
31,
1... |
How many agencies did Budarin Nikolai Budarin working for? | CREATE TABLE table_936 (
"Number" real,
"Astronaut" text,
"Agency" text,
"Total EVAs" real,
"Total Time Hours:Minutes" text
) | SELECT COUNT("Agency") FROM table_936 WHERE "Astronaut" = 'Budarin Nikolai Budarin' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4271,
948,
41,
96,
567,
5937,
49,
121,
490,
6,
96,
188,
6626,
15785,
121,
1499,
6,
96,
188,
122,
4392,
121,
1499,
6,
96,
3696,
1947,
262,
8230,
7,
121,
490,
6,
96,
3696... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
188,
122,
4392,
8512,
21680,
953,
834,
4271,
948,
549,
17444,
427,
96,
188,
6626,
15785,
121,
3274,
3,
31,
7793,
3439,
77,
28584,
23,
16440,
291,
77,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,... |
What opponent does she fight when she is 10-1? | CREATE TABLE table_name_31 (
opponent VARCHAR,
record VARCHAR
) | SELECT opponent FROM table_name_31 WHERE record = "10-1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
15264,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
15264,
405,
255,
2870,
116,
255,
19,
335,
2292,
58,
1,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
1368,
3274,
96,
1714,
2292,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the lowest top-5 of the tournament with less than 1 top-10 and less than 1 top-25? | CREATE TABLE table_name_74 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR) | SELECT MIN(top_5) FROM table_name_74 WHERE top_10 < 1 AND top_25 < 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
2916,
834,
755,
3,
21342,
17966,
6,
420,
834,
1714,
584,
4280,
28027,
6,
420,
834,
1828,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
3,
17684,
599,
2916,
834,
9120,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
420,
834,
1714,
3,
2,
209,
3430,
420,
834,
1828,
3,
2,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the diameter (km) of longitude 170.1e | CREATE TABLE table_16799784_7 (
diameter__km_ VARCHAR,
longitude VARCHAR
) | SELECT diameter__km_ FROM table_16799784_7 WHERE longitude = "170.1E" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4440,
21441,
591,
834,
940,
41,
9260,
834,
834,
5848,
834,
584,
4280,
28027,
6,
307,
20341,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
9260,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9260,
834,
834,
5848,
834,
21680,
953,
834,
2938,
4440,
21441,
591,
834,
940,
549,
17444,
427,
307,
20341,
3274,
96,
2517,
16029,
427,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many total goals were scored against nigeria ? | CREATE TABLE table_204_920 (
id number,
"goal" number,
"date" text,
"location" text,
"opponent" text,
"lineup" text,
"min" number,
"assist/pass" text,
"score" text,
"result" text,
"competition" text
) | SELECT COUNT("goal") FROM table_204_920 WHERE "opponent" = 'nigeria' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
27749,
41,
3,
23,
26,
381,
6,
96,
839,
138,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
747,
413,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
839,
138,
8512,
21680,
953,
834,
26363,
834,
27749,
549,
17444,
427,
96,
32,
102,
9977,
121,
3274,
3,
31,
7315,
4476,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which country is ranked higher than 68, with a city named Santa Fe and a stadium that has a capacity of 32,000? | CREATE TABLE table_name_10 (country VARCHAR, city VARCHAR, rank VARCHAR, capacity VARCHAR) | SELECT country FROM table_name_10 WHERE rank > 68 AND capacity = "32,000" AND city = "santa fe" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
17529,
584,
4280,
28027,
6,
690,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
2614,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
684,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
684,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
11003,
2490,
3,
3651,
3430,
2614,
3274,
96,
519,
8630,
121,
3430,
690,
3274,
96,
7,
288,
9,
3,
89,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What Catalog released on June 29, 1999 has a Digipak Album Format? | CREATE TABLE table_name_8 (catalog VARCHAR, format VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_8 WHERE format = "digipak album" AND date = "june 29, 1999" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
927,
41,
2138,
9,
2152,
584,
4280,
28027,
6,
1910,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
22424,
1883,
30,
1515,
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,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
10173,
21680,
953,
834,
4350,
834,
927,
549,
17444,
427,
1910,
3274,
96,
5572,
23,
16864,
2306,
121,
3430,
833,
3274,
96,
6959,
15,
14405,
5247,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the average game number when the record is 4-1? | CREATE TABLE table_name_18 (game INTEGER, record VARCHAR) | SELECT AVG(game) FROM table_name_18 WHERE record = "4-1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
7261,
3,
21342,
17966,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
467,
381,
116,
8,
1368,
19,
314,
2292,
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,
71,
17217,
599,
7261,
61,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
1368,
3274,
96,
591,
2292,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the highest Money ($), when Top Par is E, and when Player is Ernie Els? | CREATE TABLE table_name_35 (money___ INTEGER, to_par VARCHAR, player VARCHAR) | SELECT MAX(money___) AS $__ FROM table_name_35 WHERE to_par = "e" AND player = "ernie els" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
28442,
834,
834,
834,
3,
21342,
17966,
6,
12,
834,
1893,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
28442,
834,
834,
834,
61,
6157,
1514,
834,
834,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
12,
834,
1893,
3274,
96,
15,
121,
3430,
1959,
3274,
96,
15,
23752,
3,
3573,
121,
1,
-100,
-100,
-100... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.