instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the highest number of matches that has a round of Third Round? | SELECT MAX(matches) FROM table_name_22 WHERE round = "third round" | [
2061,
318,
262,
4511,
1271,
286,
7466,
326,
468,
257,
2835,
286,
10467,
10485,
30,
46506,
25882,
7,
6759,
2052,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
2835,
796,
366,
17089,
2835,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
1271,
286,
7466,
326,
468,
257,
2835,
286,
10467,
10485,
30,
46506,
25882,
7,
6759,
2052,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
2835,
796,
366,
17089,
2835,
1
] |
Who drove the Chevrolet with the Eagle chassis? | SELECT "Drivers" FROM table_4607 WHERE "Engine" = 'chevrolet' AND "Chassis" = 'eagle' | [
8241,
10357,
262,
35398,
351,
262,
18456,
24587,
30,
46506,
366,
20564,
690,
1,
16034,
3084,
62,
19,
31980,
33411,
366,
13798,
1,
796,
705,
49916,
33087,
6,
5357,
366,
1925,
20297,
1,
796,
705,
68,
19345,
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
] | [
8241,
10357,
262,
35398,
351,
262,
18456,
24587,
30,
46506,
366,
20564,
690,
1,
16034,
3084,
62,
19,
31980,
33411,
366,
13798,
1,
796,
705,
49916,
33087,
6,
5357,
366,
1925,
20297,
1,
796,
705,
68,
19345,
6
] |
What was the date of the game that had a loss of Reed (0 2)? | SELECT "Date" FROM table_67749 WHERE "Loss" = 'reed (0–2)' | [
2061,
373,
262,
3128,
286,
262,
983,
326,
550,
257,
2994,
286,
16105,
357,
15,
362,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
40179,
2920,
33411,
366,
43,
793,
1,
796,
705,
15977,
357,
15,
1906,
17,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
286,
262,
983,
326,
550,
257,
2994,
286,
16105,
357,
15,
362,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
40179,
2920,
33411,
366,
43,
793,
1,
796,
705,
15977,
357,
15,
1906,
17,
33047
] |
current drug or alcohol abuse ( regular alcohol intake > 14 units / week ) | SELECT * FROM table_train_186 WHERE alcohol_abuse = 1 OR regular_alcohol_intake > 14 | [
14421,
2563,
393,
5548,
5076,
357,
3218,
5548,
10337,
1875,
1478,
4991,
1220,
1285,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
25096,
33411,
5548,
62,
47158,
796,
352,
6375,
3218,
62,
42142,
62,
600,
539,
1875,
1478
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14421,
2563,
393,
5548,
5076,
357,
3218,
5548,
10337,
1875,
1478,
4991,
1220,
1285,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
25096,
33411,
5548,
62,
47158,
796,
352,
6375,
3218,
62,
42142,
62,
600,
539,
1875,
1478
] |
When did Essendon play at home? | SELECT date FROM table_name_15 WHERE home_team = "essendon" | [
2215,
750,
11985,
43153,
711,
379,
1363,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1314,
33411,
1363,
62,
15097,
796,
366,
408,
43153,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
750,
11985,
43153,
711,
379,
1363,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1314,
33411,
1363,
62,
15097,
796,
366,
408,
43153,
1
] |
provide the number of patients whose diagnoses icd9 code is v053 and lab test category is blood gas? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "V053" AND lab."CATEGORY" = "Blood Gas" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
410,
2713,
18,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
410,
2713,
18,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... |
What is the lowest Year, when Finish is '29', and when Start is less than 24? | SELECT MIN("Year") FROM table_61679 WHERE "Finish" = '29' AND "Start" < '24' | [
2061,
318,
262,
9016,
6280,
11,
618,
32585,
318,
705,
1959,
3256,
290,
618,
7253,
318,
1342,
621,
1987,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
44214,
3720,
33411,
366,
48658,
1,
796,
705,
1959,
6,
5357,
366,
10434,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
6280,
11,
618,
32585,
318,
705,
1959,
3256,
290,
618,
7253,
318,
1342,
621,
1987,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
44214,
3720,
33411,
366,
48658,
1,
796,
705,
1959,
6,
5357,
366,
10434,
1,
... |
Show names for all employees who have certificates on both Boeing 737-800 and Airbus A340-300. | SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = "Boeing 737-800" INTERSECT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = "Airbus A340-300" | [
15307,
3891,
329,
477,
4409,
508,
423,
20835,
319,
1111,
17880,
37517,
12,
7410,
290,
39173,
317,
23601,
12,
6200,
13,
46506,
309,
16,
13,
3672,
16034,
36824,
7054,
309,
16,
32357,
1268,
27895,
7054,
309,
17,
6177,
309,
16,
13,
68,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
3891,
329,
477,
4409,
508,
423,
20835,
319,
1111,
17880,
37517,
12,
7410,
290,
39173,
317,
23601,
12,
6200,
13,
46506,
309,
16,
13,
3672,
16034,
36824,
7054,
309,
16,
32357,
1268,
27895,
7054,
309,
17,
6177,
309,
16,
13,
68,
... |
What Aggregate has a 2-1 1st leg, and is from Belgrano? | SELECT "Aggregate" FROM table_36086 WHERE "1st Leg" = '2-1' AND "Home (1st leg)" = 'belgrano' | [
2061,
19015,
49373,
468,
257,
362,
12,
16,
352,
301,
1232,
11,
290,
318,
422,
3944,
2164,
5733,
30,
46506,
366,
46384,
49373,
1,
16034,
3084,
62,
15277,
4521,
33411,
366,
16,
301,
3564,
1,
796,
705,
17,
12,
16,
6,
5357,
366,
16060... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
19015,
49373,
468,
257,
362,
12,
16,
352,
301,
1232,
11,
290,
318,
422,
3944,
2164,
5733,
30,
46506,
366,
46384,
49373,
1,
16034,
3084,
62,
15277,
4521,
33411,
366,
16,
301,
3564,
1,
796,
705,
17,
12,
16,
6,
5357,
366,
16060... |
Who directed the episode that had 12.88 million viewers? | SELECT "Directed by" FROM table_3451 WHERE "U.S. viewers (million)" = '12.88' | [
8241,
7924,
262,
4471,
326,
550,
1105,
13,
3459,
1510,
10209,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
27712,
16,
33411,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
796,
705,
1065,
13,
3459,
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
] | [
8241,
7924,
262,
4471,
326,
550,
1105,
13,
3459,
1510,
10209,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
27712,
16,
33411,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
796,
705,
1065,
13,
3459,
6
] |
age greater than 6 years of age but less than 25 years of age ( insulin glargine has been approved for use in children 6 years and older ) . | SELECT * FROM table_train_215 WHERE age >= 6 AND age <= 25 | [
496,
3744,
621,
718,
812,
286,
2479,
475,
1342,
621,
1679,
812,
286,
2479,
357,
14588,
1278,
853,
500,
468,
587,
6325,
329,
779,
287,
1751,
718,
812,
290,
4697,
1267,
764,
46506,
1635,
16034,
3084,
62,
27432,
62,
23349,
33411,
2479,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
496,
3744,
621,
718,
812,
286,
2479,
475,
1342,
621,
1679,
812,
286,
2479,
357,
14588,
1278,
853,
500,
468,
587,
6325,
329,
779,
287,
1751,
718,
812,
290,
4697,
1267,
764,
46506,
1635,
16034,
3084,
62,
27432,
62,
23349,
33411,
2479,
... |
What is every value for Under-11 if Under-19 is Leong Siu Lynn? | SELECT under_11 FROM table_26368963_2 WHERE under_19 = "Leong Siu Lynn" | [
2061,
318,
790,
1988,
329,
4698,
12,
1157,
611,
4698,
12,
1129,
318,
1004,
506,
15638,
84,
24868,
30,
46506,
739,
62,
1157,
16034,
3084,
62,
2075,
2623,
4531,
5066,
62,
17,
33411,
739,
62,
1129,
796,
366,
3123,
506,
15638,
84,
24868... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
790,
1988,
329,
4698,
12,
1157,
611,
4698,
12,
1129,
318,
1004,
506,
15638,
84,
24868,
30,
46506,
739,
62,
1157,
16034,
3084,
62,
2075,
2623,
4531,
5066,
62,
17,
33411,
739,
62,
1129,
796,
366,
3123,
506,
15638,
84,
24868... |
how many assists did the player who played 195 minutes make | SELECT assists FROM table_19722233_5 WHERE minutes = 195 | [
4919,
867,
13648,
750,
262,
2137,
508,
2826,
24793,
2431,
787,
46506,
13648,
16034,
3084,
62,
24991,
1828,
25429,
62,
20,
33411,
2431,
796,
24793
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
13648,
750,
262,
2137,
508,
2826,
24793,
2431,
787,
46506,
13648,
16034,
3084,
62,
24991,
1828,
25429,
62,
20,
33411,
2431,
796,
24793
] |
give me the number of patients whose admission year is less than 2184 and diagnoses icd9 code is 72888? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2184" AND diagnoses.icd9_code = "72888" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
22883,
290,
40567,
14158,
67,
24,
2438,
318,
767,
2078,
3459,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
22883,
290,
40567,
14158,
67,
24,
2438,
318,
767,
2078,
3459,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
What was the MNZ FEA when the SIL SPR was 18? | SELECT "MNZ FEA" FROM table_69847 WHERE "SIL SPR" = '18' | [
2061,
373,
262,
29060,
57,
376,
16412,
618,
262,
47551,
49068,
373,
1248,
30,
46506,
366,
44,
37371,
376,
16412,
1,
16034,
3084,
62,
39357,
2857,
33411,
366,
50,
4146,
49068,
1,
796,
705,
1507,
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
] | [
2061,
373,
262,
29060,
57,
376,
16412,
618,
262,
47551,
49068,
373,
1248,
30,
46506,
366,
44,
37371,
376,
16412,
1,
16034,
3084,
62,
39357,
2857,
33411,
366,
50,
4146,
49068,
1,
796,
705,
1507,
6
] |
nursing mothers | SELECT * FROM table_train_261 WHERE bursing_mothers = 1 | [
77,
1834,
278,
12289,
46506,
1635,
16034,
3084,
62,
27432,
62,
30057,
33411,
275,
1834,
278,
62,
13552,
82,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
77,
1834,
278,
12289,
46506,
1635,
16034,
3084,
62,
27432,
62,
30057,
33411,
275,
1834,
278,
62,
13552,
82,
796,
352
] |
what is admission type and death status of subject id 2560? | SELECT demographic.admission_type, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "2560" | [
10919,
318,
13938,
2099,
290,
1918,
3722,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
13938,
2099,
290,
1918,
3722,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
can you give me information on all the flights from SAN FRANCISCO no from PITTSBURGH to SAN FRANCISCO on monday | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND date_day.day_number = 21 AND date_day.month_number = 2... | [
5171,
345,
1577,
502,
1321,
319,
477,
262,
13956,
422,
37376,
8782,
20940,
1797,
8220,
645,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
1797,
8220,
319,
285,
3204,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5171,
345,
1577,
502,
1321,
319,
477,
262,
13956,
422,
37376,
8782,
20940,
1797,
8220,
645,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
1797,
8220,
319,
285,
3204,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
160... |
Which is easier EECS 546 or EECS 558 ? | SELECT DISTINCT course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (course.number = 546 OR course.number = 558) AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 INNER JOIN course AS COURSEalias1 ON ... | [
13828,
318,
4577,
412,
2943,
50,
642,
3510,
393,
412,
2943,
50,
642,
3365,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
318,
4577,
412,
2943,
50,
642,
3510,
393,
412,
2943,
50,
642,
3365,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
17... |
is there ground transportation in ST. LOUIS | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'ST. LOUIS' AND ground_service.city_code = city.city_code | [
271,
612,
2323,
9358,
287,
3563,
13,
406,
2606,
1797,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
2257,
13,
406,
2606,
1797,
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
] | [
271,
612,
2323,
9358,
287,
3563,
13,
406,
2606,
1797,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
2257,
13,
406,
2606,
1797,
6... |
information on flights from PITTSBURGH to SAN FRANCISCO | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN... | [
17018,
319,
13956,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
17018,
319,
13956,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
... |
What date was the Tigullio Circuit? | SELECT date FROM table_name_24 WHERE circuit = "tigullio" | [
2061,
3128,
373,
262,
14189,
724,
952,
13588,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1731,
33411,
10349,
796,
366,
83,
328,
724,
952,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3128,
373,
262,
14189,
724,
952,
13588,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1731,
33411,
10349,
796,
366,
83,
328,
724,
952,
1
] |
What is the name of the manager of the Atl tico Baleares? | SELECT manager FROM table_name_54 WHERE current_club = "atlético baleares" | [
2061,
318,
262,
1438,
286,
262,
4706,
286,
262,
5234,
256,
3713,
43248,
3565,
30,
46506,
4706,
16034,
3084,
62,
3672,
62,
4051,
33411,
1459,
62,
18664,
796,
366,
25864,
25125,
3713,
275,
1000,
3565,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
4706,
286,
262,
5234,
256,
3713,
43248,
3565,
30,
46506,
4706,
16034,
3084,
62,
3672,
62,
4051,
33411,
1459,
62,
18664,
796,
366,
25864,
25125,
3713,
275,
1000,
3565,
1
] |
Which country is in T1 place with a score of 71-68=139? | SELECT "Country" FROM table_43751 WHERE "Place" = 't1' AND "Score" = '71-68=139' | [
13828,
1499,
318,
287,
309,
16,
1295,
351,
257,
4776,
286,
9166,
12,
3104,
28,
20219,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
3559,
48365,
33411,
366,
27271,
1,
796,
705,
83,
16,
6,
5357,
366,
26595,
1,
796,
705,
4869,
12,
3104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1499,
318,
287,
309,
16,
1295,
351,
257,
4776,
286,
9166,
12,
3104,
28,
20219,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
3559,
48365,
33411,
366,
27271,
1,
796,
705,
83,
16,
6,
5357,
366,
26595,
1,
796,
705,
4869,
12,
3104... |
What time is Geoffrey Bankowski next teaching 463 ? | SELECT DISTINCT semester.semester, semester.year FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.number = 463 AND course_offering.semester = semester.semester_id AND instructor.name LIKE '%Geoffrey Bankowski%' AND offering_instructor.... | [
2061,
640,
318,
42803,
5018,
12079,
1306,
7743,
604,
5066,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
11,
24878,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
640,
318,
42803,
5018,
12079,
1306,
7743,
604,
5066,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
11,
24878,
... |
what is the apparent magnitude of the constellation sculptor | SELECT COUNT("Apparent magnitude") FROM table_51224 WHERE "Constellation" = 'sculptor' | [
10919,
318,
262,
4156,
14735,
286,
262,
38712,
14747,
273,
46506,
327,
28270,
7203,
4677,
1580,
14735,
4943,
16034,
3084,
62,
25836,
1731,
33411,
366,
34184,
28828,
1,
796,
705,
1416,
13327,
273,
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
] | [
10919,
318,
262,
4156,
14735,
286,
262,
38712,
14747,
273,
46506,
327,
28270,
7203,
4677,
1580,
14735,
4943,
16034,
3084,
62,
25836,
1731,
33411,
366,
34184,
28828,
1,
796,
705,
1416,
13327,
273,
6
] |
What is the highest number of Silver, when the Nation is Japan (JPN), and when the Total is greater than 37? | SELECT MAX(silver) FROM table_name_50 WHERE nation = "japan (jpn)" AND total > 37 | [
2061,
318,
262,
4511,
1271,
286,
7698,
11,
618,
262,
8741,
318,
2869,
357,
12889,
45,
828,
290,
618,
262,
7472,
318,
3744,
621,
5214,
30,
46506,
25882,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
3277,
796,
366,
73,
2674,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
1271,
286,
7698,
11,
618,
262,
8741,
318,
2869,
357,
12889,
45,
828,
290,
618,
262,
7472,
318,
3744,
621,
5214,
30,
46506,
25882,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
3277,
796,
366,
73,
2674,
... |
Which game is on mar 12? | SELECT AVG("Game") FROM table_12530 WHERE "Date" = 'mar 12' | [
13828,
983,
318,
319,
1667,
1105,
30,
46506,
35224,
7203,
8777,
4943,
16034,
3084,
62,
11623,
1270,
33411,
366,
10430,
1,
796,
705,
3876,
1105,
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
] | [
13828,
983,
318,
319,
1667,
1105,
30,
46506,
35224,
7203,
8777,
4943,
16034,
3084,
62,
11623,
1270,
33411,
366,
10430,
1,
796,
705,
3876,
1105,
6
] |
is the heart rate of patient 18159 was normal this month. | SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 18159)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d... | [
271,
262,
2612,
2494,
286,
5827,
1248,
19707,
373,
3487,
428,
1227,
13,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
271,
262,
2612,
2494,
286,
5827,
1248,
19707,
373,
3487,
428,
1227,
13,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
... |
How many players are from each country Visualize by bar chart, list bar in asc order. | SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name ORDER BY Country_name | [
2437,
867,
1938,
389,
422,
1123,
1499,
15612,
1096,
416,
2318,
8262,
11,
1351,
2318,
287,
10570,
1502,
13,
46506,
12946,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
1499,
7054,
309,
16,
32357,
1268,
2872,
62,
6230,
7054,
309,
17,
6177,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
1938,
389,
422,
1123,
1499,
15612,
1096,
416,
2318,
8262,
11,
1351,
2318,
287,
10570,
1502,
13,
46506,
12946,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
1499,
7054,
309,
16,
32357,
1268,
2872,
62,
6230,
7054,
309,
17,
6177,... |
Give me the comparison about Team_ID over the Team_Name by a bar chart. | SELECT Team_Name, Team_ID FROM basketball_match | [
23318,
502,
262,
7208,
546,
4816,
62,
2389,
625,
262,
4816,
62,
5376,
416,
257,
2318,
8262,
13,
46506,
4816,
62,
5376,
11,
4816,
62,
2389,
16034,
9669,
62,
15699
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
4816,
62,
2389,
625,
262,
4816,
62,
5376,
416,
257,
2318,
8262,
13,
46506,
4816,
62,
5376,
11,
4816,
62,
2389,
16034,
9669,
62,
15699
] |
What year had 6.62 m in the notes? | SELECT "Year" FROM table_36821 WHERE "Notes" = '6.62 m' | [
2061,
614,
550,
718,
13,
5237,
285,
287,
262,
4710,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
27412,
2481,
33411,
366,
16130,
1,
796,
705,
21,
13,
5237,
285,
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
] | [
2061,
614,
550,
718,
13,
5237,
285,
287,
262,
4710,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
27412,
2481,
33411,
366,
16130,
1,
796,
705,
21,
13,
5237,
285,
6
] |
What is Total, when Silver is less than 65, when Bronze is greater than 4, and when Rank is '4'? | SELECT total FROM table_name_81 WHERE silver < 65 AND bronze > "4" AND rank = "4" | [
2061,
318,
7472,
11,
618,
7698,
318,
1342,
621,
6135,
11,
618,
19461,
318,
3744,
621,
604,
11,
290,
618,
10916,
318,
705,
19,
30960,
46506,
2472,
16034,
3084,
62,
3672,
62,
6659,
33411,
8465,
1279,
6135,
5357,
22101,
1875,
366,
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
] | [
2061,
318,
7472,
11,
618,
7698,
318,
1342,
621,
6135,
11,
618,
19461,
318,
3744,
621,
604,
11,
290,
618,
10916,
318,
705,
19,
30960,
46506,
2472,
16034,
3084,
62,
3672,
62,
6659,
33411,
8465,
1279,
6135,
5357,
22101,
1875,
366,
19,
... |
What is the attendance of the match with a record 20-11? | SELECT attendance FROM table_name_97 WHERE record = "20-11" | [
2061,
318,
262,
14858,
286,
262,
2872,
351,
257,
1700,
1160,
12,
1157,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
5607,
33411,
1700,
796,
366,
1238,
12,
1157,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14858,
286,
262,
2872,
351,
257,
1700,
1160,
12,
1157,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
5607,
33411,
1700,
796,
366,
1238,
12,
1157,
1
] |
What was the score of the game when the team was 1-2? | SELECT score FROM table_13557843_3 WHERE record = "1-2" | [
2061,
373,
262,
4776,
286,
262,
983,
618,
262,
1074,
373,
352,
12,
17,
30,
46506,
4776,
16034,
3084,
62,
1485,
2816,
3695,
3559,
62,
18,
33411,
1700,
796,
366,
16,
12,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
618,
262,
1074,
373,
352,
12,
17,
30,
46506,
4776,
16034,
3084,
62,
1485,
2816,
3695,
3559,
62,
18,
33411,
1700,
796,
366,
16,
12,
17,
1
] |
What is the maximum average associated with a total of 221902? | SELECT MAX("Average") FROM table_3116 WHERE "Total" = '221902' | [
2061,
318,
262,
5415,
2811,
3917,
351,
257,
2472,
286,
2534,
1129,
2999,
30,
46506,
25882,
7203,
26287,
4943,
16034,
3084,
62,
18,
18298,
33411,
366,
14957,
1,
796,
705,
1828,
1129,
2999,
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
] | [
2061,
318,
262,
5415,
2811,
3917,
351,
257,
2472,
286,
2534,
1129,
2999,
30,
46506,
25882,
7203,
26287,
4943,
16034,
3084,
62,
18,
18298,
33411,
366,
14957,
1,
796,
705,
1828,
1129,
2999,
6
] |
Name Event of Medal of gold and a Name of duncan white? | SELECT event FROM table_name_18 WHERE medal = "gold" AND name = "duncan white" | [
5376,
8558,
286,
9064,
286,
3869,
290,
257,
6530,
286,
12574,
5171,
2330,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
1507,
33411,
18279,
796,
366,
24267,
1,
5357,
1438,
796,
366,
67,
403,
5171,
2330,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
8558,
286,
9064,
286,
3869,
290,
257,
6530,
286,
12574,
5171,
2330,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
1507,
33411,
18279,
796,
366,
24267,
1,
5357,
1438,
796,
366,
67,
403,
5171,
2330,
1
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of first_name and employee_id . | SELECT FIRST_NAME, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
717,
62,
3672,
290,
6538,
62,
312,
764,
46506,
31328,
62,
20608,
11,
17228,
648... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
717,
62,
3672,
290,
6538,
62,
312,
764,
46506,
31328,
62,
20608,
11,
17228,
648... |
What is the relationship between Credits and DNO ? | SELECT Credits, DNO FROM Course ORDER BY Credits | [
2061,
318,
262,
2776,
1022,
29501,
290,
360,
15285,
5633,
46506,
29501,
11,
360,
15285,
16034,
20537,
38678,
11050,
29501
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2776,
1022,
29501,
290,
360,
15285,
5633,
46506,
29501,
11,
360,
15285,
16034,
20537,
38678,
11050,
29501
] |
What is To Par, when Place is 'T5', and when Country is 'United States'? | SELECT to_par FROM table_name_18 WHERE place = "t5" AND country = "united states" | [
2061,
318,
1675,
2547,
11,
618,
8474,
318,
705,
51,
20,
3256,
290,
618,
12946,
318,
705,
17013,
1829,
30960,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1507,
33411,
1295,
796,
366,
83,
20,
1,
5357,
1499,
796,
366,
41187,
2585,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
1675,
2547,
11,
618,
8474,
318,
705,
51,
20,
3256,
290,
618,
12946,
318,
705,
17013,
1829,
30960,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1507,
33411,
1295,
796,
366,
83,
20,
1,
5357,
1499,
796,
366,
41187,
2585,... |
What is the highest population for Baraga County with less than 3,444 households? | SELECT MAX("Population") FROM table_58682 WHERE "County" = 'baraga' AND "Number of households" < '3,444' | [
2061,
318,
262,
4511,
3265,
329,
2409,
8126,
3418,
351,
1342,
621,
513,
11,
30272,
12503,
30,
46506,
25882,
7203,
45251,
4943,
16034,
3084,
62,
3365,
43950,
33411,
366,
12332,
88,
1,
796,
705,
5657,
8126,
6,
5357,
366,
15057,
286,
125... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
3265,
329,
2409,
8126,
3418,
351,
1342,
621,
513,
11,
30272,
12503,
30,
46506,
25882,
7203,
45251,
4943,
16034,
3084,
62,
3365,
43950,
33411,
366,
12332,
88,
1,
796,
705,
5657,
8126,
6,
5357,
366,
15057,
286,
125... |
What is the Cache with a Capacity that is 600 gb? | SELECT cache FROM table_name_59 WHERE capacity = "600 gb" | [
2061,
318,
262,
34088,
351,
257,
29765,
326,
318,
10053,
308,
65,
30,
46506,
12940,
16034,
3084,
62,
3672,
62,
3270,
33411,
5339,
796,
366,
8054,
308,
65,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
34088,
351,
257,
29765,
326,
318,
10053,
308,
65,
30,
46506,
12940,
16034,
3084,
62,
3672,
62,
3270,
33411,
5339,
796,
366,
8054,
308,
65,
1
] |
What is the number of professors for different school. | SELECT SCHOOL_CODE, COUNT(*) FROM DEPARTMENT AS T1 JOIN PROFESSOR AS T2 ON T1.DEPT_CODE = T2.DEPT_CODE GROUP BY T1.SCHOOL_CODE | [
2061,
318,
262,
1271,
286,
20339,
329,
1180,
1524,
13,
46506,
35883,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
5550,
30709,
10979,
7054,
309,
16,
32357,
1268,
4810,
19238,
7597,
1581,
7054,
309,
17,
6177,
309,
16,
13,
7206,
1157... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1271,
286,
20339,
329,
1180,
1524,
13,
46506,
35883,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
5550,
30709,
10979,
7054,
309,
16,
32357,
1268,
4810,
19238,
7597,
1581,
7054,
309,
17,
6177,
309,
16,
13,
7206,
1157... |
What year was the Commonwealth Games? | SELECT SUM("Year") FROM table_15802 WHERE "Tournament" = 'commonwealth games' | [
2061,
614,
373,
262,
17165,
5776,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
1314,
30863,
33411,
366,
51,
5138,
1,
796,
705,
11321,
14298,
1830,
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
] | [
2061,
614,
373,
262,
17165,
5776,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
1314,
30863,
33411,
366,
51,
5138,
1,
796,
705,
11321,
14298,
1830,
6
] |
What was the winning score of the Greater Vancouver Open tournament? | SELECT "Winning score" FROM table_42330 WHERE "Tournament" = 'greater vancouver open' | [
2061,
373,
262,
5442,
4776,
286,
262,
18169,
10930,
4946,
7756,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
43356,
1270,
33411,
366,
51,
5138,
1,
796,
705,
18223,
263,
410,
10264,
1280,
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
] | [
2061,
373,
262,
5442,
4776,
286,
262,
18169,
10930,
4946,
7756,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
43356,
1270,
33411,
366,
51,
5138,
1,
796,
705,
18223,
263,
410,
10264,
1280,
6
] |
What courses are available in the Fall or Winter that will meet the Core requirement ? | SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id... | [
2061,
10902,
389,
1695,
287,
262,
7218,
393,
10633,
326,
481,
1826,
262,
7231,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
3268,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
10902,
389,
1695,
287,
262,
7218,
393,
10633,
326,
481,
1826,
262,
7231,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
3268,... |
What is the average number lost when the against value is less than 5? | SELECT AVG(lost) FROM table_name_86 WHERE against < 5 | [
2061,
318,
262,
2811,
1271,
2626,
618,
262,
1028,
1988,
318,
1342,
621,
642,
30,
46506,
35224,
7,
33224,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
1028,
1279,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
1271,
2626,
618,
262,
1028,
1988,
318,
1342,
621,
642,
30,
46506,
35224,
7,
33224,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
1028,
1279,
642
] |
Which is the highest gold that has a bronze greater than 4? | SELECT MAX(gold) FROM table_name_96 WHERE bronze > 4 | [
13828,
318,
262,
4511,
3869,
326,
468,
257,
22101,
3744,
621,
604,
30,
46506,
25882,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
22101,
1875,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
318,
262,
4511,
3869,
326,
468,
257,
22101,
3744,
621,
604,
30,
46506,
25882,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
22101,
1875,
604
] |
What is To par, when Player is 'Greg Turner'? | SELECT to_par FROM table_name_72 WHERE player = "greg turner" | [
2061,
318,
1675,
1582,
11,
618,
7853,
318,
705,
25025,
15406,
30960,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
4761,
33411,
2137,
796,
366,
9903,
1210,
263,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
1675,
1582,
11,
618,
7853,
318,
705,
25025,
15406,
30960,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
4761,
33411,
2137,
796,
366,
9903,
1210,
263,
1
] |
How many times has the points total for the afc cup competion been 289? | SELECT COUNT("AFC Cup") FROM table_1065 WHERE "Points (total 500)" = '289' | [
2437,
867,
1661,
468,
262,
2173,
2472,
329,
262,
6580,
66,
6508,
2307,
295,
587,
38902,
30,
46506,
327,
28270,
7203,
32,
4851,
5454,
4943,
16034,
3084,
62,
940,
2996,
33411,
366,
40710,
357,
23350,
5323,
16725,
796,
705,
27693,
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
] | [
2437,
867,
1661,
468,
262,
2173,
2472,
329,
262,
6580,
66,
6508,
2307,
295,
587,
38902,
30,
46506,
327,
28270,
7203,
32,
4851,
5454,
4943,
16034,
3084,
62,
940,
2996,
33411,
366,
40710,
357,
23350,
5323,
16725,
796,
705,
27693,
6
] |
Return a bar chart about the number bookings for each apartment number, I want to list y axis in ascending order. | SELECT apt_number, COUNT(apt_number) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id GROUP BY apt_number ORDER BY COUNT(apt_number) | [
13615,
257,
2318,
8262,
546,
262,
1271,
1492,
654,
329,
1123,
7962,
1271,
11,
314,
765,
284,
1351,
331,
16488,
287,
41988,
1502,
13,
46506,
15409,
62,
17618,
11,
327,
28270,
7,
2373,
62,
17618,
8,
16034,
5949,
1823,
62,
10482,
654,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
257,
2318,
8262,
546,
262,
1271,
1492,
654,
329,
1123,
7962,
1271,
11,
314,
765,
284,
1351,
331,
16488,
287,
41988,
1502,
13,
46506,
15409,
62,
17618,
11,
327,
28270,
7,
2373,
62,
17618,
8,
16034,
5949,
1823,
62,
10482,
654,
... |
What are the ids of documents with the type code CV that do not have expenses. | SELECT document_id FROM documents WHERE document_type_code = "CV" EXCEPT SELECT document_id FROM documents_with_expenses | [
2061,
389,
262,
220,
2340,
286,
4963,
351,
262,
2099,
2438,
26196,
326,
466,
407,
423,
9307,
13,
46506,
3188,
62,
312,
16034,
4963,
33411,
3188,
62,
4906,
62,
8189,
796,
366,
33538,
1,
7788,
42006,
33493,
3188,
62,
312,
16034,
4963,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
220,
2340,
286,
4963,
351,
262,
2099,
2438,
26196,
326,
466,
407,
423,
9307,
13,
46506,
3188,
62,
312,
16034,
4963,
33411,
3188,
62,
4906,
62,
8189,
796,
366,
33538,
1,
7788,
42006,
33493,
3188,
62,
312,
16034,
4963,
... |
Is it possible that in the Spring-Summer I can take NERS 575 ? | SELECT COUNT(*) > 0 FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, semester AS SEMESTERalias0 WHERE COURSEalias0.course_id = COURSE_OFFERINGalias0.course_id AND NOT COURSEalias0.course_id IN... | [
3792,
340,
1744,
326,
287,
262,
8225,
12,
33560,
314,
460,
1011,
399,
4877,
642,
2425,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
357,
46506,
1781,
62,
312,
16034,
3710,
62,
22105,
33411,
5160,
62,
43082,
796,
705,
56,
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... | [
3792,
340,
1744,
326,
287,
262,
8225,
12,
33560,
314,
460,
1011,
399,
4877,
642,
2425,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
357,
46506,
1781,
62,
312,
16034,
3710,
62,
22105,
33411,
5160,
62,
43082,
796,
705,
56,
6,
... |
What is the score of 1993? | SELECT score FROM table_name_91 WHERE year = "1993" | [
2061,
318,
262,
4776,
286,
9656,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
6420,
33411,
614,
796,
366,
24465,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
286,
9656,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
6420,
33411,
614,
796,
366,
24465,
1
] |
show me flights from PITTSBURGH to PHILADELPHIA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHI... | [
12860,
502,
13956,
422,
49040,
4694,
38926,
17511,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
13956,
422,
49040,
4694,
38926,
17511,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62... |
Bin the hire date into the day of week interval, and then calculate the total salary of employees in each day for a bar chart, note that just select those employees without the letter M in their first name, I want to list Y from low to high order please. | SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE NOT FIRST_NAME LIKE '%M%' ORDER BY SUM(SALARY) | [
33,
259,
262,
11078,
3128,
656,
262,
1110,
286,
1285,
16654,
11,
290,
788,
15284,
262,
2472,
9588,
286,
4409,
287,
1123,
1110,
329,
257,
2318,
8262,
11,
3465,
326,
655,
2922,
883,
4409,
1231,
262,
3850,
337,
287,
511,
717,
1438,
11,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33,
259,
262,
11078,
3128,
656,
262,
1110,
286,
1285,
16654,
11,
290,
788,
15284,
262,
2472,
9588,
286,
4409,
287,
1123,
1110,
329,
257,
2318,
8262,
11,
3465,
326,
655,
2922,
883,
4409,
1231,
262,
3850,
337,
287,
511,
717,
1438,
11,... |
How many houses are green? | SELECT COUNT("House Name") FROM table_16799 WHERE "Colours" = 'Green' | [
2437,
867,
7777,
389,
4077,
30,
46506,
327,
28270,
7203,
18102,
6530,
4943,
16034,
3084,
62,
21940,
2079,
33411,
366,
5216,
4662,
1,
796,
705,
13719,
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
] | [
2437,
867,
7777,
389,
4077,
30,
46506,
327,
28270,
7203,
18102,
6530,
4943,
16034,
3084,
62,
21940,
2079,
33411,
366,
5216,
4662,
1,
796,
705,
13719,
6
] |
tell me the maximum sao2 in patient 027-214052 on the last intensive care unit visit? | SELECT MAX(vitalperiodic.sao2) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-214052') AND NOT patient.unitdischargetime IS NULL OR... | [
33331,
502,
262,
5415,
473,
78,
17,
287,
5827,
657,
1983,
12,
22291,
37841,
319,
262,
938,
18590,
1337,
4326,
3187,
30,
46506,
25882,
7,
85,
1287,
41007,
291,
13,
82,
5488,
17,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
262,
5415,
473,
78,
17,
287,
5827,
657,
1983,
12,
22291,
37841,
319,
262,
938,
18590,
1337,
4326,
3187,
30,
46506,
25882,
7,
85,
1287,
41007,
291,
13,
82,
5488,
17,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13... |
Who is the champion with a score of 7 6, 6 0? | SELECT "Champion" FROM table_49570 WHERE "Score" = '7–6, 6–0' | [
8241,
318,
262,
8783,
351,
257,
4776,
286,
767,
718,
11,
718,
657,
30,
46506,
366,
1925,
6734,
1,
16034,
3084,
62,
33781,
2154,
33411,
366,
26595,
1,
796,
705,
22,
1906,
21,
11,
718,
1906,
15,
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
] | [
8241,
318,
262,
8783,
351,
257,
4776,
286,
767,
718,
11,
718,
657,
30,
46506,
366,
1925,
6734,
1,
16034,
3084,
62,
33781,
2154,
33411,
366,
26595,
1,
796,
705,
22,
1906,
21,
11,
718,
1906,
15,
6
] |
what is the five year survival rate for patients who had been prescribed lr after having been diagnosed with cv dis nec-deliver w p/p? | SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t4.charttime) > 5 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.subject_id, t2.charttime FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd... | [
10919,
318,
262,
1936,
614,
9441,
2494,
329,
3871,
508,
550,
587,
14798,
300,
81,
706,
1719,
587,
14641,
351,
269,
85,
595,
27576,
12,
12381,
1428,
266,
279,
14,
79,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1936,
614,
9441,
2494,
329,
3871,
508,
550,
587,
14798,
300,
81,
706,
1719,
587,
14641,
351,
269,
85,
595,
27576,
12,
12381,
1428,
266,
279,
14,
79,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
... |
did patient 022-158213 visit the emergency room since 6 years ago? | SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '022-158213' AND patient.hospitaladmitsource = 'emergency department' AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-6 year') | [
20839,
5827,
657,
1828,
12,
1314,
6469,
1485,
3187,
262,
6334,
2119,
1201,
718,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
44087,
12,
1314,
6469,
1485,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20839,
5827,
657,
1828,
12,
1314,
6469,
1485,
3187,
262,
6334,
2119,
1201,
718,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
44087,
12,
1314,
6469,
1485,
6,
5357,
... |
For those dates that have the 5 highest cloud cover rates, please bin the date into the day of week interval and count their frequency. | SELECT date, COUNT(date) FROM weather | [
1890,
883,
9667,
326,
423,
262,
642,
4511,
6279,
3002,
3965,
11,
3387,
9874,
262,
3128,
656,
262,
1110,
286,
1285,
16654,
290,
954,
511,
8373,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
9667,
326,
423,
262,
642,
4511,
6279,
3002,
3965,
11,
3387,
9874,
262,
3128,
656,
262,
1110,
286,
1285,
16654,
290,
954,
511,
8373,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193
] |
With 4645 as the production number what was the title? | SELECT "Title" FROM table_65236 WHERE "Production Num." = '4645' | [
3152,
6337,
2231,
355,
262,
3227,
1271,
644,
373,
262,
3670,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
2996,
24940,
33411,
366,
35027,
31835,
526,
796,
705,
3510,
2231,
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
] | [
3152,
6337,
2231,
355,
262,
3227,
1271,
644,
373,
262,
3670,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
2996,
24940,
33411,
366,
35027,
31835,
526,
796,
705,
3510,
2231,
6
] |
Name the equivalence for varas for geometrical pace | SELECT "Equivalence in Varas" FROM table_28773 WHERE "English name" = 'Geometrical pace' | [
5376,
262,
6854,
594,
329,
1401,
292,
329,
4903,
908,
8143,
8761,
46506,
366,
23588,
2473,
594,
287,
12372,
292,
1,
16034,
3084,
62,
2078,
46871,
33411,
366,
15823,
1438,
1,
796,
705,
10082,
908,
8143,
8761,
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
] | [
5376,
262,
6854,
594,
329,
1401,
292,
329,
4903,
908,
8143,
8761,
46506,
366,
23588,
2473,
594,
287,
12372,
292,
1,
16034,
3084,
62,
2078,
46871,
33411,
366,
15823,
1438,
1,
796,
705,
10082,
908,
8143,
8761,
6
] |
how many patients have died in or before the year 2183? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.dod_year <= "2183.0" | [
4919,
867,
3871,
423,
3724,
287,
393,
878,
262,
614,
362,
24839,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
24839,
13,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
423,
3724,
287,
393,
878,
262,
614,
362,
24839,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
24839,
13,
15,
1
] |
What is the fewest number of wins in the chart for Ayrton Senna? | SELECT MIN("Wins") FROM table_37130 WHERE "Driver" = 'ayrton senna' | [
2061,
318,
262,
1178,
395,
1271,
286,
7864,
287,
262,
8262,
329,
317,
2417,
1122,
311,
13713,
30,
46506,
20625,
7203,
54,
1040,
4943,
16034,
3084,
62,
2718,
12952,
33411,
366,
32103,
1,
796,
705,
323,
81,
1122,
264,
13713,
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
] | [
2061,
318,
262,
1178,
395,
1271,
286,
7864,
287,
262,
8262,
329,
317,
2417,
1122,
311,
13713,
30,
46506,
20625,
7203,
54,
1040,
4943,
16034,
3084,
62,
2718,
12952,
33411,
366,
32103,
1,
796,
705,
323,
81,
1122,
264,
13713,
6
] |
What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti? | SELECT arena__capacity_ FROM table_19526911_1 WHERE head_coach = "Roberto Serniotti" | [
2061,
318,
262,
13478,
5339,
286,
262,
13478,
287,
262,
3240,
3025,
1182,
3985,
318,
32076,
311,
1142,
20773,
72,
30,
46506,
13478,
834,
42404,
62,
16034,
3084,
62,
22186,
26276,
1157,
62,
16,
33411,
1182,
62,
1073,
620,
796,
366,
159... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
13478,
5339,
286,
262,
13478,
287,
262,
3240,
3025,
1182,
3985,
318,
32076,
311,
1142,
20773,
72,
30,
46506,
13478,
834,
42404,
62,
16034,
3084,
62,
22186,
26276,
1157,
62,
16,
33411,
1182,
62,
1073,
620,
796,
366,
159... |
What kind of the Winning driver has a Circuit of saint-rapha l? | SELECT winning_driver FROM table_name_11 WHERE circuit = "saint-raphaël" | [
2061,
1611,
286,
262,
40983,
4639,
468,
257,
13588,
286,
32292,
12,
1470,
64,
300,
30,
46506,
5442,
62,
26230,
16034,
3084,
62,
3672,
62,
1157,
33411,
10349,
796,
366,
82,
2913,
12,
1470,
64,
26689,
75,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1611,
286,
262,
40983,
4639,
468,
257,
13588,
286,
32292,
12,
1470,
64,
300,
30,
46506,
5442,
62,
26230,
16034,
3084,
62,
3672,
62,
1157,
33411,
10349,
796,
366,
82,
2913,
12,
1470,
64,
26689,
75,
1
] |
What is the name of the stadium when the capacity percentage is 83.9% | SELECT stadium FROM table_28884858_1 WHERE capacity_percentage = "83.9%" | [
2061,
318,
262,
1438,
286,
262,
10308,
618,
262,
5339,
5873,
318,
9698,
13,
24,
4,
46506,
10308,
16034,
3084,
62,
2078,
3459,
2780,
3365,
62,
16,
33411,
5339,
62,
25067,
496,
796,
366,
5999,
13,
24,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
10308,
618,
262,
5339,
5873,
318,
9698,
13,
24,
4,
46506,
10308,
16034,
3084,
62,
2078,
3459,
2780,
3365,
62,
16,
33411,
5339,
62,
25067,
496,
796,
366,
5999,
13,
24,
39658
] |
November 25, 2001 was what week of the season? | SELECT COUNT(week) FROM table_name_52 WHERE date = "november 25, 2001" | [
21159,
1679,
11,
5878,
373,
644,
1285,
286,
262,
1622,
30,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
3128,
796,
366,
77,
3239,
1679,
11,
5878,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
21159,
1679,
11,
5878,
373,
644,
1285,
286,
262,
1622,
30,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
3128,
796,
366,
77,
3239,
1679,
11,
5878,
1
] |
What is the title for episode number 7 in the season? | SELECT COUNT("Title") FROM table_1247 WHERE "No. in season" = '7' | [
2061,
318,
262,
3670,
329,
4471,
1271,
767,
287,
262,
1622,
30,
46506,
327,
28270,
7203,
19160,
4943,
16034,
3084,
62,
1065,
2857,
33411,
366,
2949,
13,
287,
1622,
1,
796,
705,
22,
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
] | [
2061,
318,
262,
3670,
329,
4471,
1271,
767,
287,
262,
1622,
30,
46506,
327,
28270,
7203,
19160,
4943,
16034,
3084,
62,
1065,
2857,
33411,
366,
2949,
13,
287,
1622,
1,
796,
705,
22,
6
] |
What is the On-air ID of the broadcaster at frequency 0 801? | SELECT "On-air ID" FROM table_8765 WHERE "Frequency" = '0 801' | [
2061,
318,
262,
1550,
12,
958,
4522,
286,
262,
26661,
379,
8373,
657,
807,
486,
30,
46506,
366,
2202,
12,
958,
4522,
1,
16034,
3084,
62,
5774,
2996,
33411,
366,
37,
28707,
1,
796,
705,
15,
807,
486,
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
] | [
2061,
318,
262,
1550,
12,
958,
4522,
286,
262,
26661,
379,
8373,
657,
807,
486,
30,
46506,
366,
2202,
12,
958,
4522,
1,
16034,
3084,
62,
5774,
2996,
33411,
366,
37,
28707,
1,
796,
705,
15,
807,
486,
6
] |
creatinine > 200 umol / l ( egfr < 30 ml / min / m2 ) | SELECT * FROM table_test_14 WHERE creatinine_clearance_cl > 200 OR estimated_glomerular_filtration_rate_egfr < 30 | [
20123,
259,
500,
1875,
939,
23781,
349,
1220,
300,
357,
29206,
8310,
1279,
1542,
25962,
1220,
949,
1220,
285,
17,
1267,
46506,
1635,
16034,
3084,
62,
9288,
62,
1415,
33411,
1827,
259,
500,
62,
20063,
590,
62,
565,
1875,
939,
6375,
610... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20123,
259,
500,
1875,
939,
23781,
349,
1220,
300,
357,
29206,
8310,
1279,
1542,
25962,
1220,
949,
1220,
285,
17,
1267,
46506,
1635,
16034,
3084,
62,
9288,
62,
1415,
33411,
1827,
259,
500,
62,
20063,
590,
62,
565,
1875,
939,
6375,
610... |
Who belongs to the Bologna Milan club? | SELECT player FROM table_name_62 WHERE club = "bologna milan" | [
8241,
14448,
284,
262,
347,
928,
2616,
21574,
3430,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
5237,
33411,
3430,
796,
366,
65,
928,
2616,
1465,
272,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
14448,
284,
262,
347,
928,
2616,
21574,
3430,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
5237,
33411,
3430,
796,
366,
65,
928,
2616,
1465,
272,
1
] |
How many rankings were there for the season with a finale on August 20, 2011? | SELECT COUNT("Rank") FROM table_25404 WHERE "Season Finale" = 'August 20, 2011' | [
2437,
867,
16905,
547,
612,
329,
262,
1622,
351,
257,
19523,
319,
2932,
1160,
11,
2813,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
1495,
26429,
33411,
366,
18960,
4463,
1000,
1,
796,
705,
17908,
1160,
11,
2813,
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
] | [
2437,
867,
16905,
547,
612,
329,
262,
1622,
351,
257,
19523,
319,
2932,
1160,
11,
2813,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
1495,
26429,
33411,
366,
18960,
4463,
1000,
1,
796,
705,
17908,
1160,
11,
2813,
6
] |
What did the Home team score when the Away team scored 8.14 (62)? | SELECT "Home team score" FROM table_54925 WHERE "Away team score" = '8.14 (62)' | [
2061,
750,
262,
5995,
1074,
4776,
618,
262,
21986,
1074,
7781,
807,
13,
1415,
357,
5237,
19427,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
44966,
1495,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
23,
13,
1415,
357,
5237,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
750,
262,
5995,
1074,
4776,
618,
262,
21986,
1074,
7781,
807,
13,
1415,
357,
5237,
19427,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
44966,
1495,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
23,
13,
1415,
357,
5237,
... |
What was the score of the game against the Braves with a record of 41 27? | SELECT score FROM table_name_25 WHERE opponent = "braves" AND record = "41–27" | [
2061,
373,
262,
4776,
286,
262,
983,
1028,
262,
29374,
351,
257,
1700,
286,
6073,
2681,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1495,
33411,
6125,
796,
366,
16057,
1158,
1,
5357,
1700,
796,
366,
3901,
1906,
1983,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
1028,
262,
29374,
351,
257,
1700,
286,
6073,
2681,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1495,
33411,
6125,
796,
366,
16057,
1158,
1,
5357,
1700,
796,
366,
3901,
1906,
1983,
1
] |
how many patients have stayed at the ward 45 since 3 years ago? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.wardid = 45 AND DATETIME(transfers.intime) >= DATETIME(CURRENT_TIME(), '-3 year')) | [
4919,
867,
3871,
423,
9658,
379,
262,
15305,
4153,
1201,
513,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
423,
9658,
379,
262,
15305,
4153,
1201,
513,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395,
13,
... |
Who were the candidates when the winner was first elected in 1910? | SELECT "Candidates" FROM table_792 WHERE "First elected" = '1910' | [
8241,
547,
262,
5871,
618,
262,
8464,
373,
717,
7018,
287,
31953,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
48156,
33411,
366,
5962,
7018,
1,
796,
705,
1129,
940,
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
] | [
8241,
547,
262,
5871,
618,
262,
8464,
373,
717,
7018,
287,
31953,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
48156,
33411,
366,
5962,
7018,
1,
796,
705,
1129,
940,
6
] |
list the id list of patients who have been diagnosed with valvular stenosis until 3 years ago. | SELECT patient.uniquepid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'valvular stenosis' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-3 year')) | [
4868,
262,
4686,
1351,
286,
3871,
508,
423,
587,
14641,
351,
1188,
85,
934,
45219,
5958,
1566,
513,
812,
2084,
13,
46506,
5827,
13,
403,
1557,
538,
312,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
13669,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
262,
4686,
1351,
286,
3871,
508,
423,
587,
14641,
351,
1188,
85,
934,
45219,
5958,
1566,
513,
812,
2084,
13,
46506,
5827,
13,
403,
1557,
538,
312,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
13669,
... |
What was the score of the 7:00pm game at Scotiabank Place against the Philadelphia Flyers? | SELECT score FROM table_name_12 WHERE time = "7:00pm" AND location = "scotiabank place" AND opponent = "philadelphia flyers" | [
2061,
373,
262,
4776,
286,
262,
767,
25,
405,
4426,
983,
379,
1446,
5092,
397,
962,
8474,
1028,
262,
8857,
30652,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1065,
33411,
640,
796,
366,
22,
25,
405,
4426,
1,
5357,
4067,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
767,
25,
405,
4426,
983,
379,
1446,
5092,
397,
962,
8474,
1028,
262,
8857,
30652,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1065,
33411,
640,
796,
366,
22,
25,
405,
4426,
1,
5357,
4067,
796,
366,
... |
What are the ratings/share ratio when viewers are 5.50 Million? | SELECT rating / SHARE(18 - 49) FROM table_20522228_2 WHERE viewers__millions_ = "5.50" | [
2061,
389,
262,
10109,
14,
20077,
8064,
618,
10209,
389,
642,
13,
1120,
23425,
30,
46506,
7955,
1220,
6006,
12203,
7,
1507,
532,
5125,
8,
16034,
3084,
62,
21261,
1828,
23815,
62,
17,
33411,
10209,
834,
17805,
507,
62,
796,
366,
20,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
10109,
14,
20077,
8064,
618,
10209,
389,
642,
13,
1120,
23425,
30,
46506,
7955,
1220,
6006,
12203,
7,
1507,
532,
5125,
8,
16034,
3084,
62,
21261,
1828,
23815,
62,
17,
33411,
10209,
834,
17805,
507,
62,
796,
366,
20,
... |
What is the game number against the team Boston? | SELECT COUNT("Game") FROM table_55308 WHERE "Team" = 'boston' | [
2061,
318,
262,
983,
1271,
1028,
262,
1074,
6182,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
2816,
21495,
33411,
366,
15592,
1,
796,
705,
65,
5744,
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
] | [
2061,
318,
262,
983,
1271,
1028,
262,
1074,
6182,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
2816,
21495,
33411,
366,
15592,
1,
796,
705,
65,
5744,
6
] |
What is the sum of poles of the firestone indy lights series before the 2009 season? | SELECT SUM("Poles") FROM table_13930 WHERE "Series" = 'firestone indy lights series' AND "Season" < '2009' | [
2061,
318,
262,
2160,
286,
24971,
286,
262,
2046,
6440,
773,
88,
7588,
2168,
878,
262,
3717,
1622,
30,
46506,
35683,
7203,
47,
4316,
4943,
16034,
3084,
62,
20219,
1270,
33411,
366,
27996,
1,
796,
705,
6495,
6440,
773,
88,
7588,
2168,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
24971,
286,
262,
2046,
6440,
773,
88,
7588,
2168,
878,
262,
3717,
1622,
30,
46506,
35683,
7203,
47,
4316,
4943,
16034,
3084,
62,
20219,
1270,
33411,
366,
27996,
1,
796,
705,
6495,
6440,
773,
88,
7588,
2168,
... |
how many patients are discharged to home health care? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "HOME HEALTH CARE" | [
4919,
867,
3871,
389,
26476,
284,
1363,
1535,
1337,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
24886,
796,
366,
39069,
11179,
40818,
47342,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
389,
26476,
284,
1363,
1535,
1337,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
24886,
796,
366,
39069,
11179,
40818,
47342,
1
] |
who won the most gold medals ? | SELECT "nation" FROM table_203_576 ORDER BY "gold" DESC LIMIT 1 | [
8727,
1839,
262,
749,
3869,
28057,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
22416,
62,
37452,
38678,
11050,
366,
24267,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
1839,
262,
749,
3869,
28057,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
22416,
62,
37452,
38678,
11050,
366,
24267,
1,
22196,
34,
27564,
2043,
352
] |
Which Country is listed for the Director Thomas Vinterberg? | SELECT country FROM table_name_74 WHERE director = "thomas vinterberg" | [
13828,
12946,
318,
5610,
329,
262,
5890,
5658,
569,
3849,
3900,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
4524,
33411,
3437,
796,
366,
400,
16911,
410,
3849,
3900,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12946,
318,
5610,
329,
262,
5890,
5658,
569,
3849,
3900,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
4524,
33411,
3437,
796,
366,
400,
16911,
410,
3849,
3900,
1
] |
Where is the position when houston, tx is the hometown and worthing is the high school? | SELECT "Position" FROM table_2622 WHERE "Home Town" = 'Houston, TX' AND "High School" = 'Worthing' | [
8496,
318,
262,
2292,
618,
289,
6526,
11,
27765,
318,
262,
20994,
290,
476,
1197,
318,
262,
1029,
1524,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2075,
1828,
33411,
366,
16060,
8329,
1,
796,
705,
33387,
11,
15326,
6,
5357,
366,
119... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
318,
262,
2292,
618,
289,
6526,
11,
27765,
318,
262,
20994,
290,
476,
1197,
318,
262,
1029,
1524,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2075,
1828,
33411,
366,
16060,
8329,
1,
796,
705,
33387,
11,
15326,
6,
5357,
366,
119... |
What driver won in the xv grand prix de l'albigeois in a vehicle by ferrari? | SELECT winning_driver FROM table_name_95 WHERE constructor = "ferrari" AND race_name = "xv grand prix de l'albigeois" | [
2061,
4639,
1839,
287,
262,
2124,
85,
4490,
1293,
87,
390,
300,
6,
282,
65,
10045,
10924,
287,
257,
4038,
416,
277,
8056,
2743,
30,
46506,
5442,
62,
26230,
16034,
3084,
62,
3672,
62,
3865,
33411,
23772,
796,
366,
2232,
81,
2743,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4639,
1839,
287,
262,
2124,
85,
4490,
1293,
87,
390,
300,
6,
282,
65,
10045,
10924,
287,
257,
4038,
416,
277,
8056,
2743,
30,
46506,
5442,
62,
26230,
16034,
3084,
62,
3672,
62,
3865,
33411,
23772,
796,
366,
2232,
81,
2743,
1,
... |
What is the greatest goals for Curtis Davies if ends is greater than 2012? | SELECT MAX("Goals") FROM table_78636 WHERE "Name" = 'curtis davies' AND "Ends" > '2012' | [
2061,
318,
262,
6000,
4661,
329,
25157,
26618,
611,
5645,
318,
3744,
621,
2321,
30,
46506,
25882,
7203,
5247,
874,
4943,
16034,
3084,
62,
46302,
2623,
33411,
366,
5376,
1,
796,
705,
66,
3325,
271,
288,
615,
444,
6,
5357,
366,
12915,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
6000,
4661,
329,
25157,
26618,
611,
5645,
318,
3744,
621,
2321,
30,
46506,
25882,
7203,
5247,
874,
4943,
16034,
3084,
62,
46302,
2623,
33411,
366,
5376,
1,
796,
705,
66,
3325,
271,
288,
615,
444,
6,
5357,
366,
12915,
... |
What was the score of team 2 Stade Lavallois (D1)? | SELECT "Score" FROM table_60272 WHERE "Team 2" = 'stade lavallois (d1)' | [
2061,
373,
262,
4776,
286,
1074,
362,
520,
671,
21438,
439,
10924,
357,
35,
16,
19427,
46506,
366,
26595,
1,
16034,
3084,
62,
1899,
29807,
33411,
366,
15592,
362,
1,
796,
705,
301,
671,
21606,
439,
10924,
357,
67,
16,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
1074,
362,
520,
671,
21438,
439,
10924,
357,
35,
16,
19427,
46506,
366,
26595,
1,
16034,
3084,
62,
1899,
29807,
33411,
366,
15592,
362,
1,
796,
705,
301,
671,
21606,
439,
10924,
357,
67,
16,
33047
] |
Who wrote the teleplay for the episode directed by Tim Robbins? | SELECT "Teleplay by" FROM table_3673 WHERE "Directed by" = 'Tim Robbins' | [
8241,
2630,
262,
5735,
1759,
329,
262,
4471,
7924,
416,
5045,
44117,
30,
46506,
366,
31709,
1759,
416,
1,
16034,
3084,
62,
2623,
4790,
33411,
366,
13470,
276,
416,
1,
796,
705,
14967,
44117,
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
] | [
8241,
2630,
262,
5735,
1759,
329,
262,
4471,
7924,
416,
5045,
44117,
30,
46506,
366,
31709,
1759,
416,
1,
16034,
3084,
62,
2623,
4790,
33411,
366,
13470,
276,
416,
1,
796,
705,
14967,
44117,
6
] |
What is the Class AA of the school year 2009-10 with a class AAA of Giddings? | SELECT class_aA FROM table_name_95 WHERE class_aAA = giddings AND school_year = "2009-10" | [
2061,
318,
262,
5016,
15923,
286,
262,
1524,
614,
3717,
12,
940,
351,
257,
1398,
25734,
286,
402,
1638,
654,
30,
46506,
1398,
62,
64,
32,
16034,
3084,
62,
3672,
62,
3865,
33411,
1398,
62,
64,
3838,
796,
308,
1638,
654,
5357,
1524,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5016,
15923,
286,
262,
1524,
614,
3717,
12,
940,
351,
257,
1398,
25734,
286,
402,
1638,
654,
30,
46506,
1398,
62,
64,
32,
16034,
3084,
62,
3672,
62,
3865,
33411,
1398,
62,
64,
3838,
796,
308,
1638,
654,
5357,
1524,
... |
What is 1994, when 1991 is 'QF', and when Tournament is 'Australian Open'? | SELECT "1994" FROM table_76318 WHERE "1991" = 'qf' AND "Tournament" = 'australian open' | [
2061,
318,
9162,
11,
618,
10249,
318,
705,
48,
37,
3256,
290,
618,
9595,
318,
705,
38036,
4946,
30960,
46506,
366,
22666,
1,
16034,
3084,
62,
4304,
36042,
33411,
366,
24529,
1,
796,
705,
80,
69,
6,
5357,
366,
51,
5138,
1,
796,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
9162,
11,
618,
10249,
318,
705,
48,
37,
3256,
290,
618,
9595,
318,
705,
38036,
4946,
30960,
46506,
366,
22666,
1,
16034,
3084,
62,
4304,
36042,
33411,
366,
24529,
1,
796,
705,
80,
69,
6,
5357,
366,
51,
5138,
1,
796,
705... |
Closed the most currently open or closed questions. | WITH Raw AS (SELECT PostHistory.Id, PostHistory.Text FROM PostHistory, Posts WHERE PostHistory.PostId = Posts.Id AND Posts.ClosedDate IS NULL AND PostHistory.PostHistoryTypeId = 10), Raw2 AS (SELECT Id, JSON_EXTRACT_SCALAR(Text, '$.Voters0.Id') AS CloserIdStr FROM Raw UNION SELECT Id, JSON_EXTRACT_SCALAR(Text, '$.Voter... | [
2601,
1335,
262,
749,
3058,
1280,
393,
4838,
2683,
13,
54,
10554,
16089,
7054,
357,
46506,
2947,
18122,
13,
7390,
11,
2947,
18122,
13,
8206,
16034,
2947,
18122,
11,
12043,
33411,
2947,
18122,
13,
6307,
7390,
796,
12043,
13,
7390,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2601,
1335,
262,
749,
3058,
1280,
393,
4838,
2683,
13,
54,
10554,
16089,
7054,
357,
46506,
2947,
18122,
13,
7390,
11,
2947,
18122,
13,
8206,
16034,
2947,
18122,
11,
12043,
33411,
2947,
18122,
13,
6307,
7390,
796,
12043,
13,
7390,
5357,
... |
What Interview subject was on a Date that is 11-92? | SELECT interview_subject FROM table_name_42 WHERE date = "11-92" | [
2061,
19371,
2426,
373,
319,
257,
7536,
326,
318,
1367,
12,
5892,
30,
46506,
2720,
62,
32796,
16034,
3084,
62,
3672,
62,
3682,
33411,
3128,
796,
366,
1157,
12,
5892,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
19371,
2426,
373,
319,
257,
7536,
326,
318,
1367,
12,
5892,
30,
46506,
2720,
62,
32796,
16034,
3084,
62,
3672,
62,
3682,
33411,
3128,
796,
366,
1157,
12,
5892,
1
] |
Which week did the Seattle Seahawks have a record of 6-6? | SELECT AVG(week) FROM table_name_7 WHERE record = "6-6" | [
13828,
1285,
750,
262,
7312,
16732,
423,
257,
1700,
286,
718,
12,
21,
30,
46506,
35224,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
22,
33411,
1700,
796,
366,
21,
12,
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
] | [
13828,
1285,
750,
262,
7312,
16732,
423,
257,
1700,
286,
718,
12,
21,
30,
46506,
35224,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
22,
33411,
1700,
796,
366,
21,
12,
21,
1
] |
what section did frank park run in | SELECT "District" FROM table_18716 WHERE "Incumbent" = 'Frank Park' | [
10919,
2665,
750,
14346,
3952,
1057,
287,
46506,
366,
44857,
1,
16034,
3084,
62,
23451,
1433,
33411,
366,
25517,
2178,
298,
1,
796,
705,
17439,
3250,
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
] | [
10919,
2665,
750,
14346,
3952,
1057,
287,
46506,
366,
44857,
1,
16034,
3084,
62,
23451,
1433,
33411,
366,
25517,
2178,
298,
1,
796,
705,
17439,
3250,
6
] |
For those employees who was hired before 2002-06-21, visualize the relationship between salary and manager_id . | SELECT SALARY, MANAGER_ID FROM employees WHERE HIRE_DATE < '2002-06-21' | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
38350,
262,
2776,
1022,
9588,
290,
4706,
62,
312,
764,
46506,
42475,
13153,
11,
17254,
4760,
1137,
62,
2389,
16034,
4409,
33411,
36210,
2200,
62,
35,
6158,
1279,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
38350,
262,
2776,
1022,
9588,
290,
4706,
62,
312,
764,
46506,
42475,
13153,
11,
17254,
4760,
1137,
62,
2389,
16034,
4409,
33411,
36210,
2200,
62,
35,
6158,
1279,
705,... |
Which Record has a Date of may 31? | SELECT "Record" FROM table_43008 WHERE "Date" = 'may 31' | [
13828,
13266,
468,
257,
7536,
286,
743,
3261,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3559,
25257,
33411,
366,
10430,
1,
796,
705,
11261,
3261,
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
] | [
13828,
13266,
468,
257,
7536,
286,
743,
3261,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3559,
25257,
33411,
366,
10430,
1,
796,
705,
11261,
3261,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.