NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What is niurbi encarnaci n ynoa's height? | CREATE TABLE table_61589 (
"Province, Community" text,
"Contestant" text,
"Height" text,
"Hometown" text,
"Geographical Regions" text
) | SELECT "Height" FROM table_61589 WHERE "Contestant" = 'niurbi encarnación ynoa' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
1808,
3914,
41,
96,
3174,
2494,
565,
6,
3092,
121,
1499,
6,
96,
4302,
4377,
288,
121,
1499,
6,
96,
3845,
2632,
121,
1499,
6,
96,
19040,
3540,
121,
1499,
6,
96,
517,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3845,
2632,
121,
21680,
953,
834,
948,
1808,
3914,
549,
17444,
427,
96,
4302,
4377,
288,
121,
3274,
3,
31,
29,
23,
450,
115,
23,
3,
35,
75,
15918,
12765,
3,
63,
29,
32,
9,
31,
1,
-100,
-100,
-100,
-100,
-1... |
Give me the comparison about All_Games_Percent over the All_Neutral , could you order by the Y from low to high? | 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_Neutral, All_Games_Percent FROM basketball_match ORDER BY All_Games_Percent | [
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,
26288,
8792,
6,
432,
834,
23055,
7,
834,
12988,
3728,
21680,
8498,
834,
19515,
4674,
11300,
272,
476,
432,
834,
23055,
7,
834,
12988,
3728,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the preliminary for north carolina | CREATE TABLE table_17516967_1 (preliminary VARCHAR, state VARCHAR) | SELECT preliminary FROM table_17516967_1 WHERE state = "North Carolina" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
5553,
3951,
3708,
834,
536,
41,
2026,
4941,
77,
1208,
584,
4280,
28027,
6,
538,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
17413,
21,
3457,
443,
1205... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17413,
21680,
953,
834,
2517,
5553,
3951,
3708,
834,
536,
549,
17444,
427,
538,
3274,
96,
22969,
5089,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the minimum total ATMs with new private sector banks as the bank type, and the on-site ATMs are greater than 1883? | CREATE TABLE table_name_42 (total_atms INTEGER, bank_type VARCHAR, on_site_atms VARCHAR) | SELECT MIN(total_atms) FROM table_name_42 WHERE bank_type = "new private sector banks" AND on_site_atms > 1883 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
235,
1947,
834,
144,
51,
7,
3,
21342,
17966,
6,
2137,
834,
6137,
584,
4280,
28027,
6,
30,
834,
3585,
834,
144,
51,
7,
584,
4280,
28027,
61,
3,
32102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
235,
1947,
834,
144,
51,
7,
61,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
2137,
834,
6137,
3274,
96,
5534,
1045,
2393,
5028,
121,
3430,
30,
834,
3585,
834,
144,
51,
7,
2490,
507,
4591,
1,
... |
Who was the opponent with the time 3:59? | CREATE TABLE table_name_52 (
opponent VARCHAR,
time VARCHAR
) | SELECT opponent FROM table_name_52 WHERE time = "3:59" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
15264,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
15264,
28,
8,
97,
220,
10,
3390,
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,
15264,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
97,
3274,
96,
519,
10,
3390,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What game was in 2005? | CREATE TABLE table_79382 (
"Year" real,
"Game" text,
"Genre" text,
"Platform(s)" text,
"Developer(s)" text
) | SELECT "Game" FROM table_79382 WHERE "Year" = '2005' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4440,
3747,
357,
41,
96,
476,
2741,
121,
490,
6,
96,
23055,
121,
1499,
6,
96,
13714,
60,
121,
1499,
6,
96,
10146,
2032,
599,
7,
61,
121,
1499,
6,
96,
2962,
162,
8745,
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,
23055,
121,
21680,
953,
834,
4440,
3747,
357,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
22594,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What party is Charles Van Wyck part of? | CREATE TABLE table_name_4 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_name_4 WHERE incumbent = "charles van wyck" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
8071,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1088,
19,
5417,
4480,
11314,
2406,
294,
13,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1088,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
28406,
3274,
96,
4059,
965,
4049,
3,
210,
63,
2406,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is Team, when Location Attendance is 'Rose Garden 20,020'? | CREATE TABLE table_name_69 (
team VARCHAR,
location_attendance VARCHAR
) | SELECT team FROM table_name_69 WHERE location_attendance = "rose garden 20,020" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
372,
584,
4280,
28027,
6,
1128,
834,
15116,
663,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
2271,
6,
116,
10450,
22497,
663,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
1128,
834,
15116,
663,
3274,
96,
8115,
2004,
16047,
632,
1755,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was spent per voter when the spent per vote was 20.07? | CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, spent_per_vote___php__ VARCHAR) | SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE spent_per_vote___php__ = "20.07" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
4198,
3072,
4060,
834,
1298,
41,
7,
102,
295,
834,
883,
834,
1621,
449,
834,
834,
834,
12786,
834,
834,
584,
4280,
28027,
6,
1869,
834,
883,
834,
1621,
17,
15,
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,
1869,
834,
883,
834,
1621,
449,
834,
834,
834,
12786,
834,
834,
21680,
953,
834,
2884,
4198,
3072,
4060,
834,
1298,
549,
17444,
427,
1869,
834,
883,
834,
1621,
17,
15,
834,
834,
834,
12786,
834,
834,
3274,
96,
1755,... |
What is the Strain name of Species Thiomicrospira crunogena? | CREATE TABLE table_name_24 (strain VARCHAR, species VARCHAR) | SELECT strain FROM table_name_24 WHERE species = "thiomicrospira crunogena" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
7,
9719,
584,
4280,
28027,
6,
3244,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
5438,
77,
564,
13,
3,
7727,
725,
11988,
32,
25131,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6035,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
3244,
3274,
96,
7436,
32,
25131,
7,
2388,
9,
8396,
29,
5255,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the schoo/club team of the player in round 3? | CREATE TABLE table_34302 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"School/Club Team" text
) | SELECT "School/Club Team" FROM table_34302 WHERE "Round" = '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3710,
1458,
357,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
345,
3142,
121,
490,
6,
96,
15800,
49,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
29364,
87,
254,
11158,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
29364,
87,
254,
11158,
2271,
121,
21680,
953,
834,
3710,
1458,
357,
549,
17444,
427,
96,
448,
32,
1106,
121,
3274,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which song choice was originally performed by Bonnie Tyler? | CREATE TABLE table_name_23 (song_choice VARCHAR, original_artist VARCHAR) | SELECT song_choice FROM table_name_23 WHERE original_artist = "bonnie tyler" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
7,
2444,
834,
3995,
867,
584,
4280,
28027,
6,
926,
834,
1408,
343,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2324,
1160,
47,
5330,
3032,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2324,
834,
3995,
867,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
926,
834,
1408,
343,
3274,
96,
115,
32,
11113,
3,
17,
63,
1171,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points? | CREATE TABLE table_35525 (
"Position" real,
"Team" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Scored" real,
"Conceded" real,
"Points" real
) | SELECT MIN("Conceded") FROM table_35525 WHERE "Wins" < '8' AND "Scored" = '21' AND "Points" < '23' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
755,
1828,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
18699,
121,
1499,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
18455,
7,
121,
490,
6,
96,
308,
10936,
7,
121,
49... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4302,
565,
221,
26,
8512,
21680,
953,
834,
2469,
755,
1828,
549,
17444,
427,
96,
18455,
7,
121,
3,
2,
3,
31,
927,
31,
3430,
96,
134,
9022,
26,
121,
3274,
3,
31,
2658,
31,
3430,
96,
22512,
7... |
What is the average Title 1 fund in Virginia? | CREATE TABLE ndecoreexcel_math_grade8 (
year number,
state text,
all_students text,
average_scale_score number
)
CREATE TABLE finrev_fed_key_17 (
state_code number,
state text,
#_records text
)
CREATE TABLE finrev_fed_17 (
state_code number,
idcensus number,
school_district tex... | SELECT AVG(T1.c14) FROM finrev_fed_17 AS T1 JOIN finrev_fed_key_17 AS T2 ON T1.state_code = T2.state_code WHERE T2.state = "Virginia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3,
29,
221,
9022,
994,
7125,
834,
3357,
107,
834,
6801,
927,
41,
215,
381,
6,
538,
1499,
6,
66,
834,
8637,
295,
7,
1499,
6,
1348,
834,
6649,
834,
7,
9022,
381,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
382,
5411,
75,
2534,
61,
21680,
2202,
60,
208,
834,
19565,
834,
2517,
6157,
332,
536,
3,
15355,
3162,
2202,
60,
208,
834,
19565,
834,
4397,
834,
2517,
6157,
332,
357,
9191,
332,
5411,
5540,
834,
4978... |
who appeared first tom segura or jay larson ? | CREATE TABLE table_203_784 (
id number,
"no. in\nseries" number,
"no. in\nseason" number,
"performer" text,
"appearance" text,
"air date" text
) | SELECT "performer" FROM table_203_784 WHERE id = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3940,
591,
41,
3,
23,
26,
381,
6,
96,
29,
32,
5,
16,
2,
29,
10833,
7,
121,
381,
6,
96,
29,
32,
5,
16,
2,
29,
9476,
121,
381,
6,
96,
883,
2032,
49,
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,
883,
2032,
49,
121,
21680,
953,
834,
23330,
834,
3940,
591,
549,
17444,
427,
3,
23,
26,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the earliest year that Târlea took 7th place? | CREATE TABLE table_name_6 (year INTEGER, position VARCHAR) | SELECT MIN(year) FROM table_name_6 WHERE position = "7th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
1201,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3,
16454,
215,
24,
332,
1439,
52,
109,
9,
808,
489,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
1201,
61,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
1102,
3274,
96,
940,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the third entry in the row with a first entry of 'club'? | CREATE TABLE table_17803 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
) | SELECT "Won" FROM table_17803 WHERE "Club" = 'Club' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27640,
4928,
41,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
1499,
6,
96,
518,
106,
121,
1499,
6,
96,
308,
10936,
29,
121,
1499,
6,
96,
434,
3481,
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,
518,
106,
121,
21680,
953,
834,
27640,
4928,
549,
17444,
427,
96,
254,
11158,
121,
3274,
3,
31,
254,
11158,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What position did he finish in the year his average start was 16.8? | CREATE TABLE table_2480 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 5" real,
"Top 10" real,
"Poles" real,
"Avg. Start" text,
"Avg. Finish" text,
"Winnings" text,
"Position" text,
"Team(s)" text
) | SELECT "Position" FROM table_2480 WHERE "Avg. Start" = '16.8' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
2079,
41,
96,
476,
2741,
121,
490,
6,
96,
7681,
17,
7,
121,
490,
6,
96,
18455,
7,
121,
490,
6,
96,
22481,
3,
17395,
490,
6,
96,
22481,
335,
121,
490,
6,
96,
893... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
345,
32,
7,
4749,
121,
21680,
953,
834,
2266,
2079,
549,
17444,
427,
96,
188,
208,
122,
5,
3273,
121,
3274,
3,
31,
2938,
5,
927,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who is the home team that played at venue MCG? | CREATE TABLE table_name_3 (
home_team VARCHAR,
venue VARCHAR
) | SELECT home_team FROM table_name_3 WHERE venue = "mcg" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
234,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
234,
372,
24,
1944,
44,
5669,
283,
1215... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
234,
834,
11650,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
5669,
3274,
96,
51,
75,
122,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the value of the runner up column for the Alberta province? | CREATE TABLE table_28457809_3 (runner_up INTEGER, province VARCHAR) | SELECT MAX(runner_up) FROM table_28457809_3 WHERE province = "Alberta" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
2128,
3940,
4198,
834,
519,
41,
10806,
834,
413,
3,
21342,
17966,
6,
7985,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
701,
13,
8,
3,
10806,
95,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
10806,
834,
413,
61,
21680,
953,
834,
2577,
2128,
3940,
4198,
834,
519,
549,
17444,
427,
7985,
3274,
96,
25691,
49,
17,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the sum of low estimate(s) that is listed for the date of 1978? | CREATE TABLE table_name_66 (low_estimate INTEGER, date VARCHAR) | SELECT SUM(low_estimate) FROM table_name_66 WHERE date = "1978" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
3216,
834,
3340,
5058,
3,
21342,
17966,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,
13,
731,
7037,
599,
7,
61,
24,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
3216,
834,
3340,
5058,
61,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
833,
3274,
96,
2294,
3940,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the virtual for Fox | CREATE TABLE table_19454 (
"Virtual" real,
"Physical" real,
"Call sign" text,
"Branding" text,
"Network" text,
"Owner" text
) | SELECT COUNT("Virtual") FROM table_19454 WHERE "Network" = 'Fox' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
2128,
591,
41,
96,
21031,
17,
3471,
121,
490,
6,
96,
16977,
7,
1950,
121,
490,
6,
96,
254,
1748,
1320,
121,
1499,
6,
96,
18304,
727,
53,
121,
1499,
6,
96,
9688,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21031,
17,
3471,
8512,
21680,
953,
834,
2294,
2128,
591,
549,
17444,
427,
96,
9688,
1981,
121,
3274,
3,
31,
371,
32,
226,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
In Tangier Zone, what is the PCT route availibility? | CREATE TABLE table_2279413_1 (
pct_route_available VARCHAR,
country VARCHAR
) | SELECT pct_route_available FROM table_2279413_1 WHERE country = "Tangier Zone" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2555,
4240,
2368,
834,
536,
41,
3,
102,
75,
17,
834,
20300,
834,
28843,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
18939,
97... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
102,
75,
17,
834,
20300,
834,
28843,
21680,
953,
834,
357,
2555,
4240,
2368,
834,
536,
549,
17444,
427,
684,
3274,
96,
382,
1468,
972,
11628,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many kcl 10% prescriptions have taken place in the previous year? | CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellv... | SELECT COUNT(*) FROM medication WHERE medication.drugname = 'kcl 10%' AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7757,
41,
7757,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2672,
4350,
1499,
6,
17166,
1499,
6,
2981,
20466,
29,
1499,
6,
2672,
10208,
715,
97,
6,
4845,
2916,
715,
97,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
7757,
549,
17444,
427,
7757,
5,
26,
13534,
4350,
3274,
3,
31,
157,
75,
40,
6389,
31,
3430,
309,
6048,
382,
15382,
599,
526,
17530,
5,
26,
13534,
10208,
715,
6,
3,
31,
10208,
13,
... |
What is the GameRankings Released of 2011 with a Metacritic of 83/100? | CREATE TABLE table_name_40 (
gamerankings VARCHAR,
metacritic VARCHAR,
year_released VARCHAR
) | SELECT gamerankings FROM table_name_40 WHERE metacritic = "83/100" AND year_released = 2011 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
467,
6254,
53,
7,
584,
4280,
28027,
6,
10531,
2685,
1225,
584,
4280,
28027,
6,
215,
834,
21019,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
467,
6254,
53,
7,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
10531,
2685,
1225,
3274,
96,
4591,
87,
2915,
121,
3430,
215,
834,
21019,
26,
3274,
2722,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find the average age of journalists working on different role type, show the result with a bar chart, and I want to rank by the Work_Type from high to low please. | CREATE TABLE news_report (
journalist_ID int,
Event_ID int,
Work_Type text
)
CREATE TABLE journalist (
journalist_ID int,
Name text,
Nationality text,
Age text,
Years_working int
)
CREATE TABLE event (
Event_ID int,
Date text,
Venue text,
Name text,
Event_Attendance... | SELECT Work_Type, AVG(t1.Age) FROM journalist AS t1 JOIN news_report AS t2 ON t1.journalist_ID = t2.journalist_ID GROUP BY t2.Work_Type ORDER BY Work_Type DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1506,
834,
60,
1493,
41,
9994,
834,
4309,
16,
17,
6,
8042,
834,
4309,
16,
17,
6,
3118,
834,
25160,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
9994,
41,
9994,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3118,
834,
25160,
6,
71,
17217,
599,
17,
5411,
188,
397,
61,
21680,
9994,
6157,
3,
17,
536,
3,
15355,
3162,
1506,
834,
60,
1493,
6157,
3,
17,
357,
9191,
3,
17,
5411,
25340,
343,
834,
4309,
3274,
3,
17,
4416,
253... |
how many total assists per game did 2013 eurobasket have ? | CREATE TABLE table_203_527 (
id number,
"tournament" text,
"games played" number,
"points per game" number,
"rebounds per game" number,
"assists per game" number
) | SELECT "assists per game" FROM table_203_527 WHERE "tournament" = '2013 eurobasket' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
755,
2555,
41,
3,
23,
26,
381,
6,
96,
17,
1211,
20205,
17,
121,
1499,
6,
96,
7261,
7,
1944,
121,
381,
6,
96,
2700,
7,
399,
467,
121,
381,
6,
96,
23768,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6500,
7,
17,
7,
399,
467,
121,
21680,
953,
834,
23330,
834,
755,
2555,
549,
17444,
427,
96,
17,
1211,
20205,
17,
121,
3274,
3,
31,
11138,
3983,
4883,
8044,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Is uremia affect prothrombin? | CREATE TABLE table_1226250_1 (
prothrombin_time VARCHAR,
condition VARCHAR
) | SELECT prothrombin_time FROM table_1226250_1 WHERE condition = "Uremia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
2688,
11434,
834,
536,
41,
813,
8514,
51,
4517,
834,
715,
584,
4280,
28027,
6,
1706,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
27,
7,
3,
450,
11658,
260... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
813,
8514,
51,
4517,
834,
715,
21680,
953,
834,
2122,
2688,
11434,
834,
536,
549,
17444,
427,
1706,
3274,
96,
1265,
52,
11658,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is the callsign for independent affiliation? | CREATE TABLE table_name_69 (callsign VARCHAR, affiliation VARCHAR) | SELECT callsign FROM table_name_69 WHERE affiliation = "independent" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
16482,
6732,
584,
4280,
28027,
6,
24405,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
580,
6732,
21,
2547,
24405,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
580,
6732,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
24405,
3274,
96,
77,
17631,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which All Games have a Nonconference Games % smaller than 0.75, and a Ranked AP Nonconference of 3 7? | CREATE TABLE table_9422 (
"Team" text,
"All Games" text,
"All Games %" real,
"Nonconference Games" text,
"Nonconference Games %" real,
"Ranked AP Nonconference" text
) | SELECT "All Games" FROM table_9422 WHERE "Nonconference Games %" < '0.75' AND "Ranked AP Nonconference" = '3–7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4240,
2884,
41,
96,
18699,
121,
1499,
6,
96,
6838,
5880,
121,
1499,
6,
96,
6838,
5880,
3,
1454,
121,
490,
6,
96,
567,
106,
28496,
5880,
121,
1499,
6,
96,
567,
106,
28496,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6838,
5880,
121,
21680,
953,
834,
4240,
2884,
549,
17444,
427,
96,
567,
106,
28496,
5880,
3,
1454,
121,
3,
2,
3,
31,
22426,
755,
31,
3430,
96,
22557,
15,
26,
3,
2965,
5388,
28496,
121,
3274,
3,
31,
519,
104,... |
Show the ids and names of all documents. | CREATE TABLE Documents (
document_id VARCHAR,
document_name VARCHAR
) | SELECT document_id, document_name FROM Documents | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11167,
7,
41,
1708,
834,
23,
26,
584,
4280,
28027,
6,
1708,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
3111,
8,
3,
23,
26,
7,
11,
3056,
13,
66,
2691,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1708,
834,
23,
26,
6,
1708,
834,
4350,
21680,
11167,
7,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many akhil bharatiya rashtriya azad hind party seats were contested? | CREATE TABLE table_22582663_1 (
seats_contested VARCHAR,
party_name VARCHAR
) | SELECT seats_contested FROM table_22582663_1 WHERE party_name = "Akhil Bharatiya Rashtriya Azad Hind Party" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
3449,
2688,
3891,
834,
536,
41,
6116,
834,
29365,
584,
4280,
28027,
6,
1088,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
3,
18965,
173,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
6116,
834,
29365,
21680,
953,
834,
2884,
3449,
2688,
3891,
834,
536,
549,
17444,
427,
1088,
834,
4350,
3274,
96,
188,
29392,
40,
16332,
9,
6850,
63,
9,
9053,
107,
17,
26038,
12611,
9,
26,
9515,
26,
3450,
121,
1,
-... |
What nominative has mis as the dative? | CREATE TABLE table_name_91 (nominative VARCHAR, dative VARCHAR) | SELECT nominative FROM table_name_91 WHERE dative = "mis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
3114,
77,
1528,
584,
4280,
28027,
6,
3,
26,
1528,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
150,
1109,
1528,
65,
1817,
38,
8,
3,
26,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
150,
1109,
1528,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
3,
26,
1528,
3274,
96,
51,
159,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the date when the nationality is united kingdom, the type is freighter and the displacement is 5,145 t? | CREATE TABLE table_name_14 (date VARCHAR, displacement VARCHAR, nationality VARCHAR, type VARCHAR) | SELECT date FROM table_name_14 WHERE nationality = "united kingdom" AND type = "freighter" AND displacement = "5,145 t" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
5522,
584,
4280,
28027,
6,
27780,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
6,
686,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
1157,
485,
3274,
96,
15129,
15,
26,
14740,
121,
3430,
686,
3274,
96,
89,
60,
2632,
49,
121,
3430,
27780,
3274,
96,
11116,
20987,
3,
17,
121,
1,
-100,
-100,
-... |
Which visiting team wound up with a final score of 18-40? | CREATE TABLE table_name_77 (
visiting_team VARCHAR,
final_score VARCHAR
) | SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
3644,
834,
11650,
584,
4280,
28027,
6,
804,
834,
7,
9022,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
3644,
372,
9699,
95,
28,
3,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3644,
834,
11650,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
804,
834,
7,
9022,
3274,
96,
2606,
15862,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the date when the pitcher was Jason Marquis and the length was 410'? | CREATE TABLE table_name_69 (
date VARCHAR,
pitcher VARCHAR,
length VARCHAR
) | SELECT date FROM table_name_69 WHERE pitcher = "jason marquis" AND length = "410'" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
833,
584,
4280,
28027,
6,
20034,
584,
4280,
28027,
6,
2475,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
833,
116,
8,
20034,
47,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
20034,
3274,
96,
1191,
739,
3157,
1169,
7,
121,
3430,
2475,
3274,
96,
24175,
31,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Set 3 has a Set 1 of 25–20? | CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR) | SELECT set_3 FROM table_name_9 WHERE set_1 = "25–20" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
2244,
834,
519,
584,
4280,
28027,
6,
356,
834,
536,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2821,
220,
65,
3,
9,
2821,
209,
13,
944,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
356,
834,
519,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
356,
834,
536,
3274,
96,
1828,
104,
1755,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
When doeas Mascot of blue devils in Gary Froebel School? | CREATE TABLE table_name_74 (
joined VARCHAR,
mascot VARCHAR
) | SELECT joined FROM table_name_74 WHERE mascot = "blue devils" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
3311,
584,
4280,
28027,
6,
3,
2754,
4310,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
103,
15,
9,
7,
6664,
4310,
13,
1692,
20,
6372,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3311,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
3,
2754,
4310,
3274,
96,
7060,
15,
20,
6372,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Result when the Theme was by Dolly Parton? | CREATE TABLE table_41967 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
) | SELECT "Result" FROM table_41967 WHERE "Theme" = 'dolly parton' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2294,
3708,
41,
96,
518,
10266,
1713,
121,
1499,
6,
96,
634,
526,
121,
1499,
6,
96,
134,
2444,
1160,
121,
1499,
6,
96,
667,
3380,
10270,
2377,
121,
1499,
6,
96,
7395... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
591,
2294,
3708,
549,
17444,
427,
96,
634,
526,
121,
3274,
3,
31,
26,
32,
6073,
294,
106,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Venue, when Status is "Test Match", and when Against is "12"? | CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR) | SELECT venue FROM table_name_16 WHERE status = "test match" AND against = 12 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
15098,
584,
4280,
28027,
6,
2637,
584,
4280,
28027,
6,
581,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
29940,
6,
116,
19318,
19,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
2637,
3274,
96,
4377,
1588,
121,
3430,
581,
3274,
586,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
On what date did the home team Essendon play? | CREATE TABLE table_name_50 (
date VARCHAR,
home_team VARCHAR
) | SELECT date FROM table_name_50 WHERE home_team = "essendon" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
833,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
461,
125,
833,
410,
8,
234,
372,
11722,
2029,
577,
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,
833,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
234,
834,
11650,
3274,
96,
8185,
2029,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many policies are listed for the customer named 'Dayana Robel'? | CREATE TABLE customers_policies (
customer_id number,
policy_id number,
date_opened time,
date_closed time
)
CREATE TABLE first_notification_of_loss (
fnol_id number,
customer_id number,
policy_id number,
service_id number
)
CREATE TABLE settlements (
settlement_id number,
clai... | SELECT COUNT(*) FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Dayana Robel" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
722,
834,
3003,
6267,
7,
41,
884,
834,
23,
26,
381,
6,
1291,
834,
23,
26,
381,
6,
833,
834,
26940,
97,
6,
833,
834,
16221,
26,
97,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
722,
6157,
3,
17,
536,
3,
15355,
3162,
722,
834,
3003,
6267,
7,
6157,
3,
17,
357,
9191,
3,
17,
5411,
25697,
49,
834,
23,
26,
3274,
3,
17,
4416,
25697,
49,
834,
23,
26,
549,
1... |
What is the average goals scored of the team who scored 44 points and placed higher than 5? | CREATE TABLE table_name_48 (
goals_scored INTEGER,
points VARCHAR,
place VARCHAR
) | SELECT AVG(goals_scored) FROM table_name_48 WHERE points = "44" AND place > 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
1766,
834,
3523,
1271,
3,
21342,
17966,
6,
979,
584,
4280,
28027,
6,
286,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
176... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
839,
5405,
834,
3523,
1271,
61,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
979,
3274,
96,
3628,
121,
3430,
286,
2490,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who many votes did E. Greenberg receive in Morris County? | CREATE TABLE table_17820556_4 (e_greenberg VARCHAR, county VARCHAR) | SELECT COUNT(e_greenberg) FROM table_17820556_4 WHERE county = "Morris" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27640,
23201,
4834,
834,
591,
41,
15,
834,
9423,
2235,
584,
4280,
28027,
6,
5435,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
186,
11839,
410,
262,
5,
1862,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
15,
834,
9423,
2235,
61,
21680,
953,
834,
27640,
23201,
4834,
834,
591,
549,
17444,
427,
5435,
3274,
96,
329,
127,
52,
159,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What air date had 1.01 million U.S. viewers? | CREATE TABLE table_28334498_3 (
original_air_date VARCHAR,
us_viewers__millions_ VARCHAR
) | SELECT original_air_date FROM table_28334498_3 WHERE us_viewers__millions_ = "1.01" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
4201,
3628,
3916,
834,
519,
41,
926,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
178,
834,
4576,
277,
834,
834,
17030,
7,
834,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
926,
834,
2256,
834,
5522,
21680,
953,
834,
2577,
4201,
3628,
3916,
834,
519,
549,
17444,
427,
178,
834,
4576,
277,
834,
834,
17030,
7,
834,
3274,
96,
12734,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
for country of spain and iata of ibz, what's the city? | CREATE TABLE table_name_29 (
city VARCHAR,
country VARCHAR,
iata VARCHAR
) | SELECT city FROM table_name_29 WHERE country = "spain" AND iata = "ibz" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
690,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
6,
3,
17221,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
21,
684,
13,
4174,
77,
11,
3,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
690,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
684,
3274,
96,
14147,
77,
121,
3430,
3,
17221,
3274,
96,
23,
115,
172,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which bullet has a Length of 33.78 (1.33)? | CREATE TABLE table_name_28 (bullet VARCHAR, length VARCHAR) | SELECT bullet FROM table_name_28 WHERE length = "33.78 (1.33)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
6724,
1655,
584,
4280,
28027,
6,
2475,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
11126,
65,
3,
9,
312,
1725,
189,
13,
5400,
5,
3940,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11126,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
2475,
3274,
96,
4201,
5,
3940,
41,
13606,
5268,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What are the most againsts with more than 11 losses and central murray is Nyah Nyah West Utd? | CREATE TABLE table_58867 (
"Central Murray" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) | SELECT MAX("Against") FROM table_58867 WHERE "Central Murray" = 'nyah nyah west utd' AND "Losses" > '11' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
4060,
3708,
41,
96,
30497,
15497,
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,
121,
490... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
20749,
8512,
21680,
953,
834,
755,
4060,
3708,
549,
17444,
427,
96,
30497,
15497,
121,
3274,
3,
31,
29,
24320,
3,
29,
24320,
4653,
3,
76,
17,
26,
31,
3430,
96,
434,
13526,
7,
121,
2490,
3,
31,... |
What is channel 33.7's official call sign? | CREATE TABLE table_1404984_1 (call_sign VARCHAR, virtual_channel VARCHAR) | SELECT call_sign FROM table_1404984_1 WHERE virtual_channel = "33.7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22012,
3647,
4608,
834,
536,
41,
16482,
834,
6732,
584,
4280,
28027,
6,
4291,
834,
19778,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
4245,
220,
25168,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
580,
834,
6732,
21680,
953,
834,
22012,
3647,
4608,
834,
536,
549,
17444,
427,
4291,
834,
19778,
3274,
96,
519,
25168,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Visualize a bar chart for what are the naems of all the projects, and how many scientists were assigned to each of them?, and display by the y-axis in ascending. | CREATE TABLE Scientists (
SSN int,
Name Char(30)
)
CREATE TABLE Projects (
Code Char(4),
Name Char(50),
Hours int
)
CREATE TABLE AssignedTo (
Scientist int,
Project char(4)
) | SELECT Name, COUNT(*) FROM Projects AS T1 JOIN AssignedTo AS T2 ON T1.Code = T2.Project GROUP BY T1.Name ORDER BY COUNT(*) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
21166,
7,
41,
180,
8544,
16,
17,
6,
5570,
7435,
599,
1458,
61,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2786,
7,
41,
3636,
7435,
10820,
6,
5570,
7435,
599,
1752,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5570,
6,
2847,
17161,
599,
1935,
61,
21680,
2786,
7,
6157,
332,
536,
3,
15355,
3162,
282,
15532,
3696,
6157,
332,
357,
9191,
332,
5411,
22737,
3274,
332,
4416,
3174,
11827,
350,
4630,
6880,
272,
476,
332,
5411,
23954,... |
Name the party/s when the polling percentage was 6.3% in Dec 2008. | CREATE TABLE table_23680576_2 (
party VARCHAR,
dec_2008 VARCHAR
) | SELECT party FROM table_23680576_2 WHERE dec_2008 = "6.3%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
3651,
3076,
3959,
834,
357,
41,
1088,
584,
4280,
28027,
6,
20,
75,
834,
16128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
1088,
87,
7,
116,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1088,
21680,
953,
834,
2773,
3651,
3076,
3959,
834,
357,
549,
17444,
427,
20,
75,
834,
16128,
3274,
96,
27865,
1454,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the post poles for 4 podiums | CREATE TABLE table_29650 (
"Season" real,
"Series" text,
"Team Name" text,
"Races" real,
"Poles" real,
"Wins" real,
"Podiums" real,
"F/Laps" real,
"Points" real,
"Final Placing" text
) | SELECT MAX("Poles") FROM table_29650 WHERE "Podiums" = '4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
15348,
41,
96,
134,
15,
9,
739,
121,
490,
6,
96,
12106,
7,
121,
1499,
6,
96,
18699,
5570,
121,
1499,
6,
96,
448,
9,
2319,
121,
490,
6,
96,
8931,
15,
7,
121,
490... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
8931,
15,
7,
8512,
21680,
953,
834,
3166,
15348,
549,
17444,
427,
96,
16665,
2552,
7,
121,
3274,
3,
31,
591,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
List the names of wrestlers and the teams in elimination in descending order of days held. | CREATE TABLE elimination (Team VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR, Days_held VARCHAR) | SELECT T2.Name, T1.Team FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID ORDER BY T2.Days_held DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
23458,
41,
18699,
584,
4280,
28027,
6,
549,
6216,
1171,
834,
4309,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
26033,
52,
41,
23954,
584,
4280,
28027,
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,
332,
4416,
23954,
6,
332,
5411,
18699,
21680,
23458,
6157,
332,
536,
3,
15355,
3162,
26033,
52,
6157,
332,
357,
9191,
332,
5411,
518,
6216,
1171,
834,
4309,
3274,
332,
4416,
518,
6216,
1171,
834,
4309,
4674,
11300,
27... |
tell the number of times where kansas was the location | CREATE TABLE table_18784 (
"Rnd" real,
"Race" text,
"Pole position" text,
"Fastest lap" text,
"Most laps led" text,
"Winning driver" text,
"Winning team" text,
"Report" text
) | SELECT COUNT("Rnd") FROM table_18784 WHERE "Race" = 'Kansas' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25828,
4608,
41,
96,
448,
727,
121,
490,
6,
96,
448,
3302,
121,
1499,
6,
96,
8931,
15,
1102,
121,
1499,
6,
96,
371,
9,
7,
4377,
14941,
121,
1499,
6,
96,
329,
3481,
1494... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
448,
727,
8512,
21680,
953,
834,
25828,
4608,
549,
17444,
427,
96,
448,
3302,
121,
3274,
3,
31,
439,
3247,
9,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which E. coli has a substrate of uracil? | CREATE TABLE table_name_22 (e_coli VARCHAR, substrates VARCHAR) | SELECT e_coli FROM table_name_22 WHERE substrates = "uracil" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
15,
834,
9044,
584,
4280,
28027,
6,
17019,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
262,
5,
3,
9044,
65,
3,
9,
17019,
13,
3,
241... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
15,
834,
9044,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
17019,
7,
3274,
96,
2414,
75,
173,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
When dxcc-tv is the call sign how many station types are there? | CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR) | SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = "DXCC-TV" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20879,
4240,
27749,
834,
536,
41,
6682,
834,
6137,
584,
4280,
28027,
6,
580,
6732,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
3,
26,
226,
75,
75,
18,
17,
208... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
6682,
834,
6137,
61,
21680,
953,
834,
20879,
4240,
27749,
834,
536,
549,
17444,
427,
580,
6732,
3274,
96,
308,
4,
2823,
18,
4562,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the original air date for the episode directed by kevin dowling? | CREATE TABLE table_2602958_3 (original_air_date VARCHAR, director VARCHAR) | SELECT original_air_date FROM table_2602958_3 WHERE director = "Kevin Dowling" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
18365,
3166,
3449,
834,
519,
41,
21878,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
2090,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
926,
799,
833,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
926,
834,
2256,
834,
5522,
21680,
953,
834,
18365,
3166,
3449,
834,
519,
549,
17444,
427,
2090,
3274,
96,
439,
15,
2494,
21236,
697,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is the number of oppositions who the chandigarh comets have 100 % win rate against ? | CREATE TABLE table_204_334 (
id number,
"opposition" text,
"matches" number,
"won" number,
"drawn" number,
"lost" number,
"for" number,
"against" number,
"win%" text
) | SELECT COUNT("opposition") FROM table_204_334 WHERE "win%" = 100 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
519,
3710,
41,
3,
23,
26,
381,
6,
96,
29585,
121,
1499,
6,
96,
19515,
15,
7,
121,
381,
6,
96,
210,
106,
121,
381,
6,
96,
19489,
29,
121,
381,
6,
96,
2298,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29585,
8512,
21680,
953,
834,
26363,
834,
519,
3710,
549,
17444,
427,
96,
3757,
1454,
121,
3274,
910,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the place with the 68 score? | CREATE TABLE table_name_30 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_30 WHERE score = 68 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
4687,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
286,
28,
8,
3,
3651,
2604,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
286,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
2604,
3274,
3,
3651,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find the names of the artists who are from UK and have produced English songs. | CREATE TABLE artist (
artist_name VARCHAR,
country VARCHAR,
languages VARCHAR
)
CREATE TABLE song (
artist_name VARCHAR,
country VARCHAR,
languages VARCHAR
) | SELECT artist_name FROM artist WHERE country = "UK" INTERSECT SELECT artist_name FROM song WHERE languages = "english" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2377,
41,
2377,
834,
4350,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
6,
8024,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2324,
41,
2377,
834,
4350,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2377,
834,
4350,
21680,
2377,
549,
17444,
427,
684,
3274,
96,
15787,
121,
3,
21342,
5249,
14196,
3,
23143,
14196,
2377,
834,
4350,
21680,
2324,
549,
17444,
427,
8024,
3274,
96,
4606,
40,
1273,
121,
1,
-100,
-100,
-100... |
what is drug code of drug name midazolam hcl? | 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 prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.drug = "Midazolam HCl" | [
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,
7744,
7,
5,
20128,
63,
834,
26,
13534,
834,
75,
26,
21680,
7744,
7,
549,
17444,
427,
7744,
7,
5,
26,
13534,
3274,
96,
329,
23,
26,
9,
12423,
265,
3,
8095,
40,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Player, when To Par is '+1', and when Score is '75-68=143'? | CREATE TABLE table_name_32 (
player VARCHAR,
to_par VARCHAR,
score VARCHAR
) | SELECT player FROM table_name_32 WHERE to_par = "+1" AND score = 75 - 68 = 143 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
1959,
584,
4280,
28027,
6,
12,
834,
1893,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
12387,
6,
116,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
12,
834,
1893,
3274,
96,
18446,
121,
3430,
2604,
3274,
6374,
3,
18,
3,
3651,
3274,
3,
25133,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what's the try bonus with club being abercwmboi rfc | CREATE TABLE table_13940275_5 (
try_bonus VARCHAR,
club VARCHAR
) | SELECT try_bonus FROM table_13940275_5 WHERE club = "Abercwmboi RFC" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24090,
2445,
25988,
834,
755,
41,
653,
834,
5407,
302,
584,
4280,
28027,
6,
1886,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
653,
4023,
28,
1886... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
653,
834,
5407,
302,
21680,
953,
834,
24090,
2445,
25988,
834,
755,
549,
17444,
427,
1886,
3274,
96,
188,
1152,
75,
210,
6310,
23,
391,
5390,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
for the shows featuring beet sugar, what was on before that | CREATE TABLE table_15187735_17 (segment_b VARCHAR, segment_c VARCHAR) | SELECT segment_b FROM table_15187735_17 WHERE segment_c = "Beet Sugar" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26578,
27697,
2469,
834,
2517,
41,
7,
15,
122,
297,
834,
115,
584,
4280,
28027,
6,
5508,
834,
75,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
21,
8,
1267,
4767,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5508,
834,
115,
21680,
953,
834,
26578,
27697,
2469,
834,
2517,
549,
17444,
427,
5508,
834,
75,
3274,
96,
2703,
15,
17,
16382,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What date did the Bulls play the LA Lakers? | CREATE TABLE table_11960610_7 (
date VARCHAR,
team VARCHAR
) | SELECT date FROM table_11960610_7 WHERE team = "LA Lakers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19993,
3328,
27097,
834,
940,
41,
833,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
410,
8,
10204,
7,
577,
8,
5292,
325,
1175... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
19993,
3328,
27097,
834,
940,
549,
17444,
427,
372,
3274,
96,
4569,
325,
11758,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When the home team scored 25.23 (173), what date did they play/ | CREATE TABLE table_51752 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Date" FROM table_51752 WHERE "Home team score" = '25.23 (173)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5553,
3072,
357,
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,
308,
342,
121,
21680,
953,
834,
5553,
3072,
357,
549,
17444,
427,
96,
19040,
372,
2604,
121,
3274,
3,
31,
1828,
5,
2773,
18360,
5268,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What score has january 15, 2005 as the date? | CREATE TABLE table_14741 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
) | SELECT "Score" FROM table_14741 WHERE "Date" = 'january 15, 2005' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24719,
4853,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
5890,
4995,
4749,
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,
134,
9022,
121,
21680,
953,
834,
24719,
4853,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
7066,
76,
1208,
10725,
3105,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who was the incumbent in the Ohio 10 district? | CREATE TABLE table_2646656_3 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2646656_3 WHERE district = "Ohio 10" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26755,
3539,
4834,
834,
519,
41,
77,
75,
5937,
295,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
28406,
16,
8,
6167,
335,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28406,
21680,
953,
834,
26755,
3539,
4834,
834,
519,
549,
17444,
427,
3939,
3274,
96,
15046,
23,
32,
335,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Return a bar chart on what are the id and name of the mountains that have at least 2 photos?, and could you order in desc by the id please? | CREATE TABLE mountain (
id int,
name text,
Height real,
Prominence real,
Range text,
Country text
)
CREATE TABLE camera_lens (
id int,
brand text,
name text,
focal_length_mm real,
max_aperture real
)
CREATE TABLE photos (
id int,
camera_lens_id int,
mountain_id ... | SELECT T1.name, T1.id FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id ORDER BY T1.id DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4180,
41,
3,
23,
26,
16,
17,
6,
564,
1499,
6,
24231,
490,
6,
749,
1109,
1433,
490,
6,
10971,
1499,
6,
6993,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1861,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23,
26,
21680,
4180,
6157,
332,
536,
3,
15355,
3162,
1302,
6157,
332,
357,
9191,
332,
5411,
23,
26,
3274,
332,
4416,
11231,
9,
77,
834,
23,
26,
4674,
11300,
272,
476,
332,
5411,
23,
... |
What was the aggregate score for the match won by Brive? | CREATE TABLE table_28068063_2 (aggregate_score VARCHAR, winners VARCHAR) | SELECT aggregate_score FROM table_28068063_2 WHERE winners = "Brive" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
5176,
2079,
3891,
834,
357,
41,
31761,
15,
834,
7,
9022,
584,
4280,
28027,
6,
8969,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
12955,
2604,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
12955,
834,
7,
9022,
21680,
953,
834,
2577,
5176,
2079,
3891,
834,
357,
549,
17444,
427,
8969,
3274,
96,
279,
52,
757,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Points is the highest one that has a Nationality of aut, and a Name of thomas morgenstern? | CREATE TABLE table_name_32 (points INTEGER, nationality VARCHAR, name VARCHAR) | SELECT MAX(points) FROM table_name_32 WHERE nationality = "aut" AND name = "thomas morgenstern" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
2700,
7,
3,
21342,
17966,
6,
1157,
485,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
4564,
7,
19,
8,
2030,
80,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2700,
7,
61,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
1157,
485,
3274,
96,
402,
17,
121,
3430,
564,
3274,
96,
189,
32,
2754,
8030,
729,
13072,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
when was the marriage when became dauphine is 31 august 1412? | CREATE TABLE table_name_79 (
marriage VARCHAR,
became_dauphine VARCHAR
) | SELECT marriage FROM table_name_79 WHERE became_dauphine = "31 august 1412" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
5281,
584,
4280,
28027,
6,
1632,
834,
26,
402,
22230,
15,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
116,
47,
8,
5281,
116,
1632,
10216,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5281,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
1632,
834,
26,
402,
22230,
15,
3274,
96,
3341,
14663,
968,
2122,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many program data on Asia was written if the organization launched 14 programs iin the Americas? | CREATE TABLE table_27184837_1 (
asia VARCHAR,
americas VARCHAR
) | SELECT COUNT(asia) FROM table_27184837_1 WHERE americas = 14 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
2606,
3707,
4118,
834,
536,
41,
3,
15974,
584,
4280,
28027,
6,
3,
23064,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
478,
331,
30,
3826,
47,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
15974,
61,
21680,
953,
834,
2555,
2606,
3707,
4118,
834,
536,
549,
17444,
427,
3,
23064,
7,
3274,
968,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the evening gown score for the one who had a preliminary average of 8.121 (8)? | CREATE TABLE table_20673 (
"State" text,
"Preliminary Average" text,
"Interview" text,
"Swimsuit" text,
"Evening Gown" text,
"Semifinal Average" text
) | SELECT "Evening Gown" FROM table_20673 WHERE "Preliminary Average" = '8.121 (8)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24643,
4552,
41,
96,
134,
4748,
121,
1499,
6,
96,
10572,
4941,
77,
1208,
23836,
121,
1499,
6,
96,
17555,
4576,
121,
1499,
6,
96,
134,
210,
603,
7628,
121,
1499,
6,
96,
42... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
427,
1926,
53,
350,
9197,
121,
21680,
953,
834,
24643,
4552,
549,
17444,
427,
96,
10572,
4941,
77,
1208,
23836,
121,
3274,
3,
31,
20677,
2658,
3,
28007,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Total has a Gold smaller than 0? | CREATE TABLE table_name_29 (total INTEGER, gold INTEGER) | SELECT SUM(total) FROM table_name_29 WHERE gold < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
235,
1947,
3,
21342,
17966,
6,
2045,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
4073,
9273,
65,
3,
9,
2540,
2755,
145,
3,
632,
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,
180,
6122,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
2045,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the highest overall rank of any Tennessee State player drafted before round 10? | CREATE TABLE table_name_48 (overall INTEGER, school_club_team VARCHAR, round VARCHAR) | SELECT MIN(overall) FROM table_name_48 WHERE school_club_team = "tennessee state" AND round < 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
1890,
1748,
3,
21342,
17966,
6,
496,
834,
13442,
834,
11650,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
1890,
1748,
61,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
496,
834,
13442,
834,
11650,
3274,
96,
324,
655,
15,
15,
538,
121,
3430,
1751,
3,
2,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the highest number of people injured at incidents located at Rohtas, Bihar where fewer than 13 were killed? | CREATE TABLE table_name_84 (
injured INTEGER,
place VARCHAR,
killed VARCHAR
) | SELECT MAX(injured) FROM table_name_84 WHERE place = "rohtas, bihar" AND killed < 13 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
7532,
3,
21342,
17966,
6,
286,
584,
4280,
28027,
6,
4792,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2030,
381,
13,
151,
7532,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
77,
2047,
1271,
61,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
286,
3274,
96,
52,
32,
107,
17,
9,
7,
6,
2647,
3272,
121,
3430,
4792,
3,
2,
1179,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the CPU clock for L2 cache of 2*512 and series ^ of e-series and DDR3 speed of 1066 | CREATE TABLE table_55086 (
"Series ^" text,
"Model" text,
"CPU clock ( MHz )" text,
"CPU cores" real,
"TDP ( W )" text,
"L2 cache (KiB)" text,
"Radeon cores" real,
"DDR3 speed" real
) | SELECT "CPU clock ( MHz )" FROM table_55086 WHERE "L2 cache (KiB)" = '2*512' AND "Series ^" = 'e-series' AND "DDR3 speed" = '1066' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17147,
3840,
41,
96,
12106,
7,
3,
2,
121,
1499,
6,
96,
24663,
121,
1499,
6,
96,
254,
10744,
6702,
41,
3,
20210,
3,
61,
121,
1499,
6,
96,
254,
10744,
2583,
7,
121,
490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
254,
10744,
6702,
41,
3,
20210,
3,
61,
121,
21680,
953,
834,
17147,
3840,
549,
17444,
427,
96,
434,
357,
11800,
41,
439,
23,
279,
61,
121,
3274,
3,
31,
357,
1935,
24163,
31,
3430,
96,
12106,
7,
3,
2,
121,
... |
Which borough or census area has a $59,596 median household income? | CREATE TABLE table_75650 (
"Borough or Census Area" text,
"Per capita income" text,
"Median household income" text,
"Median family income" text,
"Population" real,
"Number of households" real
) | SELECT "Borough or Census Area" FROM table_75650 WHERE "Median household income" = '$59,596' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
15348,
41,
96,
279,
32,
13245,
42,
23086,
5690,
121,
1499,
6,
96,
12988,
23219,
2055,
121,
1499,
6,
96,
24607,
29,
5699,
2055,
121,
1499,
6,
96,
24607,
29,
384,
2055,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
279,
32,
13245,
42,
23086,
5690,
121,
21680,
953,
834,
3072,
15348,
549,
17444,
427,
96,
24607,
29,
5699,
2055,
121,
3274,
3,
31,
3229,
3390,
6,
3390,
948,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find All_Games and ACC_Percent , and visualize them by a bar chart, and order x axis from low to high order. | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT All_Games, ACC_Percent FROM basketball_match ORDER BY All_Games | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8498,
834,
19515,
41,
2271,
834,
4309,
16,
17,
6,
1121,
834,
4309,
16,
17,
6,
2271,
834,
23954,
1499,
6,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
1499,
6,
3,
14775,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
23055,
7,
6,
3,
14775,
834,
12988,
3728,
21680,
8498,
834,
19515,
4674,
11300,
272,
476,
432,
834,
23055,
7,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the home team when the away team was Frickley Athletic? | CREATE TABLE table_name_3 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_3 WHERE away_team = "frickley athletic" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
5515,
834,
11650,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
234,
372,
116,
8,
550,
372,
47,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
234,
834,
11650,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
550,
834,
11650,
3274,
96,
89,
5206,
1306,
12217,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which network has s analyst of eddie arcaro? | CREATE TABLE table_25076 (
"Year" real,
"Network" text,
"Race caller" text,
"s Host" text,
"s Analyst" text,
"Reporters" text,
"Trophy presentation" text
) | SELECT "Network" FROM table_25076 WHERE "s Analyst" = 'Eddie Arcaro' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11434,
3959,
41,
96,
476,
2741,
121,
490,
6,
96,
9688,
1981,
121,
1499,
6,
96,
448,
3302,
580,
49,
121,
1499,
6,
96,
7,
1546,
7,
17,
121,
1499,
6,
96,
7,
25224,
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,
9688,
1981,
121,
21680,
953,
834,
11434,
3959,
549,
17444,
427,
96,
7,
25224,
121,
3274,
3,
31,
427,
26,
2498,
1533,
1720,
32,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What Championship has an Opponent in the final of aaron krickstein, and a Score in the final of 7 5, 6 2? | CREATE TABLE table_61360 (
"Outcome" text,
"Date" real,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
) | SELECT "Championship" FROM table_61360 WHERE "Opponent in the final" = 'aaron krickstein' AND "Score in the final" = '7–5, 6–2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
19208,
41,
96,
15767,
287,
15,
121,
1499,
6,
96,
308,
342,
121,
490,
6,
96,
254,
1483,
12364,
2009,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
667,
102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
254,
1483,
12364,
2009,
121,
21680,
953,
834,
4241,
19208,
549,
17444,
427,
96,
667,
102,
9977,
16,
8,
804,
121,
3274,
3,
31,
9,
291,
106,
3,
157,
5206,
4008,
31,
3430,
96,
134,
9022,
16,
8,
804,
121,
3274,
... |
what's the win with points for being 376 | CREATE TABLE table_12828723_3 (won VARCHAR, points_for VARCHAR) | SELECT won FROM table_12828723_3 WHERE points_for = "376" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
4613,
4225,
2773,
834,
519,
41,
210,
106,
584,
4280,
28027,
6,
979,
834,
1161,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
1369,
28,
979,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
751,
21680,
953,
834,
2122,
4613,
4225,
2773,
834,
519,
549,
17444,
427,
979,
834,
1161,
3274,
96,
519,
3959,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of email and manager_id in a bar chart, display by the bar in descending please. | CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
... | SELECT EMAIL, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMAIL DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3248,
41,
301,
5618,
8015,
834,
4309,
7908,
1982,
599,
8525,
632,
201,
3,
13733,
26418,
834,
24604,
12200,
134,
3,
4331,
4059,
599,
2445,
201,
3,
16034,
16359,
834,
5911,
5596,
3,
4331... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
20211,
3502,
6,
283,
15610,
17966,
834,
4309,
21680,
1652,
549,
17444,
427,
4486,
3396,
19846,
11810,
834,
4309,
3388,
41,
23143,
14196,
3396,
19846,
11810,
834,
4309,
21680,
10521,
549,
17444,
427,
283,
15610,
17966,
... |
What is the document type name and the document type description and creation date for all the documents? | CREATE TABLE Ref_document_types (
document_type_name VARCHAR,
document_type_description VARCHAR,
document_type_code VARCHAR
)
CREATE TABLE Documents (
Document_date VARCHAR,
document_type_code VARCHAR
) | SELECT T1.document_type_name, T1.document_type_description, T2.Document_date FROM Ref_document_types AS T1 JOIN Documents AS T2 ON T1.document_type_code = T2.document_type_code | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
419,
89,
834,
28244,
834,
6137,
7,
41,
1708,
834,
6137,
834,
4350,
584,
4280,
28027,
6,
1708,
834,
6137,
834,
221,
11830,
584,
4280,
28027,
6,
1708,
834,
6137,
834,
4978,
584,
4280,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
28244,
834,
6137,
834,
4350,
6,
332,
5411,
28244,
834,
6137,
834,
221,
11830,
6,
332,
4416,
4135,
1071,
297,
834,
5522,
21680,
419,
89,
834,
28244,
834,
6137,
7,
6157,
332,
536,
3,
15355,
3162,
11167,
7,
... |
What is the license for Jriver Media Center? | CREATE TABLE table_name_91 (
license VARCHAR,
name VARCHAR
) | SELECT license FROM table_name_91 WHERE name = "jriver media center" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
3344,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3344,
21,
8206,
23,
624,
3159,
1166,
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,
3344,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
564,
3274,
96,
354,
5927,
49,
783,
1530,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who was David Adams partner on the match played on Clay Surface with a Score in the final of 6 3, 6 7 (5 7) , 7 6 (7 5)? | CREATE TABLE table_7319 (
"Outcome" text,
"Date" real,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponent in the final" text,
"Score in the final" text
) | SELECT "Partner" FROM table_7319 WHERE "Surface" = 'clay' AND "Score in the final" = '6–3, 6–7 (5–7) , 7–6 (7–5)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
2294,
41,
96,
15767,
287,
15,
121,
1499,
6,
96,
308,
342,
121,
490,
6,
96,
382,
1211,
20205,
17,
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,
1... | [
3,
23143,
14196,
96,
13725,
687,
121,
21680,
953,
834,
4552,
2294,
549,
17444,
427,
96,
134,
450,
4861,
121,
3274,
3,
31,
4651,
63,
31,
3430,
96,
134,
9022,
16,
8,
804,
121,
3274,
3,
31,
948,
104,
6355,
431,
104,
940,
9209,
104,... |
Who is the player from Canada with a 199 pick? | CREATE TABLE table_name_75 (
player VARCHAR,
nationality VARCHAR,
pick VARCHAR
) | SELECT player FROM table_name_75 WHERE nationality = "canada" AND pick = "199" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
1959,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
6,
1432,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
1959,
45,
1894,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
1157,
485,
3274,
96,
658,
18089,
121,
3430,
1432,
3274,
96,
19479,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Show all company names with a movie directed in year 1999. | CREATE TABLE movie (movie_id VARCHAR, year VARCHAR); CREATE TABLE culture_company (company_name VARCHAR, movie_id VARCHAR) | SELECT T2.company_name FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id WHERE T1.year = 1999 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1974,
41,
7168,
23,
15,
834,
23,
26,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1543,
834,
29179,
41,
29179,
834,
4350,
584,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
29179,
834,
4350,
21680,
1974,
6157,
332,
536,
3,
15355,
3162,
1543,
834,
29179,
6157,
332,
357,
9191,
332,
5411,
7168,
23,
15,
834,
23,
26,
3274,
332,
4416,
7168,
23,
15,
834,
23,
26,
549,
17444,
427,
... |
What is Greg Norman's place? | CREATE TABLE table_79173 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "Place" FROM table_79173 WHERE "Player" = 'greg norman' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4440,
2517,
519,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
345,
11706,
121,
21680,
953,
834,
4440,
2517,
519,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
18301,
7982,
152,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the largest attendance at Memorial Stadium on December 12, 1965? | CREATE TABLE table_name_51 (
attendance INTEGER,
game_site VARCHAR,
date VARCHAR
) | SELECT MAX(attendance) FROM table_name_51 WHERE game_site = "memorial stadium" AND date = "december 12, 1965" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
11364,
3,
21342,
17966,
6,
467,
834,
3585,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2015,
11364,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
467,
834,
3585,
3274,
96,
526,
51,
11929,
14939,
121,
3430,
833,
3274,
96,
221,
75,
18247,
10440,
19201,
121,
1,
-100,
-100,
-100,
-10... |
Name for me the tatsuhito takaiwa for Ryusuke Taguchi of taguchi (14:31) | CREATE TABLE table_name_50 (tatsuhito_takaiwa VARCHAR, ryusuke_taguchi VARCHAR) | SELECT tatsuhito_takaiwa FROM table_name_50 WHERE ryusuke_taguchi = "taguchi (14:31)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
17,
23766,
10536,
32,
834,
17,
5667,
23,
210,
9,
584,
4280,
28027,
6,
3,
651,
302,
1598,
15,
834,
2408,
2295,
23,
584,
4280,
28027,
61,
3,
32102,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17,
23766,
10536,
32,
834,
17,
5667,
23,
210,
9,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
3,
651,
302,
1598,
15,
834,
2408,
2295,
23,
3274,
96,
2408,
2295,
23,
41,
2534,
10,
3341,
61,
121,
1,
-100,
... |
papers about crowdsourcing in acl 2015 | CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE field (
fieldid int
)
CREATE TABLE key... | SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase, venue WHERE keyphrase.keyphrasename = 'crowdsourcing' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year = 2015 AND venue.venueid = paper.venueid AND venue.venuename = 'acl' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1040,
1846,
41,
1057,
23,
26,
16,
17,
6,
1040,
23,
26,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2291,
41,
2291,
23,
26,
16,
17,
6,
2291,
4350,
3,
4331,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
1040,
5,
19587,
23,
26,
21680,
843,
27111,
6,
1040,
6,
1040,
4397,
27111,
6,
5669,
549,
17444,
427,
843,
27111,
5,
4397,
27111,
4350,
3274,
3,
31,
75,
3623,
26,
19035,
31,
3430,
1040,
4397,
... |
Name the winner for date of nov 5, 1987 | CREATE TABLE table_1594772_2 (winner VARCHAR, match_date VARCHAR) | SELECT winner FROM table_1594772_2 WHERE match_date = "Nov 5, 1987" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27904,
4177,
5865,
834,
357,
41,
3757,
687,
584,
4280,
28027,
6,
1588,
834,
5522,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
4668,
21,
833,
13,
3,
5326,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4668,
21680,
953,
834,
27904,
4177,
5865,
834,
357,
549,
17444,
427,
1588,
834,
5522,
3274,
96,
4168,
208,
7836,
12701,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
get the number of patients born before 2103 who had skin closure nec. | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2103" AND procedures.short_title = "Skin closure NEC" | [
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 away team when the home team scored 7.11 (53)? | CREATE TABLE table_4656 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team" FROM table_4656 WHERE "Home team score" = '7.11 (53)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
4834,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
1343,
372,
121,
21680,
953,
834,
4448,
4834,
549,
17444,
427,
96,
19040,
372,
2604,
121,
3274,
3,
31,
25059,
536,
9209,
5268,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
When Yusuke Hatanaka was the stage winner in the tabriz petrochemical team classification, what was the mountains classification? | CREATE TABLE table_38700 (
"Stage" text,
"Stage winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Malaysian rider classification" text,
"Team classification" text
) | SELECT "Mountains classification" FROM table_38700 WHERE "Team classification" = 'tabriz petrochemical team' AND "Stage winner" = 'yusuke hatanaka' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3747,
9295,
41,
96,
134,
6505,
121,
1499,
6,
96,
134,
6505,
4668,
121,
1499,
6,
96,
20857,
13774,
121,
1499,
6,
96,
22512,
7,
13774,
121,
1499,
6,
96,
329,
32,
14016,
77,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
329,
32,
14016,
77,
7,
13774,
121,
21680,
953,
834,
3747,
9295,
549,
17444,
427,
96,
18699,
13774,
121,
3274,
3,
31,
10309,
13266,
3,
102,
15252,
14676,
372,
31,
3430,
96,
134,
6505,
4668,
121,
3274,
3,
31,
63... |
What is the loss with 319 points? | CREATE TABLE table_name_66 (
lost VARCHAR,
points_for VARCHAR
) | SELECT lost FROM table_name_66 WHERE points_for = "319" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
1513,
584,
4280,
28027,
6,
979,
834,
1161,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1453,
28,
220,
2294,
979,
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,
1513,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
979,
834,
1161,
3274,
96,
519,
2294,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For those records from the products and each product's manufacturer, give me the comparison about the sum of code over the name , and group by attribute name by a bar chart, and sort Y-axis from high to low order please. | 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, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Code DESC | [
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,
5411,
22737,
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,
5411,
2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.