instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Name the format on july 27, 1994 for alfa records | SELECT format FROM table_name_59 WHERE label = "alfa records" AND date = "july 27, 1994" | [
5376,
262,
5794,
319,
474,
2062,
2681,
11,
9162,
329,
435,
13331,
4406,
46506,
5794,
16034,
3084,
62,
3672,
62,
3270,
33411,
6167,
796,
366,
1604,
64,
4406,
1,
5357,
3128,
796,
366,
73,
2062,
2681,
11,
9162,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5794,
319,
474,
2062,
2681,
11,
9162,
329,
435,
13331,
4406,
46506,
5794,
16034,
3084,
62,
3672,
62,
3270,
33411,
6167,
796,
366,
1604,
64,
4406,
1,
5357,
3128,
796,
366,
73,
2062,
2681,
11,
9162,
1
] |
When the county is Carroll what is the lowest population? | SELECT MIN(population) FROM table_name_50 WHERE county = "carroll" | [
2215,
262,
7968,
318,
21298,
644,
318,
262,
9016,
3265,
30,
46506,
20625,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
7968,
796,
366,
7718,
2487,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
262,
7968,
318,
21298,
644,
318,
262,
9016,
3265,
30,
46506,
20625,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
7968,
796,
366,
7718,
2487,
1
] |
Draw a bar chart about the distribution of ACC_Road and the sum of School_ID , and group by attribute ACC_Road. | SELECT ACC_Road, SUM(School_ID) FROM basketball_match GROUP BY ACC_Road | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
29197,
290,
262,
2160,
286,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
26130,
62,
2389,
8,
16034,
9669,
62,
15699,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
29197,
290,
262,
2160,
286,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
26130,
62,
2389,
8,
16034,
9669,
62,
15699,
... |
How many rooms in total are there in the apartments in the building with short name 'Columbus Square'? | SELECT SUM(T2.room_count) FROM apartment_buildings AS T1 JOIN apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_short_name = "Columbus Square" | [
2437,
867,
9519,
287,
2472,
389,
612,
287,
262,
19592,
287,
262,
2615,
351,
1790,
1438,
705,
36063,
385,
9276,
30960,
46506,
35683,
7,
51,
17,
13,
3823,
62,
9127,
8,
16034,
7962,
62,
11249,
654,
7054,
309,
16,
32357,
1268,
19592,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9519,
287,
2472,
389,
612,
287,
262,
19592,
287,
262,
2615,
351,
1790,
1438,
705,
36063,
385,
9276,
30960,
46506,
35683,
7,
51,
17,
13,
3823,
62,
9127,
8,
16034,
7962,
62,
11249,
654,
7054,
309,
16,
32357,
1268,
19592,
70... |
What was the streak on April 2? | SELECT "Streak" FROM table_58430 WHERE "Date" = 'april 2' | [
2061,
373,
262,
15113,
319,
3035,
362,
30,
46506,
366,
30611,
461,
1,
16034,
3084,
62,
3365,
31794,
33411,
366,
10430,
1,
796,
705,
499,
22379,
362,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
15113,
319,
3035,
362,
30,
46506,
366,
30611,
461,
1,
16034,
3084,
62,
3365,
31794,
33411,
366,
10430,
1,
796,
705,
499,
22379,
362,
6
] |
Who has a total of 272? | SELECT player FROM table_name_46 WHERE total = 272 | [
8241,
468,
257,
2472,
286,
38107,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3510,
33411,
2472,
796,
38107
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
468,
257,
2472,
286,
38107,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3510,
33411,
2472,
796,
38107
] |
Which Played has a Drawn of 4, and a Position of 9, and Goals Against larger than 59? | SELECT AVG(played) FROM table_name_70 WHERE drawn = 4 AND position = 9 AND goals_against > 59 | [
13828,
33101,
468,
257,
50061,
286,
604,
11,
290,
257,
23158,
286,
860,
11,
290,
28510,
12914,
4025,
621,
7863,
30,
46506,
35224,
7,
21542,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
7428,
796,
604,
5357,
2292,
796,
860,
5357,
4661,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
33101,
468,
257,
50061,
286,
604,
11,
290,
257,
23158,
286,
860,
11,
290,
28510,
12914,
4025,
621,
7863,
30,
46506,
35224,
7,
21542,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
7428,
796,
604,
5357,
2292,
796,
860,
5357,
4661,
... |
What is the 2nd leg if the 1st leg is 3-1 and the Team 2 is union sportive de la m dina d'alger? | SELECT "2nd leg" FROM table_59764 WHERE "1st leg" = '3-1' AND "Team 2" = 'union sportive de la médina d''alger' | [
2061,
318,
262,
362,
358,
1232,
611,
262,
352,
301,
1232,
318,
513,
12,
16,
290,
262,
4816,
362,
318,
6441,
6332,
425,
390,
8591,
285,
288,
1437,
288,
6,
282,
1362,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
43239,
2414,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
362,
358,
1232,
611,
262,
352,
301,
1232,
318,
513,
12,
16,
290,
262,
4816,
362,
318,
6441,
6332,
425,
390,
8591,
285,
288,
1437,
288,
6,
282,
1362,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
43239,
2414,
... |
What is Laid Down, when Hull Number is 'CVN-69'? | SELECT "Laid down" FROM table_61234 WHERE "Hull Number" = 'cvn-69' | [
2061,
318,
406,
1698,
5588,
11,
618,
28238,
7913,
318,
705,
33538,
45,
12,
3388,
30960,
46506,
366,
43,
1698,
866,
1,
16034,
3084,
62,
43610,
2682,
33411,
366,
39,
724,
7913,
1,
796,
705,
33967,
77,
12,
3388,
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,
406,
1698,
5588,
11,
618,
28238,
7913,
318,
705,
33538,
45,
12,
3388,
30960,
46506,
366,
43,
1698,
866,
1,
16034,
3084,
62,
43610,
2682,
33411,
366,
39,
724,
7913,
1,
796,
705,
33967,
77,
12,
3388,
6
] |
Who's the incumbent in the district that first elected in 1969? | SELECT "Incumbent" FROM table_18169 WHERE "First elected" = '1969' | [
8241,
338,
262,
23526,
287,
262,
4783,
326,
717,
7018,
287,
16450,
30,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
1507,
22172,
33411,
366,
5962,
7018,
1,
796,
705,
38391,
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
] | [
8241,
338,
262,
23526,
287,
262,
4783,
326,
717,
7018,
287,
16450,
30,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
1507,
22172,
33411,
366,
5962,
7018,
1,
796,
705,
38391,
6
] |
Who was the visitor when ward recorded the decision with a record of 22 21 4? | SELECT "Visitor" FROM table_51474 WHERE "Decision" = 'ward' AND "Record" = '22–21–4' | [
8241,
373,
262,
21493,
618,
15305,
6264,
262,
2551,
351,
257,
1700,
286,
2534,
2310,
604,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
47396,
4524,
33411,
366,
10707,
1166,
1,
796,
705,
904,
6,
5357,
366,
23739,
1,
796,
705,
182... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21493,
618,
15305,
6264,
262,
2551,
351,
257,
1700,
286,
2534,
2310,
604,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
47396,
4524,
33411,
366,
10707,
1166,
1,
796,
705,
904,
6,
5357,
366,
23739,
1,
796,
705,
182... |
Show the different nationalities and the number of journalists of each nationality in a bar chart, and I want to sort in ascending by the x axis. | SELECT Nationality, COUNT(*) FROM journalist GROUP BY Nationality ORDER BY Nationality | [
15307,
262,
1180,
2260,
871,
290,
262,
1271,
286,
9046,
286,
1123,
29835,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
3297,
287,
41988,
416,
262,
2124,
16488,
13,
46506,
2351,
414,
11,
327,
28270,
7,
28104,
16034,
10099,
44441,
1105... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
2260,
871,
290,
262,
1271,
286,
9046,
286,
1123,
29835,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
3297,
287,
41988,
416,
262,
2124,
16488,
13,
46506,
2351,
414,
11,
327,
28270,
7,
28104,
16034,
10099,
44441,
1105... |
What is the total administrative population of Shanghai? | SELECT COUNT("Administrative Population (2010)") FROM table_20848 WHERE "City" = 'Shanghai' | [
2061,
318,
262,
2472,
11553,
3265,
286,
21865,
30,
46506,
327,
28270,
7203,
41862,
13260,
20133,
357,
10333,
8,
4943,
16034,
3084,
62,
21315,
2780,
33411,
366,
14941,
1,
796,
705,
2484,
272,
20380,
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,
318,
262,
2472,
11553,
3265,
286,
21865,
30,
46506,
327,
28270,
7203,
41862,
13260,
20133,
357,
10333,
8,
4943,
16034,
3084,
62,
21315,
2780,
33411,
366,
14941,
1,
796,
705,
2484,
272,
20380,
6
] |
Is A History of Modern Psychology only taught by one person , Prof. Hull ? | SELECT DISTINCT course.department, course.name, course.number, instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.name LIKE '%A History of Modern Psychology%' AND NOT instructor.name LIKE '%Hull%' AND offering_instructor.instructor... | [
3792,
317,
7443,
286,
12495,
18430,
691,
7817,
416,
530,
1048,
837,
4415,
13,
28238,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
21187,
13,
3672,
16034,
1781,
11,
1781,
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... | [
3792,
317,
7443,
286,
12495,
18430,
691,
7817,
416,
530,
1048,
837,
4415,
13,
28238,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
21187,
13,
3672,
16034,
1781,
11,
1781,
62,
... |
was the sandia peak tramway innagurate before or after the 3s aerial tramway ? | SELECT (SELECT "year of inauguration" FROM table_203_457 WHERE "tramway" = 'sandia peak tramway') < (SELECT "year of inauguration" FROM table_203_457 WHERE "tramway" = '3s aerial tramway') | [
9776,
262,
6450,
544,
9103,
29957,
1014,
3527,
363,
15537,
878,
393,
706,
262,
513,
82,
17789,
29957,
1014,
5633,
46506,
357,
46506,
366,
1941,
286,
23166,
1,
16034,
3084,
62,
22416,
62,
33032,
33411,
366,
83,
859,
1014,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9776,
262,
6450,
544,
9103,
29957,
1014,
3527,
363,
15537,
878,
393,
706,
262,
513,
82,
17789,
29957,
1014,
5633,
46506,
357,
46506,
366,
1941,
286,
23166,
1,
16034,
3084,
62,
22416,
62,
33032,
33411,
366,
83,
859,
1014,
1,
796,
705,
... |
Graph describing how does community respond to your activity. http://meta.stackexchange.com/questions/244679/graph-describing-how-does-community-respond-to-your-activity | SELECT CreationDate, 'Posted ' + SUBSTRING('QA', PostTypeId, 1) AS event, Id AS "post_link", OwnerUserId AS "user_link" FROM Posts WHERE OwnerUserId = @uid UNION SELECT p.CreationDate, 'Received A', p.Id, p.OwnerUserId FROM Posts AS p INNER JOIN Posts AS oq ON oq.Id = p.ParentId WHERE oq.OwnerUserId = @uid UNION SELECT... | [
37065,
12059,
703,
857,
2055,
3031,
284,
534,
3842,
13,
2638,
1378,
28961,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
6138,
507,
14,
1731,
24669,
24,
14,
34960,
12,
20147,
23098,
12,
4919,
12,
22437,
12,
28158,
12,
5546,
12,
1462,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
37065,
12059,
703,
857,
2055,
3031,
284,
534,
3842,
13,
2638,
1378,
28961,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
6138,
507,
14,
1731,
24669,
24,
14,
34960,
12,
20147,
23098,
12,
4919,
12,
22437,
12,
28158,
12,
5546,
12,
1462,
... |
what is the number of patients whose age is less than 61 and drug route is im? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "61" AND prescriptions.route = "IM" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8454,
290,
2563,
6339,
318,
545,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2479,
318,
1342,
621,
8454,
290,
2563,
6339,
318,
545,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
1... |
Who was the winner of Stage 9 when then general classification was Danilo Di Luca? | SELECT "Winner" FROM table_13639 WHERE "General classification" = 'danilo di luca' AND "Stage" = '9' | [
8241,
373,
262,
8464,
286,
15371,
860,
618,
788,
2276,
17923,
373,
6035,
18526,
6031,
7598,
64,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
20809,
2670,
33411,
366,
12218,
17923,
1,
796,
705,
25604,
18526,
2566,
17115,
64,
6,
5357,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
8464,
286,
15371,
860,
618,
788,
2276,
17923,
373,
6035,
18526,
6031,
7598,
64,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
20809,
2670,
33411,
366,
12218,
17923,
1,
796,
705,
25604,
18526,
2566,
17115,
64,
6,
5357,
366... |
what is the total number of states ? | SELECT COUNT("name") FROM table_203_190 | [
10919,
318,
262,
2472,
1271,
286,
2585,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
22416,
62,
19782
] | [
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,
2585,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
22416,
62,
19782
] |
how many patients died in or before year 2115 had s/p fall as their primary disease? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "S/P FALL" AND demographic.dod_year <= "2115.0" | [
4919,
867,
3871,
3724,
287,
393,
878,
614,
362,
15363,
550,
264,
14,
79,
2121,
355,
511,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
3724,
287,
393,
878,
614,
362,
15363,
550,
264,
14,
79,
2121,
355,
511,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366... |
How much is a product with a Sampling Rate of 12-bit 40khz? | SELECT price FROM table_name_65 WHERE sampling_rate = "12-bit 40khz" | [
2437,
881,
318,
257,
1720,
351,
257,
3409,
11347,
14806,
286,
1105,
12,
2545,
2319,
14636,
89,
30,
46506,
2756,
16034,
3084,
62,
3672,
62,
2996,
33411,
19232,
62,
4873,
796,
366,
1065,
12,
2545,
2319,
14636,
89,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
1720,
351,
257,
3409,
11347,
14806,
286,
1105,
12,
2545,
2319,
14636,
89,
30,
46506,
2756,
16034,
3084,
62,
3672,
62,
2996,
33411,
19232,
62,
4873,
796,
366,
1065,
12,
2545,
2319,
14636,
89,
1
] |
Name the mccain % for dukes | SELECT mccain__percentage FROM table_15929156_3 WHERE county = "Dukes" | [
5376,
262,
285,
535,
391,
4064,
329,
288,
31469,
46506,
285,
535,
391,
834,
25067,
496,
16034,
3084,
62,
19707,
1959,
21599,
62,
18,
33411,
7968,
796,
366,
35,
31469,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
285,
535,
391,
4064,
329,
288,
31469,
46506,
285,
535,
391,
834,
25067,
496,
16034,
3084,
62,
19707,
1959,
21599,
62,
18,
33411,
7968,
796,
366,
35,
31469,
1
] |
Name the avg start for avg finish of 18.3 | SELECT avg_start FROM table_2187333_1 WHERE avg_finish = "18.3" | [
5376,
262,
42781,
923,
329,
42781,
5461,
286,
1248,
13,
18,
46506,
42781,
62,
9688,
16034,
3084,
62,
17,
23451,
20370,
62,
16,
33411,
42781,
62,
15643,
680,
796,
366,
1507,
13,
18,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
42781,
923,
329,
42781,
5461,
286,
1248,
13,
18,
46506,
42781,
62,
9688,
16034,
3084,
62,
17,
23451,
20370,
62,
16,
33411,
42781,
62,
15643,
680,
796,
366,
1507,
13,
18,
1
] |
What is the value for Position, when the Series is the Macau Grand Prix, and when the Season is before 2007? | SELECT position FROM table_name_98 WHERE series = "macau grand prix" AND season < 2007 | [
2061,
318,
262,
1988,
329,
23158,
11,
618,
262,
7171,
318,
262,
4100,
559,
5675,
23832,
11,
290,
618,
262,
7369,
318,
878,
4343,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4089,
33411,
2168,
796,
366,
20285,
559,
4490,
1293,
87,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1988,
329,
23158,
11,
618,
262,
7171,
318,
262,
4100,
559,
5675,
23832,
11,
290,
618,
262,
7369,
318,
878,
4343,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4089,
33411,
2168,
796,
366,
20285,
559,
4490,
1293,
87,
1,... |
what is the maximum total cost for the hospital involving a procedure called ct scan - spiral ct since 2104? | SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'ct scan - spiral ct')) AND STRFTIME('%y', co... | [
10919,
318,
262,
5415,
2472,
1575,
329,
262,
4436,
7411,
257,
8771,
1444,
269,
83,
9367,
532,
23642,
269,
83,
1201,
362,
13464,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
5415,
2472,
1575,
329,
262,
4436,
7411,
257,
8771,
1444,
269,
83,
9367,
532,
23642,
269,
83,
1201,
362,
13464,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
26... |
What are the number of the dates in which the mean sea level pressure was between 303 and 31?, display in desc by the Y-axis. | SELECT date, COUNT(date) FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 ORDER BY COUNT(date) DESC | [
2061,
389,
262,
1271,
286,
262,
9667,
287,
543,
262,
1612,
5417,
1241,
3833,
373,
1022,
30727,
290,
3261,
21747,
3359,
287,
1715,
416,
262,
575,
12,
22704,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,
1612,
62,
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... | [
2061,
389,
262,
1271,
286,
262,
9667,
287,
543,
262,
1612,
5417,
1241,
3833,
373,
1022,
30727,
290,
3261,
21747,
3359,
287,
1715,
416,
262,
575,
12,
22704,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,
1612,
62,
8... |
what is the ingesting method of hydrocortisone na succinate pf 100 mg ij solr? | SELECT DISTINCT medication.routeadmin FROM medication WHERE medication.drugname = 'hydrocortisone na succinate pf 100 mg ij solr' | [
10919,
318,
262,
26151,
278,
2446,
286,
7409,
12204,
419,
271,
505,
12385,
17458,
4559,
279,
69,
1802,
10527,
1312,
73,
1540,
81,
30,
46506,
360,
8808,
1268,
4177,
14103,
13,
81,
448,
1329,
1084,
16034,
14103,
33411,
14103,
13,
30349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26151,
278,
2446,
286,
7409,
12204,
419,
271,
505,
12385,
17458,
4559,
279,
69,
1802,
10527,
1312,
73,
1540,
81,
30,
46506,
360,
8808,
1268,
4177,
14103,
13,
81,
448,
1329,
1084,
16034,
14103,
33411,
14103,
13,
30349,
... |
If your rank by average is 9, what is the name of the couple? | SELECT couple FROM table_19744915_14 WHERE rank_by_average = 9 | [
1532,
534,
4279,
416,
2811,
318,
860,
11,
644,
318,
262,
1438,
286,
262,
3155,
30,
46506,
3155,
16034,
3084,
62,
24991,
31911,
1314,
62,
1415,
33411,
4279,
62,
1525,
62,
23913,
796,
860
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
534,
4279,
416,
2811,
318,
860,
11,
644,
318,
262,
1438,
286,
262,
3155,
30,
46506,
3155,
16034,
3084,
62,
24991,
31911,
1314,
62,
1415,
33411,
4279,
62,
1525,
62,
23913,
796,
860
] |
What Category has a Year that's smaller than 2006, has Result of Nominated, and a Title of Cold Feet? | SELECT "Category" FROM table_67214 WHERE "Year" < '2006' AND "Result" = 'nominated' AND "Title" = 'cold feet' | [
2061,
21743,
468,
257,
6280,
326,
338,
4833,
621,
4793,
11,
468,
25414,
286,
21198,
3898,
11,
290,
257,
11851,
286,
10250,
43391,
30,
46506,
366,
27313,
1,
16034,
3084,
62,
3134,
22291,
33411,
366,
17688,
1,
1279,
705,
13330,
6,
5357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
21743,
468,
257,
6280,
326,
338,
4833,
621,
4793,
11,
468,
25414,
286,
21198,
3898,
11,
290,
257,
11851,
286,
10250,
43391,
30,
46506,
366,
27313,
1,
16034,
3084,
62,
3134,
22291,
33411,
366,
17688,
1,
1279,
705,
13330,
6,
5357,... |
Which Team #1 had a 1st leg of 78-78? | SELECT "Team #1" FROM table_50628 WHERE "1st leg" = '78-78' | [
13828,
4816,
1303,
16,
550,
257,
352,
301,
1232,
286,
8699,
12,
3695,
30,
46506,
366,
15592,
1303,
16,
1,
16034,
3084,
62,
35638,
2078,
33411,
366,
16,
301,
1232,
1,
796,
705,
3695,
12,
3695,
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
] | [
13828,
4816,
1303,
16,
550,
257,
352,
301,
1232,
286,
8699,
12,
3695,
30,
46506,
366,
15592,
1303,
16,
1,
16034,
3084,
62,
35638,
2078,
33411,
366,
16,
301,
1232,
1,
796,
705,
3695,
12,
3695,
6
] |
What is the average crowd size for princes park? | SELECT AVG(crowd) FROM table_name_97 WHERE venue = "princes park" | [
2061,
318,
262,
2811,
4315,
2546,
329,
42676,
3952,
30,
46506,
35224,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
14359,
796,
366,
1050,
17386,
3952,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4315,
2546,
329,
42676,
3952,
30,
46506,
35224,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
14359,
796,
366,
1050,
17386,
3952,
1
] |
What are the countries of all airlines whose names start with Orbit, and count them by a pie chart | SELECT country, COUNT(country) FROM airlines WHERE name LIKE 'Orbit%' GROUP BY country | [
2061,
389,
262,
2678,
286,
477,
26225,
3025,
3891,
923,
351,
38161,
11,
290,
954,
606,
416,
257,
2508,
8262,
46506,
1499,
11,
327,
28270,
7,
19315,
8,
16034,
26225,
33411,
1438,
34178,
705,
5574,
2545,
4,
6,
44441,
11050,
1499
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
2678,
286,
477,
26225,
3025,
3891,
923,
351,
38161,
11,
290,
954,
606,
416,
257,
2508,
8262,
46506,
1499,
11,
327,
28270,
7,
19315,
8,
16034,
26225,
33411,
1438,
34178,
705,
5574,
2545,
4,
6,
44441,
11050,
1499
] |
what exactly does the periph t cell lym abdom stand for? | SELECT d_icd_diagnoses.long_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'periph t cell lym abdom' UNION SELECT d_icd_procedures.long_title FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'periph t cell lym abdom' | [
10919,
3446,
857,
262,
583,
13323,
256,
2685,
300,
4948,
20329,
1302,
329,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
6511,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
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,
1... | [
10919,
3446,
857,
262,
583,
13323,
256,
2685,
300,
4948,
20329,
1302,
329,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
6511,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
1... |
Return a pie chart about the number of customer addresses in each address type code. | SELECT address_type_code, COUNT(address_type_code) FROM Customer_Addresses AS T1 JOIN Premises AS T2 ON T1.premise_id = T2.premise_id GROUP BY address_type_code | [
13615,
257,
2508,
8262,
546,
262,
1271,
286,
6491,
9405,
287,
1123,
2209,
2099,
2438,
13,
46506,
2209,
62,
4906,
62,
8189,
11,
327,
28270,
7,
21975,
62,
4906,
62,
8189,
8,
16034,
22092,
62,
4550,
16746,
7054,
309,
16,
32357,
1268,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
257,
2508,
8262,
546,
262,
1271,
286,
6491,
9405,
287,
1123,
2209,
2099,
2438,
13,
46506,
2209,
62,
4906,
62,
8189,
11,
327,
28270,
7,
21975,
62,
4906,
62,
8189,
8,
16034,
22092,
62,
4550,
16746,
7054,
309,
16,
32357,
1268,
6... |
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 last_name and department_id , and I want to list in descending by the X please. | SELECT LAST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY LAST_NAME DESC | [
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,
938,
62,
3672,
290,
5011,
62,
312,
837,
290,
314,
765,
284,
1351,
287,
31491,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
62,
3672,
290,
5011,
62,
312,
837,
290,
314,
765,
284,
1351,
287,
31491,
... |
how many teams had a manner of departure due to there contract being terminated ? | SELECT COUNT("team") FROM table_203_450 WHERE "manner of departure" = 'contract terminated' | [
4919,
867,
3466,
550,
257,
5642,
286,
12928,
2233,
284,
612,
2775,
852,
23083,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
22416,
62,
17885,
33411,
366,
805,
1008,
286,
12928,
1,
796,
705,
28484,
23083,
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
] | [
4919,
867,
3466,
550,
257,
5642,
286,
12928,
2233,
284,
612,
2775,
852,
23083,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
22416,
62,
17885,
33411,
366,
805,
1008,
286,
12928,
1,
796,
705,
28484,
23083,
6
] |
has patient 25365 been admitted to the hospital in 2105? | SELECT COUNT(*) > 0 FROM admissions WHERE admissions.subject_id = 25365 AND STRFTIME('%y', admissions.admittime) = '2105' | [
10134,
5827,
1679,
24760,
587,
6848,
284,
262,
4436,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1679,
24760,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
25349,
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
] | [
10134,
5827,
1679,
24760,
587,
6848,
284,
262,
4436,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1679,
24760,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
25349,
13,... |
For those products with a price between 60 and 120, draw a bar chart about the distribution of name and code , and display by the names in ascending. | SELECT Name, Code FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Name | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
3359,
416,
262,
3891,
287,
41988,
13,
46506,
6530,
11,
6127,
16034,
18675,
33411,
7886,
38651,
8845,
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,
1,
1,
1,
1
] | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
3359,
416,
262,
3891,
287,
41988,
13,
46506,
6530,
11,
6127,
16034,
18675,
33411,
7886,
38651,
8845,
16... |
among the patients aged 60 or above in this year, what were the top five most frequent procedures? | SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age >= 60) AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'st... | [
35131,
262,
3871,
9722,
3126,
393,
2029,
287,
428,
614,
11,
644,
547,
262,
1353,
1936,
749,
10792,
9021,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35131,
262,
3871,
9722,
3126,
393,
2029,
287,
428,
614,
11,
644,
547,
262,
1353,
1936,
749,
10792,
9021,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
... |
What party did the incumbent Joseph Pearson belong to? | SELECT party FROM table_2668367_14 WHERE incumbent = "Joseph Pearson" | [
2061,
2151,
750,
262,
23526,
7212,
31074,
5594,
284,
30,
46506,
2151,
16034,
3084,
62,
2075,
3104,
27824,
62,
1415,
33411,
23526,
796,
366,
29458,
31074,
1
] | [
1,
1,
1,
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,
2151,
750,
262,
23526,
7212,
31074,
5594,
284,
30,
46506,
2151,
16034,
3084,
62,
2075,
3104,
27824,
62,
1415,
33411,
23526,
796,
366,
29458,
31074,
1
] |
Number of Questions before introducing bounties to SO. | SELECT COUNT(Id) FROM Posts WHERE CreationDate < '2009-01-27' AND PostTypeId = 1 | [
15057,
286,
20396,
878,
16118,
49937,
444,
284,
12809,
13,
46506,
327,
28270,
7,
7390,
8,
16034,
12043,
33411,
21582,
10430,
1279,
705,
10531,
12,
486,
12,
1983,
6,
5357,
2947,
6030,
7390,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15057,
286,
20396,
878,
16118,
49937,
444,
284,
12809,
13,
46506,
327,
28270,
7,
7390,
8,
16034,
12043,
33411,
21582,
10430,
1279,
705,
10531,
12,
486,
12,
1983,
6,
5357,
2947,
6030,
7390,
796,
352
] |
How many sitting Representatives are there in the New York 10 polling area? | SELECT COUNT(incumbent) FROM table_1342256_32 WHERE district = "New York 10" | [
2437,
867,
5586,
17132,
389,
612,
287,
262,
968,
1971,
838,
13985,
1989,
30,
46506,
327,
28270,
7,
1939,
2178,
298,
8,
16034,
3084,
62,
1485,
3682,
11645,
62,
2624,
33411,
4783,
796,
366,
3791,
1971,
838,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5586,
17132,
389,
612,
287,
262,
968,
1971,
838,
13985,
1989,
30,
46506,
327,
28270,
7,
1939,
2178,
298,
8,
16034,
3084,
62,
1485,
3682,
11645,
62,
2624,
33411,
4783,
796,
366,
3791,
1971,
838,
1
] |
Find Team_Name and All_Games_Percent , and visualize them by a bar chart, and list in descending by the y-axis. | SELECT Team_Name, All_Games_Percent FROM basketball_match ORDER BY All_Games_Percent DESC | [
16742,
4816,
62,
5376,
290,
1439,
62,
24474,
62,
31905,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
1351,
287,
31491,
416,
262,
331,
12,
22704,
13,
46506,
4816,
62,
5376,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
156... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4816,
62,
5376,
290,
1439,
62,
24474,
62,
31905,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
1351,
287,
31491,
416,
262,
331,
12,
22704,
13,
46506,
4816,
62,
5376,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
156... |
What contestant was premiered on July 25? | SELECT "Contestant Name" FROM table_22384 WHERE "Date Premiered (2009)" = 'July 25' | [
2061,
44047,
373,
44119,
319,
2901,
1679,
30,
46506,
366,
4264,
395,
415,
6530,
1,
16034,
3084,
62,
1828,
22842,
33411,
366,
10430,
6929,
494,
445,
357,
10531,
16725,
796,
705,
16157,
1679,
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,
44047,
373,
44119,
319,
2901,
1679,
30,
46506,
366,
4264,
395,
415,
6530,
1,
16034,
3084,
62,
1828,
22842,
33411,
366,
10430,
6929,
494,
445,
357,
10531,
16725,
796,
705,
16157,
1679,
6
] |
Find the total revenue created by the companies whose headquarter is located at Austin. | SELECT SUM(revenue) FROM manufacturers WHERE headquarter = 'Austin' | [
16742,
262,
2472,
6426,
2727,
416,
262,
2706,
3025,
1182,
24385,
318,
5140,
379,
9533,
13,
46506,
35683,
7,
260,
4080,
8,
16034,
11372,
33411,
1182,
24385,
796,
705,
40245,
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
] | [
16742,
262,
2472,
6426,
2727,
416,
262,
2706,
3025,
1182,
24385,
318,
5140,
379,
9533,
13,
46506,
35683,
7,
260,
4080,
8,
16034,
11372,
33411,
1182,
24385,
796,
705,
40245,
6
] |
what is the declination (j2000) that has a constellation of hydra and a right ascension (j2000) of 10h46m44.9s? | SELECT "Declination ( J2000 )" FROM table_55074 WHERE "Constellation" = 'hydra' AND "Right ascension ( J2000 )" = '10h46m44.9s' | [
10919,
318,
262,
2377,
1883,
357,
73,
11024,
8,
326,
468,
257,
38712,
286,
25039,
290,
257,
826,
10570,
3004,
357,
73,
11024,
8,
286,
838,
71,
3510,
76,
2598,
13,
24,
82,
30,
46506,
366,
37835,
1883,
357,
449,
11024,
1267,
1,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2377,
1883,
357,
73,
11024,
8,
326,
468,
257,
38712,
286,
25039,
290,
257,
826,
10570,
3004,
357,
73,
11024,
8,
286,
838,
71,
3510,
76,
2598,
13,
24,
82,
30,
46506,
366,
37835,
1883,
357,
449,
11024,
1267,
1,
1603... |
Average post score by month. | SELECT AVG(Score) AS Average, DATEPART(month, CreationDate) AS Month, DATEPART(year, CreationDate) AS Year FROM Posts WHERE CreationDate > DATEADD(year, -2, GETDATE()) GROUP BY DATEPART(month, CreationDate), DATEPART(year, CreationDate) ORDER BY DATEPART(year, CreationDate) DESC, DATEPART(month, CreationDate) DESC | [
26287,
1281,
4776,
416,
1227,
13,
46506,
35224,
7,
26595,
8,
7054,
13475,
11,
360,
6158,
30709,
7,
8424,
11,
21582,
10430,
8,
7054,
16061,
11,
360,
6158,
30709,
7,
1941,
11,
21582,
10430,
8,
7054,
6280,
16034,
12043,
33411,
21582,
104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1281,
4776,
416,
1227,
13,
46506,
35224,
7,
26595,
8,
7054,
13475,
11,
360,
6158,
30709,
7,
8424,
11,
21582,
10430,
8,
7054,
16061,
11,
360,
6158,
30709,
7,
1941,
11,
21582,
10430,
8,
7054,
6280,
16034,
12043,
33411,
21582,
104... |
What is the name of the shield winner in which the mls cup winner and mls supporters shield runner up is Chivas usa? | SELECT "MLS Cup Winner" FROM table_16471 WHERE "MLS Supporters Shield Runner-Up" = 'Chivas USA' | [
2061,
318,
262,
1438,
286,
262,
7614,
8464,
287,
543,
262,
285,
7278,
6508,
8464,
290,
285,
7278,
5941,
7614,
17490,
510,
318,
609,
38630,
514,
64,
30,
46506,
366,
5805,
50,
5454,
25358,
1,
16034,
3084,
62,
1433,
38339,
33411,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
7614,
8464,
287,
543,
262,
285,
7278,
6508,
8464,
290,
285,
7278,
5941,
7614,
17490,
510,
318,
609,
38630,
514,
64,
30,
46506,
366,
5805,
50,
5454,
25358,
1,
16034,
3084,
62,
1433,
38339,
33411,
366,
... |
When 'r' tags were created part 2. | SELECT TagName, CreationDate, LastEditDate, LastActivityDate, ClosedDate, Tags FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId WHERE TagName = 'r' AND CreationDate > '2013-06-04 00:07:43' ORDER BY CreationDate | [
2215,
705,
81,
6,
15940,
547,
2727,
636,
362,
13,
46506,
17467,
5376,
11,
21582,
10430,
11,
4586,
18378,
10430,
11,
4586,
16516,
10430,
11,
30550,
10430,
11,
44789,
16034,
44789,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
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... | [
2215,
705,
81,
6,
15940,
547,
2727,
636,
362,
13,
46506,
17467,
5376,
11,
21582,
10430,
11,
4586,
18378,
10430,
11,
4586,
16516,
10430,
11,
30550,
10430,
11,
44789,
16034,
44789,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
... |
what is primary disease and procedure short title of subject name lue white? | SELECT demographic.diagnosis, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Lue White" | [
10919,
318,
4165,
4369,
290,
8771,
1790,
3670,
286,
2426,
1438,
300,
518,
2330,
30,
46506,
16728,
13,
47356,
5958,
11,
9021,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
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
] | [
10919,
318,
4165,
4369,
290,
8771,
1790,
3670,
286,
2426,
1438,
300,
518,
2330,
30,
46506,
16728,
13,
47356,
5958,
11,
9021,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
... |
What is the License when the Platform is windows and the Name is Altirra? | SELECT "License" FROM table_55983 WHERE "Platform" = 'windows' AND "Name" = 'altirra' | [
2061,
318,
262,
13789,
618,
262,
19193,
318,
9168,
290,
262,
6530,
318,
12344,
343,
430,
30,
46506,
366,
34156,
1,
16034,
3084,
62,
2816,
4089,
18,
33411,
366,
37148,
1,
796,
705,
28457,
6,
5357,
366,
5376,
1,
796,
705,
2501,
343,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13789,
618,
262,
19193,
318,
9168,
290,
262,
6530,
318,
12344,
343,
430,
30,
46506,
366,
34156,
1,
16034,
3084,
62,
2816,
4089,
18,
33411,
366,
37148,
1,
796,
705,
28457,
6,
5357,
366,
5376,
1,
796,
705,
2501,
343,
... |
did patient 030-80604 have any procedure during the last year? | SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-80604')) AND DATETIME(treatment.treatmenttime, 'start of year') = DATETI... | [
20839,
5827,
657,
1270,
12,
1795,
31916,
423,
597,
8771,
1141,
262,
938,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20839,
5827,
657,
1270,
12,
1795,
31916,
423,
597,
8771,
1141,
262,
938,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
1603... |
Which R.A. (J2000) has a Name of ngc 1515? | SELECT ra___j2000__ FROM table_name_64 WHERE name = "ngc 1515" | [
13828,
371,
13,
32,
13,
357,
41,
11024,
8,
468,
257,
6530,
286,
23370,
66,
1315,
1314,
30,
46506,
2179,
17569,
73,
11024,
834,
16034,
3084,
62,
3672,
62,
2414,
33411,
1438,
796,
366,
782,
66,
1315,
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
] | [
13828,
371,
13,
32,
13,
357,
41,
11024,
8,
468,
257,
6530,
286,
23370,
66,
1315,
1314,
30,
46506,
2179,
17569,
73,
11024,
834,
16034,
3084,
62,
3672,
62,
2414,
33411,
1438,
796,
366,
782,
66,
1315,
1314,
1
] |
What are the name, height and prominence of mountains which do not belong to the range 'Aberdare Range'? | SELECT name, height, prominence FROM mountain WHERE range <> 'Aberdare Range' | [
2061,
389,
262,
1438,
11,
6001,
290,
31198,
286,
12269,
543,
466,
407,
5594,
284,
262,
2837,
705,
32,
527,
67,
533,
13667,
30960,
46506,
1438,
11,
6001,
11,
31198,
16034,
8598,
33411,
2837,
1279,
29,
705,
32,
527,
67,
533,
13667,
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,
389,
262,
1438,
11,
6001,
290,
31198,
286,
12269,
543,
466,
407,
5594,
284,
262,
2837,
705,
32,
527,
67,
533,
13667,
30960,
46506,
1438,
11,
6001,
11,
31198,
16034,
8598,
33411,
2837,
1279,
29,
705,
32,
527,
67,
533,
13667,
6
... |
What is the Title when the winner was suntory sungoliath, and a Season of 2011-12 details? | SELECT "Title" FROM table_76144 WHERE "Winner" = 'suntory sungoliath' AND "Season" = '2011-12 details' | [
2061,
318,
262,
11851,
618,
262,
8464,
373,
264,
2797,
652,
23568,
43009,
11,
290,
257,
7369,
286,
2813,
12,
1065,
3307,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
4304,
18444,
33411,
366,
48056,
1,
796,
705,
82,
2797,
652,
23568,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
11851,
618,
262,
8464,
373,
264,
2797,
652,
23568,
43009,
11,
290,
257,
7369,
286,
2813,
12,
1065,
3307,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
4304,
18444,
33411,
366,
48056,
1,
796,
705,
82,
2797,
652,
23568,
4... |
les technologies Big Data, Machine learning et d'intelligence artificielle avec R et Python. | SELECT * FROM Posts WHERE Id < 150000 | [
829,
8514,
4403,
6060,
11,
10850,
4673,
2123,
288,
6,
32683,
29829,
8207,
293,
257,
35138,
371,
2123,
11361,
13,
46506,
1635,
16034,
12043,
33411,
5121,
1279,
1315,
2388
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
829,
8514,
4403,
6060,
11,
10850,
4673,
2123,
288,
6,
32683,
29829,
8207,
293,
257,
35138,
371,
2123,
11361,
13,
46506,
1635,
16034,
12043,
33411,
5121,
1279,
1315,
2388
] |
What year was the 4th Place Team of the Wyoming Angus, Johnstown, Co? | SELECT COUNT("Year") FROM table_64334 WHERE "4th Place Team" = 'wyoming angus, johnstown, co' | [
2061,
614,
373,
262,
604,
400,
8474,
4816,
286,
262,
24533,
41182,
11,
1757,
27928,
11,
1766,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
2414,
31380,
33411,
366,
19,
400,
8474,
4816,
1,
796,
705,
21768,
3383,
3550,
385... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
262,
604,
400,
8474,
4816,
286,
262,
24533,
41182,
11,
1757,
27928,
11,
1766,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
2414,
31380,
33411,
366,
19,
400,
8474,
4816,
1,
796,
705,
21768,
3383,
3550,
385... |
On what date was the game in Week 9 played? | SELECT date FROM table_name_70 WHERE week = 9 | [
2202,
644,
3128,
373,
262,
983,
287,
6119,
860,
2826,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2154,
33411,
1285,
796,
860
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
373,
262,
983,
287,
6119,
860,
2826,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2154,
33411,
1285,
796,
860
] |
List the top 10 customers by total gross sales. List customers' first and last name and total gross sales. | SELECT T1.first_name, T1.last_name, SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY SUM(T2.total) DESC LIMIT 10 | [
8053,
262,
1353,
838,
4297,
416,
2472,
10319,
4200,
13,
7343,
4297,
6,
717,
290,
938,
1438,
290,
2472,
10319,
4200,
13,
46506,
309,
16,
13,
11085,
62,
3672,
11,
309,
16,
13,
12957,
62,
3672,
11,
35683,
7,
51,
17,
13,
23350,
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,
1... | [
8053,
262,
1353,
838,
4297,
416,
2472,
10319,
4200,
13,
7343,
4297,
6,
717,
290,
938,
1438,
290,
2472,
10319,
4200,
13,
46506,
309,
16,
13,
11085,
62,
3672,
11,
309,
16,
13,
12957,
62,
3672,
11,
35683,
7,
51,
17,
13,
23350,
8,
1... |
For those records from the products and each product's manufacturer, find name and the average of manufacturer , and group by attribute name, and visualize them by a bar chart, and sort by the bars from high to low. | SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
1438,
290,
262,
2811,
286,
11554,
837,
290,
1448,
416,
11688,
1438,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
3297,
416,
262,
9210,
422,
1029,
284,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1064,
1438,
290,
262,
2811,
286,
11554,
837,
290,
1448,
416,
11688,
1438,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
3297,
416,
262,
9210,
422,
1029,
284,
18... |
What is the lowest number pick from san diego chargers? | SELECT MIN(pick) FROM table_name_3 WHERE team = "san diego chargers" | [
2061,
318,
262,
9016,
1271,
2298,
422,
5336,
4656,
2188,
2609,
364,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
1074,
796,
366,
12807,
4656,
2188,
2609,
364,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
2298,
422,
5336,
4656,
2188,
2609,
364,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
1074,
796,
366,
12807,
4656,
2188,
2609,
364,
1
] |
mmse range: 10 to 28 | SELECT * FROM table_train_98 WHERE mini_mental_state_examination_mmse >= 10 AND mini_mental_state_examination_mmse <= 28 | [
3020,
325,
2837,
25,
838,
284,
2579,
46506,
1635,
16034,
3084,
62,
27432,
62,
4089,
33411,
9927,
62,
37098,
62,
5219,
62,
47779,
62,
3020,
325,
18189,
838,
5357,
9927,
62,
37098,
62,
5219,
62,
47779,
62,
3020,
325,
19841,
2579
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3020,
325,
2837,
25,
838,
284,
2579,
46506,
1635,
16034,
3084,
62,
27432,
62,
4089,
33411,
9927,
62,
37098,
62,
5219,
62,
47779,
62,
3020,
325,
18189,
838,
5357,
9927,
62,
37098,
62,
5219,
62,
47779,
62,
3020,
325,
19841,
2579
] |
Who was the outgoing manager who departed due to fc energie cottbus purchased rights? | SELECT outgoing_manager FROM table_name_80 WHERE manner_of_departure = "fc energie cottbus purchased rights" | [
8241,
373,
262,
28181,
4706,
508,
24057,
2233,
284,
277,
66,
19647,
494,
269,
1252,
10885,
8155,
2489,
30,
46506,
28181,
62,
37153,
16034,
3084,
62,
3672,
62,
1795,
33411,
5642,
62,
1659,
62,
10378,
433,
495,
796,
366,
16072,
19647,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
28181,
4706,
508,
24057,
2233,
284,
277,
66,
19647,
494,
269,
1252,
10885,
8155,
2489,
30,
46506,
28181,
62,
37153,
16034,
3084,
62,
3672,
62,
1795,
33411,
5642,
62,
1659,
62,
10378,
433,
495,
796,
366,
16072,
19647,
4... |
Most Cassandra Questions answered for 2015. | SELECT Users.DisplayName, COUNT(*) AS questions FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId INNER JOIN Users ON Users.Id = Posts.OwnerUserId WHERE Tags.Id = 34113 AND Posts.CreationDate > '2015-01-01 00:00:00' GROUP BY Users.DisplayName ORDER BY questio... | [
6943,
46750,
20396,
9373,
329,
1853,
13,
46506,
18987,
13,
23114,
5376,
11,
327,
28270,
7,
28104,
7054,
2683,
16034,
44789,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
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... | [
6943,
46750,
20396,
9373,
329,
1853,
13,
46506,
18987,
13,
23114,
5376,
11,
327,
28270,
7,
28104,
7054,
2683,
16034,
44789,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
3268,
21479,
3235... |
Questions possibly solved by correcting typos. | SELECT a.Id AS "post_link", a.Body, a.CreationDate FROM Posts AS q INNER JOIN Posts AS a ON a.Id = q.AcceptedAnswerId WHERE LENGTH(a.Body) > 200 AND LENGTH(a.Body) < 300 AND q.ClosedDate IS NULL AND (LOWER(a.Body) LIKE '%typo%' OR LOWER(a.Body) LIKE '%spelled wrong%' OR LOWER(a.Body) LIKE '%spelled incorrectly%' OR LOW... | [
35741,
5457,
16019,
416,
39038,
1259,
1930,
13,
46506,
257,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
257,
13,
25842,
11,
257,
13,
12443,
341,
10430,
16034,
12043,
7054,
10662,
3268,
21479,
32357,
1268,
12043,
7054,
257,
6177,
257,
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... | [
35741,
5457,
16019,
416,
39038,
1259,
1930,
13,
46506,
257,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
257,
13,
25842,
11,
257,
13,
12443,
341,
10430,
16034,
12043,
7054,
10662,
3268,
21479,
32357,
1268,
12043,
7054,
257,
6177,
257,
13,... |
give me a good restaurant in mountain view for arabic food ? | SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'mountain view' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5 | [
26535,
502,
257,
922,
7072,
287,
8598,
1570,
329,
610,
397,
291,
2057,
5633,
46506,
4067,
13,
4803,
62,
17618,
11,
7072,
13,
3672,
16034,
4067,
11,
7072,
33411,
4067,
13,
19205,
62,
3672,
796,
705,
14948,
391,
1570,
6,
5357,
7072,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
922,
7072,
287,
8598,
1570,
329,
610,
397,
291,
2057,
5633,
46506,
4067,
13,
4803,
62,
17618,
11,
7072,
13,
3672,
16034,
4067,
11,
7072,
33411,
4067,
13,
19205,
62,
3672,
796,
705,
14948,
391,
1570,
6,
5357,
7072,
1... |
Which Debut year has a Player of noel carroll, and Games smaller than 12? | SELECT MAX(debut_year) FROM table_name_95 WHERE player = "noel carroll" AND games < 12 | [
13828,
1024,
4360,
614,
468,
257,
7853,
286,
645,
417,
1097,
2487,
11,
290,
5776,
4833,
621,
1105,
30,
46506,
25882,
7,
11275,
315,
62,
1941,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
2137,
796,
366,
3919,
417,
1097,
2487,
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
] | [
13828,
1024,
4360,
614,
468,
257,
7853,
286,
645,
417,
1097,
2487,
11,
290,
5776,
4833,
621,
1105,
30,
46506,
25882,
7,
11275,
315,
62,
1941,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
2137,
796,
366,
3919,
417,
1097,
2487,
1,
5357,... |
What was the circuit for Team Peter Jackson Racing in the ATCC Round 4 series? | SELECT "Circuit" FROM table_62371 WHERE "Team" = 'peter jackson racing' AND "Series" = 'atcc round 4' | [
2061,
373,
262,
10349,
329,
4816,
5613,
6612,
14954,
287,
262,
5161,
4093,
10485,
604,
2168,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
46872,
4869,
33411,
366,
15592,
1,
796,
705,
79,
2357,
14509,
1559,
11717,
6,
5357,
366,
279... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10349,
329,
4816,
5613,
6612,
14954,
287,
262,
5161,
4093,
10485,
604,
2168,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
46872,
4869,
33411,
366,
15592,
1,
796,
705,
79,
2357,
14509,
1559,
11717,
6,
5357,
366,
279... |
did patient 24971 be prescribed warfarin, albuterol mdi, or glucagon on their last hospital encounter? | SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24971 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND prescriptions.drug IN ('warfarin', 'albuterol mdi', 'glucagon') | [
20839,
5827,
34620,
4869,
307,
14798,
1175,
16370,
259,
11,
435,
4360,
263,
349,
285,
10989,
11,
393,
14182,
1840,
319,
511,
938,
4436,
8791,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
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... | [
20839,
5827,
34620,
4869,
307,
14798,
1175,
16370,
259,
11,
435,
4360,
263,
349,
285,
10989,
11,
393,
14182,
1840,
319,
511,
938,
4436,
8791,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
3... |
What is the common name of the animal whose length (AA) is 1323? | SELECT common_name FROM table_26957063_3 WHERE length__aa_ = 1323 | [
2061,
318,
262,
2219,
1438,
286,
262,
5044,
3025,
4129,
357,
3838,
8,
318,
1511,
1954,
30,
46506,
2219,
62,
3672,
16034,
3084,
62,
2075,
3865,
2154,
5066,
62,
18,
33411,
4129,
834,
7252,
62,
796,
1511,
1954
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2219,
1438,
286,
262,
5044,
3025,
4129,
357,
3838,
8,
318,
1511,
1954,
30,
46506,
2219,
62,
3672,
16034,
3084,
62,
2075,
3865,
2154,
5066,
62,
18,
33411,
4129,
834,
7252,
62,
796,
1511,
1954
] |
Show me about the distribution of ACC_Road and the sum of Team_ID , and group by attribute ACC_Road in a bar chart. | SELECT ACC_Road, SUM(Team_ID) FROM basketball_match GROUP BY ACC_Road | [
15307,
502,
546,
262,
6082,
286,
15859,
62,
29197,
290,
262,
2160,
286,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
287,
257,
2318,
8262,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
15592,
62,
2389,
8,
16034,
9669,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
502,
546,
262,
6082,
286,
15859,
62,
29197,
290,
262,
2160,
286,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
287,
257,
2318,
8262,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
15592,
62,
2389,
8,
16034,
9669,
... |
What is the median household income of butte? | SELECT median_household_income FROM table_1356555_2 WHERE county = "Butte" | [
2061,
318,
262,
14288,
6641,
3739,
286,
475,
660,
30,
46506,
14288,
62,
4803,
2946,
62,
12519,
16034,
3084,
62,
1485,
3980,
31046,
62,
17,
33411,
7968,
796,
366,
1537,
660,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
14288,
6641,
3739,
286,
475,
660,
30,
46506,
14288,
62,
4803,
2946,
62,
12519,
16034,
3084,
62,
1485,
3980,
31046,
62,
17,
33411,
7968,
796,
366,
1537,
660,
1
] |
When were the top 500 tags created?. | SELECT Tags.TagName, wiki.CreationDate AS "wiki_date", excerpt.CreationDate AS "excerpt_date", MIN(Posts.CreationDate) AS "first_post", COUNT(Tags.TagName) AS Uses FROM (((PostTags INNER JOIN Posts ON PostTags.PostId = Posts.Id) INNER JOIN Tags ON PostTags.TagId = Tags.Id) INNER JOIN Posts AS wiki ON Tags.WikiPostId = ... | [
2215,
547,
262,
1353,
5323,
15940,
2727,
30,
13,
46506,
44789,
13,
24835,
5376,
11,
22719,
13,
12443,
341,
10430,
7054,
366,
15466,
62,
4475,
1600,
20911,
13,
12443,
341,
10430,
7054,
366,
1069,
17040,
62,
4475,
1600,
20625,
7,
21496,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
1353,
5323,
15940,
2727,
30,
13,
46506,
44789,
13,
24835,
5376,
11,
22719,
13,
12443,
341,
10430,
7054,
366,
15466,
62,
4475,
1600,
20911,
13,
12443,
341,
10430,
7054,
366,
1069,
17040,
62,
4475,
1600,
20625,
7,
21496,
... |
Which co-singers appear in the movie Pyaasa? | SELECT Co - singers FROM table_2528382_2 WHERE movie_album = "Pyaasa" | [
13828,
763,
12,
12215,
364,
1656,
287,
262,
3807,
350,
3972,
15462,
30,
46506,
1766,
532,
39113,
16034,
3084,
62,
1495,
2078,
36243,
62,
17,
33411,
3807,
62,
40916,
796,
366,
47,
3972,
15462,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
763,
12,
12215,
364,
1656,
287,
262,
3807,
350,
3972,
15462,
30,
46506,
1766,
532,
39113,
16034,
3084,
62,
1495,
2078,
36243,
62,
17,
33411,
3807,
62,
40916,
796,
366,
47,
3972,
15462,
1
] |
What 's RCARTS 389 about ? | SELECT DISTINCT description, name FROM course WHERE department = 'RCARTS' AND number = 389 | [
2061,
705,
82,
13987,
1503,
4694,
49633,
546,
5633,
46506,
360,
8808,
1268,
4177,
6764,
11,
1438,
16034,
1781,
33411,
5011,
796,
705,
7397,
1503,
4694,
6,
5357,
1271,
796,
49633
] | [
1,
1,
1,
1,
1,
1,
1,
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,
705,
82,
13987,
1503,
4694,
49633,
546,
5633,
46506,
360,
8808,
1268,
4177,
6764,
11,
1438,
16034,
1781,
33411,
5011,
796,
705,
7397,
1503,
4694,
6,
5357,
1271,
796,
49633
] |
what are the allergy types and how many allergies correspond to each one?, and order in ascending by the x-axis. | SELECT AllergyType, COUNT(*) FROM Allergy_Type GROUP BY AllergyType ORDER BY AllergyType | [
10919,
389,
262,
36197,
3858,
290,
703,
867,
36665,
6053,
284,
1123,
530,
21747,
290,
1502,
287,
41988,
416,
262,
2124,
12,
22704,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
28104,
16034,
1439,
26079,
62,
6030,
44441,
11050,
1439,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36197,
3858,
290,
703,
867,
36665,
6053,
284,
1123,
530,
21747,
290,
1502,
287,
41988,
416,
262,
2124,
12,
22704,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
28104,
16034,
1439,
26079,
62,
6030,
44441,
11050,
1439,... |
What is the Writer with an Actual Title that is mork & mindy? | SELECT writer FROM table_name_8 WHERE actual_title = "mork & mindy" | [
2061,
318,
262,
26606,
351,
281,
33520,
11851,
326,
318,
285,
967,
1222,
2000,
88,
30,
46506,
6260,
16034,
3084,
62,
3672,
62,
23,
33411,
4036,
62,
7839,
796,
366,
76,
967,
1222,
2000,
88,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26606,
351,
281,
33520,
11851,
326,
318,
285,
967,
1222,
2000,
88,
30,
46506,
6260,
16034,
3084,
62,
3672,
62,
23,
33411,
4036,
62,
7839,
796,
366,
76,
967,
1222,
2000,
88,
1
] |
find me a flight from BOSTON to SAN FRANCISCO with layover in DENVER on UA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CI... | [
19796,
502,
257,
5474,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
351,
3830,
2502,
287,
37692,
5959,
319,
471,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19796,
502,
257,
5474,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
351,
3830,
2502,
287,
37692,
5959,
319,
471,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
6... |
who was the first player that the oilers picked ? | SELECT "player" FROM table_203_455 ORDER BY "#" LIMIT 1 | [
8727,
373,
262,
717,
2137,
326,
262,
3056,
364,
6497,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
30505,
38678,
11050,
25113,
1,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
373,
262,
717,
2137,
326,
262,
3056,
364,
6497,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
30505,
38678,
11050,
25113,
1,
27564,
2043,
352
] |
When momoiro clover z is the vocalist what is the japanese translation? | SELECT "Japanese translation" FROM table_2461 WHERE "Vocalist" = 'Momoiro Clover Z' | [
2215,
1995,
78,
7058,
537,
2502,
1976,
318,
262,
12435,
396,
644,
318,
262,
474,
2674,
2771,
11059,
30,
46506,
366,
25324,
11059,
1,
16034,
3084,
62,
1731,
5333,
33411,
366,
53,
4374,
396,
1,
796,
705,
44,
17902,
7058,
41154,
1168,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1995,
78,
7058,
537,
2502,
1976,
318,
262,
12435,
396,
644,
318,
262,
474,
2674,
2771,
11059,
30,
46506,
366,
25324,
11059,
1,
16034,
3084,
62,
1731,
5333,
33411,
366,
53,
4374,
396,
1,
796,
705,
44,
17902,
7058,
41154,
1168,
... |
What was the aircraft damage for the accident that had fatalities of 30/30? | SELECT "Aircraft damage" FROM table_7012 WHERE "Fatalities" = '30/30' | [
2061,
373,
262,
6215,
2465,
329,
262,
5778,
326,
550,
30091,
286,
1542,
14,
1270,
30,
46506,
366,
32,
27002,
2465,
1,
16034,
3084,
62,
22,
30206,
33411,
366,
37,
10254,
871,
1,
796,
705,
1270,
14,
1270,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
6215,
2465,
329,
262,
5778,
326,
550,
30091,
286,
1542,
14,
1270,
30,
46506,
366,
32,
27002,
2465,
1,
16034,
3084,
62,
22,
30206,
33411,
366,
37,
10254,
871,
1,
796,
705,
1270,
14,
1270,
6
] |
HOW MANY TONS OF CO2 EMISSIONS DID RUSSIA PRODUCE IN 2006? | SELECT MAX("Carbon dioxide emissions per year (10 6 Tons) (2006)") FROM table_16583 WHERE "Country" = 'Russia' | [
37181,
17254,
56,
309,
19213,
3963,
7375,
17,
17228,
16744,
11053,
35697,
371,
32835,
3539,
4810,
3727,
52,
5222,
3268,
4793,
30,
46506,
25882,
7203,
9914,
4189,
17556,
8971,
583,
614,
357,
940,
718,
309,
684,
8,
357,
13330,
8,
4943,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
37181,
17254,
56,
309,
19213,
3963,
7375,
17,
17228,
16744,
11053,
35697,
371,
32835,
3539,
4810,
3727,
52,
5222,
3268,
4793,
30,
46506,
25882,
7203,
9914,
4189,
17556,
8971,
583,
614,
357,
940,
718,
309,
684,
8,
357,
13330,
8,
4943,
... |
What is the lowest Rank, when Name is Jeremiah Massey, and when Games is less than 20? | SELECT MIN("Rank") FROM table_41920 WHERE "Name" = 'jeremiah massey' AND "Games" < '20' | [
2061,
318,
262,
9016,
10916,
11,
618,
6530,
318,
40192,
11066,
4397,
11,
290,
618,
5776,
318,
1342,
621,
1160,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
19,
40454,
33411,
366,
5376,
1,
796,
705,
73,
567,
35029,
12422,
4397... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10916,
11,
618,
6530,
318,
40192,
11066,
4397,
11,
290,
618,
5776,
318,
1342,
621,
1160,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
19,
40454,
33411,
366,
5376,
1,
796,
705,
73,
567,
35029,
12422,
4397... |
What category was The Suite Life on Deck nominated for later than 2010? | SELECT category FROM table_name_62 WHERE recipient = "the suite life on deck" AND year > 2010 | [
2061,
6536,
373,
383,
26264,
5155,
319,
20961,
19332,
329,
1568,
621,
3050,
30,
46506,
6536,
16034,
3084,
62,
3672,
62,
5237,
33411,
17800,
796,
366,
1169,
18389,
1204,
319,
6203,
1,
5357,
614,
1875,
3050
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6536,
373,
383,
26264,
5155,
319,
20961,
19332,
329,
1568,
621,
3050,
30,
46506,
6536,
16034,
3084,
62,
3672,
62,
5237,
33411,
17800,
796,
366,
1169,
18389,
1204,
319,
6203,
1,
5357,
614,
1875,
3050
] |
How tall is Ye Fei? | SELECT height FROM table_name_36 WHERE players = "ye fei" | [
2437,
7331,
318,
11609,
39575,
30,
46506,
6001,
16034,
3084,
62,
3672,
62,
2623,
33411,
1938,
796,
366,
5948,
730,
72,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
7331,
318,
11609,
39575,
30,
46506,
6001,
16034,
3084,
62,
3672,
62,
2623,
33411,
1938,
796,
366,
5948,
730,
72,
1
] |
If played is 22 and the tries against are 43, what are the points? | SELECT "Points for" FROM table_74945 WHERE "Played" = '22' AND "Tries against" = '43' | [
1532,
2826,
318,
2534,
290,
262,
8404,
1028,
389,
5946,
11,
644,
389,
262,
2173,
30,
46506,
366,
40710,
329,
1,
16034,
3084,
62,
22,
2920,
2231,
33411,
366,
11002,
276,
1,
796,
705,
1828,
6,
5357,
366,
51,
1678,
1028,
1,
796,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
2826,
318,
2534,
290,
262,
8404,
1028,
389,
5946,
11,
644,
389,
262,
2173,
30,
46506,
366,
40710,
329,
1,
16034,
3084,
62,
22,
2920,
2231,
33411,
366,
11002,
276,
1,
796,
705,
1828,
6,
5357,
366,
51,
1678,
1028,
1,
796,
705,... |
What was the winning score on May 3, 1998? | SELECT "Winning score" FROM table_58327 WHERE "Date" = 'may 3, 1998' | [
2061,
373,
262,
5442,
4776,
319,
1737,
513,
11,
7795,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
3365,
34159,
33411,
366,
10430,
1,
796,
705,
11261,
513,
11,
7795,
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,
5442,
4776,
319,
1737,
513,
11,
7795,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
3365,
34159,
33411,
366,
10430,
1,
796,
705,
11261,
513,
11,
7795,
6
] |
Nationality of england, and a Matches smaller than 510, and a Lost of 4, and a Win % smaller than 28.6 had what lowest drawn? | SELECT MIN(drawn) FROM table_name_5 WHERE nationality = "england" AND matches < 510 AND lost = 4 AND win__percentage < 28.6 | [
16186,
414,
286,
1786,
1044,
11,
290,
257,
6550,
2052,
4833,
621,
35148,
11,
290,
257,
9164,
286,
604,
11,
290,
257,
7178,
4064,
4833,
621,
2579,
13,
21,
550,
644,
9016,
7428,
30,
46506,
20625,
7,
41549,
8,
16034,
3084,
62,
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... | [
16186,
414,
286,
1786,
1044,
11,
290,
257,
6550,
2052,
4833,
621,
35148,
11,
290,
257,
9164,
286,
604,
11,
290,
257,
7178,
4064,
4833,
621,
2579,
13,
21,
550,
644,
9016,
7428,
30,
46506,
20625,
7,
41549,
8,
16034,
3084,
62,
3672,
... |
What is the sum of 1938 values where 1933 values are under 68.3 and 1940 valures are under 4.02? | SELECT SUM("1938") FROM table_42883 WHERE "1933" < '68.3' AND "1940" < '4.02' | [
2061,
318,
262,
2160,
286,
28017,
3815,
810,
26539,
3815,
389,
739,
8257,
13,
18,
290,
16236,
1188,
942,
389,
739,
604,
13,
2999,
30,
46506,
35683,
7203,
1129,
2548,
4943,
16034,
3084,
62,
40173,
5999,
33411,
366,
1129,
2091,
1,
1279,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
28017,
3815,
810,
26539,
3815,
389,
739,
8257,
13,
18,
290,
16236,
1188,
942,
389,
739,
604,
13,
2999,
30,
46506,
35683,
7203,
1129,
2548,
4943,
16034,
3084,
62,
40173,
5999,
33411,
366,
1129,
2091,
1,
1279,... |
what is the number of students in 2011 that received a 1 ? | SELECT "2011" FROM table_203_638 WHERE "score" = 1 | [
10919,
318,
262,
1271,
286,
2444,
287,
2813,
326,
2722,
257,
352,
5633,
46506,
366,
9804,
1,
16034,
3084,
62,
22416,
62,
21,
2548,
33411,
366,
26675,
1,
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,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
2444,
287,
2813,
326,
2722,
257,
352,
5633,
46506,
366,
9804,
1,
16034,
3084,
62,
22416,
62,
21,
2548,
33411,
366,
26675,
1,
796,
352
] |
What was the attendance record for Leicester City? | SELECT "Attendance" FROM table_43957 WHERE "Home team" = 'leicester city' | [
2061,
373,
262,
14858,
1700,
329,
29224,
2254,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
47106,
3553,
33411,
366,
16060,
1074,
1,
796,
705,
293,
26382,
1748,
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,
14858,
1700,
329,
29224,
2254,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
47106,
3553,
33411,
366,
16060,
1074,
1,
796,
705,
293,
26382,
1748,
6
] |
when did patient 013-29301 get prescription for zofran and protonix for the last time at the same time in 08/this year? | SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'zofran' AND patient.uniquepid = '013-29301' AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TI... | [
12518,
750,
5827,
5534,
18,
12,
1959,
18938,
651,
15077,
329,
1976,
1659,
2596,
290,
386,
1122,
844,
329,
262,
938,
640,
379,
262,
976,
640,
287,
8487,
14,
5661,
614,
30,
46506,
256,
16,
13,
30349,
9688,
2435,
16034,
357,
46506,
582... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5534,
18,
12,
1959,
18938,
651,
15077,
329,
1976,
1659,
2596,
290,
386,
1122,
844,
329,
262,
938,
640,
379,
262,
976,
640,
287,
8487,
14,
5661,
614,
30,
46506,
256,
16,
13,
30349,
9688,
2435,
16034,
357,
46506,
582... |
how many gold medals did this country win during these olympics ? | SELECT COUNT(*) FROM table_204_884 WHERE "medal" = 'gold' | [
4919,
867,
3869,
28057,
750,
428,
1499,
1592,
1141,
777,
267,
6760,
873,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
40353,
33411,
366,
1150,
282,
1,
796,
705,
24267,
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
] | [
4919,
867,
3869,
28057,
750,
428,
1499,
1592,
1141,
777,
267,
6760,
873,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
40353,
33411,
366,
1150,
282,
1,
796,
705,
24267,
6
] |
What is School, when Event is '100 Backstroke'? | SELECT school FROM table_name_17 WHERE event = "100 backstroke" | [
2061,
318,
3961,
11,
618,
8558,
318,
705,
3064,
5157,
30757,
30960,
46506,
1524,
16034,
3084,
62,
3672,
62,
1558,
33411,
1785,
796,
366,
3064,
736,
30757,
1
] | [
1,
1,
1,
1,
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,
3961,
11,
618,
8558,
318,
705,
3064,
5157,
30757,
30960,
46506,
1524,
16034,
3084,
62,
3672,
62,
1558,
33411,
1785,
796,
366,
3064,
736,
30757,
1
] |
What is the label from the Netherlands? | SELECT label FROM table_name_54 WHERE region = "netherlands" | [
2061,
318,
262,
6167,
422,
262,
12671,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
4051,
33411,
3814,
796,
366,
3262,
372,
4447,
1
] | [
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,
6167,
422,
262,
12671,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
4051,
33411,
3814,
796,
366,
3262,
372,
4447,
1
] |
Scatterplot of all_games_percent vs team id by Team_Name | SELECT Team_ID, All_Games_Percent FROM basketball_match GROUP BY Team_Name | [
3351,
1436,
29487,
286,
477,
62,
19966,
62,
25067,
3691,
1074,
4686,
416,
4816,
62,
5376,
46506,
4816,
62,
2389,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
4816,
62,
5376
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3351,
1436,
29487,
286,
477,
62,
19966,
62,
25067,
3691,
1074,
4686,
416,
4816,
62,
5376,
46506,
4816,
62,
2389,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
4816,
62,
5376
] |
Show all allergy type with number of students affected Visualize by bar chart, show in desc by the bars. | SELECT AllergyType, COUNT(*) FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy GROUP BY T2.AllergyType ORDER BY AllergyType DESC | [
15307,
477,
36197,
2099,
351,
1271,
286,
2444,
5676,
15612,
1096,
416,
2318,
8262,
11,
905,
287,
1715,
416,
262,
9210,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
28104,
16034,
7875,
62,
3237,
26079,
7054,
309,
16,
32357,
1268,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36197,
2099,
351,
1271,
286,
2444,
5676,
15612,
1096,
416,
2318,
8262,
11,
905,
287,
1715,
416,
262,
9210,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
28104,
16034,
7875,
62,
3237,
26079,
7054,
309,
16,
32357,
1268,
1... |
What is the course on 1 June? | SELECT course FROM table_name_10 WHERE date = "1 june" | [
2061,
318,
262,
1781,
319,
352,
2795,
30,
46506,
1781,
16034,
3084,
62,
3672,
62,
940,
33411,
3128,
796,
366,
16,
474,
1726,
1
] | [
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,
1781,
319,
352,
2795,
30,
46506,
1781,
16034,
3084,
62,
3672,
62,
940,
33411,
3128,
796,
366,
16,
474,
1726,
1
] |
other than william stuart price , which other businessman was born in tulsa ? | SELECT "name" FROM table_204_68 WHERE "name" <> 'william stuart price' AND "hometown" = 'tulsa' | [
847,
621,
481,
1789,
336,
19986,
2756,
837,
543,
584,
19834,
373,
4642,
287,
256,
5753,
64,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
3104,
33411,
366,
3672,
1,
1279,
29,
705,
10594,
1789,
336,
19986,
2756,
6,
5357,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
847,
621,
481,
1789,
336,
19986,
2756,
837,
543,
584,
19834,
373,
4642,
287,
256,
5753,
64,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
3104,
33411,
366,
3672,
1,
1279,
29,
705,
10594,
1789,
336,
19986,
2756,
6,
5357,
366... |
what is maximum age of patients whose admission type is elective and year of death is less than 2183? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.dod_year < "2183.0" | [
10919,
318,
5415,
2479,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
614,
286,
1918,
318,
1342,
621,
362,
24839,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
36,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
5415,
2479,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
614,
286,
1918,
318,
1342,
621,
362,
24839,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
36,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.