instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
When Cancelable of yes, and a Type of drag, what was the Category? | SELECT "Category" FROM table_37679 WHERE "Cancelable" = 'yes' AND "Type" = 'drag' | [
2215,
27910,
540,
286,
3763,
11,
290,
257,
5994,
286,
6715,
11,
644,
373,
262,
21743,
30,
46506,
366,
27313,
1,
16034,
3084,
62,
2718,
37601,
33411,
366,
34,
21130,
540,
1,
796,
705,
8505,
6,
5357,
366,
6030,
1,
796,
705,
7109,
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
] | [
2215,
27910,
540,
286,
3763,
11,
290,
257,
5994,
286,
6715,
11,
644,
373,
262,
21743,
30,
46506,
366,
27313,
1,
16034,
3084,
62,
2718,
37601,
33411,
366,
34,
21130,
540,
1,
796,
705,
8505,
6,
5357,
366,
6030,
1,
796,
705,
7109,
36... |
Against whom did the Spartans score 73 points? | SELECT "Opponent" FROM table_2729 WHERE "Spartans Points" = '73' | [
39276,
4150,
750,
262,
45130,
4776,
8854,
2173,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
1983,
1959,
33411,
366,
50,
3911,
504,
11045,
1,
796,
705,
4790,
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
] | [
39276,
4150,
750,
262,
45130,
4776,
8854,
2173,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
1983,
1959,
33411,
366,
50,
3911,
504,
11045,
1,
796,
705,
4790,
6
] |
how many patients are born before 2110 and tested with aspartate aminotransferase (ast) in lab? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2110" AND lab.label = "Asparate Aminotransferase (AST)" | [
4919,
867,
3871,
389,
4642,
878,
2310,
940,
290,
6789,
351,
355,
3911,
378,
716,
259,
313,
26084,
2232,
589,
357,
459,
8,
287,
2248,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
389,
4642,
878,
2310,
940,
290,
6789,
351,
355,
3911,
378,
716,
259,
313,
26084,
2232,
589,
357,
459,
8,
287,
2248,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
What were the Points on December 13? | SELECT MAX(points) FROM table_name_63 WHERE date = "december 13" | [
2061,
547,
262,
11045,
319,
3426,
1511,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
3128,
796,
366,
2934,
3273,
1511,
1
] | [
1,
1,
1,
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,
547,
262,
11045,
319,
3426,
1511,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
3128,
796,
366,
2934,
3273,
1511,
1
] |
What was the vacancy date of the manager appointed on 11 March 2010? | SELECT date_of_vacancy FROM table_name_45 WHERE date_of_appointment = "11 march 2010" | [
2061,
373,
262,
39836,
3128,
286,
262,
4706,
9899,
319,
1367,
2805,
3050,
30,
46506,
3128,
62,
1659,
62,
85,
330,
3883,
16034,
3084,
62,
3672,
62,
2231,
33411,
3128,
62,
1659,
62,
1324,
49805,
796,
366,
1157,
9960,
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,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
39836,
3128,
286,
262,
4706,
9899,
319,
1367,
2805,
3050,
30,
46506,
3128,
62,
1659,
62,
85,
330,
3883,
16034,
3084,
62,
3672,
62,
2231,
33411,
3128,
62,
1659,
62,
1324,
49805,
796,
366,
1157,
9960,
3050,
1
] |
Name the most free throws for 4 steals | SELECT MAX(free_throws) FROM table_23183195_5 WHERE steals = 4 | [
5376,
262,
749,
1479,
12542,
329,
604,
28052,
46506,
25882,
7,
5787,
62,
400,
8516,
8,
16034,
3084,
62,
1954,
24839,
22186,
62,
20,
33411,
28052,
796,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
1479,
12542,
329,
604,
28052,
46506,
25882,
7,
5787,
62,
400,
8516,
8,
16034,
3084,
62,
1954,
24839,
22186,
62,
20,
33411,
28052,
796,
604
] |
Tell me the sum of total for rank of 1 | SELECT SUM("Total") FROM table_32136 WHERE "Rank" = '1' | [
24446,
502,
262,
2160,
286,
2472,
329,
4279,
286,
352,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
2624,
20809,
33411,
366,
27520,
1,
796,
705,
16,
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
] | [
24446,
502,
262,
2160,
286,
2472,
329,
4279,
286,
352,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
2624,
20809,
33411,
366,
27520,
1,
796,
705,
16,
6
] |
what team played on may 11 | SELECT opponent FROM table_name_1 WHERE date = "may 11" | [
10919,
1074,
2826,
319,
743,
1367,
46506,
6125,
16034,
3084,
62,
3672,
62,
16,
33411,
3128,
796,
366,
11261,
1367,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
1074,
2826,
319,
743,
1367,
46506,
6125,
16034,
3084,
62,
3672,
62,
16,
33411,
3128,
796,
366,
11261,
1367,
1
] |
Find the average age of students living in each city with a bar chart, and show x axis from high to low order please. | SELECT city_code, AVG(Age) FROM Student GROUP BY city_code ORDER BY city_code DESC | [
16742,
262,
2811,
2479,
286,
2444,
2877,
287,
1123,
1748,
351,
257,
2318,
8262,
11,
290,
905,
2124,
16488,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
1748,
62,
8189,
11,
35224,
7,
23396,
8,
16034,
13613,
44441,
11050,
1748,
62,
8189... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
2479,
286,
2444,
2877,
287,
1123,
1748,
351,
257,
2318,
8262,
11,
290,
905,
2124,
16488,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
1748,
62,
8189,
11,
35224,
7,
23396,
8,
16034,
13613,
44441,
11050,
1748,
62,
8189... |
does the malaysia open super series pay more or less than french super series ? | SELECT (SELECT "prize money\nusd" FROM table_204_634 WHERE "official title" = 'malaysia open super series') > (SELECT "prize money\nusd" FROM table_204_634 WHERE "official title" = 'french super series') | [
22437,
262,
6428,
592,
544,
1280,
2208,
2168,
1414,
517,
393,
1342,
621,
48718,
2208,
2168,
5633,
46506,
357,
46506,
366,
3448,
2736,
1637,
59,
77,
385,
67,
1,
16034,
3084,
62,
18638,
62,
21,
2682,
33411,
366,
16841,
3670,
1,
796,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22437,
262,
6428,
592,
544,
1280,
2208,
2168,
1414,
517,
393,
1342,
621,
48718,
2208,
2168,
5633,
46506,
357,
46506,
366,
3448,
2736,
1637,
59,
77,
385,
67,
1,
16034,
3084,
62,
18638,
62,
21,
2682,
33411,
366,
16841,
3670,
1,
796,
7... |
What are the average scores of contestants whose interview score is 8.011? | SELECT "Average" FROM table_20763 WHERE "Interview" = '8.011' | [
2061,
389,
262,
2811,
8198,
286,
37851,
3025,
2720,
4776,
318,
807,
13,
28555,
30,
46506,
366,
26287,
1,
16034,
3084,
62,
1238,
49641,
33411,
366,
39945,
1,
796,
705,
23,
13,
28555,
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,
389,
262,
2811,
8198,
286,
37851,
3025,
2720,
4776,
318,
807,
13,
28555,
30,
46506,
366,
26287,
1,
16034,
3084,
62,
1238,
49641,
33411,
366,
39945,
1,
796,
705,
23,
13,
28555,
6
] |
provide the number of christian scientist religious background patients who have lab test item id 51254. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "CHRISTIAN SCIENTIST" AND lab.itemid = "51254" | [
15234,
485,
262,
1271,
286,
33826,
666,
11444,
4158,
4469,
3871,
508,
423,
2248,
1332,
2378,
4686,
22243,
4051,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
33826,
666,
11444,
4158,
4469,
3871,
508,
423,
2248,
1332,
2378,
4686,
22243,
4051,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
... |
Bar chart x axis country y axis the total number, and list by the total number from low to high. | SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY COUNT(*) | [
10374,
8262,
2124,
16488,
1499,
331,
16488,
262,
2472,
1271,
11,
290,
1351,
416,
262,
2472,
1271,
422,
1877,
284,
1029,
13,
46506,
12946,
11,
327,
28270,
7,
28104,
16034,
33599,
44441,
11050,
12946,
38678,
11050,
327,
28270,
7,
28104
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
2124,
16488,
1499,
331,
16488,
262,
2472,
1271,
11,
290,
1351,
416,
262,
2472,
1271,
422,
1877,
284,
1029,
13,
46506,
12946,
11,
327,
28270,
7,
28104,
16034,
33599,
44441,
11050,
12946,
38678,
11050,
327,
28270,
7,
28104
] |
What are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst? | SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Christop" AND T2.staff_last_name = "Berge" INTERSECT SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.closure_authorised_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Ashley"... | [
2061,
389,
262,
1720,
220,
2340,
329,
262,
2761,
2098,
416,
1951,
404,
4312,
469,
351,
16512,
39019,
416,
20899,
2019,
33500,
30,
46506,
1720,
62,
312,
16034,
2761,
7054,
309,
16,
32357,
1268,
3085,
7054,
309,
17,
6177,
309,
16,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
1720,
220,
2340,
329,
262,
2761,
2098,
416,
1951,
404,
4312,
469,
351,
16512,
39019,
416,
20899,
2019,
33500,
30,
46506,
1720,
62,
312,
16034,
2761,
7054,
309,
16,
32357,
1268,
3085,
7054,
309,
17,
6177,
309,
16,
13,
... |
What classes would be useful prior to taking MOVESCI 340 ? | SELECT DISTINCT advisory_requirement FROM course WHERE department = 'MOVESCI' AND number = 340 | [
2061,
6097,
561,
307,
4465,
3161,
284,
2263,
28184,
1546,
25690,
28560,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
44,
8874,
1546,
25690,
6,
5357,
1271,
796,
28560
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6097,
561,
307,
4465,
3161,
284,
2263,
28184,
1546,
25690,
28560,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
44,
8874,
1546,
25690,
6,
5357,
1271,
796,
28560
] |
Name the most total governorate seats for hewler | SELECT MAX("Total Governorate Seats") FROM table_26851 WHERE "Governorate" = 'Hewler' | [
5376,
262,
749,
2472,
8153,
378,
8632,
329,
339,
86,
1754,
46506,
25882,
7203,
14957,
10807,
378,
1001,
1381,
4943,
16034,
3084,
62,
25022,
4349,
33411,
366,
29168,
16262,
1,
796,
705,
39,
413,
1754,
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
] | [
5376,
262,
749,
2472,
8153,
378,
8632,
329,
339,
86,
1754,
46506,
25882,
7203,
14957,
10807,
378,
1001,
1381,
4943,
16034,
3084,
62,
25022,
4349,
33411,
366,
29168,
16262,
1,
796,
705,
39,
413,
1754,
6
] |
count the number of patients whose primary disease is congestive heart failure? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CONGESTIVE HEART FAILURE" | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
22791,
425,
2612,
5287,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
10943,
38,
6465,
9306,
111... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
4165,
4369,
318,
22791,
425,
2612,
5287,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
10943,
38,
6465,
9306,
111... |
Show me about the distribution of All_Games and ACC_Percent in a bar chart, and could you show by the total number from high to low? | SELECT All_Games, ACC_Percent FROM basketball_match ORDER BY ACC_Percent DESC | [
15307,
502,
546,
262,
6082,
286,
1439,
62,
24474,
290,
15859,
62,
31905,
287,
257,
2318,
8262,
11,
290,
714,
345,
905,
416,
262,
2472,
1271,
422,
1029,
284,
1877,
30,
46506,
1439,
62,
24474,
11,
15859,
62,
31905,
16034,
9669,
62,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
546,
262,
6082,
286,
1439,
62,
24474,
290,
15859,
62,
31905,
287,
257,
2318,
8262,
11,
290,
714,
345,
905,
416,
262,
2472,
1271,
422,
1029,
284,
1877,
30,
46506,
1439,
62,
24474,
11,
15859,
62,
31905,
16034,
9669,
62,
15... |
Name the most wins which have clubbed of elche cf and goals against more than 43 | SELECT MAX("Wins") FROM table_15764 WHERE "Club" = 'elche cf' AND "Goals against" > '43' | [
5376,
262,
749,
7864,
543,
423,
3430,
3077,
286,
1288,
2395,
30218,
290,
4661,
1028,
517,
621,
5946,
46506,
25882,
7203,
54,
1040,
4943,
16034,
3084,
62,
18458,
2414,
33411,
366,
42350,
1,
796,
705,
417,
2395,
30218,
6,
5357,
366,
524... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
7864,
543,
423,
3430,
3077,
286,
1288,
2395,
30218,
290,
4661,
1028,
517,
621,
5946,
46506,
25882,
7203,
54,
1040,
4943,
16034,
3084,
62,
18458,
2414,
33411,
366,
42350,
1,
796,
705,
417,
2395,
30218,
6,
5357,
366,
524... |
Find the team names of the universities whose enrollments are smaller than the average enrollment size. | SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE enrollment < (SELECT AVG(enrollment) FROM university) | [
16742,
262,
1074,
3891,
286,
262,
11155,
3025,
14627,
902,
389,
4833,
621,
262,
2811,
20753,
2546,
13,
46506,
256,
17,
13,
15097,
62,
3672,
16034,
6403,
7054,
256,
16,
32357,
1268,
9669,
62,
15699,
7054,
256,
17,
6177,
256,
16,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1074,
3891,
286,
262,
11155,
3025,
14627,
902,
389,
4833,
621,
262,
2811,
20753,
2546,
13,
46506,
256,
17,
13,
15097,
62,
3672,
16034,
6403,
7054,
256,
16,
32357,
1268,
9669,
62,
15699,
7054,
256,
17,
6177,
256,
16,
13,
... |
Which Bronze has a Nation of canada, and a Rank smaller than 6? | SELECT AVG("Bronze") FROM table_36675 WHERE "Nation" = 'canada' AND "Rank" < '6' | [
13828,
19461,
468,
257,
8741,
286,
460,
4763,
11,
290,
257,
10916,
4833,
621,
718,
30,
46506,
35224,
7203,
18760,
2736,
4943,
16034,
3084,
62,
32459,
2425,
33411,
366,
46108,
1,
796,
705,
5171,
4763,
6,
5357,
366,
27520,
1,
1279,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
19461,
468,
257,
8741,
286,
460,
4763,
11,
290,
257,
10916,
4833,
621,
718,
30,
46506,
35224,
7203,
18760,
2736,
4943,
16034,
3084,
62,
32459,
2425,
33411,
366,
46108,
1,
796,
705,
5171,
4763,
6,
5357,
366,
27520,
1,
1279,
705,... |
How many villages have a density persons/ha of 5.5? | SELECT COUNT("No. of villages") FROM table_24240 WHERE "Density persons / ha" = '5.5' | [
2437,
867,
15425,
423,
257,
12109,
6506,
14,
3099,
286,
642,
13,
20,
30,
46506,
327,
28270,
7203,
2949,
13,
286,
15425,
4943,
16034,
3084,
62,
1731,
16102,
33411,
366,
35,
6377,
6506,
1220,
387,
1,
796,
705,
20,
13,
20,
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
] | [
2437,
867,
15425,
423,
257,
12109,
6506,
14,
3099,
286,
642,
13,
20,
30,
46506,
327,
28270,
7203,
2949,
13,
286,
15425,
4943,
16034,
3084,
62,
1731,
16102,
33411,
366,
35,
6377,
6506,
1220,
387,
1,
796,
705,
20,
13,
20,
6
] |
Display a bar chart for what is the lowest salary in departments with average salary greater than the overall average, and list by the total number from high to low. | SELECT dept_name, MIN(salary) FROM instructor GROUP BY dept_name ORDER BY MIN(salary) DESC | [
23114,
257,
2318,
8262,
329,
644,
318,
262,
9016,
9588,
287,
13346,
351,
2811,
9588,
3744,
621,
262,
4045,
2811,
11,
290,
1351,
416,
262,
2472,
1271,
422,
1029,
284,
1877,
13,
46506,
390,
457,
62,
3672,
11,
20625,
7,
21680,
560,
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
] | [
23114,
257,
2318,
8262,
329,
644,
318,
262,
9016,
9588,
287,
13346,
351,
2811,
9588,
3744,
621,
262,
4045,
2811,
11,
290,
1351,
416,
262,
2472,
1271,
422,
1029,
284,
1877,
13,
46506,
390,
457,
62,
3672,
11,
20625,
7,
21680,
560,
8,
... |
display all flights leaving from TORONTO to SAN DIEGO on US laying over in WASHINGTON | 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 DIEGO' AND CITY_2... | [
13812,
477,
13956,
4305,
422,
40691,
1340,
10468,
284,
37376,
14766,
7156,
46,
319,
1294,
16299,
625,
287,
370,
19436,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13812,
477,
13956,
4305,
422,
40691,
1340,
10468,
284,
37376,
14766,
7156,
46,
319,
1294,
16299,
625,
287,
370,
19436,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
... |
What episode number of the season is episode number 11 in the series? | SELECT MAX("#") FROM table_3410 WHERE "No." = '11' | [
2061,
4471,
1271,
286,
262,
1622,
318,
4471,
1271,
1367,
287,
262,
2168,
30,
46506,
25882,
7203,
2,
4943,
16034,
3084,
62,
2682,
940,
33411,
366,
2949,
526,
796,
705,
1157,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4471,
1271,
286,
262,
1622,
318,
4471,
1271,
1367,
287,
262,
2168,
30,
46506,
25882,
7203,
2,
4943,
16034,
3084,
62,
2682,
940,
33411,
366,
2949,
526,
796,
705,
1157,
6
] |
What is the rating of the restaurant Subway? | SELECT Rating FROM Restaurant WHERE ResName = "Subway" | [
2061,
318,
262,
7955,
286,
262,
7072,
38923,
30,
46506,
12028,
16034,
26078,
33411,
1874,
5376,
796,
366,
7004,
1014,
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,
7955,
286,
262,
7072,
38923,
30,
46506,
12028,
16034,
26078,
33411,
1874,
5376,
796,
366,
7004,
1014,
1
] |
how many games had an attendance of 10,000 at most ? | SELECT COUNT(*) FROM table_203_775 WHERE "attendance" <= 10000 | [
4919,
867,
1830,
550,
281,
14858,
286,
838,
11,
830,
379,
749,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
34483,
33411,
366,
1078,
437,
590,
1,
19841,
33028
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1830,
550,
281,
14858,
286,
838,
11,
830,
379,
749,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
34483,
33411,
366,
1078,
437,
590,
1,
19841,
33028
] |
What is John Kerry, when John Edwards is '20%'? | SELECT "John Kerry" FROM table_59429 WHERE "John Edwards" = '20%' | [
2061,
318,
1757,
15981,
11,
618,
1757,
17381,
318,
705,
1238,
4,
30960,
46506,
366,
7554,
15981,
1,
16034,
3084,
62,
3270,
11785,
33411,
366,
7554,
17381,
1,
796,
705,
1238,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
1757,
15981,
11,
618,
1757,
17381,
318,
705,
1238,
4,
30960,
46506,
366,
7554,
15981,
1,
16034,
3084,
62,
3270,
11785,
33411,
366,
7554,
17381,
1,
796,
705,
1238,
4,
6
] |
Name the game for l 111 126 | SELECT game FROM table_30049462_8 WHERE score = "L 111–126" | [
5376,
262,
983,
329,
300,
13374,
19710,
46506,
983,
16034,
3084,
62,
6200,
2920,
39997,
62,
23,
33411,
4776,
796,
366,
43,
13374,
1906,
19420,
1
] | [
1,
1,
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,
983,
329,
300,
13374,
19710,
46506,
983,
16034,
3084,
62,
6200,
2920,
39997,
62,
23,
33411,
4776,
796,
366,
43,
13374,
1906,
19420,
1
] |
provide the number of patients whose admission location is trsf within this facility and drug name is neo*po*vitamin e drops? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND prescriptions.drug = "NEO*PO*Vitamin E Drops" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
2563,
1438,
318,
19102,
9,
7501,
9,
85,
40746,
304,
10532,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
2563,
1438,
318,
19102,
9,
7501,
9,
85,
40746,
304,
10532,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
160... |
Which Winning Driver has an Event of 200 miles of norisring? | SELECT "Winning Driver" FROM table_12255 WHERE "Event" = '200 miles of norisring' | [
13828,
40983,
12434,
468,
281,
8558,
286,
939,
4608,
286,
4249,
271,
1806,
30,
46506,
366,
16643,
768,
12434,
1,
16034,
3084,
62,
1065,
13381,
33411,
366,
9237,
1,
796,
705,
2167,
4608,
286,
4249,
271,
1806,
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
] | [
13828,
40983,
12434,
468,
281,
8558,
286,
939,
4608,
286,
4249,
271,
1806,
30,
46506,
366,
16643,
768,
12434,
1,
16034,
3084,
62,
1065,
13381,
33411,
366,
9237,
1,
796,
705,
2167,
4608,
286,
4249,
271,
1806,
6
] |
was there an election in 1980 or 1982 ? | SELECT "year" FROM table_203_398 WHERE "year" IN (1980, 1982) | [
9776,
612,
281,
3071,
287,
7169,
393,
14489,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
22416,
62,
31952,
33411,
366,
1941,
1,
3268,
357,
23664,
11,
14489,
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
] | [
9776,
612,
281,
3071,
287,
7169,
393,
14489,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
22416,
62,
31952,
33411,
366,
1941,
1,
3268,
357,
23664,
11,
14489,
8
] |
Which record has a Team of manchester yankees? | SELECT record FROM table_name_43 WHERE team = "manchester yankees" | [
13828,
1700,
468,
257,
4816,
286,
582,
35983,
331,
272,
16683,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3559,
33411,
1074,
796,
366,
805,
35983,
331,
272,
16683,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1700,
468,
257,
4816,
286,
582,
35983,
331,
272,
16683,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3559,
33411,
1074,
796,
366,
805,
35983,
331,
272,
16683,
1
] |
Who directed the episode written by Matt Ford? | SELECT directed_by FROM table_18712423_3 WHERE written_by = "Matt Ford" | [
8241,
7924,
262,
4471,
3194,
416,
4705,
8092,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
23451,
17464,
1954,
62,
18,
33411,
3194,
62,
1525,
796,
366,
13448,
8092,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
7924,
262,
4471,
3194,
416,
4705,
8092,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
23451,
17464,
1954,
62,
18,
33411,
3194,
62,
1525,
796,
366,
13448,
8092,
1
] |
In how many rounds of the draft was there a college from Georgia involved? | SELECT COUNT(round) FROM table_name_94 WHERE college = "georgia" | [
818,
703,
867,
9196,
286,
262,
4538,
373,
612,
257,
4152,
422,
7859,
2950,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
4152,
796,
366,
469,
2398,
544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
703,
867,
9196,
286,
262,
4538,
373,
612,
257,
4152,
422,
7859,
2950,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
4152,
796,
366,
469,
2398,
544,
1
] |
What is the total rating of channel for each channel owner. Plot them as pie chart. | SELECT Owner, SUM(Rating_in_percent) FROM channel GROUP BY Owner | [
2061,
318,
262,
2472,
7955,
286,
6518,
329,
1123,
6518,
4870,
13,
28114,
606,
355,
2508,
8262,
13,
46506,
23853,
11,
35683,
7,
29321,
62,
259,
62,
25067,
8,
16034,
6518,
44441,
11050,
23853
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7955,
286,
6518,
329,
1123,
6518,
4870,
13,
28114,
606,
355,
2508,
8262,
13,
46506,
23853,
11,
35683,
7,
29321,
62,
259,
62,
25067,
8,
16034,
6518,
44441,
11050,
23853
] |
Name the Company which has a Price in USD of free / negotiable? | SELECT company FROM table_name_69 WHERE price_in_usd = "free / negotiable" | [
5376,
262,
5834,
543,
468,
257,
7886,
287,
11403,
286,
1479,
1220,
2469,
313,
3379,
30,
46506,
1664,
16034,
3084,
62,
3672,
62,
3388,
33411,
2756,
62,
259,
62,
385,
67,
796,
366,
5787,
1220,
2469,
313,
3379,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5834,
543,
468,
257,
7886,
287,
11403,
286,
1479,
1220,
2469,
313,
3379,
30,
46506,
1664,
16034,
3084,
62,
3672,
62,
3388,
33411,
2756,
62,
259,
62,
385,
67,
796,
366,
5787,
1220,
2469,
313,
3379,
1
] |
Compute how many attributes in each name of the attribute definitions with attribute value 0 Show the result with a bar chart, list from high to low by the x axis. | SELECT attribute_name, COUNT(attribute_name) FROM Attribute_Definitions AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.attribute_id = t2.attribute_id WHERE t2.attribute_value = 0 GROUP BY attribute_name ORDER BY attribute_name DESC | [
7293,
1133,
703,
867,
12608,
287,
1123,
1438,
286,
262,
11688,
17336,
351,
11688,
1988,
657,
5438,
262,
1255,
351,
257,
2318,
8262,
11,
1351,
422,
1029,
284,
1877,
416,
262,
2124,
16488,
13,
46506,
11688,
62,
3672,
11,
327,
28270,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
7293,
1133,
703,
867,
12608,
287,
1123,
1438,
286,
262,
11688,
17336,
351,
11688,
1988,
657,
5438,
262,
1255,
351,
257,
2318,
8262,
11,
1351,
422,
1029,
284,
1877,
416,
262,
2124,
16488,
13,
46506,
11688,
62,
3672,
11,
327,
28270,
7,
... |
how many patients diagnosed with unspecified contact dermatitis and other eczema had urine lab test? | 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 = "Dermatitis NOS" AND lab.fluid = "Urine" | [
4919,
867,
3871,
14641,
351,
29547,
2800,
40363,
11815,
290,
584,
9940,
89,
19687,
550,
18922,
2248,
1332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
14641,
351,
29547,
2800,
40363,
11815,
290,
584,
9940,
89,
19687,
550,
18922,
2248,
1332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177... |
What rank has less than 16 gold, more than 2 bronze and silver, and a total of 14? | SELECT "Rank" FROM table_46037 WHERE "Gold" < '16' AND "Bronze" > '2' AND "Silver" > '2' AND "Total" = '14' | [
2061,
4279,
468,
1342,
621,
1467,
3869,
11,
517,
621,
362,
22101,
290,
8465,
11,
290,
257,
2472,
286,
1478,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
34716,
2718,
33411,
366,
13306,
1,
1279,
705,
1433,
6,
5357,
366,
18760,
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,
1,
1,
1
] | [
2061,
4279,
468,
1342,
621,
1467,
3869,
11,
517,
621,
362,
22101,
290,
8465,
11,
290,
257,
2472,
286,
1478,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
34716,
2718,
33411,
366,
13306,
1,
1279,
705,
1433,
6,
5357,
366,
18760,
2736,
1,... |
Show minimum, maximum, and average market value for all companies. | SELECT MIN(market_value), MAX(market_value), AVG(market_value) FROM company | [
15307,
5288,
11,
5415,
11,
290,
2811,
1910,
1988,
329,
477,
2706,
13,
46506,
20625,
7,
10728,
62,
8367,
828,
25882,
7,
10728,
62,
8367,
828,
35224,
7,
10728,
62,
8367,
8,
16034,
1664
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
11,
5415,
11,
290,
2811,
1910,
1988,
329,
477,
2706,
13,
46506,
20625,
7,
10728,
62,
8367,
828,
25882,
7,
10728,
62,
8367,
828,
35224,
7,
10728,
62,
8367,
8,
16034,
1664
] |
For those employees who was hired before 2002-06-21, a bar chart shows the distribution of job_id and the sum of manager_id , and group by attribute job_id, and display from high to low by the y axis. | SELECT JOB_ID, SUM(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY SUM(MANAGER_ID) DESC | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
4706,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
3359,
422,
1029,
284... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
4706,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
3359,
422,
1029,
284... |
What is Time, when Method is 'submission (knees)'? | SELECT time FROM table_name_14 WHERE method = "submission (knees)" | [
2061,
318,
3862,
11,
618,
11789,
318,
705,
7266,
3411,
357,
74,
710,
274,
8,
30960,
46506,
640,
16034,
3084,
62,
3672,
62,
1415,
33411,
2446,
796,
366,
7266,
3411,
357,
74,
710,
274,
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
] | [
2061,
318,
3862,
11,
618,
11789,
318,
705,
7266,
3411,
357,
74,
710,
274,
8,
30960,
46506,
640,
16034,
3084,
62,
3672,
62,
1415,
33411,
2446,
796,
366,
7266,
3411,
357,
74,
710,
274,
16725
] |
What is the total stories that rank number 10? | SELECT COUNT("Stories") FROM table_77103 WHERE "Rank" = '10' | [
2061,
318,
262,
2472,
3923,
326,
4279,
1271,
838,
30,
46506,
327,
28270,
7203,
1273,
1749,
4943,
16034,
3084,
62,
3324,
15197,
33411,
366,
27520,
1,
796,
705,
940,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
3923,
326,
4279,
1271,
838,
30,
46506,
327,
28270,
7203,
1273,
1749,
4943,
16034,
3084,
62,
3324,
15197,
33411,
366,
27520,
1,
796,
705,
940,
6
] |
How many foundeds have stade tunisien as the club, with a capacity greater than 18,000? | SELECT SUM(founded) FROM table_name_6 WHERE club = "stade tunisien" AND capacity > 18 OFFSET 000 | [
2437,
867,
1043,
5379,
423,
336,
671,
6278,
271,
2013,
355,
262,
3430,
11,
351,
257,
5339,
3744,
621,
1248,
11,
830,
30,
46506,
35683,
7,
27060,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
3430,
796,
366,
301,
671,
6278,
271,
2013,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1043,
5379,
423,
336,
671,
6278,
271,
2013,
355,
262,
3430,
11,
351,
257,
5339,
3744,
621,
1248,
11,
830,
30,
46506,
35683,
7,
27060,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
3430,
796,
366,
301,
671,
6278,
271,
2013,
1... |
how many days has it been since patient 72909's last calculated total co2 lab test in the current hospital visit? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', labevents.charttime)) FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'calculated total co2') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 72909 AN... | [
4919,
867,
1528,
468,
340,
587,
1201,
5827,
767,
1959,
2931,
338,
938,
10488,
2472,
763,
17,
2248,
1332,
287,
262,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
1528,
468,
340,
587,
1201,
5827,
767,
1959,
2931,
338,
938,
10488,
2472,
763,
17,
2248,
1332,
287,
262,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,... |
did patient 006-83264 in 2105 get an total protein lab test? | SELECT COUNT(*) > 0 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-83264')) AND lab.labname = 'total protein' AND STRFTIME('%y', lab.labresulttime) = '... | [
20839,
5827,
3571,
21,
12,
5999,
18897,
287,
362,
13348,
651,
281,
2472,
7532,
2248,
1332,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
317... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3571,
21,
12,
5999,
18897,
287,
362,
13348,
651,
281,
2472,
7532,
2248,
1332,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
317... |
What was the score of the 2001 game held at Network Associates Coliseum? | SELECT "Result" FROM table_51280 WHERE "Year" = '2001' AND "Location" = 'network associates coliseum' | [
2061,
373,
262,
4776,
286,
262,
5878,
983,
2714,
379,
7311,
29306,
40846,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
25836,
1795,
33411,
366,
17688,
1,
796,
705,
14585,
6,
5357,
366,
14749,
1,
796,
705,
27349,
20093,
951,
38277,
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
] | [
2061,
373,
262,
4776,
286,
262,
5878,
983,
2714,
379,
7311,
29306,
40846,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
25836,
1795,
33411,
366,
17688,
1,
796,
705,
14585,
6,
5357,
366,
14749,
1,
796,
705,
27349,
20093,
951,
38277,
6
] |
give the number of patients whose diagnosis icd9 code is 2767 and drug route is pr. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "2767" AND prescriptions.route = "PR" | [
26535,
262,
1271,
286,
3871,
3025,
13669,
14158,
67,
24,
2438,
318,
2681,
3134,
290,
2563,
6339,
318,
778,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
262,
1271,
286,
3871,
3025,
13669,
14158,
67,
24,
2438,
318,
2681,
3134,
290,
2563,
6339,
318,
778,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
61... |
Most Favorites Questions on SO. | SELECT FavoriteCount, Id, Title FROM Posts ORDER BY FavoriteCount DESC | [
6943,
38196,
2737,
20396,
319,
12809,
13,
46506,
33992,
12332,
11,
5121,
11,
11851,
16034,
12043,
38678,
11050,
33992,
12332,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6943,
38196,
2737,
20396,
319,
12809,
13,
46506,
33992,
12332,
11,
5121,
11,
11851,
16034,
12043,
38678,
11050,
33992,
12332,
22196,
34
] |
What status of school is the school represented by the baby olympians? | SELECT status FROM table_2589963_1 WHERE juniors = "Baby Olympians" | [
2061,
3722,
286,
1524,
318,
262,
1524,
7997,
416,
262,
5156,
267,
6760,
1547,
30,
46506,
3722,
16034,
3084,
62,
25600,
2079,
5066,
62,
16,
33411,
10891,
12706,
796,
366,
36534,
7001,
1547,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3722,
286,
1524,
318,
262,
1524,
7997,
416,
262,
5156,
267,
6760,
1547,
30,
46506,
3722,
16034,
3084,
62,
25600,
2079,
5066,
62,
16,
33411,
10891,
12706,
796,
366,
36534,
7001,
1547,
1
] |
what are all the barrel lengths whith the name ar-15a3 competition hbar | SELECT "Barrel length" FROM table_17826 WHERE "Name" = 'AR-15A3 Competition HBAR' | [
10919,
389,
477,
262,
9036,
20428,
348,
342,
262,
1438,
610,
12,
1314,
64,
18,
5449,
289,
5657,
46506,
366,
10374,
2411,
4129,
1,
16034,
3084,
62,
23188,
2075,
33411,
366,
5376,
1,
796,
705,
1503,
12,
1314,
32,
18,
27348,
25997,
150... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
262,
9036,
20428,
348,
342,
262,
1438,
610,
12,
1314,
64,
18,
5449,
289,
5657,
46506,
366,
10374,
2411,
4129,
1,
16034,
3084,
62,
23188,
2075,
33411,
366,
5376,
1,
796,
705,
1503,
12,
1314,
32,
18,
27348,
25997,
150... |
Which Date has a 20 Questions of jason lee? | SELECT "Date" FROM table_39927 WHERE "20 Questions" = 'jason lee' | [
13828,
7536,
468,
257,
1160,
20396,
286,
474,
888,
443,
68,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
28771,
1983,
33411,
366,
1238,
20396,
1,
796,
705,
73,
888,
443,
68,
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
] | [
13828,
7536,
468,
257,
1160,
20396,
286,
474,
888,
443,
68,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
28771,
1983,
33411,
366,
1238,
20396,
1,
796,
705,
73,
888,
443,
68,
6
] |
Which Season was the Poles greater than 14? | SELECT season FROM table_name_27 WHERE poles > 14 | [
13828,
7369,
373,
262,
45631,
3744,
621,
1478,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
1983,
33411,
24971,
1875,
1478
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7369,
373,
262,
45631,
3744,
621,
1478,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
1983,
33411,
24971,
1875,
1478
] |
show the date of birth and insurance type of lawrence wibbens. | SELECT demographic.dob, demographic.insurance FROM demographic WHERE demographic.name = "Lawrence Wibbens" | [
12860,
262,
3128,
286,
4082,
290,
5096,
2099,
286,
1099,
6784,
266,
571,
65,
641,
13,
46506,
16728,
13,
67,
672,
11,
16728,
13,
1040,
3874,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
16966,
6784,
370,
571,
65,
641,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12860,
262,
3128,
286,
4082,
290,
5096,
2099,
286,
1099,
6784,
266,
571,
65,
641,
13,
46506,
16728,
13,
67,
672,
11,
16728,
13,
1040,
3874,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
16966,
6784,
370,
571,
65,
641,
1
] |
What is the location/state of the race on 16 Jun? | SELECT location___state FROM table_name_92 WHERE date = "16 jun" | [
2061,
318,
262,
4067,
14,
5219,
286,
262,
3234,
319,
1467,
7653,
30,
46506,
4067,
17569,
5219,
16034,
3084,
62,
3672,
62,
5892,
33411,
3128,
796,
366,
1433,
10891,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4067,
14,
5219,
286,
262,
3234,
319,
1467,
7653,
30,
46506,
4067,
17569,
5219,
16034,
3084,
62,
3672,
62,
5892,
33411,
3128,
796,
366,
1433,
10891,
1
] |
Which Score has a Record of 1 3? | SELECT score FROM table_name_95 WHERE record = "1–3" | [
13828,
15178,
468,
257,
13266,
286,
352,
513,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3865,
33411,
1700,
796,
366,
16,
1906,
18,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
15178,
468,
257,
13266,
286,
352,
513,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3865,
33411,
1700,
796,
366,
16,
1906,
18,
1
] |
what are the three most frequent drugs that were prescribed in the same month to the female patients 40s after having been diagnosed with chr airway obstruct nec since 1 year ago? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ... | [
10919,
389,
262,
1115,
749,
10792,
5010,
326,
547,
14798,
287,
262,
976,
1227,
284,
262,
4048,
3871,
2319,
82,
706,
1719,
587,
14641,
351,
442,
81,
1633,
1014,
26520,
27576,
1201,
352,
614,
2084,
30,
46506,
256,
18,
13,
30349,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1115,
749,
10792,
5010,
326,
547,
14798,
287,
262,
976,
1227,
284,
262,
4048,
3871,
2319,
82,
706,
1719,
587,
14641,
351,
442,
81,
1633,
1014,
26520,
27576,
1201,
352,
614,
2084,
30,
46506,
256,
18,
13,
30349,
16034,
... |
answers for a tag that have been awarded bounties, most recent answers first.. Shows answers for a tag that have been awarded bounties, most recent answers first. | SELECT post.Id AS "post_link", vote.BountyAmount AS Bounty, post.CreationDate AS Date, parent.Tags FROM Posts AS post JOIN Votes AS vote ON vote.PostId = post.Id JOIN Posts AS parent ON post.ParentId = parent.Id WHERE vote.VoteTypeId = 9 AND vote.BountyAmount != 0 AND parent.Tags LIKE '%<##Tag##>%' ORDER BY post.Creati... | [
504,
86,
364,
329,
257,
7621,
326,
423,
587,
11343,
49937,
444,
11,
749,
2274,
7429,
717,
492,
25156,
7429,
329,
257,
7621,
326,
423,
587,
11343,
49937,
444,
11,
749,
2274,
7429,
717,
13,
46506,
1281,
13,
7390,
7054,
366,
7353,
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... | [
504,
86,
364,
329,
257,
7621,
326,
423,
587,
11343,
49937,
444,
11,
749,
2274,
7429,
717,
492,
25156,
7429,
329,
257,
7621,
326,
423,
587,
11343,
49937,
444,
11,
749,
2274,
7429,
717,
13,
46506,
1281,
13,
7390,
7054,
366,
7353,
62,
... |
When did essendon play away? | SELECT "Date" FROM table_54825 WHERE "Away team" = 'essendon' | [
2215,
750,
3209,
43153,
711,
1497,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
49934,
1495,
33411,
366,
32,
1014,
1074,
1,
796,
705,
408,
43153,
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
] | [
2215,
750,
3209,
43153,
711,
1497,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
49934,
1495,
33411,
366,
32,
1014,
1074,
1,
796,
705,
408,
43153,
6
] |
Number of approved and rejected edits for a user. | SELECT * FROM SuggestedEdits WHERE OwnerUserId = 823470 AND LENGTH(RejectionDate) > 1 | [
15057,
286,
6325,
290,
8606,
31671,
329,
257,
2836,
13,
46506,
1635,
16034,
35042,
276,
7407,
896,
33411,
23853,
12982,
7390,
796,
807,
24409,
2154,
5357,
406,
49494,
7,
3041,
29192,
10430,
8,
1875,
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,
6325,
290,
8606,
31671,
329,
257,
2836,
13,
46506,
1635,
16034,
35042,
276,
7407,
896,
33411,
23853,
12982,
7390,
796,
807,
24409,
2154,
5357,
406,
49494,
7,
3041,
29192,
10430,
8,
1875,
352
] |
get me the number of patients with upper gi bleed who were born before 2076? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "UPPER GI BLEED" AND demographic.dob_year < "2076" | [
1136,
502,
262,
1271,
286,
3871,
351,
6727,
308,
72,
30182,
508,
547,
4642,
878,
1160,
4304,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
8577,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
502,
262,
1271,
286,
3871,
351,
6727,
308,
72,
30182,
508,
547,
4642,
878,
1160,
4304,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
8577,
... |
count the number of private insurance patients diagnosed with candidal vulvovaginitis. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Private" AND diagnoses.short_title = "Candidal vulvovaginitis" | [
9127,
262,
1271,
286,
2839,
5096,
3871,
14641,
351,
2960,
282,
24477,
85,
709,
23183,
11815,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
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... | [
9127,
262,
1271,
286,
2839,
5096,
3871,
14641,
351,
2960,
282,
24477,
85,
709,
23183,
11815,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
... |
Which rider had a speed of 90.57mph? | SELECT rider FROM table_name_59 WHERE speed = "90.57mph" | [
13828,
17876,
550,
257,
2866,
286,
4101,
13,
3553,
23335,
30,
46506,
17876,
16034,
3084,
62,
3672,
62,
3270,
33411,
2866,
796,
366,
3829,
13,
3553,
23335,
1
] | [
1,
1,
1,
1,
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,
17876,
550,
257,
2866,
286,
4101,
13,
3553,
23335,
30,
46506,
17876,
16034,
3084,
62,
3672,
62,
3270,
33411,
2866,
796,
366,
3829,
13,
3553,
23335,
1
] |
Who was the director that had a recipient of Redbag Pictures Ltd? | SELECT director_s_ FROM table_name_54 WHERE recipient = "redbag pictures ltd" | [
8241,
373,
262,
3437,
326,
550,
257,
17800,
286,
2297,
21454,
20051,
12052,
30,
46506,
3437,
62,
82,
62,
16034,
3084,
62,
3672,
62,
4051,
33411,
17800,
796,
366,
445,
21454,
5986,
300,
8671,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
3437,
326,
550,
257,
17800,
286,
2297,
21454,
20051,
12052,
30,
46506,
3437,
62,
82,
62,
16034,
3084,
62,
3672,
62,
4051,
33411,
17800,
796,
366,
445,
21454,
5986,
300,
8671,
1
] |
If the Away team is north melbourne, what's the Home team score? | SELECT home_team AS score FROM table_name_18 WHERE away_team = "north melbourne" | [
1532,
262,
21986,
1074,
318,
5093,
7758,
12544,
11,
644,
338,
262,
5995,
1074,
4776,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1507,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21986,
1074,
318,
5093,
7758,
12544,
11,
644,
338,
262,
5995,
1074,
4776,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1507,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] |
Which player is from Belgium? | SELECT "Name" FROM table_57285 WHERE "Nationality" = 'belgium' | [
13828,
2137,
318,
422,
15664,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3553,
26279,
33411,
366,
16186,
414,
1,
796,
705,
6667,
70,
1505,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2137,
318,
422,
15664,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3553,
26279,
33411,
366,
16186,
414,
1,
796,
705,
6667,
70,
1505,
6
] |
What was the percentage in 2011 of the province that had 2.4% population in 2001? | SELECT "% 2011" FROM table_21405 WHERE "% 2001" = '2.4%' | [
2061,
373,
262,
5873,
287,
2813,
286,
262,
8473,
326,
550,
362,
13,
19,
4,
3265,
287,
5878,
30,
46506,
36521,
2813,
1,
16034,
3084,
62,
22291,
2713,
33411,
36521,
5878,
1,
796,
705,
17,
13,
19,
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
] | [
2061,
373,
262,
5873,
287,
2813,
286,
262,
8473,
326,
550,
362,
13,
19,
4,
3265,
287,
5878,
30,
46506,
36521,
2813,
1,
16034,
3084,
62,
22291,
2713,
33411,
36521,
5878,
1,
796,
705,
17,
13,
19,
4,
6
] |
A list of the top 10 countries by average invoice size. List country name and average invoice size. | SELECT billing_country, AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10 | [
32,
1351,
286,
262,
1353,
838,
2678,
416,
2811,
45458,
2546,
13,
7343,
1499,
1438,
290,
2811,
45458,
2546,
13,
46506,
26297,
62,
19315,
11,
35224,
7,
23350,
8,
16034,
800,
78,
1063,
44441,
11050,
26297,
62,
19315,
38678,
11050,
35224,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
1351,
286,
262,
1353,
838,
2678,
416,
2811,
45458,
2546,
13,
7343,
1499,
1438,
290,
2811,
45458,
2546,
13,
46506,
26297,
62,
19315,
11,
35224,
7,
23350,
8,
16034,
800,
78,
1063,
44441,
11050,
26297,
62,
19315,
38678,
11050,
35224,
... |
What is the s B share for Handelsbanken funds incl XACT? | SELECT "s B share" FROM table_73216 WHERE "Shareholder" = 'Handelsbanken funds incl XACT' | [
2061,
318,
262,
264,
347,
2648,
329,
7157,
1424,
17796,
268,
5153,
13358,
1395,
10659,
30,
46506,
366,
82,
347,
2648,
1,
16034,
3084,
62,
22,
2624,
1433,
33411,
366,
11649,
13829,
1,
796,
705,
12885,
1424,
17796,
268,
5153,
13358,
139... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
264,
347,
2648,
329,
7157,
1424,
17796,
268,
5153,
13358,
1395,
10659,
30,
46506,
366,
82,
347,
2648,
1,
16034,
3084,
62,
22,
2624,
1433,
33411,
366,
11649,
13829,
1,
796,
705,
12885,
1424,
17796,
268,
5153,
13358,
139... |
Return the duration of the actor with the greatest age. | SELECT duration FROM actor ORDER BY age DESC LIMIT 1 | [
13615,
262,
9478,
286,
262,
8674,
351,
262,
6000,
2479,
13,
46506,
9478,
16034,
8674,
38678,
11050,
2479,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
262,
9478,
286,
262,
8674,
351,
262,
6000,
2479,
13,
46506,
9478,
16034,
8674,
38678,
11050,
2479,
22196,
34,
27564,
2043,
352
] |
When was Season Three premiered in region 2? | SELECT region_2 FROM table_2113721_7 WHERE dvd_name = "Season Three" | [
2215,
373,
7369,
7683,
44119,
287,
3814,
362,
30,
46506,
3814,
62,
17,
16034,
3084,
62,
21895,
2718,
2481,
62,
22,
33411,
288,
20306,
62,
3672,
796,
366,
18960,
7683,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
7369,
7683,
44119,
287,
3814,
362,
30,
46506,
3814,
62,
17,
16034,
3084,
62,
21895,
2718,
2481,
62,
22,
33411,
288,
20306,
62,
3672,
796,
366,
18960,
7683,
1
] |
If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria? | SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = "yamaha" | [
1532,
262,
11554,
318,
45483,
11,
290,
262,
24590,
7986,
547,
739,
3933,
11,
644,
338,
262,
2811,
286,
477,
10706,
10620,
351,
326,
9987,
30,
46506,
35224,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
24590,
1279,
3933,
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
] | [
1532,
262,
11554,
318,
45483,
11,
290,
262,
24590,
7986,
547,
739,
3933,
11,
644,
338,
262,
2811,
286,
477,
10706,
10620,
351,
326,
9987,
30,
46506,
35224,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
24590,
1279,
3933,
5357,
... |
For those employees who do not work in departments with managers that have ids between 100 and 200, return a scatter chart about the correlation between employee_id and salary . | SELECT EMPLOYEE_ID, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
6538,
62,
312,
290,
9588,
764,
46506,
17228,
6489,
21414,
6500,
62,
2389,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
6538,
62,
312,
290,
9588,
764,
46506,
17228,
6489,
21414,
6500,
62,
2389,
11,
... |
What is the class of team liqui moly equipe, which has less than 71 laps? | SELECT "Class" FROM table_48102 WHERE "Laps" < '71' AND "Team" = 'liqui moly equipe' | [
2061,
318,
262,
1398,
286,
1074,
14756,
72,
285,
3366,
1602,
3757,
11,
543,
468,
1342,
621,
9166,
24590,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
2780,
15377,
33411,
366,
43,
1686,
1,
1279,
705,
4869,
6,
5357,
366,
15592,
1,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1398,
286,
1074,
14756,
72,
285,
3366,
1602,
3757,
11,
543,
468,
1342,
621,
9166,
24590,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
2780,
15377,
33411,
366,
43,
1686,
1,
1279,
705,
4869,
6,
5357,
366,
15592,
1,
796,
... |
Tell me the region for frank erwin center | SELECT "Region" FROM table_31664 WHERE "Venue" = 'frank erwin center' | [
24446,
502,
262,
3814,
329,
14346,
1931,
5404,
3641,
46506,
366,
47371,
1,
16034,
3084,
62,
33400,
2414,
33411,
366,
37522,
518,
1,
796,
705,
8310,
962,
1931,
5404,
3641,
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
] | [
24446,
502,
262,
3814,
329,
14346,
1931,
5404,
3641,
46506,
366,
47371,
1,
16034,
3084,
62,
33400,
2414,
33411,
366,
37522,
518,
1,
796,
705,
8310,
962,
1931,
5404,
3641,
6
] |
What is the download of the varies catch-up period? | SELECT download FROM table_name_55 WHERE catch_up_period = "varies" | [
2061,
318,
262,
4321,
286,
262,
17806,
4929,
12,
929,
2278,
30,
46506,
4321,
16034,
3084,
62,
3672,
62,
2816,
33411,
4929,
62,
929,
62,
41007,
796,
366,
85,
3166,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
4321,
286,
262,
17806,
4929,
12,
929,
2278,
30,
46506,
4321,
16034,
3084,
62,
3672,
62,
2816,
33411,
4929,
62,
929,
62,
41007,
796,
366,
85,
3166,
1
] |
calculate the total number of patients who had icd9 code 14 | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.icd9_code = "14" | [
9948,
3129,
378,
262,
2472,
1271,
286,
3871,
508,
550,
14158,
67,
24,
2438,
1478,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
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
] | [
9948,
3129,
378,
262,
2472,
1271,
286,
3871,
508,
550,
14158,
67,
24,
2438,
1478,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
... |
Name the candidates for new york 21 | SELECT candidates FROM table_2668243_17 WHERE district = "New York 21" | [
5376,
262,
5871,
329,
649,
331,
967,
2310,
46506,
5871,
16034,
3084,
62,
2075,
3104,
26660,
62,
1558,
33411,
4783,
796,
366,
3791,
1971,
2310,
1
] | [
1,
1,
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,
5871,
329,
649,
331,
967,
2310,
46506,
5871,
16034,
3084,
62,
2075,
3104,
26660,
62,
1558,
33411,
4783,
796,
366,
3791,
1971,
2310,
1
] |
I want to know the pens with conv of 6 | SELECT "Pens" FROM table_52572 WHERE "Conv" = '6' | [
40,
765,
284,
760,
262,
29707,
351,
3063,
286,
718,
46506,
366,
47,
641,
1,
16034,
3084,
62,
39088,
4761,
33411,
366,
3103,
85,
1,
796,
705,
21,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40,
765,
284,
760,
262,
29707,
351,
3063,
286,
718,
46506,
366,
47,
641,
1,
16034,
3084,
62,
39088,
4761,
33411,
366,
3103,
85,
1,
796,
705,
21,
6
] |
Name the report for raymond sommer | SELECT report FROM table_name_66 WHERE winning_driver = "raymond sommer" | [
5376,
262,
989,
329,
26842,
6327,
3870,
647,
46506,
989,
16034,
3084,
62,
3672,
62,
2791,
33411,
5442,
62,
26230,
796,
366,
2433,
6327,
3870,
647,
1
] | [
1,
1,
1,
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,
989,
329,
26842,
6327,
3870,
647,
46506,
989,
16034,
3084,
62,
3672,
62,
2791,
33411,
5442,
62,
26230,
796,
366,
2433,
6327,
3870,
647,
1
] |
What was the reason for change when the successor was William Milnes, Jr. (C)? | SELECT reason_for_change FROM table_2417345_4 WHERE successor = "William Milnes, Jr. (C)" | [
2061,
373,
262,
1738,
329,
1487,
618,
262,
17270,
373,
3977,
4460,
2516,
11,
7504,
13,
357,
34,
19427,
46506,
1738,
62,
1640,
62,
3803,
16034,
3084,
62,
1731,
25399,
2231,
62,
19,
33411,
17270,
796,
366,
17121,
4460,
2516,
11,
7504,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1738,
329,
1487,
618,
262,
17270,
373,
3977,
4460,
2516,
11,
7504,
13,
357,
34,
19427,
46506,
1738,
62,
1640,
62,
3803,
16034,
3084,
62,
1731,
25399,
2231,
62,
19,
33411,
17270,
796,
366,
17121,
4460,
2516,
11,
7504,
... |
Which year has most matches? | SELECT year FROM betfront GROUP BY year ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
614,
468,
749,
7466,
30,
46506,
614,
16034,
731,
8534,
44441,
11050,
614,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
614,
468,
749,
7466,
30,
46506,
614,
16034,
731,
8534,
44441,
11050,
614,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
On what date did Gunnar Nilsson make the fastest lap? | SELECT date FROM table_name_38 WHERE fastest_lap = "gunnar nilsson" | [
2202,
644,
3128,
750,
6748,
23955,
29213,
16528,
787,
262,
14162,
14779,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2548,
33411,
14162,
62,
37796,
796,
366,
7145,
23955,
18038,
16528,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
750,
6748,
23955,
29213,
16528,
787,
262,
14162,
14779,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2548,
33411,
14162,
62,
37796,
796,
366,
7145,
23955,
18038,
16528,
1
] |
contraindication for exercise rehabilitation according to the investigators' decision; | SELECT * FROM table_train_20 WHERE exercise_rehabilitation = 1 | [
3642,
3201,
67,
3299,
329,
5517,
23668,
1864,
284,
262,
10093,
6,
2551,
26,
46506,
1635,
16034,
3084,
62,
27432,
62,
1238,
33411,
5517,
62,
260,
5976,
18194,
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
] | [
3642,
3201,
67,
3299,
329,
5517,
23668,
1864,
284,
262,
10093,
6,
2551,
26,
46506,
1635,
16034,
3084,
62,
27432,
62,
1238,
33411,
5517,
62,
260,
5976,
18194,
796,
352
] |
what is the date for traction type electric with calgary location? | SELECT date__from_ FROM table_name_18 WHERE traction_type = "electric" AND location = "calgary" | [
10919,
318,
262,
3128,
329,
23692,
2099,
5186,
351,
2386,
14849,
4067,
30,
46506,
3128,
834,
6738,
62,
16034,
3084,
62,
3672,
62,
1507,
33411,
23692,
62,
4906,
796,
366,
31067,
1,
5357,
4067,
796,
366,
9948,
14849,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
3128,
329,
23692,
2099,
5186,
351,
2386,
14849,
4067,
30,
46506,
3128,
834,
6738,
62,
16034,
3084,
62,
3672,
62,
1507,
33411,
23692,
62,
4906,
796,
366,
31067,
1,
5357,
4067,
796,
366,
9948,
14849,
1
] |
Who is the winner with an elapsed time of 12 h 42 min? | SELECT "Winner" FROM table_2536 WHERE "Elapsed Time" = '12 h 42 min' | [
8241,
318,
262,
8464,
351,
281,
42118,
640,
286,
1105,
289,
5433,
949,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
1495,
2623,
33411,
366,
9527,
28361,
3862,
1,
796,
705,
1065,
289,
5433,
949,
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,
8464,
351,
281,
42118,
640,
286,
1105,
289,
5433,
949,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
1495,
2623,
33411,
366,
9527,
28361,
3862,
1,
796,
705,
1065,
289,
5433,
949,
6
] |
What is the local/networked value for the show with an ad frequency of N/A? | SELECT "Local/Networked" FROM table_62806 WHERE "Ad Freq" = 'n/a' | [
2061,
318,
262,
1957,
14,
27349,
276,
1988,
329,
262,
905,
351,
281,
512,
8373,
286,
399,
14,
32,
30,
46506,
366,
14565,
14,
26245,
276,
1,
16034,
3084,
62,
5237,
37988,
33411,
366,
2782,
4848,
80,
1,
796,
705,
77,
14,
64,
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
] | [
2061,
318,
262,
1957,
14,
27349,
276,
1988,
329,
262,
905,
351,
281,
512,
8373,
286,
399,
14,
32,
30,
46506,
366,
14565,
14,
26245,
276,
1,
16034,
3084,
62,
5237,
37988,
33411,
366,
2782,
4848,
80,
1,
796,
705,
77,
14,
64,
6
] |
what is the least number of poles? | SELECT MIN(poles) FROM table_10705060_1 | [
10919,
318,
262,
1551,
1271,
286,
24971,
30,
46506,
20625,
7,
79,
4316,
8,
16034,
3084,
62,
940,
2154,
1120,
1899,
62,
16
] | [
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,
1551,
1271,
286,
24971,
30,
46506,
20625,
7,
79,
4316,
8,
16034,
3084,
62,
940,
2154,
1120,
1899,
62,
16
] |
Which class more recent than 1988 has G tyres? | SELECT "Class" FROM table_71176 WHERE "Tyres" = 'g' AND "Year" > '1988' | [
13828,
1398,
517,
2274,
621,
12122,
468,
402,
40498,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
22,
1157,
4304,
33411,
366,
25492,
411,
1,
796,
705,
70,
6,
5357,
366,
17688,
1,
1875,
705,
26709,
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,
1398,
517,
2274,
621,
12122,
468,
402,
40498,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
22,
1157,
4304,
33411,
366,
25492,
411,
1,
796,
705,
70,
6,
5357,
366,
17688,
1,
1875,
705,
26709,
6
] |
Name the vacator for kentucky 2nd | SELECT "Vacator" FROM table_26639 WHERE "District" = 'Kentucky 2nd' | [
5376,
262,
6658,
1352,
329,
479,
298,
5309,
362,
358,
46506,
366,
53,
330,
1352,
1,
16034,
3084,
62,
25540,
2670,
33411,
366,
44857,
1,
796,
705,
42265,
5309,
362,
358,
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
] | [
5376,
262,
6658,
1352,
329,
479,
298,
5309,
362,
358,
46506,
366,
53,
330,
1352,
1,
16034,
3084,
62,
25540,
2670,
33411,
366,
44857,
1,
796,
705,
42265,
5309,
362,
358,
6
] |
What is the venue when the score is 1 goal, and the date is August 27, 1980? | SELECT "Venue" FROM table_68394 WHERE "Score" = '1 goal' AND "Date" = 'august 27, 1980' | [
2061,
318,
262,
14359,
618,
262,
4776,
318,
352,
3061,
11,
290,
262,
3128,
318,
2932,
2681,
11,
7169,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
3104,
34626,
33411,
366,
26595,
1,
796,
705,
16,
3061,
6,
5357,
366,
10430,
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,
1,
1,
1,
1
] | [
2061,
318,
262,
14359,
618,
262,
4776,
318,
352,
3061,
11,
290,
262,
3128,
318,
2932,
2681,
11,
7169,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
3104,
34626,
33411,
366,
26595,
1,
796,
705,
16,
3061,
6,
5357,
366,
10430,
1,
7... |
Which GSWR Class is from 1893? | SELECT gswr_class FROM table_name_80 WHERE year = "1893" | [
13828,
402,
17887,
49,
5016,
318,
422,
48889,
30,
46506,
308,
2032,
81,
62,
4871,
16034,
3084,
62,
3672,
62,
1795,
33411,
614,
796,
366,
1507,
6052,
1
] | [
1,
1,
1,
1,
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,
402,
17887,
49,
5016,
318,
422,
48889,
30,
46506,
308,
2032,
81,
62,
4871,
16034,
3084,
62,
3672,
62,
1795,
33411,
614,
796,
366,
1507,
6052,
1
] |
how many teams are in the east region . | SELECT COUNT("team") FROM table_203_200 WHERE "region" = 'east' | [
4919,
867,
3466,
389,
287,
262,
7627,
3814,
764,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
22416,
62,
2167,
33411,
366,
36996,
1,
796,
705,
23316,
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
] | [
4919,
867,
3466,
389,
287,
262,
7627,
3814,
764,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
22416,
62,
2167,
33411,
366,
36996,
1,
796,
705,
23316,
6
] |
What was the year elected in District 17? | SELECT MIN("Elected") FROM table_5856 WHERE "District" = '17' | [
2061,
373,
262,
614,
7018,
287,
5665,
1596,
30,
46506,
20625,
7203,
36,
12609,
4943,
16034,
3084,
62,
3365,
3980,
33411,
366,
44857,
1,
796,
705,
1558,
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,
614,
7018,
287,
5665,
1596,
30,
46506,
20625,
7203,
36,
12609,
4943,
16034,
3084,
62,
3365,
3980,
33411,
366,
44857,
1,
796,
705,
1558,
6
] |
What is the lowest density of serravalle scrivia? | SELECT MIN("Density (inhabitants/km 2 )") FROM table_34023 WHERE "City" = 'serravalle scrivia' | [
2061,
318,
262,
9016,
12109,
286,
1055,
430,
2100,
293,
629,
380,
8869,
30,
46506,
20625,
7203,
35,
6377,
357,
259,
5976,
270,
1187,
14,
13276,
362,
1267,
4943,
16034,
3084,
62,
23601,
1954,
33411,
366,
14941,
1,
796,
705,
2655,
430,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12109,
286,
1055,
430,
2100,
293,
629,
380,
8869,
30,
46506,
20625,
7203,
35,
6377,
357,
259,
5976,
270,
1187,
14,
13276,
362,
1267,
4943,
16034,
3084,
62,
23601,
1954,
33411,
366,
14941,
1,
796,
705,
2655,
430,
... |
How many companies without a gas station in each main industry? Draw a bar chart, order y axis in descending order. | SELECT Main_Industry, COUNT(Main_Industry) FROM company WHERE NOT Company_ID IN (SELECT Company_ID FROM station_company) GROUP BY Main_Industry ORDER BY COUNT(Main_Industry) DESC | [
2437,
867,
2706,
1231,
257,
3623,
4429,
287,
1123,
1388,
2831,
30,
15315,
257,
2318,
8262,
11,
1502,
331,
16488,
287,
31491,
1502,
13,
46506,
8774,
62,
35848,
563,
11,
327,
28270,
7,
13383,
62,
35848,
563,
8,
16034,
1664,
33411,
5626,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2706,
1231,
257,
3623,
4429,
287,
1123,
1388,
2831,
30,
15315,
257,
2318,
8262,
11,
1502,
331,
16488,
287,
31491,
1502,
13,
46506,
8774,
62,
35848,
563,
11,
327,
28270,
7,
13383,
62,
35848,
563,
8,
16034,
1664,
33411,
5626,... |
Queries for systemc over time. | SELECT TIME_TO_STR(CreationDate, '%y') * 100 + TIME_TO_STR(CreationDate, '%M') AS yyyymm, COUNT(*) AS cnt FROM Posts AS p INNER JOIN PostTags AS pt ON pt.PostId = p.Id INNER JOIN Tags AS t ON t.Id = pt.TagId WHERE t.TagName = 'systemc' GROUP BY TIME_TO_STR(CreationDate, '%y') * 100 + TIME_TO_STR(CreationDate, '%M') ORD... | [
4507,
10640,
329,
1080,
66,
625,
640,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
88,
11537,
1635,
1802,
1343,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
44,
11537,
7054,
331,
22556,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4507,
10640,
329,
1080,
66,
625,
640,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
88,
11537,
1635,
1802,
1343,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
44,
11537,
7054,
331,
22556,... |
What was the score of the 2014 World Cup Qualification? | SELECT score FROM table_name_91 WHERE competition = "2014 world cup qualification" | [
2061,
373,
262,
4776,
286,
262,
1946,
2159,
5454,
9537,
2649,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
6420,
33411,
5449,
796,
366,
4967,
995,
6508,
28587,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
1946,
2159,
5454,
9537,
2649,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
6420,
33411,
5449,
796,
366,
4967,
995,
6508,
28587,
1
] |
Name the english gloss for nah i | SELECT "English gloss" FROM table_19784 WHERE "Southern Lakota" = 'naháŋȟčiŋ' | [
5376,
262,
46932,
21194,
329,
299,
993,
1312,
46506,
366,
15823,
21194,
1,
16034,
3084,
62,
1129,
37688,
33411,
366,
44993,
30392,
4265,
1,
796,
705,
40909,
6557,
129,
233,
132,
253,
46195,
72,
129,
233,
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
] | [
5376,
262,
46932,
21194,
329,
299,
993,
1312,
46506,
366,
15823,
21194,
1,
16034,
3084,
62,
1129,
37688,
33411,
366,
44993,
30392,
4265,
1,
796,
705,
40909,
6557,
129,
233,
132,
253,
46195,
72,
129,
233,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.