instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Name the episode for travis brown | SELECT "Episode" FROM table_73280 WHERE "Coach" = 'Travis Brown' | [
5376,
262,
4471,
329,
1291,
4703,
7586,
46506,
366,
23758,
1,
16034,
3084,
62,
22,
2624,
1795,
33411,
366,
40677,
1,
796,
705,
51,
16956,
4373,
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
] | [
5376,
262,
4471,
329,
1291,
4703,
7586,
46506,
366,
23758,
1,
16034,
3084,
62,
22,
2624,
1795,
33411,
366,
40677,
1,
796,
705,
51,
16956,
4373,
6
] |
How many invoices were billed from each state Plot them as bar chart, list by the X-axis in desc. | SELECT billing_state, COUNT(*) FROM invoices WHERE billing_country = "USA" GROUP BY billing_state ORDER BY billing_state DESC | [
2437,
867,
800,
78,
1063,
547,
33094,
422,
1123,
1181,
28114,
606,
355,
2318,
8262,
11,
1351,
416,
262,
1395,
12,
22704,
287,
1715,
13,
46506,
26297,
62,
5219,
11,
327,
28270,
7,
28104,
16034,
800,
78,
1063,
33411,
26297,
62,
19315,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
800,
78,
1063,
547,
33094,
422,
1123,
1181,
28114,
606,
355,
2318,
8262,
11,
1351,
416,
262,
1395,
12,
22704,
287,
1715,
13,
46506,
26297,
62,
5219,
11,
327,
28270,
7,
28104,
16034,
800,
78,
1063,
33411,
26297,
62,
19315,
... |
All questions closed as off-topic. Questions that have been closed (not protected), along with their close reasons, ordered by their view count. | SELECT q.Id AS "post_link", q.CreationDate, q.ClosedDate FROM Posts AS q INNER JOIN PostHistory AS h ON q.Id = h.PostId WHERE h.PostHistoryTypeId = 10 AND NOT q.ClosedDate IS NULL ORDER BY q.ClosedDate DESC | [
3237,
2683,
4838,
355,
572,
12,
26652,
13,
20396,
326,
423,
587,
4838,
357,
1662,
6861,
828,
1863,
351,
511,
1969,
3840,
11,
6149,
416,
511,
1570,
954,
13,
46506,
10662,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
12443,
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... | [
3237,
2683,
4838,
355,
572,
12,
26652,
13,
20396,
326,
423,
587,
4838,
357,
1662,
6861,
828,
1863,
351,
511,
1969,
3840,
11,
6149,
416,
511,
1570,
954,
13,
46506,
10662,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
12443,
3... |
select Location from Users group by location. | SELECT Location, SUM(age) FROM Users WHERE NOT Location IS NULL AND NOT age IS NULL GROUP BY Location | [
19738,
13397,
422,
18987,
1448,
416,
4067,
13,
46506,
13397,
11,
35683,
7,
496,
8,
16034,
18987,
33411,
5626,
13397,
3180,
15697,
5357,
5626,
2479,
3180,
15697,
44441,
11050,
13397
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19738,
13397,
422,
18987,
1448,
416,
4067,
13,
46506,
13397,
11,
35683,
7,
496,
8,
16034,
18987,
33411,
5626,
13397,
3180,
15697,
5357,
5626,
2479,
3180,
15697,
44441,
11050,
13397
] |
In which round did Paul McDonald have an overall greater than 109? | SELECT MAX(round) FROM table_name_22 WHERE player = "paul mcdonald" AND overall > 109 | [
818,
543,
2835,
750,
3362,
14115,
423,
281,
4045,
3744,
621,
16003,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
2137,
796,
366,
79,
2518,
36650,
40915,
1,
5357,
4045,
1875,
16003
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
543,
2835,
750,
3362,
14115,
423,
281,
4045,
3744,
621,
16003,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
2137,
796,
366,
79,
2518,
36650,
40915,
1,
5357,
4045,
1875,
16003
] |
how many open 2nd viii had u15 3rd iv being gt | SELECT COUNT("Open 2nd VIII") FROM table_16629 WHERE "U15 3rd IV" = 'GT' | [
4919,
867,
1280,
362,
358,
410,
15479,
550,
334,
1314,
513,
4372,
21628,
852,
308,
83,
46506,
327,
28270,
7203,
11505,
362,
358,
25197,
4943,
16034,
3084,
62,
23055,
1959,
33411,
366,
52,
1314,
513,
4372,
8363,
1,
796,
705,
19555,
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
] | [
4919,
867,
1280,
362,
358,
410,
15479,
550,
334,
1314,
513,
4372,
21628,
852,
308,
83,
46506,
327,
28270,
7203,
11505,
362,
358,
25197,
4943,
16034,
3084,
62,
23055,
1959,
33411,
366,
52,
1314,
513,
4372,
8363,
1,
796,
705,
19555,
6
] |
SI 629 counts for ULCS ? | SELECT COUNT(*) > 0 FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.department = 'SI' AND course.number = 629 AND program_course.category LIKE '%ULCS%' | [
11584,
718,
1959,
9853,
329,
471,
29814,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
13,
17319,
62,
312,
33411,
1781,
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... | [
11584,
718,
1959,
9853,
329,
471,
29814,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
13,
17319,
62,
312,
33411,
1781,
13,
... |
If the rebounds are at 87, what are the amount of steals? | SELECT steals FROM table_25342713_5 WHERE rebounds = 87 | [
1532,
262,
18841,
389,
379,
10083,
11,
644,
389,
262,
2033,
286,
28052,
30,
46506,
28052,
16034,
3084,
62,
1495,
2682,
1983,
1485,
62,
20,
33411,
18841,
796,
10083
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
18841,
389,
379,
10083,
11,
644,
389,
262,
2033,
286,
28052,
30,
46506,
28052,
16034,
3084,
62,
1495,
2682,
1983,
1485,
62,
20,
33411,
18841,
796,
10083
] |
On average, how many Starts have Wins that are smaller than 0? | SELECT AVG("Starts") FROM table_52721 WHERE "Wins" < '0' | [
2202,
2811,
11,
703,
867,
50181,
423,
24423,
326,
389,
4833,
621,
657,
30,
46506,
35224,
7203,
1273,
5889,
4943,
16034,
3084,
62,
20,
1983,
2481,
33411,
366,
54,
1040,
1,
1279,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
2811,
11,
703,
867,
50181,
423,
24423,
326,
389,
4833,
621,
657,
30,
46506,
35224,
7203,
1273,
5889,
4943,
16034,
3084,
62,
20,
1983,
2481,
33411,
366,
54,
1040,
1,
1279,
705,
15,
6
] |
Up/down votes for my questions. Up/down vote count for my answers | SELECT SUM(CASE WHEN Votes.VoteTypeId = 2 THEN 1 ELSE 0 END) AS UpVotes, SUM(CASE WHEN Votes.VoteTypeId = 3 THEN 1 ELSE 0 END) AS DownVotes, SUM(CASE WHEN Votes.VoteTypeId IN (2, 3) THEN 1 ELSE 0 END) AS TotalVotes FROM Votes INNER JOIN Posts ON Votes.PostId = Posts.Id WHERE Posts.PostTypeId = 1 AND Posts.OwnerUserId =... | [
4933,
14,
2902,
5690,
329,
616,
2683,
13,
3205,
14,
2902,
3015,
954,
329,
616,
7429,
46506,
35683,
7,
34,
11159,
42099,
39584,
13,
37394,
6030,
7390,
796,
362,
42243,
352,
17852,
5188,
657,
23578,
8,
7054,
3205,
53,
6421,
11,
35683,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4933,
14,
2902,
5690,
329,
616,
2683,
13,
3205,
14,
2902,
3015,
954,
329,
616,
7429,
46506,
35683,
7,
34,
11159,
42099,
39584,
13,
37394,
6030,
7390,
796,
362,
42243,
352,
17852,
5188,
657,
23578,
8,
7054,
3205,
53,
6421,
11,
35683,
... |
Which departments have the top 3 highest number of students? Show the department name and number of students with a bar chart. | SELECT DEPT_NAME, COUNT(*) FROM STUDENT AS T1 JOIN DEPARTMENT AS T2 ON T1.DEPT_CODE = T2.DEPT_CODE GROUP BY T1.DEPT_CODE ORDER BY COUNT(*) DESC LIMIT 3 | [
13828,
13346,
423,
262,
1353,
513,
4511,
1271,
286,
2444,
30,
5438,
262,
5011,
1438,
290,
1271,
286,
2444,
351,
257,
2318,
8262,
13,
46506,
5550,
11571,
62,
20608,
11,
327,
28270,
7,
28104,
16034,
49348,
3525,
7054,
309,
16,
32357,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13346,
423,
262,
1353,
513,
4511,
1271,
286,
2444,
30,
5438,
262,
5011,
1438,
290,
1271,
286,
2444,
351,
257,
2318,
8262,
13,
46506,
5550,
11571,
62,
20608,
11,
327,
28270,
7,
28104,
16034,
49348,
3525,
7054,
309,
16,
32357,
12... |
When is 580 going to be offered again ? | SELECT DISTINCT semester.semester, semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 580 AND course_offering.semester = semester.semester_id AND semester.semester_id > (SELECT SEMESTERalias1.semester_id FROM semeste... | [
2215,
318,
41234,
1016,
284,
307,
4438,
757,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
41234,
1016,
284,
307,
4438,
757,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
... |
What was the home team when the visiting team was Toronto? | SELECT "Home" FROM table_78394 WHERE "Visitor" = 'toronto' | [
2061,
373,
262,
1363,
1074,
618,
262,
10013,
1074,
373,
6586,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
3695,
34626,
33411,
366,
15854,
2072,
1,
796,
705,
13165,
5957,
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,
373,
262,
1363,
1074,
618,
262,
10013,
1074,
373,
6586,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
3695,
34626,
33411,
366,
15854,
2072,
1,
796,
705,
13165,
5957,
6
] |
what is the record for years 2006-11? | SELECT "Record" FROM table_9760 WHERE "Years" = '2006-11' | [
10919,
318,
262,
1700,
329,
812,
4793,
12,
1157,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
5607,
1899,
33411,
366,
40630,
1,
796,
705,
13330,
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
] | [
10919,
318,
262,
1700,
329,
812,
4793,
12,
1157,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
5607,
1899,
33411,
366,
40630,
1,
796,
705,
13330,
12,
1157,
6
] |
what is the seating capacity of the M80 | SELECT DISTINCT aircraft_code FROM aircraft WHERE aircraft_code = 'M80' | [
10919,
318,
262,
24800,
5339,
286,
262,
337,
1795,
46506,
360,
8808,
1268,
4177,
6215,
62,
8189,
16034,
6215,
33411,
6215,
62,
8189,
796,
705,
44,
1795,
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
] | [
10919,
318,
262,
24800,
5339,
286,
262,
337,
1795,
46506,
360,
8808,
1268,
4177,
6215,
62,
8189,
16034,
6215,
33411,
6215,
62,
8189,
796,
705,
44,
1795,
6
] |
TOP 50 users from Kenya. Lists the top 50 users (ranked by reputation) that are located in Calicut/Kozhikode, Kerala, India according to their profile information.
Thanks to http://data.stackexchange.com/stackoverflow/qe/1157/top-100-users-from-greece | SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Kenya%' ORDER BY Reputation DESC LIMIT 50 | [
35222,
2026,
2985,
422,
21506,
13,
44968,
262,
1353,
2026,
2985,
357,
28282,
416,
8507,
8,
326,
389,
5140,
287,
2199,
13554,
14,
42,
8590,
71,
1134,
1098,
11,
34649,
11,
3794,
1864,
284,
511,
7034,
1321,
13,
201,
198,
9690,
284,
263... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35222,
2026,
2985,
422,
21506,
13,
44968,
262,
1353,
2026,
2985,
357,
28282,
416,
8507,
8,
326,
389,
5140,
287,
2199,
13554,
14,
42,
8590,
71,
1134,
1098,
11,
34649,
11,
3794,
1864,
284,
511,
7034,
1321,
13,
201,
198,
9690,
284,
263... |
What is the record for the date november 19? | SELECT "Record" FROM table_29766 WHERE "Date" = 'November 19' | [
2061,
318,
262,
1700,
329,
262,
3128,
645,
303,
1916,
678,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
26561,
2791,
33411,
366,
10430,
1,
796,
705,
21159,
678,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1700,
329,
262,
3128,
645,
303,
1916,
678,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
26561,
2791,
33411,
366,
10430,
1,
796,
705,
21159,
678,
6
] |
Post and Accepted Answer by language. | SELECT p.Id, p.AcceptedAnswerId, p.CreationDate, p.OwnerUserId, p.Tags, p.Title, p.Body AS Question, a.Body AS Answer FROM Posts AS p INNER JOIN Posts AS a ON p.AcceptedAnswerId = a.Id WHERE p.Tags LIKE '%pega%' AND p.PostTypeId = 1 AND a.PostTypeId = 2 AND NOT p.AcceptedAnswerId IS NULL AND p.DeletionDate IS NULL | [
6307,
290,
21699,
276,
23998,
416,
3303,
13,
46506,
279,
13,
7390,
11,
279,
13,
38855,
276,
33706,
7390,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
42419,
12982,
7390,
11,
279,
13,
36142,
11,
279,
13,
19160,
11,
279,
13,
25842,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6307,
290,
21699,
276,
23998,
416,
3303,
13,
46506,
279,
13,
7390,
11,
279,
13,
38855,
276,
33706,
7390,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
42419,
12982,
7390,
11,
279,
13,
36142,
11,
279,
13,
19160,
11,
279,
13,
25842,
... |
For all employees who have the letters D or S in their first name, draw a bar chart about the distribution of hire_date and the average of manager_id bin hire_date by time. | SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
13,
46506,
36210,
2200,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
13,
46506,
36210,
2200,
... |
What was the 2nd leg score of the aggregate score of 4-9? | SELECT "2nd leg" FROM table_70499 WHERE "Agg." = '4-9' | [
2061,
373,
262,
362,
358,
1232,
4776,
286,
262,
19406,
4776,
286,
604,
12,
24,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
2154,
28324,
33411,
366,
46384,
526,
796,
705,
19,
12,
24,
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
] | [
2061,
373,
262,
362,
358,
1232,
4776,
286,
262,
19406,
4776,
286,
604,
12,
24,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
2154,
28324,
33411,
366,
46384,
526,
796,
705,
19,
12,
24,
6
] |
Who is the March playmate with a November playmate Cara Wakelin? | SELECT "March" FROM table_14376 WHERE "November" = 'cara wakelin' | [
8241,
318,
262,
2805,
711,
9830,
351,
257,
3389,
711,
9830,
1879,
64,
20441,
2815,
30,
46506,
366,
16192,
1,
16034,
3084,
62,
1415,
32128,
33411,
366,
21159,
1,
796,
705,
66,
3301,
7765,
2815,
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
] | [
8241,
318,
262,
2805,
711,
9830,
351,
257,
3389,
711,
9830,
1879,
64,
20441,
2815,
30,
46506,
366,
16192,
1,
16034,
3084,
62,
1415,
32128,
33411,
366,
21159,
1,
796,
705,
66,
3301,
7765,
2815,
6
] |
what is the city of license for the station with the frequency mhz less than 102.3 abd erp w of 25? | SELECT city_of_license FROM table_name_64 WHERE frequency_mhz < 102.3 AND erp_w = 25 | [
10919,
318,
262,
1748,
286,
5964,
329,
262,
4429,
351,
262,
8373,
285,
32179,
1342,
621,
15143,
13,
18,
450,
67,
1931,
79,
266,
286,
1679,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
2414,
33411,
8373,
62,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1748,
286,
5964,
329,
262,
4429,
351,
262,
8373,
285,
32179,
1342,
621,
15143,
13,
18,
450,
67,
1931,
79,
266,
286,
1679,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
2414,
33411,
8373,
62,
76,
... |
What is the ISHAA class for the International School? | SELECT "IHSAA Class" FROM table_13478 WHERE "School" = 'international' | [
2061,
318,
262,
3180,
39,
3838,
1398,
329,
262,
4037,
3961,
30,
46506,
366,
40,
7998,
3838,
5016,
1,
16034,
3084,
62,
1485,
29059,
33411,
366,
26130,
1,
796,
705,
45609,
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,
318,
262,
3180,
39,
3838,
1398,
329,
262,
4037,
3961,
30,
46506,
366,
40,
7998,
3838,
5016,
1,
16034,
3084,
62,
1485,
29059,
33411,
366,
26130,
1,
796,
705,
45609,
6
] |
What is the lowest year that has a druze greater than 2,534, with a total less than 121,333? | SELECT MIN("Year") FROM table_35407 WHERE "Druze" > '2,534' AND "Total" < '121,333' | [
2061,
318,
262,
9016,
614,
326,
468,
257,
37215,
2736,
3744,
621,
362,
11,
20,
2682,
11,
351,
257,
2472,
1342,
621,
20416,
11,
20370,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
2327,
30120,
33411,
366,
35,
622,
2736,
1,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
614,
326,
468,
257,
37215,
2736,
3744,
621,
362,
11,
20,
2682,
11,
351,
257,
2472,
1342,
621,
20416,
11,
20370,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
2327,
30120,
33411,
366,
35,
622,
2736,
1,
1... |
Which Grid has Laps larger than 26, and a Time/Retired of 44:39.467? | SELECT MIN("Grid") FROM table_76506 WHERE "Laps" > '26' AND "Time/Retired" = '44:39.467' | [
13828,
24846,
468,
406,
1686,
4025,
621,
2608,
11,
290,
257,
3862,
14,
9781,
1202,
286,
5846,
25,
2670,
13,
24669,
30,
46506,
20625,
7203,
41339,
4943,
16034,
3084,
62,
4304,
35638,
33411,
366,
43,
1686,
1,
1875,
705,
2075,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
24846,
468,
406,
1686,
4025,
621,
2608,
11,
290,
257,
3862,
14,
9781,
1202,
286,
5846,
25,
2670,
13,
24669,
30,
46506,
20625,
7203,
41339,
4943,
16034,
3084,
62,
4304,
35638,
33411,
366,
43,
1686,
1,
1875,
705,
2075,
6,
5357,
... |
Find all the payment dates for the payments with an amount larger than 10 and the payments handled by a staff person with the first name Elsa, and count them by a line chart, rank from high to low by the payment_date please. | SELECT payment_date, COUNT(payment_date) FROM payment WHERE amount > 10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = 'Elsa' GROUP BY payment_date ORDER BY payment_date DESC | [
16742,
477,
262,
6074,
9667,
329,
262,
7524,
351,
281,
2033,
4025,
621,
838,
290,
262,
7524,
12118,
416,
257,
3085,
1048,
351,
262,
717,
1438,
19226,
11,
290,
954,
606,
416,
257,
1627,
8262,
11,
4279,
422,
1029,
284,
1877,
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... | [
16742,
477,
262,
6074,
9667,
329,
262,
7524,
351,
281,
2033,
4025,
621,
838,
290,
262,
7524,
12118,
416,
257,
3085,
1048,
351,
262,
717,
1438,
19226,
11,
290,
954,
606,
416,
257,
1627,
8262,
11,
4279,
422,
1029,
284,
1877,
416,
262,... |
For those records from the products and each product's manufacturer, what is the relationship between price and code ? | SELECT T1.Price, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
644,
318,
262,
2776,
1022,
2756,
290,
2438,
5633,
46506,
309,
16,
13,
18124,
11,
309,
16,
13,
10669,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
644,
318,
262,
2776,
1022,
2756,
290,
2438,
5633,
46506,
309,
16,
13,
18124,
11,
309,
16,
13,
10669,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
... |
which are the four most frequently given procedures for patients who were diagnosed with sedated - responsive previously in the same month until 3 years ago? | SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'sedated - responsive' AND DATETIME(diagn... | [
4758,
389,
262,
1440,
749,
6777,
1813,
9021,
329,
3871,
508,
547,
14641,
351,
10081,
515,
532,
21802,
4271,
287,
262,
976,
1227,
1566,
513,
812,
2084,
30,
46506,
256,
18,
13,
42487,
3672,
16034,
357,
46506,
256,
17,
13,
42487,
3672,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4758,
389,
262,
1440,
749,
6777,
1813,
9021,
329,
3871,
508,
547,
14641,
351,
10081,
515,
532,
21802,
4271,
287,
262,
976,
1227,
1566,
513,
812,
2084,
30,
46506,
256,
18,
13,
42487,
3672,
16034,
357,
46506,
256,
17,
13,
42487,
3672,
... |
What nominated work received a tony award in 2009? | SELECT nominated_work FROM table_name_94 WHERE award = "tony award" AND year = 2009 | [
2061,
19332,
670,
2722,
257,
256,
1647,
5764,
287,
3717,
30,
46506,
19332,
62,
1818,
16034,
3084,
62,
3672,
62,
5824,
33411,
5764,
796,
366,
1122,
88,
5764,
1,
5357,
614,
796,
3717
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19332,
670,
2722,
257,
256,
1647,
5764,
287,
3717,
30,
46506,
19332,
62,
1818,
16034,
3084,
62,
3672,
62,
5824,
33411,
5764,
796,
366,
1122,
88,
5764,
1,
5357,
614,
796,
3717
] |
indicate the daily minimum amount of respiration for patient 033-4763 in 11/last year. | SELECT MIN(vitalperiodic.respiration) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-4763')) AND NOT vitalperiodic.respiration IS N... | [
521,
5344,
262,
4445,
5288,
2033,
286,
1217,
15297,
329,
5827,
657,
2091,
12,
2857,
5066,
287,
1367,
14,
12957,
614,
13,
46506,
20625,
7,
85,
1287,
41007,
291,
13,
411,
10514,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
521,
5344,
262,
4445,
5288,
2033,
286,
1217,
15297,
329,
5827,
657,
2091,
12,
2857,
5066,
287,
1367,
14,
12957,
614,
13,
46506,
20625,
7,
85,
1287,
41007,
291,
13,
411,
10514,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
... |
What race did Meo Constantini win at the circuit of monza ? | SELECT "Name" FROM table_68067 WHERE "Winning driver" = 'meo constantini' AND "Circuit" = 'monza' | [
2061,
3234,
750,
2185,
78,
20217,
5362,
1592,
379,
262,
10349,
286,
937,
4496,
5633,
46506,
366,
5376,
1,
16034,
3084,
62,
37397,
3134,
33411,
366,
16643,
768,
4639,
1,
796,
705,
1326,
78,
6937,
5362,
6,
5357,
366,
31560,
5013,
1,
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
] | [
2061,
3234,
750,
2185,
78,
20217,
5362,
1592,
379,
262,
10349,
286,
937,
4496,
5633,
46506,
366,
5376,
1,
16034,
3084,
62,
37397,
3134,
33411,
366,
16643,
768,
4639,
1,
796,
705,
1326,
78,
6937,
5362,
6,
5357,
366,
31560,
5013,
1,
7... |
What is the average year Rich Beem had a to par less than 17? | SELECT AVG("Year won") FROM table_70425 WHERE "Player" = 'rich beem' AND "To par" < '17' | [
2061,
318,
262,
2811,
614,
3998,
1355,
368,
550,
257,
284,
1582,
1342,
621,
1596,
30,
46506,
35224,
7203,
17688,
1839,
4943,
16034,
3084,
62,
2154,
32114,
33411,
366,
14140,
1,
796,
705,
7527,
307,
368,
6,
5357,
366,
2514,
1582,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
3998,
1355,
368,
550,
257,
284,
1582,
1342,
621,
1596,
30,
46506,
35224,
7203,
17688,
1839,
4943,
16034,
3084,
62,
2154,
32114,
33411,
366,
14140,
1,
796,
705,
7527,
307,
368,
6,
5357,
366,
2514,
1582,
1,
... |
what was the number of patients that were discharged from hospital in this year? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL AND DATETIME(patient.hospitaldischargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
10919,
373,
262,
1271,
286,
3871,
326,
547,
26476,
422,
4436,
287,
428,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5626,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
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... | [
10919,
373,
262,
1271,
286,
3871,
326,
547,
26476,
422,
4436,
287,
428,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5626,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15... |
what number of patients have primary disease named sdh and lab test fluid is cerebrospinal fluid (csf)? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "SDH" AND lab.fluid = "Cerebrospinal Fluid (CSF)" | [
10919,
1271,
286,
3871,
423,
4165,
4369,
3706,
264,
34985,
290,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
357,
6359,
69,
19427,
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... | [
10919,
1271,
286,
3871,
423,
4165,
4369,
3706,
264,
34985,
290,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
357,
6359,
69,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
For how long did Jordan Coleman play? | SELECT minutes FROM table_22993636_5 WHERE player = "Jordan Coleman" | [
1890,
703,
890,
750,
8078,
22687,
711,
30,
46506,
2431,
16034,
3084,
62,
1828,
2079,
2623,
2623,
62,
20,
33411,
2137,
796,
366,
34522,
22687,
1
] | [
1,
1,
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,
703,
890,
750,
8078,
22687,
711,
30,
46506,
2431,
16034,
3084,
62,
1828,
2079,
2623,
2623,
62,
20,
33411,
2137,
796,
366,
34522,
22687,
1
] |
What Tejano webcast has a callsign of KBDR? | SELECT "Webcast" FROM table_5486 WHERE "Format" = 'tejano' AND "Callsign" = 'kbdr' | [
2061,
1665,
73,
5733,
3992,
2701,
468,
257,
3848,
570,
286,
14204,
7707,
30,
46506,
366,
13908,
2701,
1,
16034,
3084,
62,
20,
34251,
33411,
366,
26227,
1,
796,
705,
660,
73,
5733,
6,
5357,
366,
34,
5691,
570,
1,
796,
705,
32812,
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
] | [
2061,
1665,
73,
5733,
3992,
2701,
468,
257,
3848,
570,
286,
14204,
7707,
30,
46506,
366,
13908,
2701,
1,
16034,
3084,
62,
20,
34251,
33411,
366,
26227,
1,
796,
705,
660,
73,
5733,
6,
5357,
366,
34,
5691,
570,
1,
796,
705,
32812,
7... |
What was the crowd when the VFL played MCG? | SELECT MIN("Crowd") FROM table_74576 WHERE "Venue" = 'mcg' | [
2061,
373,
262,
4315,
618,
262,
569,
3697,
2826,
13122,
38,
30,
46506,
20625,
7203,
34,
3986,
4943,
16034,
3084,
62,
50150,
4304,
33411,
366,
37522,
518,
1,
796,
705,
23209,
70,
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,
373,
262,
4315,
618,
262,
569,
3697,
2826,
13122,
38,
30,
46506,
20625,
7203,
34,
3986,
4943,
16034,
3084,
62,
50150,
4304,
33411,
366,
37522,
518,
1,
796,
705,
23209,
70,
6
] |
Win8 thread volume, page views, unique OPs by month. | SELECT COUNT(*) AS Volume, SUM(ViewCount) AS PageViews, COUNT(DISTINCT OwnerUserId) AS UniqueOPs, TIME_TO_STR(P.CreationDate, '%Y') AS "year", TIME_TO_STR(P.CreationDate, '%m') AS Month FROM Posts AS P WHERE (Tags LIKE '%<windows-8>%' OR Tags LIKE '%<metro-ui>%' OR Tags LIKE '%<metro-style-app>%' OR Tags LIKE '%<winrt>... | [
16643,
23,
4704,
6115,
11,
2443,
5009,
11,
3748,
440,
12016,
416,
1227,
13,
46506,
327,
28270,
7,
28104,
7054,
14701,
11,
35683,
7,
7680,
12332,
8,
7054,
7873,
7680,
82,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
23853,
12982,
7390,
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... | [
16643,
23,
4704,
6115,
11,
2443,
5009,
11,
3748,
440,
12016,
416,
1227,
13,
46506,
327,
28270,
7,
28104,
7054,
14701,
11,
35683,
7,
7680,
12332,
8,
7054,
7873,
7680,
82,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
23853,
12982,
7390,
8... |
How many populations have a capital of Montpelier and more than 1 House seat? | SELECT COUNT(population_est__2012_) FROM table_name_53 WHERE capital = "montpelier" AND house_seat_s_ > 1 | [
2437,
867,
9684,
423,
257,
3139,
286,
5575,
30242,
959,
290,
517,
621,
352,
2097,
5852,
30,
46506,
327,
28270,
7,
39748,
62,
395,
834,
6999,
62,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
3139,
796,
366,
8691,
30242,
959,
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
] | [
2437,
867,
9684,
423,
257,
3139,
286,
5575,
30242,
959,
290,
517,
621,
352,
2097,
5852,
30,
46506,
327,
28270,
7,
39748,
62,
395,
834,
6999,
62,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
3139,
796,
366,
8691,
30242,
959,
1,
5357,
... |
What is Record, when Game is 27? | SELECT record FROM table_name_54 WHERE game = 27 | [
2061,
318,
13266,
11,
618,
3776,
318,
2681,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4051,
33411,
983,
796,
2681
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
13266,
11,
618,
3776,
318,
2681,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4051,
33411,
983,
796,
2681
] |
had the arterial bp mean in patient 30826 ever been less than 88.0 since 03/27/2103? | SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 30826)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp mean'... | [
18108,
262,
30675,
498,
275,
79,
1612,
287,
5827,
35617,
2075,
1683,
587,
1342,
621,
9193,
13,
15,
1201,
7643,
14,
1983,
14,
17,
15197,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18108,
262,
30675,
498,
275,
79,
1612,
287,
5827,
35617,
2075,
1683,
587,
1342,
621,
9193,
13,
15,
1201,
7643,
14,
1983,
14,
17,
15197,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
... |
count the number of patients who are diagnosed with candidal esophagitis and their lab test name is bands. | 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 = "Candidal esophagitis" AND lab.label = "Bands" | [
9127,
262,
1271,
286,
3871,
508,
389,
14641,
351,
2960,
282,
1658,
2522,
363,
11815,
290,
511,
2248,
1332,
1438,
318,
11760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
508,
389,
14641,
351,
2960,
282,
1658,
2522,
363,
11815,
290,
511,
2248,
1332,
1438,
318,
11760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... |
What is the Home Town with a Year of freshman, and a Height with 6 6? | SELECT home_town FROM table_name_81 WHERE year = "freshman" AND height = "6–6" | [
2061,
318,
262,
5995,
8329,
351,
257,
6280,
286,
18621,
11,
290,
257,
27280,
351,
718,
718,
30,
46506,
1363,
62,
12735,
16034,
3084,
62,
3672,
62,
6659,
33411,
614,
796,
366,
48797,
805,
1,
5357,
6001,
796,
366,
21,
1906,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5995,
8329,
351,
257,
6280,
286,
18621,
11,
290,
257,
27280,
351,
718,
718,
30,
46506,
1363,
62,
12735,
16034,
3084,
62,
3672,
62,
6659,
33411,
614,
796,
366,
48797,
805,
1,
5357,
6001,
796,
366,
21,
1906,
21,
1
] |
what is the total number of playoffs where regular season is 6th, southwest | SELECT COUNT("Playoffs") FROM table_16119 WHERE "Regular Season" = '6th, Southwest' | [
10919,
318,
262,
2472,
1271,
286,
12980,
810,
3218,
1622,
318,
718,
400,
11,
26283,
46506,
327,
28270,
7203,
11002,
8210,
4943,
16034,
3084,
62,
1433,
16315,
33411,
366,
40164,
7369,
1,
796,
705,
21,
400,
11,
24320,
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
] | [
10919,
318,
262,
2472,
1271,
286,
12980,
810,
3218,
1622,
318,
718,
400,
11,
26283,
46506,
327,
28270,
7203,
11002,
8210,
4943,
16034,
3084,
62,
1433,
16315,
33411,
366,
40164,
7369,
1,
796,
705,
21,
400,
11,
24320,
6
] |
What's the title of the episode first seen by 18.15 million people in the US? | SELECT title FROM table_22078972_2 WHERE us_viewers__millions_ = "18.15" | [
2061,
338,
262,
3670,
286,
262,
4471,
717,
1775,
416,
1248,
13,
1314,
1510,
661,
287,
262,
1294,
30,
46506,
3670,
16034,
3084,
62,
17572,
40401,
4761,
62,
17,
33411,
514,
62,
1177,
364,
834,
17805,
507,
62,
796,
366,
1507,
13,
1314,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3670,
286,
262,
4471,
717,
1775,
416,
1248,
13,
1314,
1510,
661,
287,
262,
1294,
30,
46506,
3670,
16034,
3084,
62,
17572,
40401,
4761,
62,
17,
33411,
514,
62,
1177,
364,
834,
17805,
507,
62,
796,
366,
1507,
13,
1314,... |
What is the time for when cornelio velasquez was the jockey? | SELECT "Time" FROM table_6131 WHERE "Jockey" = 'cornelio velasquez' | [
2061,
318,
262,
640,
329,
618,
1162,
4954,
952,
11555,
292,
22281,
373,
262,
474,
8337,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
21,
22042,
33411,
366,
41,
8337,
1,
796,
705,
20772,
417,
952,
11555,
292,
22281,
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,
640,
329,
618,
1162,
4954,
952,
11555,
292,
22281,
373,
262,
474,
8337,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
21,
22042,
33411,
366,
41,
8337,
1,
796,
705,
20772,
417,
952,
11555,
292,
22281,
6
] |
What is the President with a Year larger than 2011, and a Date with 23 may? | SELECT "President" FROM table_54602 WHERE "Year" > '2011' AND "Date" = '23 may' | [
2061,
318,
262,
1992,
351,
257,
6280,
4025,
621,
2813,
11,
290,
257,
7536,
351,
2242,
743,
30,
46506,
366,
10364,
1,
16034,
3084,
62,
4051,
31418,
33411,
366,
17688,
1,
1875,
705,
9804,
6,
5357,
366,
10430,
1,
796,
705,
1954,
743,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1992,
351,
257,
6280,
4025,
621,
2813,
11,
290,
257,
7536,
351,
2242,
743,
30,
46506,
366,
10364,
1,
16034,
3084,
62,
4051,
31418,
33411,
366,
17688,
1,
1875,
705,
9804,
6,
5357,
366,
10430,
1,
796,
705,
1954,
743,
... |
When was PERSIAN 499 offered previously ? | SELECT DISTINCT semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'PERSIAN' AND course.number = 499 AND semester.semester_id = course_offering.semester ORDER BY semester.year DESC LIMIT 1 | [
2215,
373,
350,
4877,
16868,
48391,
4438,
4271,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
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,
1,
1,
1,
1,
1,
1,
1,
1... | [
2215,
373,
350,
4877,
16868,
48391,
4438,
4271,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
535... |
what are the number of times 2013 appears under the commenced column ? | SELECT COUNT(*) FROM table_204_49 WHERE "commenced" = 2013 | [
10919,
389,
262,
1271,
286,
1661,
2211,
3568,
739,
262,
32400,
5721,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
2920,
33411,
366,
785,
3653,
771,
1,
796,
2211
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
262,
1271,
286,
1661,
2211,
3568,
739,
262,
32400,
5721,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
2920,
33411,
366,
785,
3653,
771,
1,
796,
2211
] |
How many teams have a head coach named mahdi ali? | SELECT COUNT("Team") FROM table_29692 WHERE "Head Coach" = 'Mahdi Ali' | [
2437,
867,
3466,
423,
257,
1182,
3985,
3706,
42768,
10989,
34965,
30,
46506,
327,
28270,
7203,
15592,
4943,
16034,
3084,
62,
1959,
46589,
33411,
366,
13847,
16393,
1,
796,
705,
40936,
10989,
12104,
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
] | [
2437,
867,
3466,
423,
257,
1182,
3985,
3706,
42768,
10989,
34965,
30,
46506,
327,
28270,
7203,
15592,
4943,
16034,
3084,
62,
1959,
46589,
33411,
366,
13847,
16393,
1,
796,
705,
40936,
10989,
12104,
6
] |
Where was the security pacific senior classic? | SELECT location FROM table_name_74 WHERE tournament = "security pacific senior classic" | [
8496,
373,
262,
2324,
23503,
811,
4664,
6833,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
4524,
33411,
7756,
796,
366,
12961,
23503,
811,
4664,
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
] | [
8496,
373,
262,
2324,
23503,
811,
4664,
6833,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
4524,
33411,
7756,
796,
366,
12961,
23503,
811,
4664,
6833,
1
] |
Round 4 for larger than 19 Round 1 and a 27 Round 2? | SELECT "Round 4" FROM table_9259 WHERE "Round 1" > '19' AND "Round 2" = '27' | [
22685,
604,
329,
4025,
621,
678,
10485,
352,
290,
257,
2681,
10485,
362,
30,
46506,
366,
22685,
604,
1,
16034,
3084,
62,
24,
25191,
33411,
366,
22685,
352,
1,
1875,
705,
1129,
6,
5357,
366,
22685,
362,
1,
796,
705,
1983,
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
] | [
22685,
604,
329,
4025,
621,
678,
10485,
352,
290,
257,
2681,
10485,
362,
30,
46506,
366,
22685,
604,
1,
16034,
3084,
62,
24,
25191,
33411,
366,
22685,
352,
1,
1875,
705,
1129,
6,
5357,
366,
22685,
362,
1,
796,
705,
1983,
6
] |
If the away team scored 8.7 (55), what venue did the play at? | SELECT "Venue" FROM table_51751 WHERE "Away team score" = '8.7 (55)' | [
1532,
262,
1497,
1074,
7781,
807,
13,
22,
357,
2816,
828,
644,
14359,
750,
262,
711,
379,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
48170,
4349,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
23,
13,
22,
357,
2816,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
1497,
1074,
7781,
807,
13,
22,
357,
2816,
828,
644,
14359,
750,
262,
711,
379,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
48170,
4349,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
23,
13,
22,
357,
2816,
33047
] |
what procedure was performed on patient 013-21980 for the first time since 2103? | SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-21980')) AND STRFTIME('%y', treatment.treatmenttime) >= '2103... | [
10919,
8771,
373,
6157,
319,
5827,
5534,
18,
12,
17,
23664,
329,
262,
717,
640,
1201,
362,
15197,
30,
46506,
3513,
13,
42487,
3672,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
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... | [
10919,
8771,
373,
6157,
319,
5827,
5534,
18,
12,
17,
23664,
329,
262,
717,
640,
1201,
362,
15197,
30,
46506,
3513,
13,
42487,
3672,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,... |
List the name of playlist which has number of tracks greater than 100. | SELECT T2.name FROM playlist_tracks AS T1 JOIN playlists AS T2 ON T2.id = T1.playlist_id GROUP BY T1.playlist_id HAVING COUNT(T1.track_id) > 100 | [
8053,
262,
1438,
286,
33178,
543,
468,
1271,
286,
8339,
3744,
621,
1802,
13,
46506,
309,
17,
13,
3672,
16034,
33178,
62,
46074,
7054,
309,
16,
32357,
1268,
711,
20713,
7054,
309,
17,
6177,
309,
17,
13,
312,
796,
309,
16,
13,
1759,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
33178,
543,
468,
1271,
286,
8339,
3744,
621,
1802,
13,
46506,
309,
17,
13,
3672,
16034,
33178,
62,
46074,
7054,
309,
16,
32357,
1268,
711,
20713,
7054,
309,
17,
6177,
309,
17,
13,
312,
796,
309,
16,
13,
1759,
... |
find the drug code and drug route of ferrous sulfate. | SELECT prescriptions.formulary_drug_cd, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Ferrous Sulfate" | [
19796,
262,
2563,
2438,
290,
2563,
6339,
286,
11354,
7596,
22443,
378,
13,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
43362,
7596,
311,
4754,
378,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
2438,
290,
2563,
6339,
286,
11354,
7596,
22443,
378,
13,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
43362,
7596,
311,
4754,
378,
1
] |
give me the number of patients whose age is less than 41 and lab test fluid is other body fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "41" AND lab.fluid = "Other Body Fluid" | [
26535,
502,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
6073,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
6073,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2... |
Which Fencing Victories (pts) has a Shooting Score (pts) of 187 (1180) and a Total smaller than 5640? Question 1 | SELECT "Fencing Victories (pts)" FROM table_65454 WHERE "Shooting Score (pts)" = '187 (1180)' AND "Total" < '5640' | [
13828,
376,
9532,
6114,
1749,
357,
457,
82,
8,
468,
257,
25360,
15178,
357,
457,
82,
8,
286,
27649,
357,
1157,
1795,
8,
290,
257,
7472,
4833,
621,
7265,
1821,
30,
18233,
352,
46506,
366,
37,
9532,
6114,
1749,
357,
457,
82,
16725,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
376,
9532,
6114,
1749,
357,
457,
82,
8,
468,
257,
25360,
15178,
357,
457,
82,
8,
286,
27649,
357,
1157,
1795,
8,
290,
257,
7472,
4833,
621,
7265,
1821,
30,
18233,
352,
46506,
366,
37,
9532,
6114,
1749,
357,
457,
82,
16725,
... |
the temperature of patient 033-3009 had been greater than 37.1 until 291 days ago? | SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-3009')) AND vitalperiodic.temperature > 37.1 AND NOT vitalperiod... | [
1169,
5951,
286,
5827,
657,
2091,
12,
6200,
24,
550,
587,
3744,
621,
5214,
13,
16,
1566,
43336,
1528,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1169,
5951,
286,
5827,
657,
2091,
12,
6200,
24,
550,
587,
3744,
621,
5214,
13,
16,
1566,
43336,
1528,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
32... |
What was the away team when the home team scored 9.8 (62)? | SELECT "Away team" FROM table_33147 WHERE "Home team score" = '9.8 (62)' | [
2061,
373,
262,
1497,
1074,
618,
262,
1363,
1074,
7781,
860,
13,
23,
357,
5237,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2091,
20198,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
24,
13,
23,
357,
5237,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1497,
1074,
618,
262,
1363,
1074,
7781,
860,
13,
23,
357,
5237,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2091,
20198,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
24,
13,
23,
357,
5237,
33047
] |
What's the total wins when the draws are less than 0? | SELECT COUNT(wins) FROM table_name_92 WHERE draws < 0 | [
2061,
338,
262,
2472,
7864,
618,
262,
14293,
389,
1342,
621,
657,
30,
46506,
327,
28270,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
5892,
33411,
14293,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
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,
2472,
7864,
618,
262,
14293,
389,
1342,
621,
657,
30,
46506,
327,
28270,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
5892,
33411,
14293,
1279,
657
] |
Which character is portrayed by Elias Koteas? | SELECT character FROM table_name_10 WHERE portrayed_by = "elias koteas" | [
13828,
2095,
318,
19152,
416,
41462,
509,
1258,
292,
30,
46506,
2095,
16034,
3084,
62,
3672,
62,
940,
33411,
19152,
62,
1525,
796,
366,
417,
4448,
479,
1258,
292,
1
] | [
1,
1,
1,
1,
1,
1,
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,
2095,
318,
19152,
416,
41462,
509,
1258,
292,
30,
46506,
2095,
16034,
3084,
62,
3672,
62,
940,
33411,
19152,
62,
1525,
796,
366,
417,
4448,
479,
1258,
292,
1
] |
what were the total amount of d20w intake that patient 30171 had received on 05/30/2101? | SELECT SUM(inputevents_cv.amount) 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 = 30171)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.lab... | [
10919,
547,
262,
2472,
2033,
286,
288,
1238,
86,
10337,
326,
5827,
25643,
4869,
550,
2722,
319,
8870,
14,
1270,
14,
2481,
486,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
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... | [
10919,
547,
262,
2472,
2033,
286,
288,
1238,
86,
10337,
326,
5827,
25643,
4869,
550,
2722,
319,
8870,
14,
1270,
14,
2481,
486,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62... |
What date was the 1988 world group i edition with a result of 7 6 (7 5) , 6 3? | SELECT date FROM table_name_69 WHERE edition = "1988 world group i" AND result = "7–6 (7–5) , 6–3" | [
2061,
3128,
373,
262,
12122,
995,
1448,
1312,
8313,
351,
257,
1255,
286,
767,
718,
357,
22,
642,
8,
837,
718,
513,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3388,
33411,
8313,
796,
366,
26709,
995,
1448,
1312,
1,
5357,
1255,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3128,
373,
262,
12122,
995,
1448,
1312,
8313,
351,
257,
1255,
286,
767,
718,
357,
22,
642,
8,
837,
718,
513,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3388,
33411,
8313,
796,
366,
26709,
995,
1448,
1312,
1,
5357,
1255,
796,
... |
Which events have the number of notes between one and three? List the event id and the property id. | SELECT T1.Customer_Event_ID, T1.property_id FROM Customer_Events AS T1 JOIN Customer_Event_Notes AS T2 ON T1.Customer_Event_ID = T2.Customer_Event_ID GROUP BY T1.Customer_Event_ID HAVING COUNT(*) BETWEEN 1 AND 3 | [
13828,
2995,
423,
262,
1271,
286,
4710,
1022,
530,
290,
1115,
30,
7343,
262,
1785,
4686,
290,
262,
3119,
4686,
13,
46506,
309,
16,
13,
44939,
62,
9237,
62,
2389,
11,
309,
16,
13,
26745,
62,
312,
16034,
22092,
62,
37103,
7054,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2995,
423,
262,
1271,
286,
4710,
1022,
530,
290,
1115,
30,
7343,
262,
1785,
4686,
290,
262,
3119,
4686,
13,
46506,
309,
16,
13,
44939,
62,
9237,
62,
2389,
11,
309,
16,
13,
26745,
62,
312,
16034,
22092,
62,
37103,
7054,
309,
... |
Answers that took way too long to accept (all users). Answers that took the longest from being posted to being accepted. Only answers that are currently accepted are counted. This query is for all users; for a single user, see query 695498. | SELECT Posts.Id AS "post_link", DATEDIFF(day, Posts.CreationDate, CreationDate) AS "time_taken_to_accept_in_days", ROUND(DATEDIFF(day, Posts.CreationDate, CreationDate) / 12.0, 0) AS "in_months", ROUND(DATEDIFF(day, Posts.CreationDate, CreationDate) / 365.0, 1) AS "and_in_years" FROM Posts JOIN Votes ON Posts.Id = Vote... | [
2025,
37848,
326,
1718,
835,
1165,
890,
284,
2453,
357,
439,
2985,
737,
42612,
326,
1718,
262,
14069,
422,
852,
4481,
284,
852,
6292,
13,
5514,
7429,
326,
389,
3058,
6292,
389,
14789,
13,
770,
12405,
318,
329,
477,
2985,
26,
329,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2025,
37848,
326,
1718,
835,
1165,
890,
284,
2453,
357,
439,
2985,
737,
42612,
326,
1718,
262,
14069,
422,
852,
4481,
284,
852,
6292,
13,
5514,
7429,
326,
389,
3058,
6292,
389,
14789,
13,
770,
12405,
318,
329,
477,
2985,
26,
329,
25... |
how many patients who died in or before 2154 the year were prescribed the drug prismasate b22 k4? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2154.0" AND prescriptions.drug = "Prismasate (B22 K4)" | [
4919,
867,
3871,
508,
3724,
287,
393,
878,
362,
21526,
262,
614,
547,
14798,
262,
2563,
46475,
292,
378,
275,
1828,
479,
19,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
508,
3724,
287,
393,
878,
362,
21526,
262,
614,
547,
14798,
262,
2563,
46475,
292,
378,
275,
1828,
479,
19,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32... |
How much is the GDP for an area of 61,395? | SELECT "GDP (PPP) $M USD" FROM table_43017 WHERE "Area (km\u00b2)" = '61,395' | [
2437,
881,
318,
262,
12396,
329,
281,
1989,
286,
8454,
11,
31010,
30,
46506,
366,
38,
6322,
357,
10246,
47,
8,
720,
44,
11403,
1,
16034,
3084,
62,
3559,
29326,
33411,
366,
30547,
357,
13276,
59,
84,
405,
65,
17,
16725,
796,
705,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
318,
262,
12396,
329,
281,
1989,
286,
8454,
11,
31010,
30,
46506,
366,
38,
6322,
357,
10246,
47,
8,
720,
44,
11403,
1,
16034,
3084,
62,
3559,
29326,
33411,
366,
30547,
357,
13276,
59,
84,
405,
65,
17,
16725,
796,
705,
5... |
What is the average rank for nations with fewer than 0 gold medals? | SELECT AVG(rank) FROM table_name_86 WHERE gold < 0 | [
2061,
318,
262,
2811,
4279,
329,
7027,
351,
7380,
621,
657,
3869,
28057,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
3869,
1279,
657
] | [
1,
1,
1,
1,
1,
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,
4279,
329,
7027,
351,
7380,
621,
657,
3869,
28057,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
3869,
1279,
657
] |
i want a flight from ATLANTA to PITTSBURGH | 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 = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSB... | [
72,
765,
257,
5474,
422,
5161,
25697,
5603,
284,
49040,
4694,
38926,
17511,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
765,
257,
5474,
422,
5161,
25697,
5603,
284,
49040,
4694,
38926,
17511,
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,
... |
Which committees have delegates from the Democratic party, and count them by a bar chart, rank from low to high by the y axis. | SELECT Committee, COUNT(Committee) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = "Democratic" GROUP BY Committee ORDER BY COUNT(Committee) | [
13828,
17460,
423,
15265,
422,
262,
4390,
2151,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
4279,
422,
1877,
284,
1029,
416,
262,
331,
16488,
13,
46506,
4606,
11,
327,
28270,
7,
6935,
2979,
8,
16034,
3071,
7054,
309,
16,
32357,
126... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17460,
423,
15265,
422,
262,
4390,
2151,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
4279,
422,
1877,
284,
1029,
416,
262,
331,
16488,
13,
46506,
4606,
11,
327,
28270,
7,
6935,
2979,
8,
16034,
3071,
7054,
309,
16,
32357,
126... |
Top 450 SO Users from India. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%kerala' ORDER BY Reputation DESC LIMIT 450 | [
9126,
18523,
12809,
18987,
422,
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,
11,
13397,
16034,
18987,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18523,
12809,
18987,
422,
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,
11,
13397,
16034,
18987,
... |
what is the number of games that the detriot lions lost in the 1980s ? | SELECT COUNT(*) FROM table_204_855 WHERE "loser" = 'detroit lions' | [
10919,
318,
262,
1271,
286,
1830,
326,
262,
1062,
36671,
31420,
2626,
287,
262,
7169,
82,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
45432,
33411,
366,
75,
13416,
1,
796,
705,
15255,
7775,
31420,
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
] | [
10919,
318,
262,
1271,
286,
1830,
326,
262,
1062,
36671,
31420,
2626,
287,
262,
7169,
82,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
45432,
33411,
366,
75,
13416,
1,
796,
705,
15255,
7775,
31420,
6
] |
How man 3-dart averages did gary anderson have? | SELECT COUNT("3-dart Average") FROM table_26929 WHERE "Player" = 'Gary Anderson' | [
2437,
582,
513,
12,
67,
433,
25694,
750,
308,
560,
290,
882,
423,
30,
46506,
327,
28270,
7203,
18,
12,
67,
433,
13475,
4943,
16034,
3084,
62,
26276,
1959,
33411,
366,
14140,
1,
796,
705,
33820,
9918,
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
] | [
2437,
582,
513,
12,
67,
433,
25694,
750,
308,
560,
290,
882,
423,
30,
46506,
327,
28270,
7203,
18,
12,
67,
433,
13475,
4943,
16034,
3084,
62,
26276,
1959,
33411,
366,
14140,
1,
796,
705,
33820,
9918,
6
] |
What home team has june 22 as the date? | SELECT home_team FROM table_name_87 WHERE date = "june 22" | [
2061,
1363,
1074,
468,
474,
1726,
2534,
355,
262,
3128,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
5774,
33411,
3128,
796,
366,
73,
1726,
2534,
1
] | [
1,
1,
1,
1,
1,
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,
1363,
1074,
468,
474,
1726,
2534,
355,
262,
3128,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
5774,
33411,
3128,
796,
366,
73,
1726,
2534,
1
] |
With the score of 6 3, 2 6, [10 8] and played on clay who was the opponent? | SELECT opponent FROM table_name_69 WHERE surface = "clay" AND score = "6–3, 2–6, [10–8]" | [
3152,
262,
4776,
286,
718,
513,
11,
362,
718,
11,
685,
940,
807,
60,
290,
2826,
319,
21558,
508,
373,
262,
6125,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3388,
33411,
4417,
796,
366,
565,
323,
1,
5357,
4776,
796,
366,
21,
1906,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3152,
262,
4776,
286,
718,
513,
11,
362,
718,
11,
685,
940,
807,
60,
290,
2826,
319,
21558,
508,
373,
262,
6125,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3388,
33411,
4417,
796,
366,
565,
323,
1,
5357,
4776,
796,
366,
21,
1906,... |
what flight is available at noontime from BOSTON to WASHINGTON what flight is available around noontime from BOSTON to WASHINGTON | 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 ((flight.departure_time <= 1230 AND flight.departure_time >= 1130) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND fli... | [
10919,
5474,
318,
1695,
379,
645,
756,
524,
422,
347,
10892,
1340,
284,
370,
19436,
644,
5474,
318,
1695,
1088,
645,
756,
524,
422,
347,
10892,
1340,
284,
370,
19436,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5474,
318,
1695,
379,
645,
756,
524,
422,
347,
10892,
1340,
284,
370,
19436,
644,
5474,
318,
1695,
1088,
645,
756,
524,
422,
347,
10892,
1340,
284,
370,
19436,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003... |
how many patients whose death status is 0 and procedure icd9 code is 5012? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.icd9_code = "5012" | [
4919,
867,
3871,
3025,
1918,
3722,
318,
657,
290,
8771,
14158,
67,
24,
2438,
318,
24555,
17,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
1918,
3722,
318,
657,
290,
8771,
14158,
67,
24,
2438,
318,
24555,
17,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
... |
Can you tell me what my GPA is ? | SELECT DISTINCT total_gpa FROM student WHERE student_id = 1 | [
6090,
345,
1560,
502,
644,
616,
45283,
318,
5633,
46506,
360,
8808,
1268,
4177,
2472,
62,
70,
8957,
16034,
3710,
33411,
3710,
62,
312,
796,
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
] | [
6090,
345,
1560,
502,
644,
616,
45283,
318,
5633,
46506,
360,
8808,
1268,
4177,
2472,
62,
70,
8957,
16034,
3710,
33411,
3710,
62,
312,
796,
352
] |
Show different occupations along with the number of players in each occupation. | SELECT Occupation, COUNT(*) FROM player GROUP BY Occupation | [
15307,
1180,
23308,
1863,
351,
262,
1271,
286,
1938,
287,
1123,
13755,
13,
46506,
15227,
341,
11,
327,
28270,
7,
28104,
16034,
2137,
44441,
11050,
15227,
341
] | [
1,
1,
1,
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,
23308,
1863,
351,
262,
1271,
286,
1938,
287,
1123,
13755,
13,
46506,
15227,
341,
11,
327,
28270,
7,
28104,
16034,
2137,
44441,
11050,
15227,
341
] |
What is the tournament that had a result of A in 1954 and NH in 1942? | SELECT tournament FROM table_name_30 WHERE 1954 = "a" AND 1942 = "nh" | [
2061,
318,
262,
7756,
326,
550,
257,
1255,
286,
317,
287,
24718,
290,
24451,
287,
22458,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1270,
33411,
24718,
796,
366,
64,
1,
5357,
22458,
796,
366,
77,
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
] | [
2061,
318,
262,
7756,
326,
550,
257,
1255,
286,
317,
287,
24718,
290,
24451,
287,
22458,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1270,
33411,
24718,
796,
366,
64,
1,
5357,
22458,
796,
366,
77,
71,
1
] |
How many drawn have points of 6 and lost by fewer than 4? | SELECT COUNT(drawn) FROM table_name_53 WHERE points = 6 AND lost < 4 | [
2437,
867,
7428,
423,
2173,
286,
718,
290,
2626,
416,
7380,
621,
604,
30,
46506,
327,
28270,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
2173,
796,
718,
5357,
2626,
1279,
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,
1,
1,
1
] | [
2437,
867,
7428,
423,
2173,
286,
718,
290,
2626,
416,
7380,
621,
604,
30,
46506,
327,
28270,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
2173,
796,
718,
5357,
2626,
1279,
604
] |
How many Podiums where their total for the Series of Macau grand prix, as well as being a season before 2008? | SELECT SUM("Podiums") FROM table_39194 WHERE "Series" = 'macau grand prix' AND "Season" < '2008' | [
2437,
867,
350,
12664,
82,
810,
511,
2472,
329,
262,
7171,
286,
4100,
559,
4490,
1293,
87,
11,
355,
880,
355,
852,
257,
1622,
878,
3648,
30,
46506,
35683,
7203,
47,
12664,
82,
4943,
16034,
3084,
62,
2670,
22913,
33411,
366,
27996,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
350,
12664,
82,
810,
511,
2472,
329,
262,
7171,
286,
4100,
559,
4490,
1293,
87,
11,
355,
880,
355,
852,
257,
1622,
878,
3648,
30,
46506,
35683,
7203,
47,
12664,
82,
4943,
16034,
3084,
62,
2670,
22913,
33411,
366,
27996,
1... |
Recent questions by users with at least min reputation. | SELECT p.Id AS "post_link", p.Score, p.OwnerUserId AS "user_link", u.Reputation, p.CreationDate FROM Posts AS p INNER JOIN Users AS u ON p.OwnerUserId = u.Id WHERE u.Reputation >= '##minReputation##' AND p.PostTypeId = 1 ORDER BY p.CreationDate DESC LIMIT 100 | [
26446,
2683,
416,
2985,
351,
379,
1551,
949,
8507,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
11,
279,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
334,
13,
6207,
7094,
11,
279,
13,
12443,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26446,
2683,
416,
2985,
351,
379,
1551,
949,
8507,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
11,
279,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
334,
13,
6207,
7094,
11,
279,
13,
12443,... |
get the number of patients with lab test item id 51379 who were admitted in hospital before the year 2178. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2178" AND lab.itemid = "51379" | [
1136,
262,
1271,
286,
3871,
351,
2248,
1332,
2378,
4686,
642,
1485,
3720,
508,
547,
6848,
287,
4436,
878,
262,
614,
362,
23188,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1136,
262,
1271,
286,
3871,
351,
2248,
1332,
2378,
4686,
642,
1485,
3720,
508,
547,
6848,
287,
4436,
878,
262,
614,
362,
23188,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... |
What round was at the A venue with a attendance more than 14,314? | SELECT round FROM table_name_7 WHERE venue = "a" AND attendance > 14 OFFSET 314 | [
2061,
2835,
373,
379,
262,
317,
14359,
351,
257,
14858,
517,
621,
1478,
11,
33638,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
22,
33411,
14359,
796,
366,
64,
1,
5357,
14858,
1875,
1478,
3963,
10652,
2767,
34085
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
373,
379,
262,
317,
14359,
351,
257,
14858,
517,
621,
1478,
11,
33638,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
22,
33411,
14359,
796,
366,
64,
1,
5357,
14858,
1875,
1478,
3963,
10652,
2767,
34085
] |
What is the comp for games less than 2? | SELECT comp FROM table_name_63 WHERE games < 2 | [
2061,
318,
262,
552,
329,
1830,
1342,
621,
362,
30,
46506,
552,
16034,
3084,
62,
3672,
62,
5066,
33411,
1830,
1279,
362
] | [
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,
552,
329,
1830,
1342,
621,
362,
30,
46506,
552,
16034,
3084,
62,
3672,
62,
5066,
33411,
1830,
1279,
362
] |
What is the number of players who have points less than 30 for each position? | SELECT COUNT(*), position FROM player WHERE points < 30 GROUP BY position | [
2061,
318,
262,
1271,
286,
1938,
508,
423,
2173,
1342,
621,
1542,
329,
1123,
2292,
30,
46506,
327,
28270,
46491,
828,
2292,
16034,
2137,
33411,
2173,
1279,
1542,
44441,
11050,
2292
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
1938,
508,
423,
2173,
1342,
621,
1542,
329,
1123,
2292,
30,
46506,
327,
28270,
46491,
828,
2292,
16034,
2137,
33411,
2173,
1279,
1542,
44441,
11050,
2292
] |
Show the name, open date, and organizer for all churches. | SELECT name, open_date, organized_by FROM church | [
15307,
262,
1438,
11,
1280,
3128,
11,
290,
26311,
329,
477,
14422,
13,
46506,
1438,
11,
1280,
62,
4475,
11,
8389,
62,
1525,
16034,
4928
] | [
1,
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,
262,
1438,
11,
1280,
3128,
11,
290,
26311,
329,
477,
14422,
13,
46506,
1438,
11,
1280,
62,
4475,
11,
8389,
62,
1525,
16034,
4928
] |
What is the version when the codename is ada? | SELECT version FROM table_27329061_2 WHERE codename = "Ada" | [
2061,
318,
262,
2196,
618,
262,
14873,
12453,
318,
512,
64,
30,
46506,
2196,
16034,
3084,
62,
27367,
1959,
3312,
16,
62,
17,
33411,
14873,
12453,
796,
366,
2782,
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
] | [
2061,
318,
262,
2196,
618,
262,
14873,
12453,
318,
512,
64,
30,
46506,
2196,
16034,
3084,
62,
27367,
1959,
3312,
16,
62,
17,
33411,
14873,
12453,
796,
366,
2782,
64,
1
] |
Very well, thank you' comments. | SELECT u.Id AS "user_link", c.Id AS "comment_link", c.CreationDate, c.Score FROM Users AS u LEFT JOIN Comments AS c ON c.UserId = u.Id WHERE UPPER(Text) LIKE UPPER('%very well, thank you%') ORDER BY c.CreationDate | [
16371,
880,
11,
5875,
345,
6,
3651,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1600,
269,
13,
12443,
341,
10430,
11,
269,
13,
26595,
16034,
18987,
7054,
334,
12509,
9792,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16371,
880,
11,
5875,
345,
6,
3651,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1600,
269,
13,
12443,
341,
10430,
11,
269,
13,
26595,
16034,
18987,
7054,
334,
12509,
9792,
32... |
What are all percentages of Left Block when there is a 28.7% Social Democratic? | SELECT "Left Bloc" FROM table_19477 WHERE "Social Democratic" = '28.7%' | [
2061,
389,
477,
28071,
286,
9578,
9726,
618,
612,
318,
257,
2579,
13,
22,
4,
5483,
4390,
30,
46506,
366,
18819,
1086,
420,
1,
16034,
3084,
62,
1129,
32883,
33411,
366,
20636,
4390,
1,
796,
705,
2078,
13,
22,
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,
1,
1,
1,
1,
1
] | [
2061,
389,
477,
28071,
286,
9578,
9726,
618,
612,
318,
257,
2579,
13,
22,
4,
5483,
4390,
30,
46506,
366,
18819,
1086,
420,
1,
16034,
3084,
62,
1129,
32883,
33411,
366,
20636,
4390,
1,
796,
705,
2078,
13,
22,
4,
6
] |
Who finished 3rd in Oslo? | SELECT third FROM table_name_74 WHERE venue = "oslo" | [
8241,
5201,
513,
4372,
287,
39636,
30,
46506,
2368,
16034,
3084,
62,
3672,
62,
4524,
33411,
14359,
796,
366,
418,
5439,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
5201,
513,
4372,
287,
39636,
30,
46506,
2368,
16034,
3084,
62,
3672,
62,
4524,
33411,
14359,
796,
366,
418,
5439,
1
] |
Find the names of scientists who are not working on the project with the highest hours. | SELECT name FROM scientists EXCEPT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.hours = (SELECT MAX(hours) FROM projects) | [
16742,
262,
3891,
286,
5519,
508,
389,
407,
1762,
319,
262,
1628,
351,
262,
4511,
2250,
13,
46506,
1438,
16034,
5519,
7788,
42006,
33493,
309,
18,
13,
3672,
16034,
8686,
1462,
7054,
309,
16,
32357,
1268,
4493,
7054,
309,
17,
6177,
309... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5519,
508,
389,
407,
1762,
319,
262,
1628,
351,
262,
4511,
2250,
13,
46506,
1438,
16034,
5519,
7788,
42006,
33493,
309,
18,
13,
3672,
16034,
8686,
1462,
7054,
309,
16,
32357,
1268,
4493,
7054,
309,
17,
6177,
309... |
Retrieve the open dates of all the policies associated with the customer whose name contains 'Diana', bin the open dates into the day of week interval and count them for a bar chart, list in asc by the total number. | SELECT Date_Opened, COUNT(Date_Opened) FROM Customers AS t1 JOIN Customers_Policies AS t2 ON t1.Customer_ID = t2.Customer_ID WHERE t1.Customer_name LIKE "%Diana%" ORDER BY COUNT(Date_Opened) | [
9781,
30227,
262,
1280,
9667,
286,
477,
262,
4788,
3917,
351,
262,
6491,
3025,
1438,
4909,
705,
35,
7484,
3256,
9874,
262,
1280,
9667,
656,
262,
1110,
286,
1285,
16654,
290,
954,
606,
329,
257,
2318,
8262,
11,
1351,
287,
10570,
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... | [
9781,
30227,
262,
1280,
9667,
286,
477,
262,
4788,
3917,
351,
262,
6491,
3025,
1438,
4909,
705,
35,
7484,
3256,
9874,
262,
1280,
9667,
656,
262,
1110,
286,
1285,
16654,
290,
954,
606,
329,
257,
2318,
8262,
11,
1351,
287,
10570,
416,
... |
Did the nominated work of white valentine win an award? | SELECT result FROM table_name_61 WHERE nominated_work = "white valentine" | [
11633,
262,
19332,
670,
286,
2330,
1188,
298,
500,
1592,
281,
5764,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
5333,
33411,
19332,
62,
1818,
796,
366,
11186,
1188,
298,
500,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
11633,
262,
19332,
670,
286,
2330,
1188,
298,
500,
1592,
281,
5764,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
5333,
33411,
19332,
62,
1818,
796,
366,
11186,
1188,
298,
500,
1
] |
How many female patients use a drug named theophylline sr? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "F" AND prescriptions.drug = "Theophylline SR" | [
2437,
867,
4048,
3871,
779,
257,
2563,
3706,
262,
16982,
297,
500,
19677,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4048,
3871,
779,
257,
2563,
3706,
262,
16982,
297,
500,
19677,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312... |
how many patients passed away within 2 months after they were diagnosed with asthma nos w (ac) exac? | SELECT COUNT(DISTINCT t2.subject_id) FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_di... | [
4919,
867,
3871,
3804,
1497,
1626,
362,
1933,
706,
484,
547,
14641,
351,
28438,
43630,
266,
357,
330,
8,
409,
330,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
32796,
62,
312,
8,
16034,
357,
46506,
256,
16,
13,
327... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3804,
1497,
1626,
362,
1933,
706,
484,
547,
14641,
351,
28438,
43630,
266,
357,
330,
8,
409,
330,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
32796,
62,
312,
8,
16034,
357,
46506,
256,
16,
13,
327... |
What is the result from March 14, 2007? | SELECT "Result" FROM table_33729 WHERE "Date" = 'march 14, 2007' | [
2061,
318,
262,
1255,
422,
2805,
1478,
11,
4343,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
31496,
1959,
33411,
366,
10430,
1,
796,
705,
76,
998,
1478,
11,
4343,
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,
318,
262,
1255,
422,
2805,
1478,
11,
4343,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
31496,
1959,
33411,
366,
10430,
1,
796,
705,
76,
998,
1478,
11,
4343,
6
] |
Name the barrel twist for colt model mt6400 | SELECT barrel_twist FROM table_12834315_4 WHERE colt_model_no = "MT6400" | [
5376,
262,
9036,
14528,
329,
951,
83,
2746,
45079,
2414,
405,
46506,
9036,
62,
4246,
396,
16034,
3084,
62,
12762,
2682,
27936,
62,
19,
33411,
951,
83,
62,
19849,
62,
3919,
796,
366,
13752,
2414,
405,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9036,
14528,
329,
951,
83,
2746,
45079,
2414,
405,
46506,
9036,
62,
4246,
396,
16034,
3084,
62,
12762,
2682,
27936,
62,
19,
33411,
951,
83,
62,
19849,
62,
3919,
796,
366,
13752,
2414,
405,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.