instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Where was the game with a result of won 5-0? | SELECT "Venue" FROM table_6286 WHERE "Result" = 'won 5-0' | [
8496,
373,
262,
983,
351,
257,
1255,
286,
1839,
642,
12,
15,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
21,
27033,
33411,
366,
23004,
1,
796,
705,
26502,
642,
12,
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
] | [
8496,
373,
262,
983,
351,
257,
1255,
286,
1839,
642,
12,
15,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
21,
27033,
33411,
366,
23004,
1,
796,
705,
26502,
642,
12,
15,
6
] |
What is the Place of the Player with a To par of 10 and a Score of 67-67-66=200? | SELECT "Place" FROM table_59981 WHERE "To par" = '–10' AND "Score" = '67-67-66=200' | [
2061,
318,
262,
8474,
286,
262,
7853,
351,
257,
1675,
1582,
286,
838,
290,
257,
15178,
286,
8275,
12,
3134,
12,
2791,
28,
2167,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
43452,
6659,
33411,
366,
2514,
1582,
1,
796,
705,
1906,
940,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8474,
286,
262,
7853,
351,
257,
1675,
1582,
286,
838,
290,
257,
15178,
286,
8275,
12,
3134,
12,
2791,
28,
2167,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
43452,
6659,
33411,
366,
2514,
1582,
1,
796,
705,
1906,
940,
... |
Show each location and the number of cinemas there Show bar chart, rank by the bars in descending. | SELECT Location, COUNT(*) FROM cinema GROUP BY Location ORDER BY Location DESC | [
15307,
1123,
4067,
290,
262,
1271,
286,
13483,
292,
612,
5438,
2318,
8262,
11,
4279,
416,
262,
9210,
287,
31491,
13,
46506,
13397,
11,
327,
28270,
7,
28104,
16034,
22041,
44441,
11050,
13397,
38678,
11050,
13397,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1123,
4067,
290,
262,
1271,
286,
13483,
292,
612,
5438,
2318,
8262,
11,
4279,
416,
262,
9210,
287,
31491,
13,
46506,
13397,
11,
327,
28270,
7,
28104,
16034,
22041,
44441,
11050,
13397,
38678,
11050,
13397,
22196,
34
] |
Who's the Republican ticket with a Socialist ticket of frank r. crosswaith? | SELECT republican_ticket FROM table_name_61 WHERE socialist_ticket = "frank r. crosswaith" | [
8241,
338,
262,
3415,
7846,
351,
257,
21773,
7846,
286,
14346,
374,
13,
3272,
86,
3921,
30,
46506,
41477,
62,
43350,
16034,
3084,
62,
3672,
62,
5333,
33411,
15889,
62,
43350,
796,
366,
8310,
962,
374,
13,
3272,
86,
3921,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3415,
7846,
351,
257,
21773,
7846,
286,
14346,
374,
13,
3272,
86,
3921,
30,
46506,
41477,
62,
43350,
16034,
3084,
62,
3672,
62,
5333,
33411,
15889,
62,
43350,
796,
366,
8310,
962,
374,
13,
3272,
86,
3921,
1
] |
What's the pos for an asts less than 117? | SELECT pos FROM table_name_52 WHERE asts < 117 | [
2061,
338,
262,
1426,
329,
281,
257,
6448,
1342,
621,
19048,
30,
46506,
1426,
16034,
3084,
62,
3672,
62,
4309,
33411,
257,
6448,
1279,
19048
] | [
1,
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,
1426,
329,
281,
257,
6448,
1342,
621,
19048,
30,
46506,
1426,
16034,
3084,
62,
3672,
62,
4309,
33411,
257,
6448,
1279,
19048
] |
What was the record after game 79? | SELECT "Record" FROM table_35847 WHERE "Game #" = '79' | [
2061,
373,
262,
1700,
706,
983,
9225,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
31128,
2857,
33411,
366,
8777,
1303,
1,
796,
705,
3720,
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
] | [
2061,
373,
262,
1700,
706,
983,
9225,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
31128,
2857,
33411,
366,
8777,
1303,
1,
796,
705,
3720,
6
] |
how many points earned by bob neyret ? | SELECT "points" FROM table_203_644 WHERE "driver" = 'bob neyret' | [
4919,
867,
2173,
7366,
416,
29202,
497,
88,
1186,
5633,
46506,
366,
13033,
1,
16034,
3084,
62,
22416,
62,
29173,
33411,
366,
26230,
1,
796,
705,
65,
672,
497,
88,
1186,
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
] | [
4919,
867,
2173,
7366,
416,
29202,
497,
88,
1186,
5633,
46506,
366,
13033,
1,
16034,
3084,
62,
22416,
62,
29173,
33411,
366,
26230,
1,
796,
705,
65,
672,
497,
88,
1186,
6
] |
what were the four most frequently ordered laboratory tests for patients who had been diagnosed with dmii circ uncntrld previously in the same month,? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.i... | [
10919,
547,
262,
1440,
749,
6777,
6149,
14010,
5254,
329,
3871,
508,
550,
587,
14641,
351,
288,
76,
4178,
2498,
4591,
429,
81,
335,
4271,
287,
262,
976,
1227,
11,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
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... | [
10919,
547,
262,
1440,
749,
6777,
6149,
14010,
5254,
329,
3871,
508,
550,
587,
14641,
351,
288,
76,
4178,
2498,
4591,
429,
81,
335,
4271,
287,
262,
976,
1227,
11,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
2... |
What was the fewest number of viewers for the episode production number of 109 5-22? | SELECT MIN("Total viewers (in millions)") FROM table_40566 WHERE "Episode number Production number" = '109 5-22' | [
2061,
373,
262,
1178,
395,
1271,
286,
10209,
329,
262,
4471,
3227,
1271,
286,
16003,
642,
12,
1828,
30,
46506,
20625,
7203,
14957,
10209,
357,
259,
5242,
8,
4943,
16034,
3084,
62,
26598,
2791,
33411,
366,
23758,
1271,
19174,
1271,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1178,
395,
1271,
286,
10209,
329,
262,
4471,
3227,
1271,
286,
16003,
642,
12,
1828,
30,
46506,
20625,
7203,
14957,
10209,
357,
259,
5242,
8,
4943,
16034,
3084,
62,
26598,
2791,
33411,
366,
23758,
1271,
19174,
1271,
1,
... |
what is the total number of player where years for rockets is 2004-06 | SELECT COUNT("Player") FROM table_17152 WHERE "Years for Rockets" = '2004-06' | [
10919,
318,
262,
2472,
1271,
286,
2137,
810,
812,
329,
20293,
318,
5472,
12,
3312,
46506,
327,
28270,
7203,
14140,
4943,
16034,
3084,
62,
1558,
17827,
33411,
366,
40630,
329,
23328,
1,
796,
705,
15724,
12,
3312,
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
] | [
10919,
318,
262,
2472,
1271,
286,
2137,
810,
812,
329,
20293,
318,
5472,
12,
3312,
46506,
327,
28270,
7203,
14140,
4943,
16034,
3084,
62,
1558,
17827,
33411,
366,
40630,
329,
23328,
1,
796,
705,
15724,
12,
3312,
6
] |
Questions per day by week. | WITH questions_by_week AS (SELECT CAST(DATEADD(week, DATEDIFF(week, GETDATE(), CreationDate), GETDATE()) AS DATE) AS Week, COUNT(*) AS post_count FROM Posts AS p WHERE PostTypeId = 1 AND CreationDate >= @FirstQuestion GROUP BY DATEDIFF(week, GETDATE(), CreationDate)) SELECT p.Week, CAST(post_count AS FLOAT) / 7 AS ques... | [
35741,
583,
1110,
416,
1285,
13,
54,
10554,
2683,
62,
1525,
62,
10464,
7054,
357,
46506,
327,
11262,
7,
35,
6158,
29266,
7,
10464,
11,
360,
11617,
29267,
7,
10464,
11,
17151,
35,
6158,
22784,
21582,
10430,
828,
17151,
35,
6158,
28955,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35741,
583,
1110,
416,
1285,
13,
54,
10554,
2683,
62,
1525,
62,
10464,
7054,
357,
46506,
327,
11262,
7,
35,
6158,
29266,
7,
10464,
11,
360,
11617,
29267,
7,
10464,
11,
17151,
35,
6158,
22784,
21582,
10430,
828,
17151,
35,
6158,
28955,... |
What builder has a 2001-02 order year? | SELECT builder FROM table_name_93 WHERE order_year = "2001-02" | [
2061,
27098,
468,
257,
5878,
12,
2999,
1502,
614,
30,
46506,
27098,
16034,
3084,
62,
3672,
62,
6052,
33411,
1502,
62,
1941,
796,
366,
14585,
12,
2999,
1
] | [
1,
1,
1,
1,
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,
27098,
468,
257,
5878,
12,
2999,
1502,
614,
30,
46506,
27098,
16034,
3084,
62,
3672,
62,
6052,
33411,
1502,
62,
1941,
796,
366,
14585,
12,
2999,
1
] |
who is the director next to the title diwan bahadur ? | SELECT "director" FROM table_204_961 WHERE "title" = 'diwan bahadur' | [
8727,
318,
262,
3437,
1306,
284,
262,
3670,
2566,
8149,
275,
993,
324,
333,
5633,
46506,
366,
35248,
1,
16034,
3084,
62,
18638,
62,
4846,
16,
33411,
366,
7839,
1,
796,
705,
10989,
8149,
275,
993,
324,
333,
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
] | [
8727,
318,
262,
3437,
1306,
284,
262,
3670,
2566,
8149,
275,
993,
324,
333,
5633,
46506,
366,
35248,
1,
16034,
3084,
62,
18638,
62,
4846,
16,
33411,
366,
7839,
1,
796,
705,
10989,
8149,
275,
993,
324,
333,
6
] |
For those employees who was hired before 2002-06-21, give me the comparison about the sum of department_id over the hire_date bin hire_date by time, and could you display by the sum department id in ascending? | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(DEPARTMENT_ID) | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
5011,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
11,
290,
714,
345,
3359,
416,
262,
2160,
501... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1577,
502,
262,
7208,
546,
262,
2160,
286,
5011,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
11,
290,
714,
345,
3359,
416,
262,
2160,
501... |
tag for which I have not posted an answer. | WITH qtag AS (SELECT p1.Id, p1.AnswerCount FROM Posts AS p1 WHERE p1.Tags LIKE '%' + @tag + '%' AND p1.PostTypeId = 1 AND p1.ClosedDate IS NULL AND p1.FavoriteCount = 0), myanswers AS (SELECT p2.ParentId, p2.Score FROM Posts AS p2 WHERE p2.OwnerUserId = @UserID AND p2.CommunityOwnedDate IS NULL AND p2.PostTypeId = 2), ... | [
12985,
329,
543,
314,
423,
407,
4481,
281,
3280,
13,
54,
10554,
10662,
12985,
7054,
357,
46506,
279,
16,
13,
7390,
11,
279,
16,
13,
33706,
12332,
16034,
12043,
7054,
279,
16,
33411,
279,
16,
13,
36142,
34178,
705,
4,
6,
1343,
2488,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12985,
329,
543,
314,
423,
407,
4481,
281,
3280,
13,
54,
10554,
10662,
12985,
7054,
357,
46506,
279,
16,
13,
7390,
11,
279,
16,
13,
33706,
12332,
16034,
12043,
7054,
279,
16,
33411,
279,
16,
13,
36142,
34178,
705,
4,
6,
1343,
2488,
... |
Average lifespan of hall of fame players | SELECT AVG(T1.death_year - T1.birth_year) FROM player AS T1 JOIN hall_of_fame AS T2 ON T1.player_id = T2.player_id WHERE T2.inducted = "Y" | [
26287,
30458,
286,
6899,
286,
16117,
1938,
46506,
35224,
7,
51,
16,
13,
22595,
62,
1941,
532,
309,
16,
13,
24280,
62,
1941,
8,
16034,
2137,
7054,
309,
16,
32357,
1268,
6899,
62,
1659,
62,
69,
480,
7054,
309,
17,
6177,
309,
16,
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... | [
26287,
30458,
286,
6899,
286,
16117,
1938,
46506,
35224,
7,
51,
16,
13,
22595,
62,
1941,
532,
309,
16,
13,
24280,
62,
1941,
8,
16034,
2137,
7054,
309,
16,
32357,
1268,
6899,
62,
1659,
62,
69,
480,
7054,
309,
17,
6177,
309,
16,
13,... |
A bar chart shows the distribution of All_Games and All_Games_Percent , I want to order x-axis in descending order please. | SELECT All_Games, All_Games_Percent FROM basketball_match ORDER BY All_Games DESC | [
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
24474,
290,
1439,
62,
24474,
62,
31905,
837,
314,
765,
284,
1502,
2124,
12,
22704,
287,
31491,
1502,
3387,
13,
46506,
1439,
62,
24474,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
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
] | [
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
24474,
290,
1439,
62,
24474,
62,
31905,
837,
314,
765,
284,
1502,
2124,
12,
22704,
287,
31491,
1502,
3387,
13,
46506,
1439,
62,
24474,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
... |
what is the number of patients whose admission type is urgent and procedure short title is endosc sphincterotomy? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.short_title = "Endosc sphincterotomy" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
8771,
1790,
3670,
318,
886,
17500,
599,
71,
4612,
263,
38385,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
2147... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
318,
18039,
290,
8771,
1790,
3670,
318,
886,
17500,
599,
71,
4612,
263,
38385,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
2147... |
Name the goals with games of 6 | SELECT "Goals" FROM table_69273 WHERE "Games" = '6' | [
5376,
262,
4661,
351,
1830,
286,
718,
46506,
366,
5247,
874,
1,
16034,
3084,
62,
3388,
27367,
33411,
366,
24474,
1,
796,
705,
21,
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
] | [
5376,
262,
4661,
351,
1830,
286,
718,
46506,
366,
5247,
874,
1,
16034,
3084,
62,
3388,
27367,
33411,
366,
24474,
1,
796,
705,
21,
6
] |
Which position has a player at Arizona state? | SELECT position FROM table_name_95 WHERE school_club_team = "arizona state" | [
13828,
2292,
468,
257,
2137,
379,
7943,
1181,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3865,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
283,
528,
4450,
1181,
1
] | [
1,
1,
1,
1,
1,
1,
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,
2137,
379,
7943,
1181,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3865,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
283,
528,
4450,
1181,
1
] |
what is the title of the song before track # 4 | SELECT "title" FROM table_203_701 WHERE "#" = 4 - 1 | [
10919,
318,
262,
3670,
286,
262,
3496,
878,
2610,
1303,
604,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
41583,
33411,
25113,
1,
796,
604,
532,
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
] | [
10919,
318,
262,
3670,
286,
262,
3496,
878,
2610,
1303,
604,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
41583,
33411,
25113,
1,
796,
604,
532,
352
] |
What is the 3rd Liga from 2010-11? | SELECT "3rd Liga 3rd" FROM table_39644 WHERE "Date" = '2010-11' | [
2061,
318,
262,
513,
4372,
39249,
422,
3050,
12,
1157,
30,
46506,
366,
18,
4372,
39249,
513,
4372,
1,
16034,
3084,
62,
2670,
29173,
33411,
366,
10430,
1,
796,
705,
10333,
12,
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,
1,
1
] | [
2061,
318,
262,
513,
4372,
39249,
422,
3050,
12,
1157,
30,
46506,
366,
18,
4372,
39249,
513,
4372,
1,
16034,
3084,
62,
2670,
29173,
33411,
366,
10430,
1,
796,
705,
10333,
12,
1157,
6
] |
Number of questions for a moon tag. | SELECT COUNT(*) FROM Posts WHERE Id IN (SELECT DISTINCT (PostId) FROM PostTags WHERE TagId IN (SELECT Id FROM Tags WHERE TagName LIKE '%moon%')) | [
15057,
286,
2683,
329,
257,
8824,
7621,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
33411,
5121,
3268,
357,
46506,
360,
8808,
1268,
4177,
357,
6307,
7390,
8,
16034,
2947,
36142,
33411,
17467,
7390,
3268,
357,
46506,
5121,
16034,
44789,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15057,
286,
2683,
329,
257,
8824,
7621,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
33411,
5121,
3268,
357,
46506,
360,
8808,
1268,
4177,
357,
6307,
7390,
8,
16034,
2947,
36142,
33411,
17467,
7390,
3268,
357,
46506,
5121,
16034,
44789,... |
Who was the director when there were 13.66 million u.s viewers? | SELECT director FROM table_11404452_1 WHERE us_viewers__millions_ = "13.66" | [
8241,
373,
262,
3437,
618,
612,
547,
1511,
13,
2791,
1510,
334,
13,
82,
10209,
30,
46506,
3437,
16034,
3084,
62,
1157,
26429,
37730,
62,
16,
33411,
514,
62,
1177,
364,
834,
17805,
507,
62,
796,
366,
1485,
13,
2791,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3437,
618,
612,
547,
1511,
13,
2791,
1510,
334,
13,
82,
10209,
30,
46506,
3437,
16034,
3084,
62,
1157,
26429,
37730,
62,
16,
33411,
514,
62,
1177,
364,
834,
17805,
507,
62,
796,
366,
1485,
13,
2791,
1
] |
Find the dates of the tests taken with result 'Pass'. | SELECT date_test_taken FROM student_tests_taken WHERE test_result = "Pass" | [
16742,
262,
9667,
286,
262,
5254,
2077,
351,
1255,
705,
14478,
4458,
46506,
3128,
62,
9288,
62,
83,
1685,
16034,
3710,
62,
41989,
62,
83,
1685,
33411,
1332,
62,
20274,
796,
366,
14478,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9667,
286,
262,
5254,
2077,
351,
1255,
705,
14478,
4458,
46506,
3128,
62,
9288,
62,
83,
1685,
16034,
3710,
62,
41989,
62,
83,
1685,
33411,
1332,
62,
20274,
796,
366,
14478,
1
] |
Name the fewest touchdowns | SELECT MIN("Touchdowns") FROM table_72527 | [
5376,
262,
1178,
395,
17692,
46506,
20625,
7203,
35211,
30371,
4943,
16034,
3084,
62,
45151,
1983
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1178,
395,
17692,
46506,
20625,
7203,
35211,
30371,
4943,
16034,
3084,
62,
45151,
1983
] |
What day in February did the team play the boston bruins? | SELECT february FROM table_27539535_7 WHERE opponent = "Boston Bruins" | [
2061,
1110,
287,
3945,
750,
262,
1074,
711,
262,
275,
5744,
18145,
1040,
30,
46506,
730,
65,
3728,
16034,
3084,
62,
23195,
31010,
2327,
62,
22,
33411,
6125,
796,
366,
31710,
27607,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1110,
287,
3945,
750,
262,
1074,
711,
262,
275,
5744,
18145,
1040,
30,
46506,
730,
65,
3728,
16034,
3084,
62,
23195,
31010,
2327,
62,
22,
33411,
6125,
796,
366,
31710,
27607,
1
] |
give a count of the number of intensive care unit visits of patient 027-69449 in 2105. | SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-69449') AND STRFTIME('%y', patient.unitadmittime) = '2105' | [
26535,
257,
954,
286,
262,
1271,
286,
18590,
1337,
4326,
11864,
286,
5827,
657,
1983,
12,
3388,
31911,
287,
362,
13348,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
20850,
31712,
312,
8,
16034,
5827,
33411,
5827,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
954,
286,
262,
1271,
286,
18590,
1337,
4326,
11864,
286,
5827,
657,
1983,
12,
3388,
31911,
287,
362,
13348,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
20850,
31712,
312,
8,
16034,
5827,
33411,
5827,
1... |
What's the margin of victory during the Pocono Northeast Classic? | SELECT margin_of_victory FROM table_name_55 WHERE tournament = "pocono northeast classic" | [
2061,
338,
262,
10330,
286,
5373,
1141,
262,
39375,
29941,
26315,
13449,
30,
46506,
10330,
62,
1659,
62,
32433,
652,
16034,
3084,
62,
3672,
62,
2816,
33411,
7756,
796,
366,
79,
420,
29941,
24287,
6833,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10330,
286,
5373,
1141,
262,
39375,
29941,
26315,
13449,
30,
46506,
10330,
62,
1659,
62,
32433,
652,
16034,
3084,
62,
3672,
62,
2816,
33411,
7756,
796,
366,
79,
420,
29941,
24287,
6833,
1
] |
provide the number of patients whose age is less than 63 and days of hospital stay is greater than 17? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "63" AND demographic.days_stay > "17" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8093,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
1596,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2479,
318,
1342,
621,
8093,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
1596,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
... |
what is the four year survival rate of patients with ventricular tachycardia diagnosed? | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 4 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOI... | [
10919,
318,
262,
1440,
614,
9441,
2494,
286,
3871,
351,
7435,
41001,
256,
35586,
9517,
544,
14641,
30,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1440,
614,
9441,
2494,
286,
3871,
351,
7435,
41001,
256,
35586,
9517,
544,
14641,
30,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
... |
what is discharge location and icu stay id of subject id 42820? | SELECT demographic.discharge_location, prescriptions.icustay_id FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.subject_id = "42820" | [
10919,
318,
17655,
4067,
290,
14158,
84,
2652,
4686,
286,
2426,
4686,
45063,
1238,
30,
46506,
16728,
13,
6381,
10136,
62,
24886,
11,
34092,
13,
291,
436,
323,
62,
312,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
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
] | [
10919,
318,
17655,
4067,
290,
14158,
84,
2652,
4686,
286,
2426,
4686,
45063,
1238,
30,
46506,
16728,
13,
6381,
10136,
62,
24886,
11,
34092,
13,
291,
436,
323,
62,
312,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
1810... |
Where is the airport located that has a 98.9% in use capacity? | SELECT location FROM table_name_51 WHERE capacity_in_use = "98.9%" | [
8496,
318,
262,
9003,
5140,
326,
468,
257,
9661,
13,
24,
4,
287,
779,
5339,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
4349,
33411,
5339,
62,
259,
62,
1904,
796,
366,
4089,
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
] | [
8496,
318,
262,
9003,
5140,
326,
468,
257,
9661,
13,
24,
4,
287,
779,
5339,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
4349,
33411,
5339,
62,
259,
62,
1904,
796,
366,
4089,
13,
24,
39658
] |
How many games played have 4.7 as points per game? | SELECT games_played FROM table_2387461_1 WHERE points_per_game = "4.7" | [
2437,
867,
1830,
2826,
423,
604,
13,
22,
355,
2173,
583,
983,
30,
46506,
1830,
62,
21542,
16034,
3084,
62,
1954,
5774,
40652,
62,
16,
33411,
2173,
62,
525,
62,
6057,
796,
366,
19,
13,
22,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1830,
2826,
423,
604,
13,
22,
355,
2173,
583,
983,
30,
46506,
1830,
62,
21542,
16034,
3084,
62,
1954,
5774,
40652,
62,
16,
33411,
2173,
62,
525,
62,
6057,
796,
366,
19,
13,
22,
1
] |
what was the first time patient 77987 had a microbiology test in 07/last year? | SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 77987) AND DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', microbiolo... | [
10919,
373,
262,
717,
640,
5827,
767,
3720,
5774,
550,
257,
24559,
1435,
1332,
287,
8753,
14,
12957,
614,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
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... | [
10919,
373,
262,
717,
640,
5827,
767,
3720,
5774,
550,
257,
24559,
1435,
1332,
287,
8753,
14,
12957,
614,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268... |
Unanswered, uncommented and unclosed questions. | SELECT Id AS "post_link", CreationDate, Score, ViewCount FROM Posts WHERE PostTypeId = 1 AND AnswerCount = 0 AND CommentCount = 0 AND ClosedDate IS NULL ORDER BY ViewCount | [
3118,
31966,
11,
8820,
12061,
290,
555,
20225,
2683,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
11,
15178,
11,
3582,
12332,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
23998,
12332,
796,
657,
5357,
18957,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3118,
31966,
11,
8820,
12061,
290,
555,
20225,
2683,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
11,
15178,
11,
3582,
12332,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
23998,
12332,
796,
657,
5357,
18957,
... |
When hany abu-assad category:articles with hcards is the director what is the result? | SELECT "Result" FROM table_28779 WHERE "Director" = 'Hany Abu-Assad Category:Articles with hCards' | [
2215,
289,
1092,
450,
84,
12,
30178,
6536,
25,
26845,
351,
289,
27761,
318,
262,
3437,
644,
318,
262,
1255,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2078,
40393,
33411,
366,
28702,
1,
796,
705,
39,
1092,
13098,
12,
23622,
21743,
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
] | [
2215,
289,
1092,
450,
84,
12,
30178,
6536,
25,
26845,
351,
289,
27761,
318,
262,
3437,
644,
318,
262,
1255,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2078,
40393,
33411,
366,
28702,
1,
796,
705,
39,
1092,
13098,
12,
23622,
21743,
2... |
when did patient 19040's last intake since 680 days ago occur? | SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 19040)) AND DATETIME(inputevents_cv.charttime) >= DATETIME(CURRENT_TIME(), '-680 day') ORDER... | [
12518,
750,
5827,
19884,
1821,
338,
938,
10337,
1201,
40554,
1528,
2084,
3051,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
19884,
1821,
338,
938,
10337,
1201,
40554,
1528,
2084,
3051,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
29... |
What is the Badge/Serial Number of the Policeman who died in Gunfire on 1919-02-18? | SELECT badge_serial_number FROM table_name_58 WHERE rank = "policeman" AND cause_of_death = "gunfire" AND date_of_death = "1919-02-18" | [
2061,
318,
262,
44308,
14,
32634,
7913,
286,
262,
37147,
8463,
508,
3724,
287,
6748,
6495,
319,
30992,
12,
2999,
12,
1507,
30,
46506,
23009,
62,
46911,
62,
17618,
16034,
3084,
62,
3672,
62,
3365,
33411,
4279,
796,
366,
79,
4160,
8463,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
44308,
14,
32634,
7913,
286,
262,
37147,
8463,
508,
3724,
287,
6748,
6495,
319,
30992,
12,
2999,
12,
1507,
30,
46506,
23009,
62,
46911,
62,
17618,
16034,
3084,
62,
3672,
62,
3365,
33411,
4279,
796,
366,
79,
4160,
8463,... |
did they finish in a better position in portugal or greece ? | SELECT "venue" FROM table_203_189 WHERE "venue" IN ('portugal', 'greece') ORDER BY "position" LIMIT 1 | [
20839,
484,
5461,
287,
257,
1365,
2292,
287,
2493,
43778,
393,
308,
631,
344,
5633,
46506,
366,
4080,
1,
16034,
3084,
62,
22416,
62,
23362,
33411,
366,
4080,
1,
3268,
19203,
634,
43778,
3256,
705,
70,
631,
344,
11537,
38678,
11050,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20839,
484,
5461,
287,
257,
1365,
2292,
287,
2493,
43778,
393,
308,
631,
344,
5633,
46506,
366,
4080,
1,
16034,
3084,
62,
22416,
62,
23362,
33411,
366,
4080,
1,
3268,
19203,
634,
43778,
3256,
705,
70,
631,
344,
11537,
38678,
11050,
36... |
When was the episode titled 'The Boost Job' originally aired? | SELECT "Original air date" FROM table_23830 WHERE "Title" = 'The Boost Job' | [
2215,
373,
262,
4471,
11946,
705,
464,
19835,
15768,
6,
6198,
18530,
30,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
23721,
1270,
33411,
366,
19160,
1,
796,
705,
464,
19835,
15768,
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
] | [
2215,
373,
262,
4471,
11946,
705,
464,
19835,
15768,
6,
6198,
18530,
30,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
23721,
1270,
33411,
366,
19160,
1,
796,
705,
464,
19835,
15768,
6
] |
What is the total score for the year 2012? | SELECT total_score FROM table_name_14 WHERE year = 2012 | [
2061,
318,
262,
2472,
4776,
329,
262,
614,
2321,
30,
46506,
2472,
62,
26675,
16034,
3084,
62,
3672,
62,
1415,
33411,
614,
796,
2321
] | [
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,
4776,
329,
262,
614,
2321,
30,
46506,
2472,
62,
26675,
16034,
3084,
62,
3672,
62,
1415,
33411,
614,
796,
2321
] |
Who was the successor that was formally installed on March 30, 1870? | SELECT "Successor" FROM table_26647 WHERE "Date of successors formal installation" = 'March 30, 1870' | [
8241,
373,
262,
17270,
326,
373,
15832,
6589,
319,
2805,
1542,
11,
37667,
30,
46506,
366,
33244,
273,
1,
16034,
3084,
62,
2075,
33981,
33411,
366,
10430,
286,
41491,
8766,
9988,
1,
796,
705,
16192,
1542,
11,
37667,
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,
373,
262,
17270,
326,
373,
15832,
6589,
319,
2805,
1542,
11,
37667,
30,
46506,
366,
33244,
273,
1,
16034,
3084,
62,
2075,
33981,
33411,
366,
10430,
286,
41491,
8766,
9988,
1,
796,
705,
16192,
1542,
11,
37667,
6
] |
Which tone goes with Phonetic of [p a ]? | SELECT "Tone" FROM table_6054 WHERE "Phonetic" = '[pʰaː˥˥]' | [
13828,
8216,
2925,
351,
1380,
261,
5139,
286,
685,
79,
257,
2361,
30,
46506,
366,
51,
505,
1,
16034,
3084,
62,
1899,
4051,
33411,
366,
2725,
261,
5139,
1,
796,
44438,
79,
134,
108,
64,
135,
238,
135,
98,
135,
98,
49946
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8216,
2925,
351,
1380,
261,
5139,
286,
685,
79,
257,
2361,
30,
46506,
366,
51,
505,
1,
16034,
3084,
62,
1899,
4051,
33411,
366,
2725,
261,
5139,
1,
796,
44438,
79,
134,
108,
64,
135,
238,
135,
98,
135,
98,
49946
] |
What was the cyclone's pressure in the storm that death was equal to 95km/h (60mph)? | SELECT pressure FROM table_10602294_1 WHERE deaths = "95km/h (60mph)" | [
2061,
373,
262,
11700,
505,
338,
3833,
287,
262,
6388,
326,
1918,
373,
4961,
284,
6957,
13276,
14,
71,
357,
1899,
23335,
19427,
46506,
3833,
16034,
3084,
62,
940,
1899,
1828,
5824,
62,
16,
33411,
7040,
796,
366,
3865,
13276,
14,
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
] | [
2061,
373,
262,
11700,
505,
338,
3833,
287,
262,
6388,
326,
1918,
373,
4961,
284,
6957,
13276,
14,
71,
357,
1899,
23335,
19427,
46506,
3833,
16034,
3084,
62,
940,
1899,
1828,
5824,
62,
16,
33411,
7040,
796,
366,
3865,
13276,
14,
71,
... |
count the number of times patient 010-5895 had received a lab vancomycin - trough test since 04/2100. | SELECT COUNT(*) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-5895')) AND lab.labname = 'vancomycin - trough' AND STRFTIME('%y-%m', lab.labresulttime)... | [
9127,
262,
1271,
286,
1661,
5827,
5534,
15,
12,
3365,
3865,
550,
2722,
257,
2248,
5719,
785,
88,
17879,
532,
45047,
1332,
1201,
8702,
14,
2481,
405,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
1661,
5827,
5534,
15,
12,
3365,
3865,
550,
2722,
257,
2248,
5719,
785,
88,
17879,
532,
45047,
1332,
1201,
8702,
14,
2481,
405,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
3... |
What date did Ben Gordon (8) have high assists? | SELECT "Date" FROM table_8151 WHERE "High assists" = 'ben gordon (8)' | [
2061,
3128,
750,
3932,
11646,
357,
23,
8,
423,
1029,
13648,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
23,
24309,
33411,
366,
11922,
13648,
1,
796,
705,
11722,
308,
9999,
357,
23,
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
] | [
2061,
3128,
750,
3932,
11646,
357,
23,
8,
423,
1029,
13648,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
23,
24309,
33411,
366,
11922,
13648,
1,
796,
705,
11722,
308,
9999,
357,
23,
33047
] |
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 hire_date and the average of manager_id bin hire_date by time, and could you list y axis in ascending order? | SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY AVG(MANAGER_ID) | [
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,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416... |
what were the drugs that were added to patient 006-47576 today, compared to those yesterday? | SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '006-47576') AND DATETIME(medication.drugstarttime, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') EXCEPT SELECT medication.drugname FROM medica... | [
10919,
547,
262,
5010,
326,
547,
2087,
284,
5827,
3571,
21,
12,
32576,
4304,
1909,
11,
3688,
284,
883,
7415,
30,
46506,
14103,
13,
30349,
3672,
16034,
14103,
33411,
14103,
13,
26029,
20850,
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... | [
10919,
547,
262,
5010,
326,
547,
2087,
284,
5827,
3571,
21,
12,
32576,
4304,
1909,
11,
3688,
284,
883,
7415,
30,
46506,
14103,
13,
30349,
3672,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,... |
How many acres in the townland of Coomroe? | SELECT COUNT("Area( acres )") FROM table_31509 WHERE "Townland" = 'Coomroe' | [
2437,
867,
16051,
287,
262,
3240,
1044,
286,
1766,
296,
20646,
30,
46506,
327,
28270,
7203,
30547,
7,
16051,
1267,
4943,
16034,
3084,
62,
3132,
29022,
33411,
366,
38097,
1044,
1,
796,
705,
34,
4207,
20646,
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
] | [
2437,
867,
16051,
287,
262,
3240,
1044,
286,
1766,
296,
20646,
30,
46506,
327,
28270,
7203,
30547,
7,
16051,
1267,
4943,
16034,
3084,
62,
3132,
29022,
33411,
366,
38097,
1044,
1,
796,
705,
34,
4207,
20646,
6
] |
What is the lengtho f track 16? | SELECT "Length" FROM table_75453 WHERE "Track" = '16' | [
2061,
318,
262,
4129,
78,
277,
2610,
1467,
30,
46506,
366,
24539,
1,
16034,
3084,
62,
2425,
36625,
33411,
366,
24802,
1,
796,
705,
1433,
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
] | [
2061,
318,
262,
4129,
78,
277,
2610,
1467,
30,
46506,
366,
24539,
1,
16034,
3084,
62,
2425,
36625,
33411,
366,
24802,
1,
796,
705,
1433,
6
] |
Which Result that is on june 5? | SELECT "Result" FROM table_58701 WHERE "Date" = 'june 5' | [
13828,
25414,
326,
318,
319,
474,
1726,
642,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
3365,
41583,
33411,
366,
10430,
1,
796,
705,
73,
1726,
642,
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
] | [
13828,
25414,
326,
318,
319,
474,
1726,
642,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
3365,
41583,
33411,
366,
10430,
1,
796,
705,
73,
1726,
642,
6
] |
when is patient 006-122712's sao2 last measured on this month/26? | 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 = '006-122712')) AND NOT vitalperiodic.sao2 IS NULL AN... | [
12518,
318,
5827,
3571,
21,
12,
1065,
1983,
1065,
338,
473,
78,
17,
938,
8630,
319,
428,
1227,
14,
2075,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
5827,
3571,
21,
12,
1065,
1983,
1065,
338,
473,
78,
17,
938,
8630,
319,
428,
1227,
14,
2075,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,... |
What is the code of each location and the number of documents in that location. Show bar chart. | SELECT Location_Code, COUNT(*) FROM Document_Locations GROUP BY Location_Code | [
2061,
318,
262,
2438,
286,
1123,
4067,
290,
262,
1271,
286,
4963,
287,
326,
4067,
13,
5438,
2318,
8262,
13,
46506,
13397,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
16854,
62,
43,
20968,
44441,
11050,
13397,
62,
10669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2438,
286,
1123,
4067,
290,
262,
1271,
286,
4963,
287,
326,
4067,
13,
5438,
2318,
8262,
13,
46506,
13397,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
16854,
62,
43,
20968,
44441,
11050,
13397,
62,
10669
] |
how many patients are admitted before the year 2194 and followed the procedure arterial catheterization? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2194" AND procedures.short_title = "Arterial catheterization" | [
4919,
867,
3871,
389,
6848,
878,
262,
614,
362,
22913,
290,
3940,
262,
8771,
30675,
498,
3797,
43332,
1634,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
389,
6848,
878,
262,
614,
362,
22913,
290,
3940,
262,
8771,
30675,
498,
3797,
43332,
1634,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
61... |
Search comments by three pieces of text. | SELECT Id AS "comment_link", Score, Text FROM Comments WHERE UPPER(Text) LIKE UPPER('%##CommentText1##%') AND UPPER(Text) LIKE UPPER('%##CommentText2##%') AND UPPER(Text) LIKE UPPER('%##CommentText3##%') ORDER BY Score DESC | [
18243,
3651,
416,
1115,
5207,
286,
2420,
13,
46506,
5121,
7054,
366,
23893,
62,
8726,
1600,
15178,
11,
8255,
16034,
19502,
33411,
471,
10246,
1137,
7,
8206,
8,
34178,
471,
10246,
1137,
10786,
4,
2235,
21357,
8206,
16,
2235,
4,
11537,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18243,
3651,
416,
1115,
5207,
286,
2420,
13,
46506,
5121,
7054,
366,
23893,
62,
8726,
1600,
15178,
11,
8255,
16034,
19502,
33411,
471,
10246,
1137,
7,
8206,
8,
34178,
471,
10246,
1137,
10786,
4,
2235,
21357,
8206,
16,
2235,
4,
11537,
... |
Which NHL team has a Player of steve durbano? | SELECT "NHL team" FROM table_79874 WHERE "Player" = 'steve durbano' | [
13828,
9481,
1074,
468,
257,
7853,
286,
2876,
303,
22365,
3820,
78,
30,
46506,
366,
45,
6581,
1074,
1,
16034,
3084,
62,
43240,
4524,
33411,
366,
14140,
1,
796,
705,
4169,
303,
22365,
3820,
78,
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
] | [
13828,
9481,
1074,
468,
257,
7853,
286,
2876,
303,
22365,
3820,
78,
30,
46506,
366,
45,
6581,
1074,
1,
16034,
3084,
62,
43240,
4524,
33411,
366,
14140,
1,
796,
705,
4169,
303,
22365,
3820,
78,
6
] |
In what Tournament was laura Gildemeister the Opponent? | SELECT tournament FROM table_name_50 WHERE opponent = "laura gildemeister" | [
818,
644,
9595,
373,
300,
33830,
402,
688,
34755,
1694,
262,
9385,
3471,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1120,
33411,
6125,
796,
366,
75,
33830,
308,
688,
34755,
1694,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
9595,
373,
300,
33830,
402,
688,
34755,
1694,
262,
9385,
3471,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1120,
33411,
6125,
796,
366,
75,
33830,
308,
688,
34755,
1694,
1
] |
Show all payment method codes and the number of orders for each code Show bar chart, and show from low to high by the Y-axis. | SELECT payment_method_code, COUNT(*) FROM Invoices GROUP BY payment_method_code ORDER BY COUNT(*) | [
15307,
477,
6074,
2446,
12416,
290,
262,
1271,
286,
6266,
329,
1123,
2438,
5438,
2318,
8262,
11,
290,
905,
422,
1877,
284,
1029,
416,
262,
575,
12,
22704,
13,
46506,
6074,
62,
24396,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
10001,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
6074,
2446,
12416,
290,
262,
1271,
286,
6266,
329,
1123,
2438,
5438,
2318,
8262,
11,
290,
905,
422,
1877,
284,
1029,
416,
262,
575,
12,
22704,
13,
46506,
6074,
62,
24396,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
10001,
... |
When will Sarah Mcdowell teach 763 next ? | 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 = 763 AND course_offering.semester = semester.semester_id AND instructor.name LIKE '%Sarah Mcdowell%' AND offering_instructor.inst... | [
2215,
481,
10490,
1982,
67,
32829,
4545,
767,
5066,
1306,
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... | [
2215,
481,
10490,
1982,
67,
32829,
4545,
767,
5066,
1306,
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,
... |
How many incoming managers did Burnley have? | SELECT COUNT("Incoming manager") FROM table_28801 WHERE "Team" = 'Burnley' | [
2437,
867,
15619,
11663,
750,
8942,
1636,
423,
30,
46506,
327,
28270,
7203,
818,
4976,
4706,
4943,
16034,
3084,
62,
25270,
486,
33411,
366,
15592,
1,
796,
705,
29053,
1636,
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
] | [
2437,
867,
15619,
11663,
750,
8942,
1636,
423,
30,
46506,
327,
28270,
7203,
818,
4976,
4706,
4943,
16034,
3084,
62,
25270,
486,
33411,
366,
15592,
1,
796,
705,
29053,
1636,
6
] |
Which college has a Pick # 1, Overall more than one, and Round is 7? | SELECT college FROM table_name_34 WHERE pick__number = 1 AND overall > 1 AND round = 7 | [
13828,
4152,
468,
257,
12346,
1303,
352,
11,
14674,
517,
621,
530,
11,
290,
10485,
318,
767,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
2682,
33411,
2298,
834,
17618,
796,
352,
5357,
4045,
1875,
352,
5357,
2835,
796,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4152,
468,
257,
12346,
1303,
352,
11,
14674,
517,
621,
530,
11,
290,
10485,
318,
767,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
2682,
33411,
2298,
834,
17618,
796,
352,
5357,
4045,
1875,
352,
5357,
2835,
796,
767
] |
What team had 159 laps and a Time/Retired of 6:30:02.3733? | SELECT "Team" FROM table_4857 WHERE "Laps" = '159' AND "Time/Retired" = '6:30:02.3733' | [
2061,
1074,
550,
26422,
24590,
290,
257,
3862,
14,
9781,
1202,
286,
718,
25,
1270,
25,
2999,
13,
2718,
2091,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2780,
3553,
33411,
366,
43,
1686,
1,
796,
705,
19707,
6,
5357,
366,
7575,
14,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
550,
26422,
24590,
290,
257,
3862,
14,
9781,
1202,
286,
718,
25,
1270,
25,
2999,
13,
2718,
2091,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2780,
3553,
33411,
366,
43,
1686,
1,
796,
705,
19707,
6,
5357,
366,
7575,
14,
... |
please list only UA flights between DENVER and BOSTON | 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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER... | [
29688,
1351,
691,
46164,
13956,
1022,
37692,
5959,
290,
347,
10892,
1340,
46506,
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,
7054,
31600,
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... | [
29688,
1351,
691,
46164,
13956,
1022,
37692,
5959,
290,
347,
10892,
1340,
46506,
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,
7054,
31600,
15... |
What was the highest number of people injured at incidents located at Rohtas, Bihar where fewer than 13 were killed? | SELECT MAX("Injured") FROM table_32403 WHERE "Place" = 'rohtas, bihar' AND "Killed" < '13' | [
2061,
373,
262,
4511,
1271,
286,
661,
6686,
379,
10207,
5140,
379,
32694,
83,
292,
11,
45301,
810,
7380,
621,
1511,
547,
2923,
30,
46506,
25882,
7203,
818,
38608,
4943,
16034,
3084,
62,
33916,
3070,
33411,
366,
27271,
1,
796,
705,
305... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4511,
1271,
286,
661,
6686,
379,
10207,
5140,
379,
32694,
83,
292,
11,
45301,
810,
7380,
621,
1511,
547,
2923,
30,
46506,
25882,
7203,
818,
38608,
4943,
16034,
3084,
62,
33916,
3070,
33411,
366,
27271,
1,
796,
705,
305... |
Questions that had been tagged kali-linux. | SELECT Id AS "post_link", Title FROM Posts AS p WHERE ClosedDate IS NULL AND Tags LIKE '%adobe%' | [
35741,
326,
550,
587,
30509,
479,
7344,
12,
23289,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
11851,
16034,
12043,
7054,
279,
33411,
30550,
10430,
3180,
15697,
5357,
44789,
34178,
705,
4,
36752,
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,
1,
1,
1,
1
] | [
35741,
326,
550,
587,
30509,
479,
7344,
12,
23289,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
11851,
16034,
12043,
7054,
279,
33411,
30550,
10430,
3180,
15697,
5357,
44789,
34178,
705,
4,
36752,
4,
6
] |
What's the location when the opponent was Lyoto Machida? | SELECT "Location" FROM table_63398 WHERE "Opponent" = 'lyoto machida' | [
2061,
338,
262,
4067,
618,
262,
6125,
373,
9334,
2069,
7080,
3755,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
21,
2091,
4089,
33411,
366,
27524,
3471,
1,
796,
705,
306,
2069,
3235,
3755,
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,
338,
262,
4067,
618,
262,
6125,
373,
9334,
2069,
7080,
3755,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
21,
2091,
4089,
33411,
366,
27524,
3471,
1,
796,
705,
306,
2069,
3235,
3755,
6
] |
Name the number of spring enrollment for sioux falls seminary | SELECT COUNT("Enrollment (spring 2012)") FROM table_23895 WHERE "School" = 'Sioux Falls Seminary' | [
5376,
262,
1271,
286,
6076,
20753,
329,
33721,
22193,
8953,
5026,
3219,
46506,
327,
28270,
7203,
4834,
48108,
357,
16469,
2321,
8,
4943,
16034,
3084,
62,
23721,
3865,
33411,
366,
26130,
1,
796,
705,
42801,
22193,
17930,
12449,
3219,
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
] | [
5376,
262,
1271,
286,
6076,
20753,
329,
33721,
22193,
8953,
5026,
3219,
46506,
327,
28270,
7203,
4834,
48108,
357,
16469,
2321,
8,
4943,
16034,
3084,
62,
23721,
3865,
33411,
366,
26130,
1,
796,
705,
42801,
22193,
17930,
12449,
3219,
6
] |
on october 17th , what was the difference of the game 's scores ? | SELECT ABS("result" - "result") FROM table_203_382 WHERE "date" = 'october 17' | [
261,
19318,
2023,
1596,
400,
837,
644,
373,
262,
3580,
286,
262,
983,
705,
82,
8198,
5633,
46506,
29950,
7203,
20274,
1,
532,
366,
20274,
4943,
16034,
3084,
62,
22416,
62,
36243,
33411,
366,
4475,
1,
796,
705,
38441,
2023,
1596,
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
] | [
261,
19318,
2023,
1596,
400,
837,
644,
373,
262,
3580,
286,
262,
983,
705,
82,
8198,
5633,
46506,
29950,
7203,
20274,
1,
532,
366,
20274,
4943,
16034,
3084,
62,
22416,
62,
36243,
33411,
366,
4475,
1,
796,
705,
38441,
2023,
1596,
6
] |
R questions with no answers, no comments and score >= 2. | SELECT p.Id AS "post_link", p.Score, p.CreationDate FROM Posts AS p INNER JOIN PostTags AS pt ON p.Id = pt.PostId INNER JOIN Tags AS t ON pt.TagId = t.Id WHERE p.PostTypeId = 1 AND p.Score >= '##MinScore:int?2##' AND p.ClosedDate IS NULL AND COALESCE(p.AnswerCount, 0) = 0 AND COALESCE(p.CommentCount, 0) = 0 AND t.TagNa... | [
49,
2683,
351,
645,
7429,
11,
645,
3651,
290,
4776,
18189,
362,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
11,
279,
13,
12443,
341,
10430,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
2947,
36142,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
49,
2683,
351,
645,
7429,
11,
645,
3651,
290,
4776,
18189,
362,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
11,
279,
13,
12443,
341,
10430,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
2947,
36142,... |
What film was made in 1999? | SELECT film FROM table_name_27 WHERE year = "1999" | [
2061,
2646,
373,
925,
287,
7358,
30,
46506,
2646,
16034,
3084,
62,
3672,
62,
1983,
33411,
614,
796,
366,
18946,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2646,
373,
925,
287,
7358,
30,
46506,
2646,
16034,
3084,
62,
3672,
62,
1983,
33411,
614,
796,
366,
18946,
1
] |
What day was the total smaller than 19 at Venue of anz stadium? | SELECT "Date" FROM table_44425 WHERE "Total" < '19' AND "Venue" = 'anz stadium' | [
2061,
1110,
373,
262,
2472,
4833,
621,
678,
379,
9932,
518,
286,
281,
89,
10308,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
30272,
1495,
33411,
366,
14957,
1,
1279,
705,
1129,
6,
5357,
366,
37522,
518,
1,
796,
705,
35410,
10308,
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
] | [
2061,
1110,
373,
262,
2472,
4833,
621,
678,
379,
9932,
518,
286,
281,
89,
10308,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
30272,
1495,
33411,
366,
14957,
1,
1279,
705,
1129,
6,
5357,
366,
37522,
518,
1,
796,
705,
35410,
10308,
6
] |
Which January has a Game of 50? | SELECT AVG(january) FROM table_name_2 WHERE game = 50 | [
13828,
3269,
468,
257,
3776,
286,
2026,
30,
46506,
35224,
7,
13881,
2838,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
983,
796,
2026
] | [
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,
3269,
468,
257,
3776,
286,
2026,
30,
46506,
35224,
7,
13881,
2838,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
983,
796,
2026
] |
Top Users from New Delhi. | SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%New Delhi%' ORDER BY Reputation DESC LIMIT 100 | [
9126,
18987,
422,
968,
12517,
13,
46506,
5121,
11,
16531,
5376,
11,
1432,
7094,
11,
15887,
28165,
11,
13397,
16034,
18987,
33411,
13397,
34178,
705,
4,
3791,
12517,
4,
6,
38678,
11050,
1432,
7094,
22196,
34,
27564,
2043,
1802
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18987,
422,
968,
12517,
13,
46506,
5121,
11,
16531,
5376,
11,
1432,
7094,
11,
15887,
28165,
11,
13397,
16034,
18987,
33411,
13397,
34178,
705,
4,
3791,
12517,
4,
6,
38678,
11050,
1432,
7094,
22196,
34,
27564,
2043,
1802
] |
what venue saw a score of 285? | SELECT "Venue" FROM table_54725 WHERE "Score" = '285' | [
10919,
14359,
2497,
257,
4776,
286,
33015,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
20,
2857,
1495,
33411,
366,
26595,
1,
796,
705,
26279,
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,
14359,
2497,
257,
4776,
286,
33015,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
20,
2857,
1495,
33411,
366,
26595,
1,
796,
705,
26279,
6
] |
What is the injunctive for the Simple Past of gar l 'I will (probably) do'? | SELECT "Injunctive" FROM table_48153 WHERE "Simple Past" = 'गरुँला garũlā ''i will (probably) do' | [
2061,
318,
262,
2529,
403,
14070,
329,
262,
17427,
11303,
286,
5482,
300,
705,
40,
481,
357,
26949,
8,
466,
30960,
46506,
366,
818,
29741,
14070,
1,
16034,
3084,
62,
2780,
21395,
33411,
366,
26437,
11303,
1,
796,
705,
11976,
245,
1197... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2529,
403,
14070,
329,
262,
17427,
11303,
286,
5482,
300,
705,
40,
481,
357,
26949,
8,
466,
30960,
46506,
366,
818,
29741,
14070,
1,
16034,
3084,
62,
2780,
21395,
33411,
366,
26437,
11303,
1,
796,
705,
11976,
245,
1197... |
Return a bar chart about the distribution of meter_200 and the amount of meter_200 , and group by attribute meter_200, and order in descending by the total number please. | SELECT meter_200, COUNT(meter_200) FROM swimmer GROUP BY meter_200 ORDER BY COUNT(meter_200) DESC | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
16430,
62,
2167,
290,
262,
2033,
286,
16430,
62,
2167,
837,
290,
1448,
416,
11688,
16430,
62,
2167,
11,
290,
1502,
287,
31491,
416,
262,
2472,
1271,
3387,
13,
46506,
16430,
62,
2167,
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... | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
16430,
62,
2167,
290,
262,
2033,
286,
16430,
62,
2167,
837,
290,
1448,
416,
11688,
16430,
62,
2167,
11,
290,
1502,
287,
31491,
416,
262,
2472,
1271,
3387,
13,
46506,
16430,
62,
2167,
11,
... |
What's the value of 1 USD in Paraguay? | SELECT "1 USD =" FROM table_17538 WHERE "Country" = 'Paraguay' | [
2061,
338,
262,
1988,
286,
352,
11403,
287,
47268,
323,
30,
46506,
366,
16,
11403,
796,
1,
16034,
3084,
62,
17430,
2548,
33411,
366,
33921,
1,
796,
705,
10044,
11433,
323,
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,
338,
262,
1988,
286,
352,
11403,
287,
47268,
323,
30,
46506,
366,
16,
11403,
796,
1,
16034,
3084,
62,
17430,
2548,
33411,
366,
33921,
1,
796,
705,
10044,
11433,
323,
6
] |
Who was the home team in the game played at arden street oval? | SELECT home_team AS score FROM table_name_42 WHERE venue = "arden street oval" | [
8241,
373,
262,
1363,
1074,
287,
262,
983,
2826,
379,
610,
6559,
4675,
41186,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3682,
33411,
14359,
796,
366,
5872,
4675,
41186,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1363,
1074,
287,
262,
983,
2826,
379,
610,
6559,
4675,
41186,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3682,
33411,
14359,
796,
366,
5872,
4675,
41186,
1
] |
What was the lowest number of pieces for a board released in 1984? | SELECT MIN(pieces) FROM table_name_15 WHERE release = 1984 | [
2061,
373,
262,
9016,
1271,
286,
5207,
329,
257,
3096,
2716,
287,
12844,
30,
46506,
20625,
7,
34154,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
2650,
796,
12844
] | [
1,
1,
1,
1,
1,
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,
9016,
1271,
286,
5207,
329,
257,
3096,
2716,
287,
12844,
30,
46506,
20625,
7,
34154,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
2650,
796,
12844
] |
On what Date were the Results 4:0? | SELECT date FROM table_name_47 WHERE results¹ = "4:0" | [
2202,
644,
7536,
547,
262,
15691,
604,
25,
15,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2857,
33411,
2482,
126,
117,
796,
366,
19,
25,
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
] | [
2202,
644,
7536,
547,
262,
15691,
604,
25,
15,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2857,
33411,
2482,
126,
117,
796,
366,
19,
25,
15,
1
] |
Opponent of kilmarnock, and a Result of 1 1 happened in what venue? | SELECT venue FROM table_name_24 WHERE opponent = "kilmarnock" AND result = "1–1" | [
27524,
3471,
286,
8769,
76,
1501,
735,
11,
290,
257,
25414,
286,
352,
352,
3022,
287,
644,
14359,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1731,
33411,
6125,
796,
366,
34553,
76,
1501,
735,
1,
5357,
1255,
796,
366,
16,
1906,
16,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
27524,
3471,
286,
8769,
76,
1501,
735,
11,
290,
257,
25414,
286,
352,
352,
3022,
287,
644,
14359,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1731,
33411,
6125,
796,
366,
34553,
76,
1501,
735,
1,
5357,
1255,
796,
366,
16,
1906,
16,... |
What is the height of Josh Tabb? | SELECT height FROM table_name_28 WHERE name = "josh tabb" | [
2061,
318,
262,
6001,
286,
8518,
309,
6485,
30,
46506,
6001,
16034,
3084,
62,
3672,
62,
2078,
33411,
1438,
796,
366,
73,
3768,
256,
6485,
1
] | [
1,
1,
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,
6001,
286,
8518,
309,
6485,
30,
46506,
6001,
16034,
3084,
62,
3672,
62,
2078,
33411,
1438,
796,
366,
73,
3768,
256,
6485,
1
] |
What year made has a Quantity made of 4? | SELECT year_made FROM table_name_63 WHERE quantity_made = "4" | [
2061,
614,
925,
468,
257,
39789,
925,
286,
604,
30,
46506,
614,
62,
9727,
16034,
3084,
62,
3672,
62,
5066,
33411,
12040,
62,
9727,
796,
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
] | [
2061,
614,
925,
468,
257,
39789,
925,
286,
604,
30,
46506,
614,
62,
9727,
16034,
3084,
62,
3672,
62,
5066,
33411,
12040,
62,
9727,
796,
366,
19,
1
] |
Which Position has a Game 1 of noel cleal? | SELECT position FROM table_name_69 WHERE game_1 = "noel cleal" | [
13828,
23158,
468,
257,
3776,
352,
286,
645,
417,
1190,
282,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3388,
33411,
983,
62,
16,
796,
366,
3919,
417,
1190,
282,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
23158,
468,
257,
3776,
352,
286,
645,
417,
1190,
282,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3388,
33411,
983,
62,
16,
796,
366,
3919,
417,
1190,
282,
1
] |
What is Votes (%), when First Broadcast is '13 March 1998'? | SELECT votes___percentage_ FROM table_name_41 WHERE first_broadcast = "13 march 1998" | [
2061,
318,
39584,
357,
15920,
618,
3274,
44244,
318,
705,
1485,
2805,
7795,
30960,
46506,
5690,
17569,
25067,
496,
62,
16034,
3084,
62,
3672,
62,
3901,
33411,
717,
62,
36654,
2701,
796,
366,
1485,
9960,
7795,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
39584,
357,
15920,
618,
3274,
44244,
318,
705,
1485,
2805,
7795,
30960,
46506,
5690,
17569,
25067,
496,
62,
16034,
3084,
62,
3672,
62,
3901,
33411,
717,
62,
36654,
2701,
796,
366,
1485,
9960,
7795,
1
] |
How many churches have a wedding in year 2016? | SELECT COUNT(DISTINCT church_id) FROM wedding WHERE YEAR = 2016 | [
2437,
867,
14422,
423,
257,
10614,
287,
614,
1584,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
4928,
62,
312,
8,
16034,
10614,
33411,
32914,
796,
1584
] | [
1,
1,
1,
1,
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,
14422,
423,
257,
10614,
287,
614,
1584,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
4928,
62,
312,
8,
16034,
10614,
33411,
32914,
796,
1584
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the trend about department_id over hire_date . | SELECT HIRE_DATE, DEPARTMENT_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,
1577,
502,
262,
5182,
546,
5011,
62,
312,
625,
11078,
62,
4475,
764,
46506,
36210,
2200,
62,
35,
6158,
11,
5550,
30709,
1097... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1577,
502,
262,
5182,
546,
5011,
62,
312,
625,
11078,
62,
4475,
764,
46506,
36210,
2200,
62,
35,
6158,
11,
5550,
30709,
1097... |
Name the leagues entering this round for 4 | SELECT leagues_entering_this_round FROM table_19089486_1 WHERE clubs_involved = 4 | [
5376,
262,
16861,
8218,
428,
2835,
329,
604,
46506,
16861,
62,
298,
1586,
62,
5661,
62,
744,
16034,
3084,
62,
1129,
49352,
34251,
62,
16,
33411,
9784,
62,
44697,
796,
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,
1,
1,
1
] | [
5376,
262,
16861,
8218,
428,
2835,
329,
604,
46506,
16861,
62,
298,
1586,
62,
5661,
62,
744,
16034,
3084,
62,
1129,
49352,
34251,
62,
16,
33411,
9784,
62,
44697,
796,
604
] |
what was the number of candidates when Leon Sacks was incumbent? | SELECT COUNT("Candidates") FROM table_18599 WHERE "Incumbent" = 'Leon Sacks' | [
10919,
373,
262,
1271,
286,
5871,
618,
10592,
311,
4595,
373,
23526,
30,
46506,
327,
28270,
7203,
41572,
37051,
4943,
16034,
3084,
62,
21652,
2079,
33411,
366,
25517,
2178,
298,
1,
796,
705,
36185,
311,
4595,
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
] | [
10919,
373,
262,
1271,
286,
5871,
618,
10592,
311,
4595,
373,
23526,
30,
46506,
327,
28270,
7203,
41572,
37051,
4943,
16034,
3084,
62,
21652,
2079,
33411,
366,
25517,
2178,
298,
1,
796,
705,
36185,
311,
4595,
6
] |
find the number of patients whose discharge location is rehab/distinct part hosp and lab test name is methemoglobin. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" AND lab.label = "Methemoglobin" | [
19796,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
14321,
14,
17080,
4612,
636,
10496,
290,
2248,
1332,
1438,
318,
1138,
4411,
49835,
13,
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... | [
19796,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
14321,
14,
17080,
4612,
636,
10496,
290,
2248,
1332,
1438,
318,
1138,
4411,
49835,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
Tell me the date for bugatti fpr stanislas czaykowski | SELECT date FROM table_name_60 WHERE winning_constructor = "bugatti" AND winning_driver = "stanislas czaykowski" | [
24446,
502,
262,
3128,
329,
5434,
34891,
277,
1050,
336,
272,
3044,
292,
24785,
323,
26216,
46506,
3128,
16034,
3084,
62,
3672,
62,
1899,
33411,
5442,
62,
41571,
273,
796,
366,
25456,
34891,
1,
5357,
5442,
62,
26230,
796,
366,
14192,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
3128,
329,
5434,
34891,
277,
1050,
336,
272,
3044,
292,
24785,
323,
26216,
46506,
3128,
16034,
3084,
62,
3672,
62,
1899,
33411,
5442,
62,
41571,
273,
796,
366,
25456,
34891,
1,
5357,
5442,
62,
26230,
796,
366,
14192,
... |
Which engine did Korten Motorsport use? | SELECT "Engine" FROM table_51572 WHERE "Team" = 'korten motorsport' | [
13828,
3113,
750,
509,
419,
268,
49996,
779,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
45969,
4761,
33411,
366,
15592,
1,
796,
705,
74,
419,
268,
24699,
634,
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
] | [
13828,
3113,
750,
509,
419,
268,
49996,
779,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
45969,
4761,
33411,
366,
15592,
1,
796,
705,
74,
419,
268,
24699,
634,
6
] |
what is the number of starts in 1977 | SELECT starts FROM table_19864214_3 WHERE seasons = "1977" | [
10919,
318,
262,
1271,
286,
4940,
287,
15589,
46506,
4940,
16034,
3084,
62,
22337,
2414,
22291,
62,
18,
33411,
7028,
796,
366,
37781,
1
] | [
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,
4940,
287,
15589,
46506,
4940,
16034,
3084,
62,
22337,
2414,
22291,
62,
18,
33411,
7028,
796,
366,
37781,
1
] |
Name the place where adelaide oval is | SELECT "City/Country" FROM table_57556 WHERE "Venue" = 'adelaide oval' | [
5376,
262,
1295,
810,
512,
25078,
41186,
318,
46506,
366,
14941,
14,
33921,
1,
16034,
3084,
62,
36189,
3980,
33411,
366,
37522,
518,
1,
796,
705,
6959,
64,
485,
41186,
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
] | [
5376,
262,
1295,
810,
512,
25078,
41186,
318,
46506,
366,
14941,
14,
33921,
1,
16034,
3084,
62,
36189,
3980,
33411,
366,
37522,
518,
1,
796,
705,
6959,
64,
485,
41186,
6
] |
Show different teams in eliminations and the number of eliminations from each team Visualize by bar chart, and rank from low to high by the the total number . | SELECT Team, COUNT(*) FROM Elimination GROUP BY Team ORDER BY COUNT(*) | [
15307,
1180,
3466,
287,
5687,
7352,
290,
262,
1271,
286,
5687,
7352,
422,
1123,
1074,
15612,
1096,
416,
2318,
8262,
11,
290,
4279,
422,
1877,
284,
1029,
416,
262,
262,
2472,
1271,
764,
46506,
4816,
11,
327,
28270,
7,
28104,
16034,
274... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
3466,
287,
5687,
7352,
290,
262,
1271,
286,
5687,
7352,
422,
1123,
1074,
15612,
1096,
416,
2318,
8262,
11,
290,
4279,
422,
1877,
284,
1029,
416,
262,
262,
2472,
1271,
764,
46506,
4816,
11,
327,
28270,
7,
28104,
16034,
274... |
What are all the different descriptions for the buttonholer with cardboard box for storage and a low shank type? | SELECT description FROM table_28652521_1 WHERE storage_case = "cardboard box" AND for_shank_type = "low" | [
2061,
389,
477,
262,
1180,
16969,
329,
262,
4936,
3937,
263,
351,
26819,
3091,
329,
6143,
290,
257,
1877,
427,
962,
2099,
30,
46506,
6764,
16034,
3084,
62,
2078,
2996,
1495,
2481,
62,
16,
33411,
6143,
62,
7442,
796,
366,
9517,
3526,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
262,
1180,
16969,
329,
262,
4936,
3937,
263,
351,
26819,
3091,
329,
6143,
290,
257,
1877,
427,
962,
2099,
30,
46506,
6764,
16034,
3084,
62,
2078,
2996,
1495,
2481,
62,
16,
33411,
6143,
62,
7442,
796,
366,
9517,
3526,
... |
calculate the minimum age of patients admitted on an urgent basis who died before 2111. | SELECT MIN(demographic.age) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.dod_year < "2111.0" | [
9948,
3129,
378,
262,
5288,
2479,
286,
3871,
6848,
319,
281,
18039,
4308,
508,
3724,
878,
362,
16243,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
4261,
38,
3525,
1,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9948,
3129,
378,
262,
5288,
2479,
286,
3871,
6848,
319,
281,
18039,
4308,
508,
3724,
878,
362,
16243,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
4261,
38,
3525,
1,
535... |
What was the # for the episode 'the wedding'? | SELECT MAX("#") FROM table_169 WHERE "Episode" = 'The Wedding' | [
2061,
373,
262,
1303,
329,
262,
4471,
705,
1169,
10614,
30960,
46506,
25882,
7203,
2,
4943,
16034,
3084,
62,
22172,
33411,
366,
23758,
1,
796,
705,
464,
36679,
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,
373,
262,
1303,
329,
262,
4471,
705,
1169,
10614,
30960,
46506,
25882,
7203,
2,
4943,
16034,
3084,
62,
22172,
33411,
366,
23758,
1,
796,
705,
464,
36679,
6
] |
what is the top three most frequently prescribed drugs that were prescribed to patients in the same hospital visit after being diagnosed with hyperglycemia this year? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hyperglycemia' ... | [
10919,
318,
262,
1353,
1115,
749,
6777,
14798,
5010,
326,
547,
14798,
284,
3871,
287,
262,
976,
4436,
3187,
706,
852,
14641,
351,
8718,
10853,
344,
20730,
428,
614,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
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,
318,
262,
1353,
1115,
749,
6777,
14798,
5010,
326,
547,
14798,
284,
3871,
287,
262,
976,
4436,
3187,
706,
852,
14641,
351,
8718,
10853,
344,
20730,
428,
614,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
13,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.