instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the position of the player who is taller than 2.12? | SELECT "Position" FROM table_67452 WHERE "Height" > '2.12' | [
2061,
318,
262,
2292,
286,
262,
2137,
508,
318,
25242,
621,
362,
13,
1065,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
3134,
37730,
33411,
366,
23106,
1,
1875,
705,
17,
13,
1065,
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,
2292,
286,
262,
2137,
508,
318,
25242,
621,
362,
13,
1065,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
3134,
37730,
33411,
366,
23106,
1,
1875,
705,
17,
13,
1065,
6
] |
How many papers run experiments on ImageNet ? | SELECT DISTINCT COUNT(DISTINCT paper.paperid) FROM dataset, paper, paperdataset WHERE dataset.datasetname LIKE 'ImageNet' AND paperdataset.datasetid = dataset.datasetid AND paper.paperid = paperdataset.paperid | [
2437,
867,
9473,
1057,
10256,
319,
7412,
7934,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
35,
8808,
1268,
4177,
3348,
13,
20189,
312,
8,
16034,
27039,
11,
3348,
11,
3348,
19608,
292,
316,
33411,
27039,
13,
19608,
292,
316,
367... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9473,
1057,
10256,
319,
7412,
7934,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
35,
8808,
1268,
4177,
3348,
13,
20189,
312,
8,
16034,
27039,
11,
3348,
11,
3348,
19608,
292,
316,
33411,
27039,
13,
19608,
292,
316,
367... |
Give me a bar chart that the X-axis is the date_moved_in and the Y-axis is Count them, could you show by the bar in ascending please? | SELECT date_moved_in, COUNT(date_moved_in) FROM Customer_Events GROUP BY date_moved_in ORDER BY date_moved_in | [
23318,
502,
257,
2318,
8262,
326,
262,
1395,
12,
22704,
318,
262,
3128,
62,
76,
2668,
62,
259,
290,
262,
575,
12,
22704,
318,
2764,
606,
11,
714,
345,
905,
416,
262,
2318,
287,
41988,
3387,
30,
46506,
3128,
62,
76,
2668,
62,
259,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2318,
8262,
326,
262,
1395,
12,
22704,
318,
262,
3128,
62,
76,
2668,
62,
259,
290,
262,
575,
12,
22704,
318,
2764,
606,
11,
714,
345,
905,
416,
262,
2318,
287,
41988,
3387,
30,
46506,
3128,
62,
76,
2668,
62,
259,
... |
How many episodes have the title 'episode 2'? | SELECT MIN("Episode") FROM table_31243 WHERE "Title" = 'Episode 2' | [
2437,
867,
8640,
423,
262,
3670,
705,
38668,
362,
30960,
46506,
20625,
7203,
23758,
4943,
16034,
3084,
62,
27970,
3559,
33411,
366,
19160,
1,
796,
705,
23758,
362,
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
] | [
2437,
867,
8640,
423,
262,
3670,
705,
38668,
362,
30960,
46506,
20625,
7203,
23758,
4943,
16034,
3084,
62,
27970,
3559,
33411,
366,
19160,
1,
796,
705,
23758,
362,
6
] |
When the phillies 1:15 pm played on April 9, what was the attendance? | SELECT attendance FROM table_name_21 WHERE opponent = "phillies 1:15 pm" AND date = "april 9" | [
2215,
262,
872,
359,
444,
352,
25,
1314,
9114,
2826,
319,
3035,
860,
11,
644,
373,
262,
14858,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2481,
33411,
6125,
796,
366,
746,
359,
444,
352,
25,
1314,
9114,
1,
5357,
3128,
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
] | [
2215,
262,
872,
359,
444,
352,
25,
1314,
9114,
2826,
319,
3035,
860,
11,
644,
373,
262,
14858,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2481,
33411,
6125,
796,
366,
746,
359,
444,
352,
25,
1314,
9114,
1,
5357,
3128,
796,
366,
... |
Who were the candidates in the district where Jerry Costello won? | SELECT candidates FROM table_1341453_15 WHERE incumbent = "Jerry Costello" | [
8241,
547,
262,
5871,
287,
262,
4783,
810,
13075,
6446,
11109,
1839,
30,
46506,
5871,
16034,
3084,
62,
19880,
1415,
4310,
62,
1314,
33411,
23526,
796,
366,
43462,
6446,
11109,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
287,
262,
4783,
810,
13075,
6446,
11109,
1839,
30,
46506,
5871,
16034,
3084,
62,
19880,
1415,
4310,
62,
1314,
33411,
23526,
796,
366,
43462,
6446,
11109,
1
] |
What award did Andrew Ryder win as producer? | SELECT "Award" FROM table_69175 WHERE "Producer(s)" = 'andrew ryder' | [
2061,
5764,
750,
6858,
40238,
1592,
355,
9920,
30,
46506,
366,
32,
904,
1,
16034,
3084,
62,
3388,
17430,
33411,
366,
11547,
2189,
7,
82,
16725,
796,
705,
392,
1809,
374,
88,
1082,
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,
5764,
750,
6858,
40238,
1592,
355,
9920,
30,
46506,
366,
32,
904,
1,
16034,
3084,
62,
3388,
17430,
33411,
366,
11547,
2189,
7,
82,
16725,
796,
705,
392,
1809,
374,
88,
1082,
6
] |
What is the average quantities ordered with payment method code 'MasterCard' on invoices? | SELECT AVG(Order_Quantity) FROM Invoices WHERE payment_method_code = "MasterCard" | [
2061,
318,
262,
2811,
17794,
6149,
351,
6074,
2446,
2438,
705,
18254,
16962,
6,
319,
800,
78,
1063,
30,
46506,
35224,
7,
18743,
62,
31208,
8,
16034,
10001,
78,
1063,
33411,
6074,
62,
24396,
62,
8189,
796,
366,
18254,
16962,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17794,
6149,
351,
6074,
2446,
2438,
705,
18254,
16962,
6,
319,
800,
78,
1063,
30,
46506,
35224,
7,
18743,
62,
31208,
8,
16034,
10001,
78,
1063,
33411,
6074,
62,
24396,
62,
8189,
796,
366,
18254,
16962,
1
] |
What is the Away team with Newcastle United as the Home team? | SELECT away_team FROM table_name_42 WHERE home_team = "newcastle united" | [
2061,
318,
262,
21986,
1074,
351,
22410,
1578,
355,
262,
5995,
1074,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
3682,
33411,
1363,
62,
15097,
796,
366,
3605,
18676,
16503,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21986,
1074,
351,
22410,
1578,
355,
262,
5995,
1074,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
3682,
33411,
1363,
62,
15097,
796,
366,
3605,
18676,
16503,
1
] |
Find the products which have problems reported by both Lacey Bosco and Kenton Champlin? | SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = "Lacey" AND T3.staff_last_name = "Bosco" INTERSECT SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.pr... | [
16742,
262,
3186,
543,
423,
2761,
2098,
416,
1111,
406,
25415,
14548,
1073,
290,
8758,
261,
37790,
46982,
30,
46506,
309,
17,
13,
11167,
62,
3672,
16034,
2761,
7054,
309,
16,
32357,
1268,
1720,
7054,
309,
17,
32357,
1268,
3085,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
3186,
543,
423,
2761,
2098,
416,
1111,
406,
25415,
14548,
1073,
290,
8758,
261,
37790,
46982,
30,
46506,
309,
17,
13,
11167,
62,
3672,
16034,
2761,
7054,
309,
16,
32357,
1268,
1720,
7054,
309,
17,
32357,
1268,
3085,
7054,
... |
What was the result of the playoffs when the regular season was 7th, southeast | SELECT "Playoffs" FROM table_17474 WHERE "Regular Season" = '7th, Southeast' | [
2061,
373,
262,
1255,
286,
262,
12980,
618,
262,
3218,
1622,
373,
767,
400,
11,
26015,
46506,
366,
11002,
8210,
1,
16034,
3084,
62,
1558,
38652,
33411,
366,
40164,
7369,
1,
796,
705,
22,
400,
11,
21199,
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
] | [
2061,
373,
262,
1255,
286,
262,
12980,
618,
262,
3218,
1622,
373,
767,
400,
11,
26015,
46506,
366,
11002,
8210,
1,
16034,
3084,
62,
1558,
38652,
33411,
366,
40164,
7369,
1,
796,
705,
22,
400,
11,
21199,
6
] |
What is the average number of goals scored in the FA Cup by Whelan where he had more than 7 total goals? | SELECT AVG("FA Cup") FROM table_53429 WHERE "Name" = 'whelan' AND "Total" > '7' | [
2061,
318,
262,
2811,
1271,
286,
4661,
7781,
287,
262,
9677,
5454,
416,
370,
2978,
272,
810,
339,
550,
517,
621,
767,
2472,
4661,
30,
46506,
35224,
7203,
7708,
5454,
4943,
16034,
3084,
62,
20,
2682,
1959,
33411,
366,
5376,
1,
796,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
1271,
286,
4661,
7781,
287,
262,
9677,
5454,
416,
370,
2978,
272,
810,
339,
550,
517,
621,
767,
2472,
4661,
30,
46506,
35224,
7203,
7708,
5454,
4943,
16034,
3084,
62,
20,
2682,
1959,
33411,
366,
5376,
1,
796,
7... |
What is the D 50 when the D 43 is r 43? | SELECT "D 50" FROM table_56227 WHERE "D 43" = 'r 43' | [
2061,
318,
262,
360,
2026,
618,
262,
360,
5946,
318,
374,
5946,
30,
46506,
366,
35,
2026,
1,
16034,
3084,
62,
3980,
24403,
33411,
366,
35,
5946,
1,
796,
705,
81,
5946,
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
] | [
2061,
318,
262,
360,
2026,
618,
262,
360,
5946,
318,
374,
5946,
30,
46506,
366,
35,
2026,
1,
16034,
3084,
62,
3980,
24403,
33411,
366,
35,
5946,
1,
796,
705,
81,
5946,
6
] |
what is the date when the away team is crystal palace? | SELECT "Date" FROM table_45069 WHERE "Away team" = 'crystal palace' | [
10919,
318,
262,
3128,
618,
262,
1497,
1074,
318,
15121,
20562,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
17885,
3388,
33411,
366,
32,
1014,
1074,
1,
796,
705,
20470,
7757,
20562,
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
] | [
10919,
318,
262,
3128,
618,
262,
1497,
1074,
318,
15121,
20562,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
17885,
3388,
33411,
366,
32,
1014,
1074,
1,
796,
705,
20470,
7757,
20562,
6
] |
Top 10 users Ahmedabad India. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%Ahmedabad%' OR UPPER(Location) LIKE '%Ahmedabad%' OR Location LIKE '%Ahmedabad%' AND Reputation >= 1000 ORDER BY Reputation DESC | [
9126,
838,
2985,
21157,
17325,
3794,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
406,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
838,
2985,
21157,
17325,
3794,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
406,
... |
What was Gary Megson's manner of departure? | SELECT "Manner of departure" FROM table_22956 WHERE "Outgoing manager" = 'Gary Megson' | [
2061,
373,
10936,
8336,
1559,
338,
5642,
286,
12928,
30,
46506,
366,
5124,
1008,
286,
12928,
1,
16034,
3084,
62,
1828,
50148,
33411,
366,
7975,
5146,
4706,
1,
796,
705,
33820,
8336,
1559,
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,
373,
10936,
8336,
1559,
338,
5642,
286,
12928,
30,
46506,
366,
5124,
1008,
286,
12928,
1,
16034,
3084,
62,
1828,
50148,
33411,
366,
7975,
5146,
4706,
1,
796,
705,
33820,
8336,
1559,
6
] |
how much did it cost for patient 035-14278 hospital stay until 2104? | SELECT SUM(cost.cost) FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-14278') AND STRFTIME('%y', cost.chargetime) <= '2104' | [
4919,
881,
750,
340,
1575,
329,
5827,
657,
2327,
12,
1415,
25870,
4436,
2652,
1566,
362,
13464,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
881,
750,
340,
1575,
329,
5827,
657,
2327,
12,
1415,
25870,
4436,
2652,
1566,
362,
13464,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
... |
Visualize the relationship between People_ID and Weight . | SELECT People_ID, Weight FROM people | [
36259,
1096,
262,
2776,
1022,
4380,
62,
2389,
290,
14331,
764,
46506,
4380,
62,
2389,
11,
14331,
16034,
661
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
262,
2776,
1022,
4380,
62,
2389,
290,
14331,
764,
46506,
4380,
62,
2389,
11,
14331,
16034,
661
] |
Who was the loser of the fight against antonio silva? | SELECT "Loser" FROM table_36612 WHERE "Winner" = 'antonio silva' | [
8241,
373,
262,
30256,
286,
262,
1907,
1028,
281,
1122,
952,
3313,
6862,
30,
46506,
366,
43,
13416,
1,
16034,
3084,
62,
32459,
1065,
33411,
366,
48056,
1,
796,
705,
23026,
952,
3313,
6862,
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,
373,
262,
30256,
286,
262,
1907,
1028,
281,
1122,
952,
3313,
6862,
30,
46506,
366,
43,
13416,
1,
16034,
3084,
62,
32459,
1065,
33411,
366,
48056,
1,
796,
705,
23026,
952,
3313,
6862,
6
] |
How many people are enrolled in platteville, wi? | SELECT SUM("Enrollment") FROM table_51130 WHERE "Location" = 'platteville, wi' | [
2437,
867,
661,
389,
18724,
287,
40315,
660,
4244,
11,
45967,
30,
46506,
35683,
7203,
4834,
48108,
4943,
16034,
3084,
62,
41647,
1270,
33411,
366,
14749,
1,
796,
705,
489,
265,
660,
4244,
11,
45967,
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
] | [
2437,
867,
661,
389,
18724,
287,
40315,
660,
4244,
11,
45967,
30,
46506,
35683,
7203,
4834,
48108,
4943,
16034,
3084,
62,
41647,
1270,
33411,
366,
14749,
1,
796,
705,
489,
265,
660,
4244,
11,
45967,
6
] |
How many people attended the Scottish Cup on 29.02.2000? | SELECT "Attendance" FROM table_64326 WHERE "Competition" = 'scottish cup' AND "Date" = '29.02.2000' | [
2437,
867,
661,
9141,
262,
11905,
5454,
319,
2808,
13,
2999,
13,
11024,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
2414,
39195,
33411,
366,
7293,
15620,
1,
796,
705,
1416,
1252,
680,
6508,
6,
5357,
366,
10430,
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
] | [
2437,
867,
661,
9141,
262,
11905,
5454,
319,
2808,
13,
2999,
13,
11024,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
2414,
39195,
33411,
366,
7293,
15620,
1,
796,
705,
1416,
1252,
680,
6508,
6,
5357,
366,
10430,
1,
796,
705,
... |
How many wins had Matches greater than 5? | SELECT SUM(wins) FROM table_name_82 WHERE matches > 5 | [
2437,
867,
7864,
550,
6550,
2052,
3744,
621,
642,
30,
46506,
35683,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
7466,
1875,
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
] | [
2437,
867,
7864,
550,
6550,
2052,
3744,
621,
642,
30,
46506,
35683,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
7466,
1875,
642
] |
For those employees who was hired before 2002-06-21, find job_id and the average of department_id , and group by attribute job_id, and visualize them by a bar chart, rank by the Y in descending. | SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY AVG(DEPARTMENT_ID) DESC | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1064,
1693,
62,
312,
290,
262,
2811,
286,
5011,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
4279,
416,
262,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1064,
1693,
62,
312,
290,
262,
2811,
286,
5011,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
4279,
416,
262,... |
when was patient 010-16572's systemicdiastolic measured for the first time until 1 day ago? | SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-16572')) AND NOT vitalperiodic.systemicdiastoli... | [
12518,
373,
5827,
5534,
15,
12,
1433,
48724,
338,
21971,
10989,
459,
4160,
8630,
329,
262,
717,
640,
1566,
352,
1110,
2084,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
5827,
5534,
15,
12,
1433,
48724,
338,
21971,
10989,
459,
4160,
8630,
329,
262,
717,
640,
1566,
352,
1110,
2084,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
2... |
Find the names of the artists who are from UK and have produced English songs. | SELECT artist_name FROM artist WHERE country = "UK" INTERSECT SELECT artist_name FROM song WHERE languages = "english" | [
16742,
262,
3891,
286,
262,
7912,
508,
389,
422,
3482,
290,
423,
4635,
3594,
7259,
13,
46506,
6802,
62,
3672,
16034,
6802,
33411,
1499,
796,
366,
15039,
1,
17828,
4877,
9782,
33493,
6802,
62,
3672,
16034,
3496,
33411,
8950,
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
] | [
16742,
262,
3891,
286,
262,
7912,
508,
389,
422,
3482,
290,
423,
4635,
3594,
7259,
13,
46506,
6802,
62,
3672,
16034,
6802,
33411,
1499,
796,
366,
15039,
1,
17828,
4877,
9782,
33493,
6802,
62,
3672,
16034,
3496,
33411,
8950,
796,
366,
... |
Which city has a frequency of 104.5 fm? | SELECT city_of_license FROM table_name_1 WHERE frequency_mhz = "104.5 fm" | [
13828,
1748,
468,
257,
8373,
286,
14436,
13,
20,
277,
76,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
16,
33411,
8373,
62,
76,
32179,
796,
366,
13464,
13,
20,
277,
76,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1748,
468,
257,
8373,
286,
14436,
13,
20,
277,
76,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
16,
33411,
8373,
62,
76,
32179,
796,
366,
13464,
13,
20,
277,
76,
1
] |
How many games were played when the loss is less than 5 and points greater than 41? | SELECT SUM(played) FROM table_name_85 WHERE lost < 5 AND points > 41 | [
2437,
867,
1830,
547,
2826,
618,
262,
2994,
318,
1342,
621,
642,
290,
2173,
3744,
621,
6073,
30,
46506,
35683,
7,
21542,
8,
16034,
3084,
62,
3672,
62,
5332,
33411,
2626,
1279,
642,
5357,
2173,
1875,
6073
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1830,
547,
2826,
618,
262,
2994,
318,
1342,
621,
642,
290,
2173,
3744,
621,
6073,
30,
46506,
35683,
7,
21542,
8,
16034,
3084,
62,
3672,
62,
5332,
33411,
2626,
1279,
642,
5357,
2173,
1875,
6073
] |
What Lanier has a Cardwell of 20%? | SELECT "Lanier" FROM table_78032 WHERE "Cardwell" = '20%' | [
2061,
14730,
959,
468,
257,
5172,
4053,
286,
1160,
4,
30,
46506,
366,
43,
272,
959,
1,
16034,
3084,
62,
40873,
2624,
33411,
366,
16962,
4053,
1,
796,
705,
1238,
4,
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
] | [
2061,
14730,
959,
468,
257,
5172,
4053,
286,
1160,
4,
30,
46506,
366,
43,
272,
959,
1,
16034,
3084,
62,
40873,
2624,
33411,
366,
16962,
4053,
1,
796,
705,
1238,
4,
6
] |
Who won Miss Air (1st Runner-up) when Catherine Untalan was Miss Water (2nd Runner-up) earlier than 2007? | SELECT "Miss Air (1st Runner-up)" FROM table_13714 WHERE "Year" < '2007' AND "Miss Water (2nd Runner-up)" = 'catherine untalan' | [
8241,
1839,
4544,
3701,
357,
16,
301,
21529,
12,
929,
8,
618,
22578,
26970,
25786,
373,
4544,
5638,
357,
17,
358,
21529,
12,
929,
8,
2961,
621,
4343,
30,
46506,
366,
17140,
3701,
357,
16,
301,
21529,
12,
929,
16725,
16034,
3084,
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... | [
8241,
1839,
4544,
3701,
357,
16,
301,
21529,
12,
929,
8,
618,
22578,
26970,
25786,
373,
4544,
5638,
357,
17,
358,
21529,
12,
929,
8,
2961,
621,
4343,
30,
46506,
366,
17140,
3701,
357,
16,
301,
21529,
12,
929,
16725,
16034,
3084,
62,... |
When deutsche grammophon is the label how many clairons are there? | SELECT COUNT("Clairon") FROM table_31317 WHERE "Label" = 'Deutsche Grammophon' | [
2215,
390,
30433,
14599,
76,
48982,
318,
262,
6167,
703,
867,
537,
958,
684,
389,
612,
30,
46506,
327,
28270,
7203,
2601,
958,
261,
4943,
16034,
3084,
62,
25838,
1558,
33411,
366,
33986,
1,
796,
705,
5005,
30433,
20159,
76,
48982,
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
] | [
2215,
390,
30433,
14599,
76,
48982,
318,
262,
6167,
703,
867,
537,
958,
684,
389,
612,
30,
46506,
327,
28270,
7203,
2601,
958,
261,
4943,
16034,
3084,
62,
25838,
1558,
33411,
366,
33986,
1,
796,
705,
5005,
30433,
20159,
76,
48982,
6
] |
What player has a penalty of holding on the DET team? | SELECT player FROM table_name_35 WHERE penalty = "holding" AND team = "det" | [
2061,
2137,
468,
257,
7389,
286,
4769,
319,
262,
38267,
1074,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2327,
33411,
7389,
796,
366,
19216,
1,
5357,
1074,
796,
366,
15255,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
468,
257,
7389,
286,
4769,
319,
262,
38267,
1074,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2327,
33411,
7389,
796,
366,
19216,
1,
5357,
1074,
796,
366,
15255,
1
] |
Return all detention summaries. | SELECT detention_summary FROM Detention | [
13615,
477,
13280,
30114,
3166,
13,
46506,
13280,
62,
49736,
16034,
46193
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
477,
13280,
30114,
3166,
13,
46506,
13280,
62,
49736,
16034,
46193
] |
Which area 2006 km has an area 1996 km smaller than 17.31? | SELECT MAX(area_2006_km²) FROM table_name_38 WHERE area_1996_km² < 17.31 | [
13828,
1989,
4793,
10571,
468,
281,
1989,
8235,
10571,
4833,
621,
1596,
13,
3132,
30,
46506,
25882,
7,
20337,
62,
13330,
62,
13276,
31185,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
1989,
62,
22288,
62,
13276,
31185,
1279,
1596,
13,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1989,
4793,
10571,
468,
281,
1989,
8235,
10571,
4833,
621,
1596,
13,
3132,
30,
46506,
25882,
7,
20337,
62,
13330,
62,
13276,
31185,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
1989,
62,
22288,
62,
13276,
31185,
1279,
1596,
13,
3... |
How many team position scored 56 points? | SELECT COUNT(position) FROM table_25369796_1 WHERE points = "56" | [
2437,
867,
1074,
2292,
7781,
7265,
2173,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
1495,
30803,
41060,
62,
16,
33411,
2173,
796,
366,
3980,
1
] | [
1,
1,
1,
1,
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,
1074,
2292,
7781,
7265,
2173,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
1495,
30803,
41060,
62,
16,
33411,
2173,
796,
366,
3980,
1
] |
Which League that has no playoffs in the Year of 2008 09? | SELECT "League" FROM table_6063 WHERE "Play-Off" = '–' AND "Year" = '2008–09' | [
13828,
4041,
326,
468,
645,
12980,
287,
262,
6280,
286,
3648,
7769,
30,
46506,
366,
24623,
1,
16034,
3084,
62,
1899,
5066,
33411,
366,
11002,
12,
9362,
1,
796,
705,
1906,
6,
5357,
366,
17688,
1,
796,
705,
11528,
1906,
2931,
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
] | [
13828,
4041,
326,
468,
645,
12980,
287,
262,
6280,
286,
3648,
7769,
30,
46506,
366,
24623,
1,
16034,
3084,
62,
1899,
5066,
33411,
366,
11002,
12,
9362,
1,
796,
705,
1906,
6,
5357,
366,
17688,
1,
796,
705,
11528,
1906,
2931,
6
] |
Egypt Top 200 users. | SELECT Id AS ID, DisplayName AS Name, Reputation, LastAccessDate AS Seen FROM Users WHERE Location LIKE '%Egypt%' ORDER BY Reputation DESC LIMIT 200 | [
39299,
5849,
939,
2985,
13,
46506,
5121,
7054,
4522,
11,
16531,
5376,
7054,
6530,
11,
1432,
7094,
11,
4586,
15457,
10430,
7054,
34310,
16034,
18987,
33411,
13397,
34178,
705,
4,
39299,
4,
6,
38678,
11050,
1432,
7094,
22196,
34,
27564,
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
] | [
39299,
5849,
939,
2985,
13,
46506,
5121,
7054,
4522,
11,
16531,
5376,
7054,
6530,
11,
1432,
7094,
11,
4586,
15457,
10430,
7054,
34310,
16034,
18987,
33411,
13397,
34178,
705,
4,
39299,
4,
6,
38678,
11050,
1432,
7094,
22196,
34,
27564,
2... |
What's the most enrollment in Hamilton? | SELECT MAX("Enrollment") FROM table_13522 WHERE "Location" = 'hamilton' | [
2061,
338,
262,
749,
20753,
287,
11582,
30,
46506,
25882,
7203,
4834,
48108,
4943,
16034,
3084,
62,
17059,
1828,
33411,
366,
14749,
1,
796,
705,
2763,
9044,
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,
338,
262,
749,
20753,
287,
11582,
30,
46506,
25882,
7203,
4834,
48108,
4943,
16034,
3084,
62,
17059,
1828,
33411,
366,
14749,
1,
796,
705,
2763,
9044,
6
] |
What is the date for the game with team orlando? | SELECT date FROM table_27756314_8 WHERE team = "Orlando" | [
2061,
318,
262,
3128,
329,
262,
983,
351,
1074,
393,
11993,
30,
46506,
3128,
16034,
3084,
62,
1983,
2425,
5066,
1415,
62,
23,
33411,
1074,
796,
366,
5574,
11993,
1
] | [
1,
1,
1,
1,
1,
1,
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,
3128,
329,
262,
983,
351,
1074,
393,
11993,
30,
46506,
3128,
16034,
3084,
62,
1983,
2425,
5066,
1415,
62,
23,
33411,
1074,
796,
366,
5574,
11993,
1
] |
What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3? | SELECT record_medal_event FROM table_name_33 WHERE sport = "athletics" AND athlete = "robert garrett" AND medal_count < 3 | [
2061,
1700,
18279,
1785,
468,
35691,
355,
262,
6332,
11,
351,
686,
4835,
5482,
11489,
355,
262,
16076,
11,
290,
257,
18279,
954,
1342,
621,
513,
30,
46506,
1700,
62,
1150,
282,
62,
15596,
16034,
3084,
62,
3672,
62,
2091,
33411,
6332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
18279,
1785,
468,
35691,
355,
262,
6332,
11,
351,
686,
4835,
5482,
11489,
355,
262,
16076,
11,
290,
257,
18279,
954,
1342,
621,
513,
30,
46506,
1700,
62,
1150,
282,
62,
15596,
16034,
3084,
62,
3672,
62,
2091,
33411,
6332,
... |
What is the total number of losses that has draws larger than 1 and a Portland DFL of westerns? | SELECT SUM("Losses") FROM table_59314 WHERE "Portland DFL" = 'westerns' AND "Draws" > '1' | [
2061,
318,
262,
2472,
1271,
286,
9089,
326,
468,
14293,
4025,
621,
352,
290,
257,
10727,
360,
3697,
286,
8830,
82,
30,
46506,
35683,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
3270,
33638,
33411,
366,
45330,
360,
3697,
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,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
9089,
326,
468,
14293,
4025,
621,
352,
290,
257,
10727,
360,
3697,
286,
8830,
82,
30,
46506,
35683,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
3270,
33638,
33411,
366,
45330,
360,
3697,
1,
796,
705,
... |
What is the city of license when the class is LP and the identifier is CBDK? | SELECT "City of license" FROM table_70114 WHERE "Class" = 'lp' AND "Identifier" = 'cbdk' | [
2061,
318,
262,
1748,
286,
5964,
618,
262,
1398,
318,
18470,
290,
262,
27421,
318,
27147,
42,
30,
46506,
366,
14941,
286,
5964,
1,
16034,
3084,
62,
41583,
1415,
33411,
366,
9487,
1,
796,
705,
34431,
6,
5357,
366,
33234,
7483,
1,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1748,
286,
5964,
618,
262,
1398,
318,
18470,
290,
262,
27421,
318,
27147,
42,
30,
46506,
366,
14941,
286,
5964,
1,
16034,
3084,
62,
41583,
1415,
33411,
366,
9487,
1,
796,
705,
34431,
6,
5357,
366,
33234,
7483,
1,
796... |
How many instructors for every course in 2008? Show me a bar chart grouping by course title. | SELECT title, COUNT(title) FROM course AS T1 JOIN teaches AS T2 ON T1.course_id = T2.course_id JOIN instructor AS T3 ON T2.ID = T3.ID WHERE year = 2008 GROUP BY title | [
2437,
867,
33667,
329,
790,
1781,
287,
3648,
30,
5438,
502,
257,
2318,
8262,
36115,
416,
1781,
3670,
13,
46506,
3670,
11,
327,
28270,
7,
7839,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
17324,
7054,
309,
17,
6177,
309,
16,
13,
1731... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
33667,
329,
790,
1781,
287,
3648,
30,
5438,
502,
257,
2318,
8262,
36115,
416,
1781,
3670,
13,
46506,
3670,
11,
327,
28270,
7,
7839,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
17324,
7054,
309,
17,
6177,
309,
16,
13,
1731... |
could you please tell me the cheapest flight from BOSTON 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, fare, flight, flight_fare WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.... | [
24089,
345,
3387,
1560,
502,
262,
28918,
5474,
422,
347,
10892,
1340,
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,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
24089,
345,
3387,
1560,
502,
262,
28918,
5474,
422,
347,
10892,
1340,
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,
1... |
Name the unemployment rate for 34024 | SELECT COUNT(unemployment_rate) FROM table_22815568_12 WHERE population = 34024 | [
5376,
262,
10681,
2494,
329,
28560,
1731,
46506,
327,
28270,
7,
403,
28812,
62,
4873,
8,
16034,
3084,
62,
23815,
18742,
3104,
62,
1065,
33411,
3265,
796,
28560,
1731
] | [
1,
1,
1,
1,
1,
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,
10681,
2494,
329,
28560,
1731,
46506,
327,
28270,
7,
403,
28812,
62,
4873,
8,
16034,
3084,
62,
23815,
18742,
3104,
62,
1065,
33411,
3265,
796,
28560,
1731
] |
Which country had a total of 295? | SELECT country FROM table_name_46 WHERE total = 295 | [
13828,
1499,
550,
257,
2472,
286,
34772,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3510,
33411,
2472,
796,
34772
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1499,
550,
257,
2472,
286,
34772,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3510,
33411,
2472,
796,
34772
] |
List the names of clubs that do not have any players. | SELECT name FROM CLub WHERE NOT Club_ID IN (SELECT Club_ID FROM player) | [
8053,
262,
3891,
286,
9784,
326,
466,
407,
423,
597,
1938,
13,
46506,
1438,
16034,
7852,
549,
33411,
5626,
6289,
62,
2389,
3268,
357,
46506,
6289,
62,
2389,
16034,
2137,
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
] | [
8053,
262,
3891,
286,
9784,
326,
466,
407,
423,
597,
1938,
13,
46506,
1438,
16034,
7852,
549,
33411,
5626,
6289,
62,
2389,
3268,
357,
46506,
6289,
62,
2389,
16034,
2137,
8
] |
Who's the player for the New York Rangers? | SELECT player FROM table_1213511_2 WHERE nhl_team = "New York Rangers" | [
8241,
338,
262,
2137,
329,
262,
968,
1971,
13804,
30,
46506,
2137,
16034,
3084,
62,
1065,
17059,
1157,
62,
17,
33411,
299,
18519,
62,
15097,
796,
366,
3791,
1971,
13804,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
338,
262,
2137,
329,
262,
968,
1971,
13804,
30,
46506,
2137,
16034,
3084,
62,
1065,
17059,
1157,
62,
17,
33411,
299,
18519,
62,
15097,
796,
366,
3791,
1971,
13804,
1
] |
What is the College of the WR Player from SWC Conf? | SELECT "College" FROM table_65742 WHERE "Conf." = 'swc' AND "Pos." = 'wr' | [
2061,
318,
262,
5535,
286,
262,
11342,
7853,
422,
12672,
34,
7326,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
37680,
3682,
33411,
366,
18546,
526,
796,
705,
2032,
66,
6,
5357,
366,
21604,
526,
796,
705,
18351,
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,
5535,
286,
262,
11342,
7853,
422,
12672,
34,
7326,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
37680,
3682,
33411,
366,
18546,
526,
796,
705,
2032,
66,
6,
5357,
366,
21604,
526,
796,
705,
18351,
6
] |
What is the grid with a Toyota constructor and +1:09.718 as time/retired? | SELECT "Grid" FROM table_57597 WHERE "Constructor" = 'toyota' AND "Time/Retired" = '+1:09.718' | [
2061,
318,
262,
10706,
351,
257,
20182,
23772,
290,
1343,
16,
25,
2931,
13,
45720,
355,
640,
14,
1186,
1202,
30,
46506,
366,
41339,
1,
16034,
3084,
62,
36189,
5607,
33411,
366,
42316,
273,
1,
796,
705,
83,
726,
4265,
6,
5357,
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,
318,
262,
10706,
351,
257,
20182,
23772,
290,
1343,
16,
25,
2931,
13,
45720,
355,
640,
14,
1186,
1202,
30,
46506,
366,
41339,
1,
16034,
3084,
62,
36189,
5607,
33411,
366,
42316,
273,
1,
796,
705,
83,
726,
4265,
6,
5357,
366,
... |
Who is the director of Antz? | SELECT "Director" FROM table_63481 WHERE "Title" = 'antz' | [
8241,
318,
262,
3437,
286,
3738,
89,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
21,
2682,
6659,
33411,
366,
19160,
1,
796,
705,
46269,
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
] | [
8241,
318,
262,
3437,
286,
3738,
89,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
21,
2682,
6659,
33411,
366,
19160,
1,
796,
705,
46269,
6
] |
What is the name of the product with the highest price? | SELECT Product_Name FROM Products ORDER BY Product_Price DESC LIMIT 1 | [
2061,
318,
262,
1438,
286,
262,
1720,
351,
262,
4511,
2756,
30,
46506,
8721,
62,
5376,
16034,
18675,
38678,
11050,
8721,
62,
18124,
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,
1
] | [
2061,
318,
262,
1438,
286,
262,
1720,
351,
262,
4511,
2756,
30,
46506,
8721,
62,
5376,
16034,
18675,
38678,
11050,
8721,
62,
18124,
22196,
34,
27564,
2043,
352
] |
how many times has a antiarrhythmics - class i antiarrhythmic been performed in 2104? | SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'antiarrhythmics - class i antiarrhythmic' AND STRFTIME('%y', treatment.treatmenttime) = '2104' | [
4919,
867,
1661,
468,
257,
3098,
3258,
71,
34853,
873,
532,
1398,
1312,
3098,
3258,
71,
5272,
9383,
587,
6157,
287,
362,
13464,
30,
46506,
327,
28270,
7,
28104,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
17096,
3258,
71,
348... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
468,
257,
3098,
3258,
71,
34853,
873,
532,
1398,
1312,
3098,
3258,
71,
5272,
9383,
587,
6157,
287,
362,
13464,
30,
46506,
327,
28270,
7,
28104,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
17096,
3258,
71,
348... |
Which Goals For has a Team of congleton town, and a Lost larger than 11? | SELECT MAX("Goals For") FROM table_13128 WHERE "Team" = 'congleton town' AND "Lost" > '11' | [
13828,
28510,
1114,
468,
257,
4816,
286,
369,
70,
10565,
3240,
11,
290,
257,
9164,
4025,
621,
1367,
30,
46506,
25882,
7203,
5247,
874,
1114,
4943,
16034,
3084,
62,
1485,
12762,
33411,
366,
15592,
1,
796,
705,
36801,
10565,
3240,
6,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28510,
1114,
468,
257,
4816,
286,
369,
70,
10565,
3240,
11,
290,
257,
9164,
4025,
621,
1367,
30,
46506,
25882,
7203,
5247,
874,
1114,
4943,
16034,
3084,
62,
1485,
12762,
33411,
366,
15592,
1,
796,
705,
36801,
10565,
3240,
6,
53... |
what is the number of asian ethnic background patients who were admitted in hospital before the year 2112? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.admityear < "2112" | [
10919,
318,
262,
1271,
286,
355,
666,
9450,
4469,
3871,
508,
547,
6848,
287,
4436,
878,
262,
614,
2310,
1065,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
355,
666,
9450,
4469,
3871,
508,
547,
6848,
287,
4436,
878,
262,
614,
2310,
1065,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
... |
what percentile is 66.0 calculated total co2 in a patient of the same age as patient 26469 on their first hospital visit? | SELECT DISTINCT t1.c1 FROM (SELECT labevents.valuenum, PERCENT_RANK() OVER (ORDER BY labevents.valuenum) AS c1 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'calculated total co2') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE adm... | [
10919,
37894,
318,
7930,
13,
15,
10488,
2472,
763,
17,
287,
257,
5827,
286,
262,
976,
2479,
355,
5827,
32158,
3388,
319,
511,
717,
4436,
3187,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,
46506,
2248,
31534,
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... | [
10919,
37894,
318,
7930,
13,
15,
10488,
2472,
763,
17,
287,
257,
5827,
286,
262,
976,
2479,
355,
5827,
32158,
3388,
319,
511,
717,
4436,
3187,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,
46506,
2248,
31534,
13... |
When the poles are 0 and the position is 14th, how much are the winnings? | SELECT winnings FROM table_1708014_1 WHERE poles = 0 AND position = "14th" | [
2215,
262,
24971,
389,
657,
290,
262,
2292,
318,
1478,
400,
11,
703,
881,
389,
262,
1592,
23400,
30,
46506,
1592,
23400,
16034,
3084,
62,
1558,
2919,
28645,
62,
16,
33411,
24971,
796,
657,
5357,
2292,
796,
366,
1415,
400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
24971,
389,
657,
290,
262,
2292,
318,
1478,
400,
11,
703,
881,
389,
262,
1592,
23400,
30,
46506,
1592,
23400,
16034,
3084,
62,
1558,
2919,
28645,
62,
16,
33411,
24971,
796,
657,
5357,
2292,
796,
366,
1415,
400,
1
] |
What is Score, when Opponent is 'Ivo Min '? | SELECT "Score" FROM table_59332 WHERE "Opponent" = 'ivo minář' | [
2061,
318,
15178,
11,
618,
9385,
3471,
318,
705,
40,
13038,
1855,
705,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3270,
32148,
33411,
366,
27524,
3471,
1,
796,
705,
23593,
949,
6557,
129,
247,
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,
318,
15178,
11,
618,
9385,
3471,
318,
705,
40,
13038,
1855,
705,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3270,
32148,
33411,
366,
27524,
3471,
1,
796,
705,
23593,
949,
6557,
129,
247,
6
] |
What is 1993, when Tournament is 'Cincinnati'? | SELECT "1993" FROM table_44545 WHERE "Tournament" = 'cincinnati' | [
2061,
318,
9656,
11,
618,
9595,
318,
705,
34,
15130,
30960,
46506,
366,
24465,
1,
16034,
3084,
62,
43489,
2231,
33411,
366,
51,
5138,
1,
796,
705,
66,
15130,
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,
9656,
11,
618,
9595,
318,
705,
34,
15130,
30960,
46506,
366,
24465,
1,
16034,
3084,
62,
43489,
2231,
33411,
366,
51,
5138,
1,
796,
705,
66,
15130,
6
] |
What is the English title for years after 1981 originating from Argentina? | SELECT english_title FROM table_name_93 WHERE year > 1981 AND country = "argentina" | [
2061,
318,
262,
3594,
3670,
329,
812,
706,
14745,
37962,
422,
16519,
30,
46506,
46932,
62,
7839,
16034,
3084,
62,
3672,
62,
6052,
33411,
614,
1875,
14745,
5357,
1499,
796,
366,
853,
298,
1437,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3594,
3670,
329,
812,
706,
14745,
37962,
422,
16519,
30,
46506,
46932,
62,
7839,
16034,
3084,
62,
3672,
62,
6052,
33411,
614,
1875,
14745,
5357,
1499,
796,
366,
853,
298,
1437,
1
] |
What circuit did Innes Ireland win at for the I lombank trophy? | SELECT "Circuit" FROM table_77805 WHERE "Winning driver" = 'innes ireland' AND "Race Name" = 'i lombank trophy' | [
2061,
10349,
750,
554,
2516,
7517,
1592,
379,
329,
262,
314,
300,
2381,
962,
16383,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
3324,
28256,
33411,
366,
16643,
768,
4639,
1,
796,
705,
259,
2516,
35918,
1044,
6,
5357,
366,
35157,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10349,
750,
554,
2516,
7517,
1592,
379,
329,
262,
314,
300,
2381,
962,
16383,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
3324,
28256,
33411,
366,
16643,
768,
4639,
1,
796,
705,
259,
2516,
35918,
1044,
6,
5357,
366,
35157,
... |
How many zodiac signs does the month by the Thai name of belong to? | SELECT COUNT("Zodiac sign") FROM table_22137 WHERE "Thai name" = 'กันยายน' | [
2437,
867,
1976,
40096,
5895,
857,
262,
1227,
416,
262,
18933,
1438,
286,
5594,
284,
30,
46506,
327,
28270,
7203,
57,
40096,
1051,
4943,
16034,
3084,
62,
1828,
19708,
33411,
366,
817,
1872,
1438,
1,
796,
705,
19567,
223,
19567,
109,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1976,
40096,
5895,
857,
262,
1227,
416,
262,
18933,
1438,
286,
5594,
284,
30,
46506,
327,
28270,
7203,
57,
40096,
1051,
4943,
16034,
3084,
62,
1828,
19708,
33411,
366,
817,
1872,
1438,
1,
796,
705,
19567,
223,
19567,
109,
1... |
Who's the Opponents in the final with a Date of june 10, 1996? | SELECT "Opponents in the final" FROM table_40762 WHERE "Date" = 'june 10, 1996' | [
8241,
338,
262,
9385,
3906,
287,
262,
2457,
351,
257,
7536,
286,
474,
1726,
838,
11,
8235,
30,
46506,
366,
27524,
3906,
287,
262,
2457,
1,
16034,
3084,
62,
1821,
48194,
33411,
366,
10430,
1,
796,
705,
73,
1726,
838,
11,
8235,
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
] | [
8241,
338,
262,
9385,
3906,
287,
262,
2457,
351,
257,
7536,
286,
474,
1726,
838,
11,
8235,
30,
46506,
366,
27524,
3906,
287,
262,
2457,
1,
16034,
3084,
62,
1821,
48194,
33411,
366,
10430,
1,
796,
705,
73,
1726,
838,
11,
8235,
6
] |
What papers were written on question answering this year ? | SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'question answering' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year = 2016 | [
2061,
9473,
547,
3194,
319,
1808,
18877,
428,
614,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
25652,
18877,
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... | [
2061,
9473,
547,
3194,
319,
1808,
18877,
428,
614,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
25652,
18877,
6,... |
Name the most games for standing of 5th, lebel and goals against larger than 220 with lost more than 52 | SELECT MAX(games) FROM table_name_2 WHERE standing = "5th, lebel" AND goals_against > 220 AND lost > 52 | [
5376,
262,
749,
1830,
329,
5055,
286,
642,
400,
11,
443,
6667,
290,
4661,
1028,
4025,
621,
15629,
351,
2626,
517,
621,
6740,
46506,
25882,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
5055,
796,
366,
20,
400,
11,
443,
6667,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
749,
1830,
329,
5055,
286,
642,
400,
11,
443,
6667,
290,
4661,
1028,
4025,
621,
15629,
351,
2626,
517,
621,
6740,
46506,
25882,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
5055,
796,
366,
20,
400,
11,
443,
6667,
... |
What is the largest attendance that has tigers as the opponent and a loss of leiter (0-1)? | SELECT MAX(attendance) FROM table_name_75 WHERE opponent = "tigers" AND loss = "leiter (0-1)" | [
2061,
318,
262,
4387,
14858,
326,
468,
43114,
355,
262,
6125,
290,
257,
2994,
286,
443,
2676,
357,
15,
12,
16,
19427,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
6125,
796,
366,
83,
34984,
1,
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
] | [
2061,
318,
262,
4387,
14858,
326,
468,
43114,
355,
262,
6125,
290,
257,
2994,
286,
443,
2676,
357,
15,
12,
16,
19427,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
6125,
796,
366,
83,
34984,
1,
5357,
... |
provide the number of patients whose diagnosis short title is chr tot occlus cor artery 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.short_title = "Chr tot occlus cor artry" AND lab."CATEGORY" = "Blood Gas" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13669,
1790,
3670,
318,
442,
81,
2006,
1609,
41790,
1162,
37646,
290,
2248,
1332,
6536,
318,
2910,
3623,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
1672... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13669,
1790,
3670,
318,
442,
81,
2006,
1609,
41790,
1162,
37646,
290,
2248,
1332,
6536,
318,
2910,
3623,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
1672... |
What is the average To Par, when Player is 'Julius Boros'? | SELECT AVG(to_par) FROM table_name_22 WHERE player = "julius boros" | [
2061,
318,
262,
2811,
1675,
2547,
11,
618,
7853,
318,
705,
16980,
3754,
12182,
418,
30960,
46506,
35224,
7,
1462,
62,
1845,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
2137,
796,
366,
73,
377,
3754,
275,
40877,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1675,
2547,
11,
618,
7853,
318,
705,
16980,
3754,
12182,
418,
30960,
46506,
35224,
7,
1462,
62,
1845,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
2137,
796,
366,
73,
377,
3754,
275,
40877,
1
] |
What is the Operator with a Peak that is 55? | SELECT operator FROM table_name_47 WHERE peak = "55" | [
2061,
318,
262,
35946,
351,
257,
23974,
326,
318,
5996,
30,
46506,
10088,
16034,
3084,
62,
3672,
62,
2857,
33411,
9103,
796,
366,
2816,
1
] | [
1,
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,
35946,
351,
257,
23974,
326,
318,
5996,
30,
46506,
10088,
16034,
3084,
62,
3672,
62,
2857,
33411,
9103,
796,
366,
2816,
1
] |
Name the total number of party for willis alston | SELECT COUNT("Party") FROM table_73997 WHERE "Incumbent" = 'Willis Alston' | [
5376,
262,
2472,
1271,
286,
2151,
329,
481,
271,
435,
3743,
46506,
327,
28270,
7203,
33553,
4943,
16034,
3084,
62,
4790,
39647,
33411,
366,
25517,
2178,
298,
1,
796,
705,
8743,
271,
978,
3743,
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
] | [
5376,
262,
2472,
1271,
286,
2151,
329,
481,
271,
435,
3743,
46506,
327,
28270,
7203,
33553,
4943,
16034,
3084,
62,
4790,
39647,
33411,
366,
25517,
2178,
298,
1,
796,
705,
8743,
271,
978,
3743,
6
] |
list the ids of patients who were diagnosed with bariatric surgery status since 2105. | SELECT admissions.subject_id FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'bariatric surgery status') AND STRFTIME('%y', diagnoses_icd.charttime) >= ... | [
4868,
262,
220,
2340,
286,
3871,
508,
547,
14641,
351,
2318,
11439,
8185,
3722,
1201,
362,
13348,
13,
46506,
25349,
13,
32796,
62,
312,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
40567,
62,
291,
67,
13,
1810... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
220,
2340,
286,
3871,
508,
547,
14641,
351,
2318,
11439,
8185,
3722,
1201,
362,
13348,
13,
46506,
25349,
13,
32796,
62,
312,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
40567,
62,
291,
67,
13,
1810... |
What's the largest amount of wins Texas has? | SELECT MAX(wins) FROM table_16225511_2 WHERE school = "Texas" | [
2061,
338,
262,
4387,
2033,
286,
7864,
3936,
468,
30,
46506,
25882,
7,
86,
1040,
8,
16034,
3084,
62,
25061,
13381,
1157,
62,
17,
33411,
1524,
796,
366,
21607,
1
] | [
1,
1,
1,
1,
1,
1,
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,
338,
262,
4387,
2033,
286,
7864,
3936,
468,
30,
46506,
25882,
7,
86,
1040,
8,
16034,
3084,
62,
25061,
13381,
1157,
62,
17,
33411,
1524,
796,
366,
21607,
1
] |
What country is the film directed by Alfonso Cuar n from? | SELECT "Country" FROM table_68196 WHERE "Director'" = 'alfonso cuarón' | [
2061,
1499,
318,
262,
2646,
7924,
416,
17136,
26666,
14496,
283,
299,
422,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
3104,
25272,
33411,
366,
28702,
29653,
796,
705,
1604,
26666,
18912,
283,
18840,
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
] | [
2061,
1499,
318,
262,
2646,
7924,
416,
17136,
26666,
14496,
283,
299,
422,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
3104,
25272,
33411,
366,
28702,
29653,
796,
705,
1604,
26666,
18912,
283,
18840,
6
] |
Who is the visitor team of the game where Buffalo was the home team? | SELECT visitor FROM table_name_29 WHERE home = "buffalo" | [
8241,
318,
262,
21493,
1074,
286,
262,
983,
810,
14905,
373,
262,
1363,
1074,
30,
46506,
21493,
16034,
3084,
62,
3672,
62,
1959,
33411,
1363,
796,
366,
36873,
7335,
1
] | [
1,
1,
1,
1,
1,
1,
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,
21493,
1074,
286,
262,
983,
810,
14905,
373,
262,
1363,
1074,
30,
46506,
21493,
16034,
3084,
62,
3672,
62,
1959,
33411,
1363,
796,
366,
36873,
7335,
1
] |
What was the race for the world championship formula 1 at a venue of hungaroring? | SELECT race FROM table_name_4 WHERE notes = "world championship formula 1" AND venue = "hungaroring" | [
2061,
373,
262,
3234,
329,
262,
995,
12184,
10451,
352,
379,
257,
14359,
286,
9174,
283,
3255,
30,
46506,
3234,
16034,
3084,
62,
3672,
62,
19,
33411,
4710,
796,
366,
6894,
12184,
10451,
352,
1,
5357,
14359,
796,
366,
43274,
283,
3255,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3234,
329,
262,
995,
12184,
10451,
352,
379,
257,
14359,
286,
9174,
283,
3255,
30,
46506,
3234,
16034,
3084,
62,
3672,
62,
19,
33411,
4710,
796,
366,
6894,
12184,
10451,
352,
1,
5357,
14359,
796,
366,
43274,
283,
3255,... |
What was the total number who attended during week 11? | SELECT COUNT("Attendance") FROM table_36094 WHERE "Week" = '11' | [
2061,
373,
262,
2472,
1271,
508,
9141,
1141,
1285,
1367,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
15277,
5824,
33411,
366,
20916,
1,
796,
705,
1157,
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
] | [
2061,
373,
262,
2472,
1271,
508,
9141,
1141,
1285,
1367,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
15277,
5824,
33411,
366,
20916,
1,
796,
705,
1157,
6
] |
how much do the glucose of patient 12775 change/differ last measured on the current hospital visit compared to the value second to last measured on the current hospital visit? | SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12775 AND admissions.dischtime IS NULL) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'glucose') ORDER BY labevents.charttime ... | [
4919,
881,
466,
262,
15701,
286,
5827,
18112,
2425,
1487,
14,
26069,
263,
938,
8630,
319,
262,
1459,
4436,
3187,
3688,
284,
262,
1988,
1218,
284,
938,
8630,
319,
262,
1459,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
881,
466,
262,
15701,
286,
5827,
18112,
2425,
1487,
14,
26069,
263,
938,
8630,
319,
262,
1459,
4436,
3187,
3688,
284,
262,
1988,
1218,
284,
938,
8630,
319,
262,
1459,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,... |
What is the count of distinct employees with certificates? | SELECT COUNT(DISTINCT eid) FROM certificate | [
2061,
318,
262,
954,
286,
7310,
4409,
351,
20835,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
304,
312,
8,
16034,
10703
] | [
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,
954,
286,
7310,
4409,
351,
20835,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
304,
312,
8,
16034,
10703
] |
Count the number of customer cards of the type Debit. | SELECT COUNT(*) FROM customers_cards WHERE card_type_code = "Debit" | [
12332,
262,
1271,
286,
6491,
4116,
286,
262,
2099,
1024,
2545,
13,
46506,
327,
28270,
7,
28104,
16034,
4297,
62,
27761,
33411,
2657,
62,
4906,
62,
8189,
796,
366,
16587,
270,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
262,
1271,
286,
6491,
4116,
286,
262,
2099,
1024,
2545,
13,
46506,
327,
28270,
7,
28104,
16034,
4297,
62,
27761,
33411,
2657,
62,
4906,
62,
8189,
796,
366,
16587,
270,
1
] |
List the description of the outcomes for all projects, and count them by a bar chart, could you list from high to low by the Y-axis? | SELECT outcome_description, COUNT(outcome_description) FROM Research_Outcomes AS T1 JOIN Project_Outcomes AS T2 ON T1.outcome_code = T2.outcome_code GROUP BY outcome_description ORDER BY COUNT(outcome_description) DESC | [
8053,
262,
6764,
286,
262,
10906,
329,
477,
4493,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
714,
345,
1351,
422,
1029,
284,
1877,
416,
262,
575,
12,
22704,
30,
46506,
8055,
62,
11213,
11,
327,
28270,
7,
448,
2958,
62,
11213,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
262,
6764,
286,
262,
10906,
329,
477,
4493,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
714,
345,
1351,
422,
1029,
284,
1877,
416,
262,
575,
12,
22704,
30,
46506,
8055,
62,
11213,
11,
327,
28270,
7,
448,
2958,
62,
11213,
8,... |
What's the departed date that the HMS Leith of the Royal Navy? | SELECT "Date departed" FROM table_47079 WHERE "Navy" = 'royal navy' AND "Name" = 'hms leith' | [
2061,
338,
262,
24057,
3128,
326,
262,
44247,
1004,
342,
286,
262,
8111,
8565,
30,
46506,
366,
10430,
24057,
1,
16034,
3084,
62,
27790,
3720,
33411,
366,
45,
2830,
1,
796,
705,
3287,
282,
23956,
6,
5357,
366,
5376,
1,
796,
705,
71,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
338,
262,
24057,
3128,
326,
262,
44247,
1004,
342,
286,
262,
8111,
8565,
30,
46506,
366,
10430,
24057,
1,
16034,
3084,
62,
27790,
3720,
33411,
366,
45,
2830,
1,
796,
705,
3287,
282,
23956,
6,
5357,
366,
5376,
1,
796,
705,
71,
... |
What is the Attendance of the game with a Loss of Hiller (3 2)? | SELECT MAX("Attendance") FROM table_59969 WHERE "Loss" = 'hiller (3–2)' | [
2061,
318,
262,
46502,
590,
286,
262,
983,
351,
257,
22014,
286,
3327,
263,
357,
18,
362,
19427,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
43452,
3388,
33411,
366,
43,
793,
1,
796,
705,
71,
4665,
357,
18,
1906,
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
] | [
2061,
318,
262,
46502,
590,
286,
262,
983,
351,
257,
22014,
286,
3327,
263,
357,
18,
362,
19427,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
43452,
3388,
33411,
366,
43,
793,
1,
796,
705,
71,
4665,
357,
18,
1906,
17,
... |
Which Team Win is from sweden and has a Individual win smaller than 1 | SELECT MAX("Team wins") FROM table_37932 WHERE "Nation" = 'sweden' AND "Individual wins" < '1' | [
13828,
4816,
7178,
318,
422,
1509,
31829,
290,
468,
257,
18629,
1592,
4833,
621,
352,
46506,
25882,
7203,
15592,
7864,
4943,
16034,
3084,
62,
29088,
2624,
33411,
366,
46108,
1,
796,
705,
2032,
31829,
6,
5357,
366,
35392,
7864,
1,
1279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4816,
7178,
318,
422,
1509,
31829,
290,
468,
257,
18629,
1592,
4833,
621,
352,
46506,
25882,
7203,
15592,
7864,
4943,
16034,
3084,
62,
29088,
2624,
33411,
366,
46108,
1,
796,
705,
2032,
31829,
6,
5357,
366,
35392,
7864,
1,
1279,
... |
Which position has a pick less than 41 from Ohio State? | SELECT "Position" FROM table_45214 WHERE "Pick" < '41' AND "School/Club Team" = 'ohio state' | [
13828,
2292,
468,
257,
2298,
1342,
621,
6073,
422,
6835,
1812,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2231,
22291,
33411,
366,
31686,
1,
1279,
705,
3901,
6,
5357,
366,
26130,
14,
42350,
4816,
1,
796,
705,
1219,
952,
1181,
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
] | [
13828,
2292,
468,
257,
2298,
1342,
621,
6073,
422,
6835,
1812,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2231,
22291,
33411,
366,
31686,
1,
1279,
705,
3901,
6,
5357,
366,
26130,
14,
42350,
4816,
1,
796,
705,
1219,
952,
1181,
6
] |
What is the alignment that predicts an alignment of the linuxbinary link? | SELECT "Alignment Alignment: predicts an alignment , ." FROM table_34126 WHERE "Link" = 'linuxbinary' | [
2061,
318,
262,
19114,
326,
26334,
281,
19114,
286,
262,
32639,
39491,
2792,
30,
46506,
366,
2348,
16747,
978,
16747,
25,
26334,
281,
19114,
837,
22135,
16034,
3084,
62,
2682,
19420,
33411,
366,
11280,
1,
796,
705,
23289,
39491,
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
] | [
2061,
318,
262,
19114,
326,
26334,
281,
19114,
286,
262,
32639,
39491,
2792,
30,
46506,
366,
2348,
16747,
978,
16747,
25,
26334,
281,
19114,
837,
22135,
16034,
3084,
62,
2682,
19420,
33411,
366,
11280,
1,
796,
705,
23289,
39491,
6
] |
What location did the Mavericks play against Milwaukee? | SELECT "Location Attendance" FROM table_29856 WHERE "Team" = 'Milwaukee' | [
2061,
4067,
750,
262,
36002,
711,
1028,
16629,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
27728,
3980,
33411,
366,
15592,
1,
796,
705,
24857,
15428,
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
] | [
2061,
4067,
750,
262,
36002,
711,
1028,
16629,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
27728,
3980,
33411,
366,
15592,
1,
796,
705,
24857,
15428,
6
] |
What is the afl team of the offensive guard? | SELECT afl_team FROM table_12165135_1 WHERE position = "Offensive Guard" | [
2061,
318,
262,
257,
2704,
1074,
286,
262,
5859,
4860,
30,
46506,
257,
2704,
62,
15097,
16034,
3084,
62,
1065,
20986,
17059,
62,
16,
33411,
2292,
796,
366,
9362,
2021,
4932,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2704,
1074,
286,
262,
5859,
4860,
30,
46506,
257,
2704,
62,
15097,
16034,
3084,
62,
1065,
20986,
17059,
62,
16,
33411,
2292,
796,
366,
9362,
2021,
4932,
1
] |
What is the population (1991) when cyrillic name is ? | SELECT MIN(population__1991_) FROM table_2562572_7 WHERE cyrillic_name = "Панчево" | [
2061,
318,
262,
3265,
357,
24529,
8,
618,
269,
2417,
359,
291,
1438,
318,
5633,
46506,
20625,
7,
39748,
834,
24529,
62,
8,
16034,
3084,
62,
11645,
1495,
4761,
62,
22,
33411,
269,
2417,
359,
291,
62,
3672,
796,
366,
140,
253,
16142,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3265,
357,
24529,
8,
618,
269,
2417,
359,
291,
1438,
318,
5633,
46506,
20625,
7,
39748,
834,
24529,
62,
8,
16034,
3084,
62,
11645,
1495,
4761,
62,
22,
33411,
269,
2417,
359,
291,
62,
3672,
796,
366,
140,
253,
16142,
... |
What's hale irwin's average rank? | SELECT AVG("Rank") FROM table_57695 WHERE "Player" = 'hale irwin' | [
2061,
338,
289,
1000,
4173,
5404,
338,
2811,
4279,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
3553,
37381,
33411,
366,
14140,
1,
796,
705,
71,
1000,
4173,
5404,
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,
338,
289,
1000,
4173,
5404,
338,
2811,
4279,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
3553,
37381,
33411,
366,
14140,
1,
796,
705,
71,
1000,
4173,
5404,
6
] |
how many games are listed in the table ? | SELECT COUNT(*) FROM table_203_255 | [
4919,
867,
1830,
389,
5610,
287,
262,
3084,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
13381
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1830,
389,
5610,
287,
262,
3084,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
13381
] |
i need the fares on flights from WASHINGTON to TORONTO on a SATURDAY | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'TORONTO' AND DAYS_1.day_name =... | [
72,
761,
262,
33164,
319,
13956,
422,
370,
19436,
284,
40691,
1340,
10468,
319,
257,
29020,
4261,
26442,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
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... | [
72,
761,
262,
33164,
319,
13956,
422,
370,
19436,
284,
40691,
1340,
10468,
319,
257,
29020,
4261,
26442,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
... |
What is the latest year when the best finish is 2 and the scoring average is less than 71.24? | SELECT MAX("Year") FROM table_12469 WHERE "Best finish" = '2' AND "Scoring average" < '71.24' | [
2061,
318,
262,
3452,
614,
618,
262,
1266,
5461,
318,
362,
290,
262,
9689,
2811,
318,
1342,
621,
9166,
13,
1731,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
17464,
3388,
33411,
366,
13014,
5461,
1,
796,
705,
17,
6,
5357,
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
] | [
2061,
318,
262,
3452,
614,
618,
262,
1266,
5461,
318,
362,
290,
262,
9689,
2811,
318,
1342,
621,
9166,
13,
1731,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
17464,
3388,
33411,
366,
13014,
5461,
1,
796,
705,
17,
6,
5357,
3... |
how many days since the first time patient 27172 was diagnosed during the current hospital visit with duodenal ulcer nos? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnoses_icd.charttime)) FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'duodenal ulcer nos') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admission... | [
4919,
867,
1528,
1201,
262,
717,
640,
5827,
2681,
23628,
373,
14641,
1141,
262,
1459,
4436,
3187,
351,
7043,
375,
268,
282,
14856,
2189,
43630,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
1201,
262,
717,
640,
5827,
2681,
23628,
373,
14641,
1141,
262,
1459,
4436,
3187,
351,
7043,
375,
268,
282,
14856,
2189,
43630,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
... |
For those records from the products and each product's manufacturer, give me the comparison about the amount of headquarter over the headquarter , and group by attribute headquarter, and could you order in descending by the Y please? | SELECT Headquarter, COUNT(Headquarter) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY COUNT(Headquarter) DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2033,
286,
1182,
24385,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
714,
345,
1502,
287,
31491,
416,
262,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2033,
286,
1182,
24385,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
714,
345,
1502,
287,
31491,
416,
262,
... |
On what date is there an assist/pass by Shannon Boxx? | SELECT date FROM table_name_92 WHERE assist_pass = "shannon boxx" | [
2202,
644,
3128,
318,
612,
281,
3342,
14,
6603,
416,
28108,
8315,
87,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5892,
33411,
3342,
62,
6603,
796,
366,
1477,
8825,
3091,
87,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
318,
612,
281,
3342,
14,
6603,
416,
28108,
8315,
87,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5892,
33411,
3342,
62,
6603,
796,
366,
1477,
8825,
3091,
87,
1
] |
Who won the men's double when Chou Tien-Chen won the men's single? | SELECT mens_doubles FROM table_12275654_1 WHERE mens_singles = "Chou Tien-chen" | [
8241,
1839,
262,
1450,
338,
4274,
618,
41699,
309,
2013,
12,
34,
831,
1839,
262,
1450,
338,
2060,
30,
46506,
285,
641,
62,
67,
280,
7689,
16034,
3084,
62,
1065,
23195,
39111,
62,
16,
33411,
285,
641,
62,
12215,
829,
796,
366,
1925,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1839,
262,
1450,
338,
4274,
618,
41699,
309,
2013,
12,
34,
831,
1839,
262,
1450,
338,
2060,
30,
46506,
285,
641,
62,
67,
280,
7689,
16034,
3084,
62,
1065,
23195,
39111,
62,
16,
33411,
285,
641,
62,
12215,
829,
796,
366,
1925,
... |
What is 2011, when 2006 is 'A', when 2008 is 'A', and when Tournament is 'Rome'? | SELECT 2011 FROM table_name_19 WHERE 2006 = "a" AND 2008 = "a" AND tournament = "rome" | [
2061,
318,
2813,
11,
618,
4793,
318,
705,
32,
3256,
618,
3648,
318,
705,
32,
3256,
290,
618,
9595,
318,
705,
49,
462,
30960,
46506,
2813,
16034,
3084,
62,
3672,
62,
1129,
33411,
4793,
796,
366,
64,
1,
5357,
3648,
796,
366,
64,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2813,
11,
618,
4793,
318,
705,
32,
3256,
618,
3648,
318,
705,
32,
3256,
290,
618,
9595,
318,
705,
49,
462,
30960,
46506,
2813,
16034,
3084,
62,
3672,
62,
1129,
33411,
4793,
796,
366,
64,
1,
5357,
3648,
796,
366,
64,
1,
... |
Which Partner has a Score of 7 6, 6 3? | SELECT partner FROM table_name_38 WHERE score = "7–6, 6–3" | [
13828,
35532,
468,
257,
15178,
286,
767,
718,
11,
718,
513,
30,
46506,
5212,
16034,
3084,
62,
3672,
62,
2548,
33411,
4776,
796,
366,
22,
1906,
21,
11,
718,
1906,
18,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
35532,
468,
257,
15178,
286,
767,
718,
11,
718,
513,
30,
46506,
5212,
16034,
3084,
62,
3672,
62,
2548,
33411,
4776,
796,
366,
22,
1906,
21,
11,
718,
1906,
18,
1
] |
what is the number of patients whose diagnoses long title is blood in stool and drug route is replace? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Blood in stool" AND prescriptions.route = "REPLACE" | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
2910,
287,
38753,
290,
2563,
6339,
318,
6330,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
2910,
287,
38753,
290,
2563,
6339,
318,
6330,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... |
Round 1 of 71 has how many highest money? | SELECT MAX(money__) AS $_ FROM table_name_33 WHERE round_1 = "71" | [
22685,
352,
286,
9166,
468,
703,
867,
4511,
1637,
30,
46506,
25882,
7,
26316,
834,
8,
7054,
40111,
16034,
3084,
62,
3672,
62,
2091,
33411,
2835,
62,
16,
796,
366,
4869,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
22685,
352,
286,
9166,
468,
703,
867,
4511,
1637,
30,
46506,
25882,
7,
26316,
834,
8,
7054,
40111,
16034,
3084,
62,
3672,
62,
2091,
33411,
2835,
62,
16,
796,
366,
4869,
1
] |
what airlines have flights from BALTIMORE to SEATTLE | SELECT DISTINCT airline.airline_code FROM airline, 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 = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city... | [
10919,
26225,
423,
13956,
422,
347,
31429,
3955,
6965,
284,
7946,
1404,
14990,
33635,
16779,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
900... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26225,
423,
13956,
422,
347,
31429,
3955,
6965,
284,
7946,
1404,
14990,
33635,
16779,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
900... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.