NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
List the id, genre and artist name of English songs ordered by rating. | CREATE TABLE song (f_id VARCHAR, genre_is VARCHAR, artist_name VARCHAR, languages VARCHAR, rating VARCHAR) | SELECT f_id, genre_is, artist_name FROM song WHERE languages = "english" ORDER BY rating | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2324,
41,
89,
834,
23,
26,
584,
4280,
28027,
6,
5349,
834,
159,
584,
4280,
28027,
6,
2377,
834,
4350,
584,
4280,
28027,
6,
8024,
584,
4280,
28027,
6,
5773,
584,
4280,
28027,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
89,
834,
23,
26,
6,
5349,
834,
159,
6,
2377,
834,
4350,
21680,
2324,
549,
17444,
427,
8024,
3274,
96,
4606,
40,
1273,
121,
4674,
11300,
272,
476,
5773,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which record has a Date of august 28? | CREATE TABLE table_69103 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) | SELECT "Record" FROM table_69103 WHERE "Date" = 'august 28' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
17864,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
121,
1499,
6,
96,
188,
17,
324,
26,
663... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1649,
7621,
121,
21680,
953,
834,
3951,
17864,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
402,
17198,
2059,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When the assets are 2,550, what is the Market Value? | CREATE TABLE table_1682026_2 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) | SELECT market_value__billion_$_ FROM table_1682026_2 WHERE assets__billion_$_ = "2,550" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24274,
1755,
2688,
834,
357,
41,
8809,
834,
12097,
834,
834,
115,
14916,
834,
3229,
834,
584,
4280,
28027,
6,
4089,
834,
834,
115,
14916,
834,
3229,
834,
584,
4280,
28027,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
512,
834,
12097,
834,
834,
115,
14916,
834,
3229,
834,
21680,
953,
834,
24274,
1755,
2688,
834,
357,
549,
17444,
427,
4089,
834,
834,
115,
14916,
834,
3229,
834,
3274,
96,
4482,
17147,
121,
1,
-100,
-100,
-100,
-100,
... |
How many picks have an Overall of 114? | CREATE TABLE table_name_75 (
pick__number VARCHAR,
overall VARCHAR
) | SELECT COUNT(pick__number) FROM table_name_75 WHERE overall = 114 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
1432,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
1879,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1432,
7,
43,
46,
9126,
13,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
17967,
834,
834,
5525,
1152,
61,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
1879,
3274,
3,
18959,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
High points earned by Josh Howard (19) resulted in how many high rebounds? | CREATE TABLE table_21471 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT COUNT("High rebounds") FROM table_21471 WHERE "High points" = 'Josh Howard (19)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27357,
4450,
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,
2847,
17161,
599,
121,
21417,
3,
23768,
8512,
21680,
953,
834,
27357,
4450,
549,
17444,
427,
96,
21417,
979,
121,
3274,
3,
31,
683,
32,
7,
107,
13816,
2863,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the name for the entry that has a public of Yes, a personal sites of No, and a team sites of No? | CREATE TABLE table_name_34 (name VARCHAR, team_sites VARCHAR, public VARCHAR, personal_sites VARCHAR) | SELECT name FROM table_name_34 WHERE public = "yes" AND personal_sites = "no" AND team_sites = "no" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
4350,
584,
4280,
28027,
6,
372,
834,
3585,
7,
584,
4280,
28027,
6,
452,
584,
4280,
28027,
6,
525,
834,
3585,
7,
584,
4280,
28027,
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,
564,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
452,
3274,
96,
10070,
121,
3430,
525,
834,
3585,
7,
3274,
96,
29,
32,
121,
3430,
372,
834,
3585,
7,
3274,
96,
29,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest number of last cfs of the team with 2 cf appearances, 0 cup wins, and less than 0 cf wins? | CREATE TABLE table_name_90 (last_cf INTEGER, cf_wins VARCHAR, cf_appearances VARCHAR, cup_wins VARCHAR) | SELECT MIN(last_cf) FROM table_name_90 WHERE cf_appearances = 2 AND cup_wins = 0 AND cf_wins < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2394,
41,
5064,
834,
75,
89,
3,
21342,
17966,
6,
3,
75,
89,
834,
3757,
7,
584,
4280,
28027,
6,
3,
75,
89,
834,
3096,
2741,
663,
7,
584,
4280,
28027,
6,
4119,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5064,
834,
75,
89,
61,
21680,
953,
834,
4350,
834,
2394,
549,
17444,
427,
3,
75,
89,
834,
3096,
2741,
663,
7,
3274,
204,
3430,
4119,
834,
3757,
7,
3274,
3,
632,
3430,
3,
75,
89,
834,
3757,
7,
3,... |
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and revenue , and group by attribute name, and display in asc by the X. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T1.Name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7554,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
5312,
3396,
254,
26330,
434,
6,
15248,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
23954,
6,
332,
4416,
1649,
15098,
21680,
7554,
6157,
332,
536,
3,
15355,
3162,
15248,
7,
6157,
332,
357,
9191,
332,
5411,
7296,
76,
8717,
450,
49,
3274,
332,
4416,
22737,
350,
4630,
6880,
272,
476,
332,
5... |
When is the japanese title what is the japanese translation? | CREATE TABLE table_2458 (
"#" real,
"Japanese title" text,
"R\u014dmaji" text,
"Japanese translation" text,
"Vocalist" text,
"Episodes used" text
) | SELECT "Japanese translation" FROM table_2458 WHERE "Japanese title" = '七色アーチ' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
3449,
41,
96,
4663,
121,
490,
6,
96,
683,
9750,
1496,
15,
2233,
121,
1499,
6,
96,
448,
2,
76,
632,
2534,
26,
16547,
23,
121,
1499,
6,
96,
683,
9750,
1496,
15,
731... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
683,
9750,
1496,
15,
7314,
121,
21680,
953,
834,
2266,
3449,
549,
17444,
427,
96,
683,
9750,
1496,
15,
2233,
121,
3274,
3,
31,
2,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the region for the 38xa-5 catalog? | CREATE TABLE table_15647 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
) | SELECT "Region" FROM table_15647 WHERE "Catalog" = '38xa-5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25463,
4177,
41,
96,
17748,
23,
106,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
434,
10333,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
18610,
9,
2152,
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,
17748,
23,
106,
121,
21680,
953,
834,
25463,
4177,
549,
17444,
427,
96,
18610,
9,
2152,
121,
3274,
3,
31,
3747,
226,
9,
4525,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the original air date for episode 17 in the season? | CREATE TABLE table_15431251_1 (
original_air_date VARCHAR,
no_in_season VARCHAR
) | SELECT original_air_date FROM table_15431251_1 WHERE no_in_season = 17 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
4906,
10124,
536,
834,
536,
41,
926,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
150,
834,
77,
834,
9476,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
926,
834,
2256,
834,
5522,
21680,
953,
834,
1808,
4906,
10124,
536,
834,
536,
549,
17444,
427,
150,
834,
77,
834,
9476,
3274,
1003,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is the total number of times pancho carter finished the indy 500 in the top 10 > ? | CREATE TABLE table_204_939 (
id number,
"year" number,
"chassis" text,
"engine" text,
"start" text,
"finish" text
) | SELECT COUNT(*) FROM table_204_939 WHERE "finish" <= 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
1298,
3288,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
524,
6500,
7,
121,
1499,
6,
96,
20165,
121,
1499,
6,
96,
10208,
121,
1499,
6,
96,
25535,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
26363,
834,
1298,
3288,
549,
17444,
427,
96,
25535,
121,
3,
2,
2423,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
heart rate less than 50 beats / min | CREATE TABLE table_train_38 (
"id" int,
"left_ventricular_ejection_fraction_lvef" int,
"child_pugh_class" string,
"systolic_blood_pressure_sbp" int,
"heart_disease" bool,
"acute_hepatitis" bool,
"liver_disease" bool,
"heart_rate" int,
"NOUSE" float
) | SELECT * FROM table_train_38 WHERE heart_rate < 50 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
3747,
41,
96,
23,
26,
121,
16,
17,
6,
96,
17068,
834,
31695,
834,
15,
21440,
834,
22513,
834,
40,
162,
89,
121,
16,
17,
6,
96,
11495,
834,
102,
14439,
834,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1429,
21680,
953,
834,
9719,
834,
3747,
549,
17444,
427,
842,
834,
2206,
3,
2,
943,
1,
-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 score on May 3? | CREATE TABLE table_75531 (
"Date" text,
"Home" text,
"Score" text,
"Visitor" text,
"Record" text
) | SELECT "Score" FROM table_75531 WHERE "Date" = 'may 3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
755,
3341,
41,
96,
308,
342,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
3072,
755,
3341,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
13726,
220,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the opponent with round of 1 and time of n/a | CREATE TABLE table_68932 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
) | SELECT "Opponent" FROM table_68932 WHERE "Round" = '1' AND "Time" = 'n/a' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
4271,
357,
41,
96,
1649,
7,
535,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
23351,
107,
32,
26,
121,
1499,
6,
96,
427,
2169,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
102,
9977,
121,
21680,
953,
834,
3651,
4271,
357,
549,
17444,
427,
96,
448,
32,
1106,
121,
3274,
3,
31,
536,
31,
3430,
96,
13368,
121,
3274,
3,
31,
29,
87,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many spectators attended the game that ended in a result of w29-7? | CREATE TABLE table_76958 (
"Date" text,
"Opponent" text,
"Site" text,
"Result" text,
"Attendance" text
) | SELECT "Attendance" FROM table_76958 WHERE "Result" = 'w29-7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3959,
3301,
927,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
26030,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
188,
17,
324,
26,
663,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
17,
324,
26,
663,
121,
21680,
953,
834,
3959,
3301,
927,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
210,
3166,
6832,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999? | CREATE TABLE table_name_52 (
time_elapsed VARCHAR,
launched VARCHAR,
closest_approach VARCHAR
) | SELECT time_elapsed FROM table_name_52 WHERE launched = "15 october 1997" AND closest_approach = "24 june 1999" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
97,
834,
15,
16543,
26,
584,
4280,
28027,
6,
3759,
584,
4280,
28027,
6,
12257,
834,
12497,
1836,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
97,
834,
15,
16543,
26,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
3759,
3274,
96,
1808,
3,
32,
75,
235,
1152,
6622,
121,
3430,
12257,
834,
12497,
1836,
3274,
96,
2266,
3,
6959,
15,
5247,
121,
1,
-100,
-10... |
Who did home team sunderland play on 23 january 1982? | CREATE TABLE table_name_33 (
away_team VARCHAR,
date VARCHAR,
home_team VARCHAR
) | SELECT away_team FROM table_name_33 WHERE date = "23 january 1982" AND home_team = "sunderland" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
550,
834,
11650,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
410,
234,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
11650,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
833,
3274,
96,
2773,
3,
7066,
76,
1208,
14505,
121,
3430,
234,
834,
11650,
3274,
96,
7,
7248,
40,
232,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
In which Parish (Prestegjeld) is the church called Stavang Kyrkje? | CREATE TABLE table_name_80 (parish__prestegjeld_ VARCHAR, church_name VARCHAR) | SELECT parish__prestegjeld_ FROM table_name_80 WHERE church_name = "stavang kyrkje" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
1893,
1273,
834,
834,
2026,
849,
122,
354,
8804,
834,
584,
4280,
28027,
6,
2078,
834,
4350,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
84,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14961,
834,
834,
2026,
849,
122,
354,
8804,
834,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
2078,
834,
4350,
3274,
96,
2427,
2132,
122,
3,
3781,
52,
157,
1924,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the Appointed by that has the Title of Ambassador Extraordinary and Plenipotentiary and has a Representative of Spruille Braden? | CREATE TABLE table_name_55 (
appointed_by VARCHAR,
title VARCHAR,
representative VARCHAR
) | SELECT appointed_by FROM table_name_55 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "spruille braden" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
7817,
834,
969,
584,
4280,
28027,
6,
2233,
584,
4280,
28027,
6,
6978,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
5085,
2700,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7817,
834,
969,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
2233,
3274,
96,
14303,
7,
7,
7923,
9468,
11,
3,
102,
26532,
3013,
295,
23,
1208,
121,
3430,
6978,
3274,
96,
7,
12129,
1092,
15,
3858,
537,
121,
1,... |
Which Mountains classification has Points classification of not awarded? | CREATE TABLE table_6003 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Combination classification" text,
"Team classification" text
) | SELECT "Mountains classification" FROM table_6003 WHERE "Points classification" = 'not awarded' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
6007,
519,
41,
96,
134,
6505,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
20857,
13774,
121,
1499,
6,
96,
22512,
7,
13774,
121,
1499,
6,
96,
329,
32,
14016,
77,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
329,
32,
14016,
77,
7,
13774,
121,
21680,
953,
834,
6007,
519,
549,
17444,
427,
96,
22512,
7,
13774,
121,
3274,
3,
31,
2264,
5539,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Visitor is listed as having a Date of December 17? | CREATE TABLE table_name_13 (
visitor VARCHAR,
date VARCHAR
) | SELECT visitor FROM table_name_13 WHERE date = "december 17" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
7019,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
4957,
127,
19,
2616,
38,
578,
3,
9,
7678,
13,
1882,
1003,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7019,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
833,
3274,
96,
221,
75,
18247,
1003,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the CPU chip in the Dishplayer 7100, which is a dish tuner with a v.90 modem? | CREATE TABLE table_name_10 (
cpu_chip VARCHAR,
model VARCHAR,
modem VARCHAR,
type VARCHAR
) | SELECT cpu_chip FROM table_name_10 WHERE modem = "v.90" AND type = "dish tuner" AND model = "dishplayer 7100" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
3,
75,
4987,
834,
17362,
584,
4280,
28027,
6,
825,
584,
4280,
28027,
6,
2175,
51,
584,
4280,
28027,
6,
686,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
75,
4987,
834,
17362,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
2175,
51,
3274,
96,
208,
5,
2394,
121,
3430,
686,
3274,
96,
26,
1273,
5240,
49,
121,
3430,
825,
3274,
96,
26,
1273,
20846,
489,
2915,
121... |
What is the largest n value for 55.6% r1b1c4 (r-v69)? | CREATE TABLE table_73307 (
"Region" text,
"Population" text,
"Country" text,
"Language" text,
"N" real,
"Total%" text,
"R1b1c (R-V88)" text,
"R1b1a2 (R-M269)" text,
"R1b1c* (R-V88*)" text,
"R1b1c4 (R-V69)" text
) | SELECT MAX("N") FROM table_73307 WHERE "R1b1c4 (R-V69)" = '55.6%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
1458,
940,
41,
96,
17748,
23,
106,
121,
1499,
6,
96,
27773,
7830,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
434,
1468,
76,
545,
121,
1499,
6,
96,
567,
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,
4800,
4,
599,
121,
567,
8512,
21680,
953,
834,
4552,
1458,
940,
549,
17444,
427,
96,
448,
536,
115,
536,
75,
591,
41,
448,
18,
553,
3951,
61,
121,
3274,
3,
31,
3769,
5,
6370,
31,
1,
-100,
-100,
-100,
-100,
-100,... |
Name the record for 21 january 2008 | CREATE TABLE table_57254 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
) | SELECT "Record" FROM table_57254 WHERE "Date" = '21 january 2008' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3436,
1828,
591,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
2796,
9,
26,
53,
2604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1649,
7621,
121,
21680,
953,
834,
3436,
1828,
591,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
2658,
3,
7066,
76,
1208,
2628,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the sum for December when the record was 22-12-5? | CREATE TABLE table_36845 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text
) | SELECT SUM("December") FROM table_36845 WHERE "Record" = '22-12-5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3651,
2128,
41,
96,
23055,
121,
490,
6,
96,
29835,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,
121,
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,
180,
6122,
599,
121,
29835,
8512,
21680,
953,
834,
519,
3651,
2128,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
2884,
5947,
4525,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the party for the incumbent Wyche Fowler? | CREATE TABLE table_1341598_11 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341598_11 WHERE incumbent = "Wyche Fowler" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
1808,
3916,
834,
2596,
41,
8071,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1088,
21,
8,
28406,
11314,
1033,
4452,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1088,
21680,
953,
834,
23747,
1808,
3916,
834,
2596,
549,
17444,
427,
28406,
3274,
96,
518,
63,
1033,
4452,
210,
1171,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the attendance when the Hawks played? | CREATE TABLE table_name_24 (attendance VARCHAR, home VARCHAR) | SELECT COUNT(attendance) FROM table_name_24 WHERE home = "hawks" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
15116,
663,
584,
4280,
28027,
6,
234,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
11364,
116,
8,
12833,
7,
1944,
58,
1,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
234,
3274,
96,
14400,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the state (class) where the new successor was formally installed on May 11, 1966? | CREATE TABLE table_1847180_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR) | SELECT state__class_ FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
4177,
20829,
834,
519,
41,
5540,
834,
834,
4057,
834,
584,
4280,
28027,
6,
833,
834,
858,
834,
7,
17431,
24901,
7,
834,
2032,
138,
834,
14790,
584,
4280,
28027,
61,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
538,
834,
834,
4057,
834,
21680,
953,
834,
2606,
4177,
20829,
834,
519,
549,
17444,
427,
833,
834,
858,
834,
7,
17431,
24901,
7,
834,
2032,
138,
834,
14790,
3274,
96,
15881,
9694,
20658,
121,
1,
-100,
-100,
-100,
-1... |
What is the lowest week number where they played against the Detroit Lions? | CREATE TABLE table_75577 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Venue" text,
"Attendance" real
) | SELECT MIN("Week") FROM table_75577 WHERE "Opponent" = 'detroit lions' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
755,
4013,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
553,
35,
76,
15,
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,
3,
17684,
599,
121,
518,
10266,
8512,
21680,
953,
834,
3072,
755,
4013,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
26,
15252,
155,
3,
7325,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who won when Elon was the runner-up? | CREATE TABLE table_57213 (
"Year" text,
"Champion" text,
"Score" text,
"Runner-Up" text,
"Location" text,
"Semi-Finalist #1" text,
"Semi-Finalist #2" text
) | SELECT "Champion" FROM table_57213 WHERE "Runner-Up" = 'elon' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3436,
357,
2368,
41,
96,
476,
2741,
121,
1499,
6,
96,
254,
1483,
12364,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
23572,
18,
11161,
121,
1499,
6,
96,
434,
32,
75,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
254,
1483,
12364,
121,
21680,
953,
834,
3436,
357,
2368,
549,
17444,
427,
96,
23572,
18,
11161,
121,
3274,
3,
31,
15,
40,
106,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the number of weeks that had a Billboard Hot 100 Hits theme, an order number of 3, and an original artist of Sixpence None the Richer? | CREATE TABLE table_26250155_1 (week__number VARCHAR, original_artist VARCHAR, theme VARCHAR, order__number VARCHAR) | SELECT COUNT(week__number) FROM table_26250155_1 WHERE theme = "Billboard Hot 100 Hits" AND order__number = "3" AND original_artist = "Sixpence None the Richer" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
11434,
20896,
834,
536,
41,
8041,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
926,
834,
1408,
343,
584,
4280,
28027,
6,
3800,
584,
4280,
28027,
6,
455,
834,
834,
5525,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8041,
834,
834,
5525,
1152,
61,
21680,
953,
834,
2688,
11434,
20896,
834,
536,
549,
17444,
427,
3800,
3274,
96,
279,
1092,
1976,
5396,
910,
11436,
7,
121,
3430,
455,
834,
834,
5525,
1152,
3274,
96,
... |
Who was the team 2 in the game with a team 1 of Liege Basket? | CREATE TABLE table_name_88 (team__number2 VARCHAR, team__number1 VARCHAR) | SELECT team__number2 FROM table_name_88 WHERE team__number1 = "liege basket" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
11650,
834,
834,
5525,
1152,
357,
584,
4280,
28027,
6,
372,
834,
834,
5525,
1152,
536,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
834,
834,
5525,
1152,
357,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
372,
834,
834,
5525,
1152,
536,
3274,
96,
1896,
397,
8235,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What Golden point(s) has the Venue Allianz Stadium? | CREATE TABLE table_14964 (
"Home" text,
"Score" text,
"Away" text,
"Venue" text,
"Golden point(s) scorer" text
) | SELECT "Golden point(s) scorer" FROM table_14964 WHERE "Venue" = 'allianz stadium' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24816,
4389,
41,
96,
19040,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
23576,
35,
500,
599,
7,
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,
23576,
35,
500,
599,
7,
61,
2604,
52,
121,
21680,
953,
834,
24816,
4389,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
1748,
23,
4557,
14939,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
In which series was season 18? | CREATE TABLE table_2409041_6 (no_in_series VARCHAR, no_in_season VARCHAR) | SELECT COUNT(no_in_series) FROM table_2409041_6 WHERE no_in_season = 18 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11944,
2394,
4853,
834,
948,
41,
29,
32,
834,
77,
834,
10833,
7,
584,
4280,
28027,
6,
150,
834,
77,
834,
9476,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
84,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
29,
32,
834,
77,
834,
10833,
7,
61,
21680,
953,
834,
11944,
2394,
4853,
834,
948,
549,
17444,
427,
150,
834,
77,
834,
9476,
3274,
507,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many different heights are there for the contestants from Warsaw? | CREATE TABLE table_20669355_2 (height__ft_ VARCHAR, hometown VARCHAR) | SELECT COUNT(height__ft_) FROM table_20669355_2 WHERE hometown = "Warsaw" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
3539,
4271,
3769,
834,
357,
41,
88,
2632,
834,
834,
89,
17,
834,
584,
4280,
28027,
6,
22295,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
315,
3902,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
88,
2632,
834,
834,
89,
17,
834,
61,
21680,
953,
834,
1755,
3539,
4271,
3769,
834,
357,
549,
17444,
427,
22295,
3274,
96,
21032,
13125,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, visualize a line chart about the change of manager_id over hire_date . | CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_... | SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1440,
41,
2847,
17161,
11824,
834,
4309,
3,
4331,
4059,
16426,
6,
2847,
17161,
11824,
834,
567,
17683,
3,
4331,
4059,
599,
2445,
201,
4083,
517,
9215,
834,
4309,
7908,
1982,
599,
1714,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
454,
14132,
834,
308,
6048,
6,
283,
15610,
17966,
834,
4309,
21680,
1652,
549,
17444,
427,
180,
4090,
24721,
272,
7969,
518,
23394,
3,
25129,
3430,
586,
2313,
3430,
3,
6657,
329,
16994,
9215,
834,
4051,
382,
3,
2,
3... |
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and the average of price , and group by attribute name. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7554,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
5312,
3396,
254,
26330,
434,
6,
15248,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
23954,
6,
332,
5411,
345,
4920,
21680,
7554,
6157,
332,
536,
3,
15355,
3162,
15248,
7,
6157,
332,
357,
9191,
332,
5411,
7296,
76,
8717,
450,
49,
3274,
332,
4416,
22737,
350,
4630,
6880,
272,
476,
332,
441... |
Who was the winning team at Zandvoort? | CREATE TABLE table_60864 (
"Round" real,
"Circuit" text,
"Date" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Team" text
) | SELECT "Winning Team" FROM table_60864 WHERE "Circuit" = 'zandvoort' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
3840,
591,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
8931,
15,
14258,
121,
1499,
6,
96,
371,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
518,
10503,
2271,
121,
21680,
953,
834,
3328,
3840,
591,
549,
17444,
427,
96,
254,
23,
52,
21560,
121,
3274,
3,
31,
172,
232,
1621,
127,
17,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the highest number of poles of the year before 1992 with more than 18 starts and winnings of $125,102? | CREATE TABLE table_name_81 (
poles INTEGER,
year VARCHAR,
starts VARCHAR,
winnings VARCHAR
) | SELECT MAX(poles) FROM table_name_81 WHERE starts > 18 AND winnings = "$125,102" AND year < 1992 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
11148,
7,
3,
21342,
17966,
6,
215,
584,
4280,
28027,
6,
3511,
584,
4280,
28027,
6,
3447,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
14332,
7,
61,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
3511,
2490,
507,
3430,
3447,
7,
3274,
96,
3229,
10124,
6,
14388,
121,
3430,
215,
3,
2,
9047,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many statuses are listed for the parish officially named Gagetown? | CREATE TABLE table_171356_2 (status VARCHAR, official_name VARCHAR) | SELECT COUNT(status) FROM table_171356_2 WHERE official_name = "Gagetown" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2368,
4834,
834,
357,
41,
8547,
302,
584,
4280,
28027,
6,
2314,
834,
4350,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
2637,
15,
7,
33,
2616,
21,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
8547,
302,
61,
21680,
953,
834,
2517,
2368,
4834,
834,
357,
549,
17444,
427,
2314,
834,
4350,
3274,
96,
517,
545,
3540,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many millions of U.S viewers watched the episode written by Liz Feldman? | CREATE TABLE table_29920800_1 (us_viewers__million_ VARCHAR, written_by VARCHAR) | SELECT us_viewers__million_ FROM table_29920800_1 WHERE written_by = "Liz Feldman" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
27749,
6192,
834,
536,
41,
302,
834,
4576,
277,
834,
834,
17030,
834,
584,
4280,
28027,
6,
1545,
834,
969,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
178,
834,
4576,
277,
834,
834,
17030,
834,
21680,
953,
834,
3166,
27749,
6192,
834,
536,
549,
17444,
427,
1545,
834,
969,
3274,
96,
434,
23,
172,
14436,
348,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What date was the game with the away team york city? | CREATE TABLE table_name_56 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_56 WHERE away_team = "york city" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4834,
41,
5522,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
47,
8,
467,
28,
8,
550,
372,
25453,
690,
58,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
4834,
549,
17444,
427,
550,
834,
11650,
3274,
96,
63,
127,
157,
690,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which player went to Michigan State? | CREATE TABLE table_10966926_2 (player_name VARCHAR, college VARCHAR) | SELECT player_name FROM table_10966926_2 WHERE college = "Michigan State" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1714,
4314,
3951,
2688,
834,
357,
41,
20846,
834,
4350,
584,
4280,
28027,
6,
1900,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1959,
877,
12,
5847,
1015,
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,
0... | [
3,
23143,
14196,
1959,
834,
4350,
21680,
953,
834,
1714,
4314,
3951,
2688,
834,
357,
549,
17444,
427,
1900,
3274,
96,
329,
362,
12588,
1015,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Pos has a First round smaller than 10? | CREATE TABLE table_name_11 (
pos VARCHAR,
first_round INTEGER
) | SELECT pos FROM table_name_11 WHERE first_round < 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2596,
41,
3,
2748,
584,
4280,
28027,
6,
166,
834,
7775,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
13995,
65,
3,
9,
1485,
1751,
2755,
145,
335,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
2748,
21680,
953,
834,
4350,
834,
2596,
549,
17444,
427,
166,
834,
7775,
3,
2,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What type is the school located in Macon, Georgia? | CREATE TABLE table_1973842_1 (type VARCHAR, location VARCHAR) | SELECT type FROM table_1973842_1 WHERE location = "Macon, Georgia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27181,
3747,
4165,
834,
536,
41,
6137,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
686,
19,
8,
496,
1069,
16,
2143,
106,
6,
5664,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
686,
21680,
953,
834,
27181,
3747,
4165,
834,
536,
549,
17444,
427,
1128,
3274,
96,
17772,
106,
6,
5664,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many consecutive years did w. harold browne coach | CREATE TABLE table_204_95 (
id number,
"name" text,
"title" text,
"first year\nin this position" number,
"years at nebraska" text,
"alma mater" text
) | SELECT "years at nebraska" - "years at nebraska" FROM table_204_95 WHERE "name" = 'w. harold browne' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3301,
41,
3,
23,
26,
381,
6,
96,
4350,
121,
1499,
6,
96,
21869,
121,
1499,
6,
96,
14672,
215,
2,
29,
77,
48,
1102,
121,
381,
6,
96,
1201,
7,
44,
3,
29,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1201,
7,
44,
3,
29,
15,
1939,
10717,
121,
3,
18,
96,
1201,
7,
44,
3,
29,
15,
1939,
10717,
121,
21680,
953,
834,
26363,
834,
3301,
549,
17444,
427,
96,
4350,
121,
3274,
3,
31,
210,
5,
3,
3272,
1490,
4216,
... |
Visualize a bar chart for what are the different classes of races, and how many races correspond to each? | CREATE TABLE track (
Track_ID int,
Name text,
Location text,
Seating real,
Year_Opened real
)
CREATE TABLE race (
Race_ID int,
Name text,
Class text,
Date text,
Track_ID text
) | SELECT Class, COUNT(*) FROM race GROUP BY Class | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1463,
41,
8799,
834,
4309,
16,
17,
6,
5570,
1499,
6,
10450,
1499,
6,
15915,
53,
490,
6,
2929,
834,
22696,
15,
26,
490,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4501,
6,
2847,
17161,
599,
1935,
61,
21680,
1964,
350,
4630,
6880,
272,
476,
4501,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many companies were created by Andy? | CREATE TABLE manufacturers (founder VARCHAR) | SELECT COUNT(*) FROM manufacturers WHERE founder = 'Andy' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5360,
41,
14435,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
688,
130,
990,
57,
12838,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
5360,
549,
17444,
427,
7174,
3274,
3,
31,
7175,
63,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the Hanja for McCune-Reischauer of ch n? | CREATE TABLE table_name_56 (
hanja VARCHAR,
mccune_reischauer VARCHAR
) | SELECT hanja FROM table_name_56 WHERE mccune_reischauer = "chŏn" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4834,
41,
3,
2618,
1191,
584,
4280,
28027,
6,
3,
51,
75,
75,
444,
834,
60,
2499,
12668,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
662... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
2618,
1191,
21680,
953,
834,
4350,
834,
4834,
549,
17444,
427,
3,
51,
75,
75,
444,
834,
60,
2499,
12668,
3274,
96,
524,
2,
29,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the date of the Paul Revere 250 race in the Daytona International Speedway circuit? | CREATE TABLE table_36400 (
"Race" text,
"Length" text,
"Class" text,
"Circuit" text,
"Date" text
) | SELECT "Date" FROM table_36400 WHERE "Circuit" = 'daytona international speedway' AND "Race" = 'paul revere 250' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3420,
5548,
41,
96,
448,
3302,
121,
1499,
6,
96,
434,
4606,
189,
121,
1499,
6,
96,
21486,
121,
1499,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
308,
342,
121,
1499,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
3420,
5548,
549,
17444,
427,
96,
254,
23,
52,
21560,
121,
3274,
3,
31,
1135,
17,
106,
9,
1038,
1634,
1343,
31,
3430,
96,
448,
3302,
121,
3274,
3,
31,
102,
9,
83,
26236,
5986,
... |
The theme Auditioner's Choice has what song choice? | CREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR) | SELECT song_choice FROM table_26250199_1 WHERE theme = "Auditioner's Choice" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
11434,
19479,
834,
536,
41,
7,
2444,
834,
3995,
867,
584,
4280,
28027,
6,
3800,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
37,
3800,
9835,
1575,
49,
31,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2324,
834,
3995,
867,
21680,
953,
834,
2688,
11434,
19479,
834,
536,
549,
17444,
427,
3800,
3274,
96,
188,
76,
10569,
49,
31,
7,
13745,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show the product name and total order quantity for each product in a bar chart. | CREATE TABLE Customer_Address_History (
customer_id INTEGER,
address_id INTEGER,
date_from DATETIME,
date_to DATETIME
)
CREATE TABLE Customer_Orders (
order_id INTEGER,
customer_id INTEGER,
order_date DATETIME,
order_status_code VARCHAR(15)
)
CREATE TABLE Order_Items (
order_item_i... | SELECT T1.product_name, SUM(SUM(T2.order_quantity)) FROM Products AS T1 JOIN Order_Items AS T2 ON T1.product_id = T2.product_id GROUP BY T1.product_name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7327,
834,
20773,
9377,
834,
12146,
13029,
41,
884,
834,
23,
26,
3,
21342,
17966,
6,
1115,
834,
23,
26,
3,
21342,
17966,
6,
833,
834,
7152,
309,
6048,
382,
15382,
6,
833,
834,
235,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
15892,
834,
4350,
6,
180,
6122,
599,
134,
6122,
599,
382,
4416,
9397,
834,
13158,
485,
61,
61,
21680,
7554,
6157,
332,
536,
3,
15355,
3162,
5197,
834,
196,
3524,
7,
6157,
332,
357,
9191,
332,
5411,
15892,... |
Who were the opponents in the final where the score in the final is 6 4, 7 6 2? | CREATE TABLE table_25154 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score in the final" text
) | SELECT "Opponents in the final" FROM table_25154 WHERE "Score in the final" = '6–4, 7–6 2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
27308,
41,
96,
15767,
287,
15,
121,
1499,
6,
96,
476,
2741,
121,
490,
6,
96,
254,
1483,
12364,
2009,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
13725,
687,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
102,
9977,
7,
16,
8,
804,
121,
21680,
953,
834,
1828,
27308,
549,
17444,
427,
96,
134,
9022,
16,
8,
804,
121,
3274,
3,
31,
948,
104,
8525,
489,
104,
948,
204,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Attendance number for the title of 44th? | CREATE TABLE table_76143 (
"Title" text,
"Season" text,
"Winner" text,
"Score" text,
"Runner-up" text,
"Venue" text,
"Attendance" text
) | SELECT "Attendance" FROM table_76143 WHERE "Title" = '44th' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3959,
25133,
41,
96,
382,
155,
109,
121,
1499,
6,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
23572,
18,
413,
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,
188,
17,
324,
26,
663,
121,
21680,
953,
834,
3959,
25133,
549,
17444,
427,
96,
382,
155,
109,
121,
3274,
3,
31,
3628,
189,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is every name origin with the name Ovda Fluctus? | CREATE TABLE table_16799784_12 (name VARCHAR) | SELECT name AS origin FROM table_16799784_12 WHERE name = "Ovda Fluctus" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4440,
21441,
591,
834,
2122,
41,
4350,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
334,
564,
5233,
28,
8,
564,
411,
208,
26,
9,
9507,
75,
17,
302,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
564,
6157,
5233,
21680,
953,
834,
2938,
4440,
21441,
591,
834,
2122,
549,
17444,
427,
564,
3274,
96,
667,
208,
26,
9,
9507,
75,
17,
302,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the party for first elected 1923? | CREATE TABLE table_1342393_23 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1342393_23 WHERE first_elected = 1923 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2773,
4271,
834,
2773,
41,
8071,
584,
4280,
28027,
6,
166,
834,
19971,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1088,
21,
166,
8160,
957,
2773,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1088,
21680,
953,
834,
23747,
2773,
4271,
834,
2773,
549,
17444,
427,
166,
834,
19971,
3274,
957,
2773,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which Mascot has an Enrollment of 640? | CREATE TABLE table_66055 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"County" text
) | SELECT "Mascot" FROM table_66055 WHERE "Enrollment" = '640' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27720,
3769,
41,
96,
29364,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
329,
9,
7,
4310,
121,
1499,
6,
96,
8532,
4046,
297,
121,
490,
6,
96,
196,
4950,
5498,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
9,
7,
4310,
121,
21680,
953,
834,
27720,
3769,
549,
17444,
427,
96,
8532,
4046,
297,
121,
3274,
3,
31,
23714,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
In what class does the verb with part 4 gelopen belong to? | CREATE TABLE table_1745843_7 (
class VARCHAR,
part_4 VARCHAR
) | SELECT class FROM table_1745843_7 WHERE part_4 = "gelopen" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27693,
3449,
4906,
834,
940,
41,
853,
584,
4280,
28027,
6,
294,
834,
591,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
125,
853,
405,
8,
7375,
28,
294,
314,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
853,
21680,
953,
834,
27693,
3449,
4906,
834,
940,
549,
17444,
427,
294,
834,
591,
3274,
96,
1803,
8751,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who was the winner on 28 December 2007? | CREATE TABLE table_name_59 (
winner VARCHAR,
date VARCHAR
) | SELECT winner FROM table_name_59 WHERE date = "28 december 2007" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
4668,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
4668,
30,
2059,
1882,
4101,
58,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4668,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
833,
3274,
96,
2577,
20,
75,
18247,
4101,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Metropolitan area has an Airport of toronto pearson international airport? | CREATE TABLE table_name_94 (
metropolitan_area VARCHAR,
airport VARCHAR
) | SELECT metropolitan_area FROM table_name_94 WHERE airport = "toronto pearson international airport" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
25233,
834,
498,
584,
4280,
28027,
6,
3761,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
20074,
616,
65,
46,
5735,
13,
12,
4438,
32,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
25233,
834,
498,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
3761,
3274,
96,
235,
4438,
32,
3,
29892,
106,
1038,
3761,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
When did the north melbourne team play? | CREATE TABLE table_name_7 (
date VARCHAR,
home_team VARCHAR
) | SELECT date FROM table_name_7 WHERE home_team = "north melbourne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
940,
41,
833,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
410,
8,
3457,
3,
2341,
26255,
372,
577,
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,
833,
21680,
953,
834,
4350,
834,
940,
549,
17444,
427,
234,
834,
11650,
3274,
96,
29,
127,
189,
3,
2341,
26255,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What college did Craig Zimmer go to? | CREATE TABLE table_10975034_5 (college VARCHAR, player VARCHAR) | SELECT college FROM table_10975034_5 WHERE player = "Craig Zimmer" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17304,
9979,
3710,
834,
755,
41,
3297,
7883,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1900,
410,
12870,
11519,
281,
12,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1900,
21680,
953,
834,
17304,
9979,
3710,
834,
755,
549,
17444,
427,
1959,
3274,
96,
254,
7253,
122,
11519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the document type code with most number of documents? | CREATE TABLE projects (
project_id number,
project_details text
)
CREATE TABLE statements (
statement_id number,
statement_details text
)
CREATE TABLE documents_with_expenses (
document_id number,
budget_type_code text,
document_details text
)
CREATE TABLE documents (
document_id numb... | SELECT document_type_code FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1195,
41,
516,
834,
23,
26,
381,
6,
516,
834,
221,
5756,
7,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
6643,
41,
2493,
834,
23,
26,
381,
6,
2493,
834,
221,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1708,
834,
6137,
834,
4978,
21680,
2691,
350,
4630,
6880,
272,
476,
1708,
834,
6137,
834,
4978,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For the attribute All_Road and Team_ID, show their proportion by a pie chart. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT All_Road, Team_ID FROM basketball_match | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3819,
41,
1121,
834,
4309,
16,
17,
6,
1121,
1499,
6,
10450,
1499,
6,
3,
20100,
490,
6,
71,
89,
8027,
23,
257,
1499,
6,
695,
4046,
297,
490,
6,
7486,
4350,
1499,
6,
14542,
834,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
448,
32,
9,
26,
6,
2271,
834,
4309,
21680,
8498,
834,
19515,
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,... |
Which Country has a Player of jodie mudd? | CREATE TABLE table_name_62 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_62 WHERE player = "jodie mudd" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
17529,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
6993,
65,
3,
9,
12387,
13,
3,
1927,
2498,
3,
11557,
26,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
684,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
1959,
3274,
96,
1927,
2498,
3,
11557,
26,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who had high assists when they played against San Antonio? | CREATE TABLE table_10812293_3 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_10812293_3 WHERE team = "San Antonio" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
16169,
20889,
4271,
834,
519,
41,
6739,
834,
6500,
7,
17,
7,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
141,
306,
13041,
116,
79,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
306,
834,
6500,
7,
17,
7,
21680,
953,
834,
16169,
20889,
4271,
834,
519,
549,
17444,
427,
372,
3274,
96,
134,
152,
12923,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Little League World Series took place in Parsippany? | CREATE TABLE table_name_70 (llws VARCHAR, city VARCHAR) | SELECT llws FROM table_name_70 WHERE city = "parsippany" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
195,
210,
7,
584,
4280,
28027,
6,
690,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
5258,
3815,
1150,
4531,
808,
286,
16,
2180,
7,
23,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
195,
210,
7,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
690,
3274,
96,
1893,
7,
23,
1572,
6820,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What did the away team score when the home team was south melbourne? | CREATE TABLE table_78411 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team score" FROM table_78411 WHERE "Home team" = 'south melbourne' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
591,
2596,
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,
188,
1343,
372,
2604,
121,
21680,
953,
834,
3940,
591,
2596,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
7,
670,
107,
3,
2341,
26255,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
how many pianists completed at least two notable works ? | CREATE TABLE table_204_748 (
id number,
"composer" text,
"born" number,
"died" number,
"nationality" text,
"notable works for piano" text,
"remarks" text
) | SELECT COUNT("composer") FROM table_204_748 WHERE "notable works for piano" >= 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
940,
3707,
41,
3,
23,
26,
381,
6,
96,
287,
2748,
49,
121,
1499,
6,
96,
7473,
121,
381,
6,
96,
2498,
26,
121,
381,
6,
96,
16557,
485,
121,
1499,
6,
96,
226... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
287,
2748,
49,
8512,
21680,
953,
834,
26363,
834,
940,
3707,
549,
17444,
427,
96,
2264,
179,
930,
21,
8355,
121,
2490,
2423,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is South Africa's to par? | CREATE TABLE table_name_35 (
to_par VARCHAR,
country VARCHAR
) | SELECT to_par FROM table_name_35 WHERE country = "south africa" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
12,
834,
1893,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
1013,
2648,
31,
7,
12,
260,
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,
12,
834,
1893,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
684,
3274,
96,
7,
670,
107,
24040,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Can you tell me the sum of Draws that has the Against larger than 1106, and the Wins larger than 13? | CREATE TABLE table_7683 (
"Ballarat FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) | SELECT SUM("Draws") FROM table_7683 WHERE "Against" > '1106' AND "Wins" > '13' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3959,
4591,
41,
96,
279,
1748,
9,
1795,
7212,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
279,
10070,
121,
490,
6,
96,
434,
13526,
7,
121,
490,
6,
96,
308,
10936,
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,
180,
6122,
599,
121,
308,
10936,
7,
8512,
21680,
953,
834,
3959,
4591,
549,
17444,
427,
96,
20749,
121,
2490,
3,
31,
536,
16431,
31,
3430,
96,
18455,
7,
121,
2490,
3,
31,
2368,
31,
1,
-100,
-100,
-100,
-100,
-100,... |
What was Andretti's finish for the year he had a Buick engine and started 16th? | CREATE TABLE table_name_50 (
finish VARCHAR,
engine VARCHAR,
start VARCHAR
) | SELECT finish FROM table_name_50 WHERE engine = "buick" AND start = "16th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
1992,
584,
4280,
28027,
6,
1948,
584,
4280,
28027,
6,
456,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
275,
52,
10652,
31,
7,
1992... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
1992,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
1948,
3274,
96,
3007,
3142,
121,
3430,
456,
3274,
96,
2938,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who was the 2004 color commentator? | CREATE TABLE table_name_82 (
color_commentator_s_ VARCHAR,
year VARCHAR
) | SELECT color_commentator_s_ FROM table_name_82 WHERE year = 2004 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4613,
41,
945,
834,
287,
297,
1016,
834,
7,
834,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
4406,
945,
1670,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
945,
834,
287,
297,
1016,
834,
7,
834,
21680,
953,
834,
4350,
834,
4613,
549,
17444,
427,
215,
3274,
4406,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the sum of the yr plyf of coach ed robinson, who has a G plyf of 0? | CREATE TABLE table_44736 (
"Coach" text,
"First Yr" real,
"Last Yr" real,
"W-L%" real,
"G > .500" real,
"Yr plyf" real,
"G plyf" real,
"W plyf" real,
"L plyf" real
) | SELECT SUM("Yr plyf") FROM table_44736 WHERE "G plyf" = '0' AND "Coach" = 'ed robinson' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
4177,
3420,
41,
96,
3881,
1836,
121,
1499,
6,
96,
25171,
3,
476,
52,
121,
490,
6,
96,
3612,
7,
17,
3,
476,
52,
121,
490,
6,
96,
518,
18,
434,
1454,
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,
180,
6122,
599,
121,
476,
52,
3,
102,
120,
89,
8512,
21680,
953,
834,
591,
4177,
3420,
549,
17444,
427,
96,
517,
3,
102,
120,
89,
121,
3274,
3,
31,
632,
31,
3430,
96,
3881,
1836,
121,
3274,
3,
31,
15,
26,
3,
... |
what is minimum age of patients whose ethnicity is black/cape verdean and days of hospital stay is 9? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic ... | SELECT MIN(demographic.age) FROM demographic WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND demographic.days_stay = "9" | [
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,
3,
17684,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
15,
189,
2532,
485,
3274,
96,
8775,
15339,
87,
16986,
427,
3,
16174,
308,
20152,
121,
3430,
14798,
5,
1135,
7,
834,
21545,
3274,
96,
... |
count the number of patients whose insurance is private and procedure long title is percutaneous [endoscopic] gastrostomy [peg]? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescription... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.long_title = "Percutaneous [endoscopic] gastrostomy [PEG]" | [
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,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
What was the result of the race that had a group of G1 at Moonee Valley? | CREATE TABLE table_42530 (
"Result" text,
"Date" text,
"Race" text,
"Venue" text,
"Group" text,
"Distance" text,
"Weight (kg)" real,
"Time" text,
"Jockey" text,
"Winner/2nd" text
) | SELECT "Result" FROM table_42530 WHERE "Group" = 'g1' AND "Venue" = 'moonee valley' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4165,
26918,
41,
96,
20119,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
448,
3302,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
27247,
121,
1499,
6,
96,
308,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20119,
121,
21680,
953,
834,
4165,
26918,
549,
17444,
427,
96,
27247,
121,
3274,
3,
31,
122,
536,
31,
3430,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
51,
32,
782,
15,
10645,
31,
1,
-100,
-100,
-100,
-100,
-100,... |
What is the Score of the game with a decision of Lundqvist, the November less than 28, and opponent was Boston Bruins? | CREATE TABLE table_47491 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Decision" text,
"Record" text
) | SELECT "Score" FROM table_47491 WHERE "Decision" = 'lundqvist' AND "November" < '28' AND "Opponent" = 'boston bruins' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4177,
3647,
536,
41,
96,
23055,
121,
490,
6,
96,
28635,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
2962,
18901,
121,
1499,
6,
96,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
4177,
3647,
536,
549,
17444,
427,
96,
2962,
18901,
121,
3274,
3,
31,
40,
1106,
1824,
3466,
17,
31,
3430,
96,
28635,
121,
3,
2,
3,
31,
2577,
31,
3430,
96,
667,
102,
9977,
121,... |
Can you tell me the lowest Total natches that has the Points won of 3, and the Year of 1994? | CREATE TABLE table_name_11 (
total_matches INTEGER,
points_won VARCHAR,
year VARCHAR
) | SELECT MIN(total_matches) FROM table_name_11 WHERE points_won = 3 AND year = "1994" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2596,
41,
792,
834,
19515,
15,
7,
3,
21342,
17966,
6,
979,
834,
210,
106,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
1072,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
235,
1947,
834,
19515,
15,
7,
61,
21680,
953,
834,
4350,
834,
2596,
549,
17444,
427,
979,
834,
210,
106,
3274,
220,
3430,
215,
3274,
96,
19479,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Result of the game against Philadelphia Eagles? | CREATE TABLE table_name_62 (
result VARCHAR,
opponent VARCHAR
) | SELECT result FROM table_name_62 WHERE opponent = "philadelphia eagles" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
741,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
20119,
13,
8,
467,
581,
9511,
10341,
7,
58,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
15264,
3274,
96,
18118,
15311,
11692,
9,
3,
15,
9,
3537,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What are the titles of all the albums alphabetically ascending? | CREATE TABLE media_types (
id number,
name text
)
CREATE TABLE playlists (
id number,
name text
)
CREATE TABLE genres (
id number,
name text
)
CREATE TABLE customers (
id number,
first_name text,
last_name text,
company text,
address text,
city text,
state text,
... | SELECT title FROM albums ORDER BY title | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
783,
834,
6137,
7,
41,
3,
23,
26,
381,
6,
564,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
23424,
7,
41,
3,
23,
26,
381,
6,
564,
1499,
3,
61,
3,
32102,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2233,
21680,
14234,
4674,
11300,
272,
476,
2233,
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,
... |
Where was the decision draw before round 5? | CREATE TABLE table_name_13 (location VARCHAR, method VARCHAR, round VARCHAR) | SELECT location FROM table_name_13 WHERE method = "decision draw" AND round < 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
14836,
584,
4280,
28027,
6,
1573,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
8,
1357,
3314,
274,
1751,
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,
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,
2368,
549,
17444,
427,
1573,
3274,
96,
221,
18901,
3314,
121,
3430,
1751,
3,
2,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Give a me a bar graph to show the friends's name, and ages of all people who are older than the average age of a person, and display by the y-axis from low to high please. | CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
) | SELECT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T1.age > (SELECT AVG(age) FROM Person) ORDER BY T1.age | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5780,
41,
564,
3,
4331,
4059,
599,
1755,
201,
1246,
3,
21342,
17966,
6,
690,
3,
3463,
4,
382,
6,
7285,
3,
3463,
4,
382,
6,
613,
3,
3463,
4,
382,
3,
61,
3,
32102,
32103,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
4350,
6,
332,
5411,
545,
21680,
5780,
6157,
332,
536,
3,
15355,
3162,
5780,
17701,
6157,
332,
357,
9191,
332,
5411,
4350,
3274,
332,
4416,
15504,
549,
17444,
427,
332,
5411,
545,
2490,
41,
23143,
14196,
71,... |
What office was law preservation ticket holder William E. Barron running for? | CREATE TABLE table_41826 (
"Office" text,
"Democratic ticket" text,
"Republican ticket" text,
"Socialist ticket" text,
"Constitutional ticket" text,
"Law Preservation ticket" text
) | SELECT "Office" FROM table_41826 WHERE "Law Preservation ticket" = 'william e. barron' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2606,
2688,
41,
96,
22098,
121,
1499,
6,
96,
19679,
447,
4142,
121,
1499,
6,
96,
1649,
15727,
152,
4142,
121,
1499,
6,
96,
5231,
4703,
343,
4142,
121,
1499,
6,
96,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22098,
121,
21680,
953,
834,
591,
2606,
2688,
549,
17444,
427,
96,
3612,
210,
31567,
4142,
121,
3274,
3,
31,
8894,
23,
265,
3,
15,
5,
1207,
52,
106,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the additional major sponsor(s) that has red as its main color after 1991? | CREATE TABLE table_11389 (
"Year" real,
"Main colour(s)" text,
"Additional colour(s)" text,
"Main sponsor(s)" text,
"Additional major sponsor(s)" text
) | SELECT "Additional major sponsor(s)" FROM table_11389 WHERE "Main colour(s)" = 'red' AND "Year" > '1991' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20522,
3914,
41,
96,
476,
2741,
121,
490,
6,
96,
21978,
29,
3243,
599,
7,
61,
121,
1499,
6,
96,
20773,
4749,
138,
3243,
599,
7,
61,
121,
1499,
6,
96,
21978,
29,
9037,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20773,
4749,
138,
779,
9037,
599,
7,
61,
121,
21680,
953,
834,
20522,
3914,
549,
17444,
427,
96,
21978,
29,
3243,
599,
7,
61,
121,
3274,
3,
31,
1271,
31,
3430,
96,
476,
2741,
121,
2490,
3,
31,
2294,
4729,
31... |
Which player is featured for 2001-2002? | CREATE TABLE table_name_28 (player VARCHAR, year VARCHAR) | SELECT player FROM table_name_28 WHERE year = "2001-2002" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
20846,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1959,
19,
4510,
21,
4402,
18,
24898,
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,
1959,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
215,
3274,
96,
23658,
18,
24898,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
List the name and count of each product in all orders. | CREATE TABLE orders (
order_id VARCHAR
)
CREATE TABLE order_items (
order_id VARCHAR,
product_id VARCHAR
)
CREATE TABLE products (
product_name VARCHAR,
product_id VARCHAR
) | SELECT T3.product_name, COUNT(*) FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5022,
41,
455,
834,
23,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
455,
834,
23,
3524,
7,
41,
455,
834,
23,
26,
584,
4280,
28027,
6,
556,
834... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5787,
15892,
834,
4350,
6,
2847,
17161,
599,
1935,
61,
21680,
5022,
6157,
332,
536,
3,
15355,
3162,
455,
834,
23,
3524,
7,
6157,
332,
357,
3,
15355,
3162,
494,
6157,
332,
519,
9191,
332,
5411,
9397,
834,
23,
... |
Name the current womens lacrosse conference for 6000 enrollment | CREATE TABLE table_27378582_1 (current_womens_lacrosse_conference VARCHAR, enrollment VARCHAR) | SELECT current_womens_lacrosse_conference FROM table_27378582_1 WHERE enrollment = 6000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
4118,
4433,
4613,
834,
536,
41,
14907,
834,
210,
32,
904,
7,
834,
521,
11465,
15,
834,
28496,
584,
4280,
28027,
6,
17938,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
750,
834,
210,
32,
904,
7,
834,
521,
11465,
15,
834,
28496,
21680,
953,
834,
2555,
4118,
4433,
4613,
834,
536,
549,
17444,
427,
17938,
3274,
3,
21987,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the average song rating for each language Plot them as bar chart, display by the X in ascending. | CREATE TABLE files (
f_id number(10),
artist_name varchar2(50),
file_size varchar2(20),
duration varchar2(20),
formats varchar2(20)
)
CREATE TABLE song (
song_name varchar2(50),
artist_name varchar2(50),
country varchar2(20),
f_id number(10),
genre_is varchar2(20),
rating nu... | SELECT languages, AVG(rating) FROM song GROUP BY languages ORDER BY languages | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2073,
41,
3,
89,
834,
23,
26,
381,
599,
16968,
6,
2377,
834,
4350,
3,
4331,
4059,
357,
599,
1752,
201,
1042,
834,
7991,
3,
4331,
4059,
357,
599,
1755,
201,
8659,
3,
4331,
4059,
357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8024,
6,
71,
17217,
599,
52,
1014,
61,
21680,
2324,
350,
4630,
6880,
272,
476,
8024,
4674,
11300,
272,
476,
8024,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
When pinyin is xīnluó qū, what is the simplified value? | CREATE TABLE table_1204998_2 (simplified VARCHAR, pinyin VARCHAR) | SELECT COUNT(simplified) FROM table_1204998_2 WHERE pinyin = "Xīnluó Qū" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15518,
3647,
3916,
834,
357,
41,
7,
10296,
3676,
584,
4280,
28027,
6,
4522,
63,
77,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
4522,
63,
77,
19,
3,
226,
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,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
7,
10296,
3676,
61,
21680,
953,
834,
15518,
3647,
3916,
834,
357,
549,
17444,
427,
4522,
63,
77,
3274,
96,
4,
2,
29,
40,
76,
4922,
1593,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many years entered service when there were 13 locomotives? | CREATE TABLE table_name_89 (
entered_service VARCHAR,
locomotive VARCHAR
) | SELECT COUNT(entered_service) FROM table_name_89 WHERE locomotive = "13" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
5136,
834,
5114,
584,
4280,
28027,
6,
31301,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
203,
5136,
313,
116,
132,
130,
1179,
31301... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
35,
11196,
834,
5114,
61,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
31301,
3274,
96,
2368,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who was the opposing team in the test match? | CREATE TABLE table_name_76 (
opposing_team VARCHAR,
status VARCHAR
) | SELECT opposing_team FROM table_name_76 WHERE status = "test match" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
10720,
53,
834,
11650,
584,
4280,
28027,
6,
2637,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
10720,
53,
372,
16,
8,
794,
1588... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10720,
53,
834,
11650,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
2637,
3274,
96,
4377,
1588,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many rounds did germ n s nchez drive in where the chassis was dallara f308? | CREATE TABLE table_44019 (
"Team" text,
"Driver" text,
"Class" text,
"Chassis" text,
"Rounds" text
) | SELECT "Rounds" FROM table_44019 WHERE "Chassis" = 'dallara f308' AND "Driver" = 'germán sánchez' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22335,
2294,
41,
96,
18699,
121,
1499,
6,
96,
20982,
52,
121,
1499,
6,
96,
21486,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
448,
32,
1106,
7,
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,
1106,
7,
121,
21680,
953,
834,
22335,
2294,
549,
17444,
427,
96,
3541,
6500,
7,
121,
3274,
3,
31,
26,
1748,
2551,
3,
89,
1458,
927,
31,
3430,
96,
20982,
52,
121,
3274,
3,
31,
1304,
51,
12916,
3,
7... |
What club/province for the player with over 18 caps and plays the fly-half? | CREATE TABLE table_name_28 (club_province VARCHAR, caps VARCHAR, position VARCHAR) | SELECT club_province FROM table_name_28 WHERE caps > 18 AND position = "fly-half" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
13442,
834,
1409,
2494,
565,
584,
4280,
28027,
6,
16753,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1886,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1886,
834,
1409,
2494,
565,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
16753,
2490,
507,
3430,
1102,
3274,
96,
89,
120,
18,
17114,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the race name for rnd being 11 | CREATE TABLE table_22669375_1 (
race_name VARCHAR,
rnd VARCHAR
) | SELECT race_name FROM table_22669375_1 WHERE rnd = 11 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2688,
3951,
22954,
834,
536,
41,
1964,
834,
4350,
584,
4280,
28027,
6,
3,
52,
727,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
1964,
564,
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,
1964,
834,
4350,
21680,
953,
834,
357,
2688,
3951,
22954,
834,
536,
549,
17444,
427,
3,
52,
727,
3274,
850,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
which airline has more listed destinations , continental express or america west express ? | CREATE TABLE table_204_215 (
id number,
"airline" text,
"destination(s)" text,
"aircraft scheduled" text,
"service date(s)" text,
"comments" text
) | SELECT "airline" FROM table_204_215 WHERE "airline" IN ('continental express', 'america west express') ORDER BY "destination(s)" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
357,
1808,
41,
3,
23,
26,
381,
6,
96,
2256,
747,
121,
1499,
6,
96,
13557,
257,
599,
7,
61,
121,
1499,
6,
96,
2256,
6696,
5018,
121,
1499,
6,
96,
5114,
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,
96,
2256,
747,
121,
21680,
953,
834,
26363,
834,
357,
1808,
549,
17444,
427,
96,
2256,
747,
121,
3388,
41,
31,
27339,
138,
3980,
31,
6,
3,
31,
23064,
4653,
3980,
31,
61,
4674,
11300,
272,
476,
96,
13557,
257,
599,... |
How many matches had the result of 6 3, 6 2? | CREATE TABLE table_16975 (
"Edition" text,
"Round" text,
"Date" text,
"Partnering" text,
"Against" text,
"Surface" text,
"Opponents" text,
"W\u2013L" text,
"Result" text
) | SELECT COUNT("Partnering") FROM table_16975 WHERE "Result" = '6–3, 6–2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27096,
3072,
41,
96,
427,
10569,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
13725,
687,
53,
121,
1499,
6,
96,
20749,
121,
1499,
6,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
13725,
687,
53,
8512,
21680,
953,
834,
27096,
3072,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
948,
104,
6355,
431,
104,
357,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What are the memories and carriers of phones Show bar chart, order in descending by the x-axis. | CREATE TABLE phone_market (
Market_ID int,
Phone_ID text,
Num_of_stock int
)
CREATE TABLE market (
Market_ID int,
District text,
Num_of_employees int,
Num_of_shops real,
Ranking int
)
CREATE TABLE phone (
Name text,
Phone_ID int,
Memory_in_G int,
Carrier text,
Price... | SELECT Carrier, AVG(Memory_in_G) FROM phone GROUP BY Carrier ORDER BY Carrier DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
951,
834,
8809,
41,
3611,
834,
4309,
16,
17,
6,
8924,
834,
4309,
1499,
6,
1174,
51,
834,
858,
834,
7149,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
512,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1184,
6711,
6,
71,
17217,
599,
329,
15,
2528,
63,
834,
77,
834,
517,
61,
21680,
951,
350,
4630,
6880,
272,
476,
1184,
6711,
4674,
11300,
272,
476,
1184,
6711,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Visualize a bar chart for what are the ids and names of the medicine that can interact with two or more enzymes?, and sort Y in ascending order please. | CREATE TABLE enzyme (
id int,
name text,
Location text,
Product text,
Chromosome text,
OMIM int,
Porphyria text
)
CREATE TABLE medicine (
id int,
name text,
Trade_Name text,
FDA_approved text
)
CREATE TABLE medicine_enzyme_interaction (
enzyme_id int,
medicine_id in... | SELECT name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id ORDER BY id | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
15735,
41,
3,
23,
26,
16,
17,
6,
564,
1499,
6,
10450,
1499,
6,
6246,
1499,
6,
4004,
3522,
32,
5529,
1499,
6,
3,
8638,
5166,
16,
17,
6,
9731,
6941,
52,
23,
9,
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,
564,
6,
3,
23,
26,
21680,
4404,
6157,
332,
536,
3,
15355,
3162,
4404,
834,
35,
4164,
526,
834,
3870,
4787,
6157,
332,
357,
9191,
332,
4416,
29368,
834,
23,
26,
3274,
332,
5411,
23,
26,
4674,
11300,
272,
476,
3,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.