instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
How many students play each sport Show bar chart, and sort bar in ascending order.
SELECT SportName, COUNT(*) FROM SportsInfo GROUP BY SportName ORDER BY SportName
[ 2437, 867, 2444, 711, 1123, 6332, 5438, 2318, 8262, 11, 290, 3297, 2318, 287, 41988, 1502, 13, 46506, 12771, 5376, 11, 327, 28270, 7, 28104, 16034, 7092, 12360, 44441, 11050, 12771, 5376, 38678, 11050, 12771, 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, 1 ]
[ 2437, 867, 2444, 711, 1123, 6332, 5438, 2318, 8262, 11, 290, 3297, 2318, 287, 41988, 1502, 13, 46506, 12771, 5376, 11, 327, 28270, 7, 28104, 16034, 7092, 12360, 44441, 11050, 12771, 5376, 38678, 11050, 12771, 5376 ]
Name the episode for vic reeves and claudia winkleman
SELECT episode FROM table_23292220_7 WHERE seans_team = "Vic Reeves and Claudia Winkleman"
[ 5376, 262, 4471, 329, 20429, 302, 68, 1158, 290, 537, 3885, 544, 266, 19894, 805, 46506, 4471, 16034, 3084, 62, 1954, 1959, 1828, 1238, 62, 22, 33411, 384, 504, 62, 15097, 796, 366, 53, 291, 41533, 290, 50214, 370, 19894, 805, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4471, 329, 20429, 302, 68, 1158, 290, 537, 3885, 544, 266, 19894, 805, 46506, 4471, 16034, 3084, 62, 1954, 1959, 1828, 1238, 62, 22, 33411, 384, 504, 62, 15097, 796, 366, 53, 291, 41533, 290, 50214, 370, 19894, 805, 1 ]
what are the genders of patient 025-53910?
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '025-53910'
[ 10919, 389, 262, 38054, 286, 5827, 657, 1495, 12, 20, 2670, 940, 30, 46506, 360, 8808, 1268, 4177, 5827, 13, 8388, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 36629, 12, 20, 2670, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 262, 38054, 286, 5827, 657, 1495, 12, 20, 2670, 940, 30, 46506, 360, 8808, 1268, 4177, 5827, 13, 8388, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 36629, 12, 20, 2670, 940, 6 ]
Show me a line chart of how how many installation date change over the installation date, and could you list from low to high by the X-axis?
SELECT installation_date, COUNT(installation_date) FROM station GROUP BY installation_date ORDER BY installation_date
[ 15307, 502, 257, 1627, 8262, 286, 703, 703, 867, 9988, 3128, 1487, 625, 262, 9988, 3128, 11, 290, 714, 345, 1351, 422, 1877, 284, 1029, 416, 262, 1395, 12, 22704, 30, 46506, 9988, 62, 4475, 11, 327, 28270, 7, 17350, 341, 62, 4475, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 1627, 8262, 286, 703, 703, 867, 9988, 3128, 1487, 625, 262, 9988, 3128, 11, 290, 714, 345, 1351, 422, 1877, 284, 1029, 416, 262, 1395, 12, 22704, 30, 46506, 9988, 62, 4475, 11, 327, 28270, 7, 17350, 341, 62, 4475, ...
Are any classes available next semester for PreMajor fulfillment ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course.course_id = course_offering.course_id AND program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id AND semester.semester = 'FA' AND semester.semester_id = co...
[ 8491, 597, 6097, 1695, 1306, 24878, 329, 3771, 24206, 32402, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1430, 62, 17319, 11, 24878, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 597, 6097, 1695, 1306, 24878, 329, 3771, 24206, 32402, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1430, 62, 17319, 11, 24878, 33...
How many products are there in the records?
SELECT COUNT(*) FROM catalog_contents
[ 2437, 867, 3186, 389, 612, 287, 262, 4406, 30, 46506, 327, 28270, 7, 28104, 16034, 18388, 62, 3642, 658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3186, 389, 612, 287, 262, 4406, 30, 46506, 327, 28270, 7, 28104, 16034, 18388, 62, 3642, 658 ]
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the sum of department_id over the hire_date bin hire_date by time by a bar chart.
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 5011, 62, 312, 625, 262, 11078, 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...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 5011, 62, 312, 625, 262, 11078, 62, ...
What is the 110m H number when the overall points are 7835 (sb)?
SELECT 110 AS _m_h FROM table_name_85 WHERE overall_points = "7835 (sb)"
[ 2061, 318, 262, 9796, 76, 367, 1271, 618, 262, 4045, 2173, 389, 8699, 2327, 357, 36299, 19427, 46506, 9796, 7054, 4808, 76, 62, 71, 16034, 3084, 62, 3672, 62, 5332, 33411, 4045, 62, 13033, 796, 366, 3695, 2327, 357, 36299, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9796, 76, 367, 1271, 618, 262, 4045, 2173, 389, 8699, 2327, 357, 36299, 19427, 46506, 9796, 7054, 4808, 76, 62, 71, 16034, 3084, 62, 3672, 62, 5332, 33411, 4045, 62, 13033, 796, 366, 3695, 2327, 357, 36299, 16725 ]
What is the Long when the ryds is 18?
SELECT long FROM table_name_14 WHERE ryds = "18"
[ 2061, 318, 262, 5882, 618, 262, 374, 5173, 82, 318, 1248, 30, 46506, 890, 16034, 3084, 62, 3672, 62, 1415, 33411, 374, 5173, 82, 796, 366, 1507, 1 ]
[ 1, 1, 1, 1, 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, 5882, 618, 262, 374, 5173, 82, 318, 1248, 30, 46506, 890, 16034, 3084, 62, 3672, 62, 1415, 33411, 374, 5173, 82, 796, 366, 1507, 1 ]
What is the pick for the player with 2 years in the NBA and who plays for the Utah Jazz?
SELECT "Pick" FROM table_48463 WHERE "NBA years [a ]" = '2' AND "Previous team" = 'utah jazz'
[ 2061, 318, 262, 2298, 329, 262, 2137, 351, 362, 812, 287, 262, 7403, 290, 508, 5341, 329, 262, 10202, 21406, 30, 46506, 366, 31686, 1, 16034, 3084, 62, 2780, 38380, 33411, 366, 32470, 812, 685, 64, 2361, 1, 796, 705, 17, 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 ]
[ 2061, 318, 262, 2298, 329, 262, 2137, 351, 362, 812, 287, 262, 7403, 290, 508, 5341, 329, 262, 10202, 21406, 30, 46506, 366, 31686, 1, 16034, 3084, 62, 2780, 38380, 33411, 366, 32470, 812, 685, 64, 2361, 1, 796, 705, 17, 6, 5357, ...
List all artists with choreographer Marcos Aguirre and a simple rating.
SELECT "Artist" FROM table_3835 WHERE "Choreographer" = 'Marcos Aguirre' AND "Rating" = 'Simple'
[ 8053, 477, 7912, 351, 30569, 18539, 37033, 33118, 343, 260, 290, 257, 2829, 7955, 13, 46506, 366, 43020, 1, 16034, 3084, 62, 2548, 2327, 33411, 366, 1925, 382, 18539, 1, 796, 705, 22697, 418, 33118, 343, 260, 6, 5357, 366, 29321, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 7912, 351, 30569, 18539, 37033, 33118, 343, 260, 290, 257, 2829, 7955, 13, 46506, 366, 43020, 1, 16034, 3084, 62, 2548, 2327, 33411, 366, 1925, 382, 18539, 1, 796, 705, 22697, 418, 33118, 343, 260, 6, 5357, 366, 29321, 1, ...
What cities are in sweden on this list?
SELECT city FROM table_28005160_2 WHERE country = "Sweden"
[ 2061, 4736, 389, 287, 1509, 31829, 319, 428, 1351, 30, 46506, 1748, 16034, 3084, 62, 2078, 22544, 14198, 62, 17, 33411, 1499, 796, 366, 10462, 31829, 1 ]
[ 1, 1, 1, 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, 4736, 389, 287, 1509, 31829, 319, 428, 1351, 30, 46506, 1748, 16034, 3084, 62, 2078, 22544, 14198, 62, 17, 33411, 1499, 796, 366, 10462, 31829, 1 ]
CREATE TABLE test (blob_col BLOB, INDEX(blob_col(10)));.
SELECT OwnerUserId, COUNT(Id) FROM Posts GROUP BY OwnerUserId LIMIT 10
[ 43387, 6158, 43679, 1332, 357, 2436, 672, 62, 4033, 9878, 9864, 11, 24413, 6369, 7, 2436, 672, 62, 4033, 7, 940, 4008, 1776, 13, 46506, 23853, 12982, 7390, 11, 327, 28270, 7, 7390, 8, 16034, 12043, 44441, 11050, 23853, 12982, 7390, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 43387, 6158, 43679, 1332, 357, 2436, 672, 62, 4033, 9878, 9864, 11, 24413, 6369, 7, 2436, 672, 62, 4033, 7, 940, 4008, 1776, 13, 46506, 23853, 12982, 7390, 11, 327, 28270, 7, 7390, 8, 16034, 12043, 44441, 11050, 23853, 12982, 7390, 27...
Name the vermont for where 95.8% is 60.6%
SELECT "Vermont" FROM table_19827 WHERE "95.8%" = '60.6%'
[ 5376, 262, 3326, 8691, 329, 810, 6957, 13, 23, 4, 318, 3126, 13, 21, 4, 46506, 366, 53, 7780, 756, 1, 16034, 3084, 62, 22337, 1983, 33411, 366, 3865, 13, 23, 39658, 796, 705, 1899, 13, 21, 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 ]
[ 5376, 262, 3326, 8691, 329, 810, 6957, 13, 23, 4, 318, 3126, 13, 21, 4, 46506, 366, 53, 7780, 756, 1, 16034, 3084, 62, 22337, 1983, 33411, 366, 3865, 13, 23, 39658, 796, 705, 1899, 13, 21, 4, 6 ]
Show all the distinct buildings that have faculty rooms.
SELECT DISTINCT building FROM Faculty
[ 15307, 477, 262, 7310, 6832, 326, 423, 12829, 9519, 13, 46506, 360, 8808, 1268, 4177, 2615, 16034, 35262 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 262, 7310, 6832, 326, 423, 12829, 9519, 13, 46506, 360, 8808, 1268, 4177, 2615, 16034, 35262 ]
List the number of enginners in a stacked bar chart The x-axis is last name and group by skill description, display y axis from high to low order.
SELECT last_name, COUNT(last_name) FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id GROUP BY skill_description, last_name ORDER BY COUNT(last_name) DESC
[ 8053, 262, 1271, 286, 551, 1655, 2741, 287, 257, 24167, 2318, 8262, 383, 2124, 12, 22704, 318, 938, 1438, 290, 1448, 416, 5032, 6764, 11, 3359, 331, 16488, 422, 1029, 284, 1877, 1502, 13, 46506, 938, 62, 3672, 11, 327, 28270, 7, 129...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 551, 1655, 2741, 287, 257, 24167, 2318, 8262, 383, 2124, 12, 22704, 318, 938, 1438, 290, 1448, 416, 5032, 6764, 11, 3359, 331, 16488, 422, 1029, 284, 1877, 1502, 13, 46506, 938, 62, 3672, 11, 327, 28270, 7, 129...
What is the Away team when the match score was norths 19 manly 4?
SELECT away_team FROM table_name_54 WHERE match_score = "norths 19 manly 4"
[ 2061, 318, 262, 21986, 1074, 618, 262, 2872, 4776, 373, 5093, 82, 678, 582, 306, 604, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 4051, 33411, 2872, 62, 26675, 796, 366, 43588, 82, 678, 582, 306, 604, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 21986, 1074, 618, 262, 2872, 4776, 373, 5093, 82, 678, 582, 306, 604, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 4051, 33411, 2872, 62, 26675, 796, 366, 43588, 82, 678, 582, 306, 604, 1 ]
Find the number of patients who are widowed and have a lab test fluid of pleural.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "WIDOWED" AND lab.fluid = "Pleural"
[ 16742, 262, 1271, 286, 3871, 508, 389, 9214, 6972, 290, 423, 257, 2248, 1332, 11711, 286, 3339, 1523, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1271, 286, 3871, 508, 389, 9214, 6972, 290, 423, 257, 2248, 1332, 11711, 286, 3339, 1523, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16...
What is the smallest a o?
SELECT MIN(año) FROM table_27501971_2
[ 2061, 318, 262, 18197, 257, 267, 30, 46506, 20625, 7, 64, 31329, 8, 16034, 3084, 62, 23195, 30484, 4869, 62, 17 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18197, 257, 267, 30, 46506, 20625, 7, 64, 31329, 8, 16034, 3084, 62, 23195, 30484, 4869, 62, 17 ]
how many patients had an emergency admission type and the procedure repair of fistula involving bladder and intestine done?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.long_title = "Repair of fistula involving bladder and intestine"
[ 4919, 867, 3871, 550, 281, 6334, 13938, 2099, 290, 262, 8771, 9185, 286, 18606, 4712, 7411, 34918, 290, 45426, 1760, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 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...
[ 4919, 867, 3871, 550, 281, 6334, 13938, 2099, 290, 262, 8771, 9185, 286, 18606, 4712, 7411, 34918, 290, 45426, 1760, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
Which ground has a crowd over 41,185?
SELECT "Ground" FROM table_50493 WHERE "Crowd" > '41,185'
[ 13828, 2323, 468, 257, 4315, 625, 6073, 11, 21652, 30, 46506, 366, 35539, 1, 16034, 3084, 62, 1120, 43134, 33411, 366, 34, 3986, 1, 1875, 705, 3901, 11, 21652, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2323, 468, 257, 4315, 625, 6073, 11, 21652, 30, 46506, 366, 35539, 1, 16034, 3084, 62, 1120, 43134, 33411, 366, 34, 3986, 1, 1875, 705, 3901, 11, 21652, 6 ]
What was the place for the player whose final score was 71-69=140?
SELECT "Place" FROM table_50173 WHERE "Score" = '71-69=140'
[ 2061, 373, 262, 1295, 329, 262, 2137, 3025, 2457, 4776, 373, 9166, 12, 3388, 28, 15187, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 33548, 4790, 33411, 366, 26595, 1, 796, 705, 4869, 12, 3388, 28, 15187, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1295, 329, 262, 2137, 3025, 2457, 4776, 373, 9166, 12, 3388, 28, 15187, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 33548, 4790, 33411, 366, 26595, 1, 796, 705, 4869, 12, 3388, 28, 15187, 6 ]
Which state contains the University of Iowa in the mideast region?
SELECT "State" FROM table_45874 WHERE "Region" = 'mideast' AND "Host" = 'university of iowa'
[ 13828, 1181, 4909, 262, 2059, 286, 9406, 287, 262, 285, 485, 459, 3814, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 29334, 4524, 33411, 366, 47371, 1, 796, 705, 76, 485, 459, 6, 5357, 366, 17932, 1, 796, 705, 403, 1608, 286, 1312, 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 ]
[ 13828, 1181, 4909, 262, 2059, 286, 9406, 287, 262, 285, 485, 459, 3814, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 29334, 4524, 33411, 366, 47371, 1, 796, 705, 76, 485, 459, 6, 5357, 366, 17932, 1, 796, 705, 403, 1608, 286, 1312, 8...
Name the the highest Draw which has Points of 22 and Goals Conceded smaller than 26?
SELECT MAX("Draw") FROM table_61252 WHERE "Points" = '22' AND "Goals Conceded" < '26'
[ 5376, 262, 262, 4511, 15315, 543, 468, 11045, 286, 2534, 290, 28510, 1482, 771, 276, 4833, 621, 2608, 30, 46506, 25882, 7203, 25302, 4943, 16034, 3084, 62, 43610, 4309, 33411, 366, 40710, 1, 796, 705, 1828, 6, 5357, 366, 5247, 874, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 262, 4511, 15315, 543, 468, 11045, 286, 2534, 290, 28510, 1482, 771, 276, 4833, 621, 2608, 30, 46506, 25882, 7203, 25302, 4943, 16034, 3084, 62, 43610, 4309, 33411, 366, 40710, 1, 796, 705, 1828, 6, 5357, 366, 5247, 874, 14...
What were the high points on May 12?
SELECT "High points" FROM table_48587 WHERE "Date" = 'may 12'
[ 2061, 547, 262, 1029, 2173, 319, 1737, 1105, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 2780, 44617, 33411, 366, 10430, 1, 796, 705, 11261, 1105, 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, 547, 262, 1029, 2173, 319, 1737, 1105, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 2780, 44617, 33411, 366, 10430, 1, 796, 705, 11261, 1105, 6 ]
Who were the Brazil scorers for the World Cup Competition with a 1-2 score?
SELECT "Brazil scorers" FROM table_42346 WHERE "Competition" = 'world cup' AND "Score" = '1-2'
[ 8241, 547, 262, 7595, 4776, 3808, 329, 262, 2159, 5454, 27348, 351, 257, 352, 12, 17, 4776, 30, 46506, 366, 39190, 4776, 3808, 1, 16034, 3084, 62, 43356, 3510, 33411, 366, 7293, 15620, 1, 796, 705, 6894, 6508, 6, 5357, 366, 26595, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 547, 262, 7595, 4776, 3808, 329, 262, 2159, 5454, 27348, 351, 257, 352, 12, 17, 4776, 30, 46506, 366, 39190, 4776, 3808, 1, 16034, 3084, 62, 43356, 3510, 33411, 366, 7293, 15620, 1, 796, 705, 6894, 6508, 6, 5357, 366, 26595, 1...
What is Crew, when Date is July 26, 1977?
SELECT crew FROM table_name_61 WHERE date = "july 26, 1977"
[ 2061, 318, 17652, 11, 618, 7536, 318, 2901, 2608, 11, 15589, 30, 46506, 5462, 16034, 3084, 62, 3672, 62, 5333, 33411, 3128, 796, 366, 73, 2062, 2608, 11, 15589, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 17652, 11, 618, 7536, 318, 2901, 2608, 11, 15589, 30, 46506, 5462, 16034, 3084, 62, 3672, 62, 5333, 33411, 3128, 796, 366, 73, 2062, 2608, 11, 15589, 1 ]
what is drug type and drug route of drug name influenza virus vaccine?
SELECT prescriptions.drug_type, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Influenza Virus Vaccine"
[ 10919, 318, 2563, 2099, 290, 2563, 6339, 286, 2563, 1438, 29491, 9471, 12319, 30, 46506, 34092, 13, 30349, 62, 4906, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 18943, 2290, 23674, 40584, 31749, 500, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 2563, 2099, 290, 2563, 6339, 286, 2563, 1438, 29491, 9471, 12319, 30, 46506, 34092, 13, 30349, 62, 4906, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 18943, 2290, 23674, 40584, 31749, 500, 1 ]
What ship has a norway nationality?
SELECT "Ship" FROM table_12239 WHERE "Nationality" = 'norway'
[ 2061, 4074, 468, 257, 4249, 1014, 29835, 30, 46506, 366, 25586, 1, 16034, 3084, 62, 1065, 23516, 33411, 366, 16186, 414, 1, 796, 705, 13099, 1014, 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 ]
[ 2061, 4074, 468, 257, 4249, 1014, 29835, 30, 46506, 366, 25586, 1, 16034, 3084, 62, 1065, 23516, 33411, 366, 16186, 414, 1, 796, 705, 13099, 1014, 6 ]
list flights from DENVER to BALTIMORE
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMO...
[ 4868, 13956, 422, 37692, 5959, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 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...
[ 4868, 13956, 422, 37692, 5959, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62...
i would like to fly from BOSTON to PHILADELPHIA next THURSDAY
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days AS DAYS_0, days AS DAYS_1, flight WHERE ((date_day.day_number = 24 AND date_day.month_number = 5 AND date_day.year = 1991 AND DAYS_0.day_name = date_day.day_na...
[ 72, 561, 588, 284, 6129, 422, 347, 10892, 1340, 284, 9370, 4146, 2885, 3698, 11909, 3539, 1306, 2320, 4261, 10305, 4792, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 2738...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 561, 588, 284, 6129, 422, 347, 10892, 1340, 284, 9370, 4146, 2885, 3698, 11909, 3539, 1306, 2320, 4261, 10305, 4792, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 2738...
What was the record when the high rebounds was from Nick Collison (11)?
SELECT "Record" FROM table_17340 WHERE "High rebounds" = 'Nick Collison (11)'
[ 2061, 373, 262, 1700, 618, 262, 1029, 18841, 373, 422, 8047, 7778, 1653, 357, 1157, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 1558, 23601, 33411, 366, 11922, 18841, 1, 796, 705, 23609, 7778, 1653, 357, 1157, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1700, 618, 262, 1029, 18841, 373, 422, 8047, 7778, 1653, 357, 1157, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 1558, 23601, 33411, 366, 11922, 18841, 1, 796, 705, 23609, 7778, 1653, 357, 1157, 33047 ]
What was the second leg score from the group stage on matchday 5?
SELECT "Second leg" FROM table_34947 WHERE "Phase" = 'group stage' AND "Round" = 'matchday 5'
[ 2061, 373, 262, 1218, 1232, 4776, 422, 262, 1448, 3800, 319, 2872, 820, 642, 30, 46506, 366, 12211, 1232, 1, 16034, 3084, 62, 27371, 2857, 33411, 366, 35645, 1, 796, 705, 8094, 3800, 6, 5357, 366, 22685, 1, 796, 705, 15699, 820, 642...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1218, 1232, 4776, 422, 262, 1448, 3800, 319, 2872, 820, 642, 30, 46506, 366, 12211, 1232, 1, 16034, 3084, 62, 27371, 2857, 33411, 366, 35645, 1, 796, 705, 8094, 3800, 6, 5357, 366, 22685, 1, 796, 705, 15699, 820, 642...
Getting All Questions with more than 100 score.
SELECT p.Score, p.Id, p.Tags, pt.PostId AS "post_link", pt.TagId FROM Posts AS p INNER JOIN PostTags AS pt ON pt.PostId = p.Id WHERE pt.TagId = '3' AND p.Score >= '100' AND p.Score < '301'
[ 20570, 1439, 20396, 351, 517, 621, 1802, 4776, 13, 46506, 279, 13, 26595, 11, 279, 13, 7390, 11, 279, 13, 36142, 11, 42975, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 42975, 13, 24835, 7390, 16034, 12043, 7054, 279, 3268, 21479,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20570, 1439, 20396, 351, 517, 621, 1802, 4776, 13, 46506, 279, 13, 26595, 11, 279, 13, 7390, 11, 279, 13, 36142, 11, 42975, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 42975, 13, 24835, 7390, 16034, 12043, 7054, 279, 3268, 21479,...
What are the names and locations of festivals?
SELECT Festival_Name, LOCATION FROM festival_detail
[ 2061, 389, 262, 3891, 290, 7064, 286, 25575, 30, 46506, 11117, 62, 5376, 11, 37347, 6234, 16034, 10876, 62, 49170 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3891, 290, 7064, 286, 25575, 30, 46506, 11117, 62, 5376, 11, 37347, 6234, 16034, 10876, 62, 49170 ]
What is the score of the game where the NY Islanders are the home team?
SELECT score FROM table_name_10 WHERE home = "ny islanders"
[ 2061, 318, 262, 4776, 286, 262, 983, 810, 262, 6645, 32868, 389, 262, 1363, 1074, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 940, 33411, 1363, 796, 366, 3281, 7022, 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 ]
[ 2061, 318, 262, 4776, 286, 262, 983, 810, 262, 6645, 32868, 389, 262, 1363, 1074, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 940, 33411, 1363, 796, 366, 3281, 7022, 364, 1 ]
What is Country, when Place is 'T9', and when Player is 'Michael Campbell'?
SELECT country FROM table_name_1 WHERE place = "t9" AND player = "michael campbell"
[ 2061, 318, 12946, 11, 618, 8474, 318, 705, 51, 24, 3256, 290, 618, 7853, 318, 705, 13256, 14327, 30960, 46506, 1499, 16034, 3084, 62, 3672, 62, 16, 33411, 1295, 796, 366, 83, 24, 1, 5357, 2137, 796, 366, 76, 40302, 1413, 7923, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12946, 11, 618, 8474, 318, 705, 51, 24, 3256, 290, 618, 7853, 318, 705, 13256, 14327, 30960, 46506, 1499, 16034, 3084, 62, 3672, 62, 16, 33411, 1295, 796, 366, 83, 24, 1, 5357, 2137, 796, 366, 76, 40302, 1413, 7923, 1 ]
Top 50 Sri Lankan Developers who are on Stackoverflow.
SELECT ROW_NUMBER() OVER (ORDER BY Users.Reputation DESC) AS "#", Users.Id AS "user_link", Users.Location, Users.Reputation, Users.UpVotes, Users.DownVotes, (SELECT COUNT(*) FROM Posts AS PQ WHERE PostTypeId = 1 AND PQ.OwnerUserId = Users.Id) AS "questions", (SELECT COUNT(*) FROM Posts AS PA WHERE PostTypeId = 2 AND PA...
[ 9126, 2026, 20872, 44824, 272, 34152, 508, 389, 319, 23881, 2502, 11125, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 18987, 13, 6207, 7094, 22196, 34, 8, 7054, 25113, 1600, 18987, 13, 7390, 7054, 366, 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...
[ 9126, 2026, 20872, 44824, 272, 34152, 508, 389, 319, 23881, 2502, 11125, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 18987, 13, 6207, 7094, 22196, 34, 8, 7054, 25113, 1600, 18987, 13, 7390, 7054, 366, 7...
What is Nationality, when Round is less than 2, and when Pick is '24'?
SELECT "Nationality" FROM table_44883 WHERE "Round" < '2' AND "Pick" = '24'
[ 2061, 318, 2351, 414, 11, 618, 10485, 318, 1342, 621, 362, 11, 290, 618, 12346, 318, 705, 1731, 30960, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 2598, 49287, 33411, 366, 22685, 1, 1279, 705, 17, 6, 5357, 366, 31686, 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 ]
[ 2061, 318, 2351, 414, 11, 618, 10485, 318, 1342, 621, 362, 11, 290, 618, 12346, 318, 705, 1731, 30960, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 2598, 49287, 33411, 366, 22685, 1, 1279, 705, 17, 6, 5357, 366, 31686, 1, 796, 705, ...
How many wins do the Erie Otters have?
SELECT "Wins" FROM table_21894 WHERE "Team" = 'Erie Otters'
[ 2437, 867, 7864, 466, 262, 40911, 19740, 1010, 423, 30, 46506, 366, 54, 1040, 1, 16034, 3084, 62, 28727, 5824, 33411, 366, 15592, 1, 796, 705, 36, 5034, 19740, 1010, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7864, 466, 262, 40911, 19740, 1010, 423, 30, 46506, 366, 54, 1040, 1, 16034, 3084, 62, 28727, 5824, 33411, 366, 15592, 1, 796, 705, 36, 5034, 19740, 1010, 6 ]
Show different ways to get to attractions and the number of attractions that can be accessed in the corresponding way.
SELECT How_to_Get_There, COUNT(*) FROM Tourist_Attractions GROUP BY How_to_Get_There
[ 15307, 1180, 2842, 284, 651, 284, 29156, 290, 262, 1271, 286, 29156, 326, 460, 307, 17535, 287, 262, 11188, 835, 13, 46506, 1374, 62, 1462, 62, 3855, 62, 1858, 11, 327, 28270, 7, 28104, 16034, 9852, 396, 62, 8086, 37810, 44441, 11050,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 1180, 2842, 284, 651, 284, 29156, 290, 262, 1271, 286, 29156, 326, 460, 307, 17535, 287, 262, 11188, 835, 13, 46506, 1374, 62, 1462, 62, 3855, 62, 1858, 11, 327, 28270, 7, 28104, 16034, 9852, 396, 62, 8086, 37810, 44441, 11050,...
Which game was released in 2011?
SELECT "Game" FROM table_62747 WHERE "Year" = '2011'
[ 13828, 983, 373, 2716, 287, 2813, 30, 46506, 366, 8777, 1, 16034, 3084, 62, 49856, 2857, 33411, 366, 17688, 1, 796, 705, 9804, 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 ]
[ 13828, 983, 373, 2716, 287, 2813, 30, 46506, 366, 8777, 1, 16034, 3084, 62, 49856, 2857, 33411, 366, 17688, 1, 796, 705, 9804, 6 ]
Nam the points for when tries for is 91 and played of 22
SELECT points_for FROM table_name_73 WHERE played = "22" AND tries_for = "91"
[ 45, 321, 262, 2173, 329, 618, 8404, 329, 318, 10495, 290, 2826, 286, 2534, 46506, 2173, 62, 1640, 16034, 3084, 62, 3672, 62, 4790, 33411, 2826, 796, 366, 1828, 1, 5357, 8404, 62, 1640, 796, 366, 6420, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 45, 321, 262, 2173, 329, 618, 8404, 329, 318, 10495, 290, 2826, 286, 2534, 46506, 2173, 62, 1640, 16034, 3084, 62, 3672, 62, 4790, 33411, 2826, 796, 366, 1828, 1, 5357, 8404, 62, 1640, 796, 366, 6420, 1 ]
List the names of companies in descending order of market value.
SELECT name FROM companies ORDER BY market_value_billion DESC
[ 8053, 262, 3891, 286, 2706, 287, 31491, 1502, 286, 1910, 1988, 13, 46506, 1438, 16034, 2706, 38678, 11050, 1910, 62, 8367, 62, 24540, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 3891, 286, 2706, 287, 31491, 1502, 286, 1910, 1988, 13, 46506, 1438, 16034, 2706, 38678, 11050, 1910, 62, 8367, 62, 24540, 22196, 34 ]
Which Venue has a Gross Revenue (2012) of $179,712?
SELECT venue FROM table_name_41 WHERE gross_revenue__2012_ = "$179,712"
[ 13828, 9932, 518, 468, 257, 21796, 20197, 357, 6999, 8, 286, 720, 21738, 11, 49517, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 3901, 33411, 10319, 62, 260, 4080, 834, 6999, 62, 796, 17971, 21738, 11, 49517, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9932, 518, 468, 257, 21796, 20197, 357, 6999, 8, 286, 720, 21738, 11, 49517, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 3901, 33411, 10319, 62, 260, 4080, 834, 6999, 62, 796, 17971, 21738, 11, 49517, 1 ]
Protected hot network questions by the community user.
SELECT p.Id AS "post_link", p.OwnerUserId AS "user_link", ph.CreationDate, p.Score, p.AnswerCount, p.Tags FROM Posts AS p JOIN PostHistory AS ph ON p.Id = ph.PostId JOIN PostHistory AS ph2 ON p.Id = ph2.PostId WHERE ph.PostHistoryTypeId = 52 AND ph2.PostHistoryTypeId = 19 AND ph2.UserId = -1 ORDER BY ph.CreationDate
[ 19703, 11197, 3024, 3127, 2683, 416, 262, 2055, 2836, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 872, 13, 12443, 341, 10430, 11, 279, 13, 26595, 11, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19703, 11197, 3024, 3127, 2683, 416, 262, 2055, 2836, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 872, 13, 12443, 341, 10430, 11, 279, 13, 26595, 11, 279, ...
what is the number of games where the giants the opponent ?
SELECT COUNT(*) FROM table_204_147 WHERE "opponent" = 'giants'
[ 10919, 318, 262, 1271, 286, 1830, 810, 262, 20178, 262, 6125, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 20198, 33411, 366, 10365, 3471, 1, 796, 705, 12397, 1187, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 1830, 810, 262, 20178, 262, 6125, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 20198, 33411, 366, 10365, 3471, 1, 796, 705, 12397, 1187, 6 ]
In how many teams is Waqar Younis the head coach?
SELECT COUNT(team) FROM table_19905183_1 WHERE head_coach = "Waqar Younis"
[ 818, 703, 867, 3466, 318, 15329, 80, 283, 921, 21361, 262, 1182, 3985, 30, 46506, 327, 28270, 7, 15097, 8, 16034, 3084, 62, 19104, 2713, 24839, 62, 16, 33411, 1182, 62, 1073, 620, 796, 366, 54, 30188, 283, 921, 21361, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3466, 318, 15329, 80, 283, 921, 21361, 262, 1182, 3985, 30, 46506, 327, 28270, 7, 15097, 8, 16034, 3084, 62, 19104, 2713, 24839, 62, 16, 33411, 1182, 62, 1073, 620, 796, 366, 54, 30188, 283, 921, 21361, 1 ]
What is the highest attendance of the game on week 9?
SELECT MAX(attendance) FROM table_name_68 WHERE week = 9
[ 2061, 318, 262, 4511, 14858, 286, 262, 983, 319, 1285, 860, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3104, 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, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 14858, 286, 262, 983, 319, 1285, 860, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3104, 33411, 1285, 796, 860 ]
what was the drug that was prescribed to patient 013-33898 after receiving reintubation in 02/last year in the same day?
SELECT t2.drugname FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-33898') AND treatment.treatme...
[ 10919, 373, 262, 2563, 326, 373, 14798, 284, 5827, 5534, 18, 12, 28460, 4089, 706, 6464, 302, 600, 549, 341, 287, 7816, 14, 12957, 614, 287, 262, 976, 1110, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 403, 1557...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 2563, 326, 373, 14798, 284, 5827, 5534, 18, 12, 28460, 4089, 706, 6464, 302, 600, 549, 341, 287, 7816, 14, 12957, 614, 287, 262, 976, 1110, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 403, 1557...
what team won the least games ?
SELECT "team" FROM table_204_905 ORDER BY "wins" LIMIT 1
[ 10919, 1074, 1839, 262, 1551, 1830, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 44928, 38678, 11050, 366, 86, 1040, 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 ]
[ 10919, 1074, 1839, 262, 1551, 1830, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 44928, 38678, 11050, 366, 86, 1040, 1, 27564, 2043, 352 ]
Which Little League World Series took place in Parsippany?
SELECT llws FROM table_name_70 WHERE city = "parsippany"
[ 13828, 7703, 4041, 2159, 7171, 1718, 1295, 287, 23042, 3974, 1092, 30, 46506, 32660, 18504, 16034, 3084, 62, 3672, 62, 2154, 33411, 1748, 796, 366, 79, 945, 3974, 1092, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 7703, 4041, 2159, 7171, 1718, 1295, 287, 23042, 3974, 1092, 30, 46506, 32660, 18504, 16034, 3084, 62, 3672, 62, 2154, 33411, 1748, 796, 366, 79, 945, 3974, 1092, 1 ]
When the Fowler is 16, what is the number of cylinders?
SELECT COUNT("Stanier, 3 cylinder") FROM table_2227 WHERE "Fowler" = '16'
[ 2215, 262, 33693, 318, 1467, 11, 644, 318, 262, 1271, 286, 43386, 30, 46506, 327, 28270, 7203, 32140, 959, 11, 513, 24911, 4943, 16034, 3084, 62, 1828, 1983, 33411, 366, 37, 30014, 1, 796, 705, 1433, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 33693, 318, 1467, 11, 644, 318, 262, 1271, 286, 43386, 30, 46506, 327, 28270, 7203, 32140, 959, 11, 513, 24911, 4943, 16034, 3084, 62, 1828, 1983, 33411, 366, 37, 30014, 1, 796, 705, 1433, 6 ]
Avance to Explainer / Refiner / Illuminator Badge. Avance to Explainer / Refiner / Illuminator Badge
SELECT a.OwnerUserId AS "user_link", COUNT(PostId) AS "answer_edits" FROM Posts AS q JOIN PostHistory AS e ON PostId = q.Id JOIN Posts AS a ON a.ParentId = q.Id AND COALESCE(q.OwnerUserId, -1) != a.OwnerUserId AND UserId = a.OwnerUserId AND ABS(CAST((JULIANDAY(CreationDate) - JULIANDAY(a.CreationDate)) * 24.0 AS INT)) ...
[ 7355, 590, 284, 5905, 10613, 1220, 6524, 7274, 1220, 5821, 7230, 1352, 44308, 13, 5184, 590, 284, 5905, 10613, 1220, 6524, 7274, 1220, 5821, 7230, 1352, 44308, 46506, 257, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 7355, 590, 284, 5905, 10613, 1220, 6524, 7274, 1220, 5821, 7230, 1352, 44308, 13, 5184, 590, 284, 5905, 10613, 1220, 6524, 7274, 1220, 5821, 7230, 1352, 44308, 46506, 257, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28...
What's the 2012 during Wimbledon and had a Q3 in 2008?
SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon"
[ 2061, 338, 262, 2321, 1141, 39999, 49258, 290, 550, 257, 1195, 18, 287, 3648, 30, 46506, 2321, 16034, 3084, 62, 3672, 62, 5999, 33411, 3648, 796, 366, 80, 18, 1, 5357, 7756, 796, 366, 86, 320, 49258, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 2321, 1141, 39999, 49258, 290, 550, 257, 1195, 18, 287, 3648, 30, 46506, 2321, 16034, 3084, 62, 3672, 62, 5999, 33411, 3648, 796, 366, 80, 18, 1, 5357, 7756, 796, 366, 86, 320, 49258, 1 ]
Name the high assists for 29 game
SELECT "High assists" FROM table_21606 WHERE "Game" = '29'
[ 5376, 262, 1029, 13648, 329, 2808, 983, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 20666, 3312, 33411, 366, 8777, 1, 796, 705, 1959, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1029, 13648, 329, 2808, 983, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 20666, 3312, 33411, 366, 8777, 1, 796, 705, 1959, 6 ]
What is the singular if the plural is xweer(a)du?
SELECT singular FROM table_name_19 WHERE plural = "xweer(a)du"
[ 2061, 318, 262, 18032, 611, 262, 22801, 318, 2124, 732, 263, 7, 64, 8, 646, 30, 46506, 18032, 16034, 3084, 62, 3672, 62, 1129, 33411, 22801, 796, 366, 87, 732, 263, 7, 64, 8, 646, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18032, 611, 262, 22801, 318, 2124, 732, 263, 7, 64, 8, 646, 30, 46506, 18032, 16034, 3084, 62, 3672, 62, 1129, 33411, 22801, 796, 366, 87, 732, 263, 7, 64, 8, 646, 1 ]
What is the total for Chen Yibing ( chn ), when his B Score was smaller than 9.225?
SELECT COUNT("Total") FROM table_64178 WHERE "Gymnast" = 'chen yibing ( chn )' AND "B Score" < '9.225'
[ 2061, 318, 262, 2472, 329, 12555, 575, 571, 278, 357, 442, 77, 10612, 618, 465, 347, 15178, 373, 4833, 621, 860, 13, 18182, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 2414, 23188, 33411, 366, 38, 4948, 77, 459, 1, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 12555, 575, 571, 278, 357, 442, 77, 10612, 618, 465, 347, 15178, 373, 4833, 621, 860, 13, 18182, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 2414, 23188, 33411, 366, 38, 4948, 77, 459, 1, 79...
What was the home team in the February 22 game that Legace played in for the St. Louis Blues?
SELECT "Home" FROM table_52187 WHERE "Decision" = 'legace' AND "Visitor" = 'st. louis' AND "Date" = 'february 22'
[ 2061, 373, 262, 1363, 1074, 287, 262, 3945, 2534, 983, 326, 3564, 558, 2826, 287, 329, 262, 520, 13, 5593, 15261, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 4309, 23451, 33411, 366, 10707, 1166, 1, 796, 705, 1455, 558, 6, 5357, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 373, 262, 1363, 1074, 287, 262, 3945, 2534, 983, 326, 3564, 558, 2826, 287, 329, 262, 520, 13, 5593, 15261, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 4309, 23451, 33411, 366, 10707, 1166, 1, 796, 705, 1455, 558, 6, 5357, 366,...
What is the callsign of the 5kW Sonshine Radio Cotabato?
SELECT callsign FROM table_name_23 WHERE power__kw_ = "5kw" AND branding = "sonshine radio cotabato"
[ 2061, 318, 262, 3848, 570, 286, 262, 642, 74, 54, 27989, 71, 500, 8829, 42266, 397, 5549, 30, 46506, 3848, 570, 16034, 3084, 62, 3672, 62, 1954, 33411, 1176, 834, 46265, 62, 796, 366, 20, 46265, 1, 5357, 24150, 796, 366, 82, 684, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3848, 570, 286, 262, 642, 74, 54, 27989, 71, 500, 8829, 42266, 397, 5549, 30, 46506, 3848, 570, 16034, 3084, 62, 3672, 62, 1954, 33411, 1176, 834, 46265, 62, 796, 366, 20, 46265, 1, 5357, 24150, 796, 366, 82, 684, ...
What Vehicle Flight # has Pilot Peterson and Velocity (km/h) of 649?
SELECT "Vehicle Flight #" FROM table_80138 WHERE "Pilot" = 'peterson' AND "Velocity (km/h)" = '649'
[ 2061, 21501, 13365, 1303, 468, 21697, 18914, 290, 43137, 357, 13276, 14, 71, 8, 286, 718, 2920, 30, 46506, 366, 37870, 1548, 13365, 1303, 1, 16034, 3084, 62, 41531, 2548, 33411, 366, 47, 23439, 1, 796, 705, 6449, 882, 6, 5357, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 21501, 13365, 1303, 468, 21697, 18914, 290, 43137, 357, 13276, 14, 71, 8, 286, 718, 2920, 30, 46506, 366, 37870, 1548, 13365, 1303, 1, 16034, 3084, 62, 41531, 2548, 33411, 366, 47, 23439, 1, 796, 705, 6449, 882, 6, 5357, 366, ...
What is the highest yards when there are 0 INTs?
SELECT MAX("Yards") FROM table_6297 WHERE "INT'S" < '0'
[ 2061, 318, 262, 4511, 5695, 618, 612, 389, 657, 17828, 82, 30, 46506, 25882, 7203, 56, 1371, 4943, 16034, 3084, 62, 21, 26561, 33411, 366, 12394, 6, 50, 1, 1279, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 5695, 618, 612, 389, 657, 17828, 82, 30, 46506, 25882, 7203, 56, 1371, 4943, 16034, 3084, 62, 21, 26561, 33411, 366, 12394, 6, 50, 1, 1279, 705, 15, 6 ]
Where is the headquarters of the airline which has the ICAO code of AAU?
SELECT headquarters FROM table_15637071_1 WHERE icao = "AAU"
[ 8496, 318, 262, 10043, 286, 262, 18091, 543, 468, 262, 314, 8141, 46, 2438, 286, 15923, 52, 30, 46506, 10043, 16034, 3084, 62, 1314, 5066, 2154, 4869, 62, 16, 33411, 220, 3970, 78, 796, 366, 3838, 52, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 318, 262, 10043, 286, 262, 18091, 543, 468, 262, 314, 8141, 46, 2438, 286, 15923, 52, 30, 46506, 10043, 16034, 3084, 62, 1314, 5066, 2154, 4869, 62, 16, 33411, 220, 3970, 78, 796, 366, 3838, 52, 1 ]
tell me the number of urgent hospital admission patients aged less than 67 years.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.age < "67"
[ 33331, 502, 262, 1271, 286, 18039, 4436, 13938, 3871, 9722, 1342, 621, 8275, 812, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 4261, 38, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33331, 502, 262, 1271, 286, 18039, 4436, 13938, 3871, 9722, 1342, 621, 8275, 812, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 4261, 38, ...
Find the person who has exactly one friend.
SELECT name FROM personfriend GROUP BY name HAVING COUNT(*) = 1
[ 16742, 262, 1048, 508, 468, 3446, 530, 1545, 13, 46506, 1438, 16034, 1048, 6726, 44441, 11050, 1438, 367, 10116, 2751, 327, 28270, 7, 28104, 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 ]
[ 16742, 262, 1048, 508, 468, 3446, 530, 1545, 13, 46506, 1438, 16034, 1048, 6726, 44441, 11050, 1438, 367, 10116, 2751, 327, 28270, 7, 28104, 796, 352 ]
Who was the away team at Victoria Park?
SELECT "Away team" FROM table_4827 WHERE "Venue" = 'victoria park'
[ 8241, 373, 262, 1497, 1074, 379, 12313, 3250, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2780, 1983, 33411, 366, 37522, 518, 1, 796, 705, 32433, 7661, 3952, 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 ]
[ 8241, 373, 262, 1497, 1074, 379, 12313, 3250, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2780, 1983, 33411, 366, 37522, 518, 1, 796, 705, 32433, 7661, 3952, 6 ]
How many students are affected by each allergy type.
SELECT AllergyType, COUNT(*) FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy GROUP BY T2.AllergyType
[ 2437, 867, 2444, 389, 5676, 416, 1123, 36197, 2099, 13, 46506, 1439, 26079, 6030, 11, 327, 28270, 7, 28104, 16034, 7875, 62, 3237, 26079, 7054, 309, 16, 32357, 1268, 1439, 26079, 62, 6030, 7054, 309, 17, 6177, 309, 16, 13, 3237, 26079...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2444, 389, 5676, 416, 1123, 36197, 2099, 13, 46506, 1439, 26079, 6030, 11, 327, 28270, 7, 28104, 16034, 7875, 62, 3237, 26079, 7054, 309, 16, 32357, 1268, 1439, 26079, 62, 6030, 7054, 309, 17, 6177, 309, 16, 13, 3237, 26079...
Who wrote episode number 28?
SELECT "Written by" FROM table_73972 WHERE "No." = '28'
[ 8241, 2630, 4471, 1271, 2579, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 22, 2670, 4761, 33411, 366, 2949, 526, 796, 705, 2078, 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 ]
[ 8241, 2630, 4471, 1271, 2579, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 22, 2670, 4761, 33411, 366, 2949, 526, 796, 705, 2078, 6 ]
What year was trio brdeact wind allass the entrant?
SELECT year FROM table_name_16 WHERE entrant = "trio brdeact wind allass"
[ 2061, 614, 373, 19886, 865, 2934, 529, 2344, 477, 562, 262, 920, 5250, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 1433, 33411, 920, 5250, 796, 366, 83, 27250, 865, 2934, 529, 2344, 477, 562, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19886, 865, 2934, 529, 2344, 477, 562, 262, 920, 5250, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 1433, 33411, 920, 5250, 796, 366, 83, 27250, 865, 2934, 529, 2344, 477, 562, 1 ]
What is the NFL team of the player whose college is Minnesota?
SELECT "NFL Team" FROM table_19480 WHERE "College" = 'Minnesota'
[ 2061, 318, 262, 5134, 1074, 286, 262, 2137, 3025, 4152, 318, 8919, 30, 46506, 366, 32078, 4816, 1, 16034, 3084, 62, 1129, 22148, 33411, 366, 38951, 1, 796, 705, 45670, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5134, 1074, 286, 262, 2137, 3025, 4152, 318, 8919, 30, 46506, 366, 32078, 4816, 1, 16034, 3084, 62, 1129, 22148, 33411, 366, 38951, 1, 796, 705, 45670, 6 ]
Which coach has a conference record of 42-78?
SELECT "Coach" FROM table_33718 WHERE "Conference Record" = '42-78'
[ 13828, 3985, 468, 257, 4495, 1700, 286, 5433, 12, 3695, 30, 46506, 366, 40677, 1, 16034, 3084, 62, 31496, 1507, 33411, 366, 3103, 4288, 13266, 1, 796, 705, 3682, 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 ]
[ 13828, 3985, 468, 257, 4495, 1700, 286, 5433, 12, 3695, 30, 46506, 366, 40677, 1, 16034, 3084, 62, 31496, 1507, 33411, 366, 3103, 4288, 13266, 1, 796, 705, 3682, 12, 3695, 6 ]
When (r ba) is the belarusian how many slovenes are there?
SELECT COUNT(slovene) FROM table_26757_4 WHERE belarusian = "рыба (rýba)"
[ 2215, 357, 81, 26605, 8, 318, 262, 894, 20272, 666, 703, 867, 1017, 16206, 274, 389, 612, 30, 46506, 327, 28270, 7, 82, 5439, 574, 68, 8, 16034, 3084, 62, 2075, 39251, 62, 19, 33411, 894, 20272, 666, 796, 366, 21169, 45035, 140, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 357, 81, 26605, 8, 318, 262, 894, 20272, 666, 703, 867, 1017, 16206, 274, 389, 612, 30, 46506, 327, 28270, 7, 82, 5439, 574, 68, 8, 16034, 3084, 62, 2075, 39251, 62, 19, 33411, 894, 20272, 666, 796, 366, 21169, 45035, 140, 1...
what country won the most medals in shooting at the 1988 summer olympics ?
SELECT "nation" FROM table_203_113 ORDER BY "total" DESC LIMIT 1
[ 10919, 1499, 1839, 262, 749, 28057, 287, 4395, 379, 262, 12122, 3931, 267, 6760, 873, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 22416, 62, 16616, 38678, 11050, 366, 23350, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 1499, 1839, 262, 749, 28057, 287, 4395, 379, 262, 12122, 3931, 267, 6760, 873, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 22416, 62, 16616, 38678, 11050, 366, 23350, 1, 22196, 34, 27564, 2043, 352 ]
What are the course names, ordered by credits?
SELECT cname FROM course ORDER BY credits
[ 2061, 389, 262, 1781, 3891, 11, 6149, 416, 10824, 30, 46506, 269, 3672, 16034, 1781, 38678, 11050, 10824 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1781, 3891, 11, 6149, 416, 10824, 30, 46506, 269, 3672, 16034, 1781, 38678, 11050, 10824 ]
give me the number of patients whose ethnicity is american indian/alaska native and age is less than 31?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.age < "31"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 290, 2479, 318, 1342, 621, 3261, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 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...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 290, 2479, 318, 1342, 621, 3261, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, ...
What is the molecular target of the organism that has a disease area of antiviral?
SELECT "Molecular Target" FROM table_69537 WHERE "Disease Area" = 'antiviral'
[ 2061, 318, 262, 18955, 2496, 286, 262, 26433, 326, 468, 257, 4369, 1989, 286, 39331, 21093, 30, 46506, 366, 44, 2305, 10440, 12744, 1, 16034, 3084, 62, 37381, 2718, 33411, 366, 35, 786, 589, 9498, 1, 796, 705, 415, 452, 21093, 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, 318, 262, 18955, 2496, 286, 262, 26433, 326, 468, 257, 4369, 1989, 286, 39331, 21093, 30, 46506, 366, 44, 2305, 10440, 12744, 1, 16034, 3084, 62, 37381, 2718, 33411, 366, 35, 786, 589, 9498, 1, 796, 705, 415, 452, 21093, 6 ]
When Bush has 52.9%, what is the Bush#?
SELECT "Bush#" FROM table_14398 WHERE "Bush%" = '52.9%'
[ 2215, 5511, 468, 6740, 13, 24, 7441, 644, 318, 262, 5511, 2, 30, 46506, 366, 36113, 2, 1, 16034, 3084, 62, 1415, 31952, 33411, 366, 36113, 39658, 796, 705, 4309, 13, 24, 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 ]
[ 2215, 5511, 468, 6740, 13, 24, 7441, 644, 318, 262, 5511, 2, 30, 46506, 366, 36113, 2, 1, 16034, 3084, 62, 1415, 31952, 33411, 366, 36113, 39658, 796, 705, 4309, 13, 24, 4, 6 ]
how long , in pages , is volume 6 of doctor who classics ?
SELECT "pages" FROM table_204_648 WHERE "title" = 'volume 6'
[ 4919, 890, 837, 287, 5468, 837, 318, 6115, 718, 286, 6253, 508, 29039, 5633, 46506, 366, 31126, 1, 16034, 3084, 62, 18638, 62, 34287, 33411, 366, 7839, 1, 796, 705, 29048, 718, 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 ]
[ 4919, 890, 837, 287, 5468, 837, 318, 6115, 718, 286, 6253, 508, 29039, 5633, 46506, 366, 31126, 1, 16034, 3084, 62, 18638, 62, 34287, 33411, 366, 7839, 1, 796, 705, 29048, 718, 6 ]
which platforms had the most titles released ?
SELECT "platform(s)" FROM table_203_55 GROUP BY "platform(s)" ORDER BY COUNT("japanese title") DESC LIMIT 1
[ 4758, 9554, 550, 262, 749, 8714, 2716, 5633, 46506, 366, 24254, 7, 82, 16725, 16034, 3084, 62, 22416, 62, 2816, 44441, 11050, 366, 24254, 7, 82, 16725, 38678, 11050, 327, 28270, 7203, 73, 2674, 2771, 3670, 4943, 22196, 34, 27564, 2043, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 9554, 550, 262, 749, 8714, 2716, 5633, 46506, 366, 24254, 7, 82, 16725, 16034, 3084, 62, 22416, 62, 2816, 44441, 11050, 366, 24254, 7, 82, 16725, 38678, 11050, 327, 28270, 7203, 73, 2674, 2771, 3670, 4943, 22196, 34, 27564, 2043, ...
what would be patient 003-54468's daily maximum weight since 2102?
SELECT MAX(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-54468') AND NOT patient.admissionweight IS NULL AND STRFTIME('%y', patient.unitadmittime) >= '2102' GROUP BY STRFTIME('%y-%m-%d', patient.unit...
[ 10919, 561, 307, 5827, 3571, 18, 12, 47576, 3104, 338, 4445, 5415, 3463, 1201, 362, 15377, 30, 46506, 25882, 7, 26029, 13, 324, 3411, 6551, 8, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 561, 307, 5827, 3571, 18, 12, 47576, 3104, 338, 4445, 5415, 3463, 1201, 362, 15377, 30, 46506, 25882, 7, 26029, 13, 324, 3411, 6551, 8, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, ...
what was the first time patient 027-203413 has had the maximum respiration on this month/25?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-203413')) AND NOT vitalperiodic.respiration IS ...
[ 10919, 373, 262, 717, 640, 5827, 657, 1983, 12, 1238, 2682, 1485, 468, 550, 262, 5415, 1217, 15297, 319, 428, 1227, 14, 1495, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 717, 640, 5827, 657, 1983, 12, 1238, 2682, 1485, 468, 550, 262, 5415, 1217, 15297, 319, 428, 1227, 14, 1495, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13,...
Which Venue is the one for the footscray Home team?
SELECT "Venue" FROM table_78357 WHERE "Home team" = 'footscray'
[ 13828, 9932, 518, 318, 262, 530, 329, 262, 2366, 1416, 2433, 5995, 1074, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 3695, 27277, 33411, 366, 16060, 1074, 1, 796, 705, 5898, 1416, 2433, 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 ]
[ 13828, 9932, 518, 318, 262, 530, 329, 262, 2366, 1416, 2433, 5995, 1074, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 3695, 27277, 33411, 366, 16060, 1074, 1, 796, 705, 5898, 1416, 2433, 6 ]
on this month/21, was patient 10855's arterial bp [diastolic] ever less than 61.0?
SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10855)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [dias...
[ 261, 428, 1227, 14, 2481, 11, 373, 5827, 15495, 2816, 338, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 1683, 1342, 621, 8454, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 261, 428, 1227, 14, 2481, 11, 373, 5827, 15495, 2816, 338, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 1683, 1342, 621, 8454, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 4...
What is Name, when Length Meters is greater than 66.4, and when Km From Kingston is 138.8?
SELECT name FROM table_name_54 WHERE length_meters > 66.4 AND km_from_kingston = 138.8
[ 2061, 318, 6530, 11, 618, 22313, 3395, 364, 318, 3744, 621, 7930, 13, 19, 11, 290, 618, 509, 76, 3574, 34612, 318, 21503, 13, 23, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 4051, 33411, 4129, 62, 4164, 364, 1875, 7930, 13, 19, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 6530, 11, 618, 22313, 3395, 364, 318, 3744, 621, 7930, 13, 19, 11, 290, 618, 509, 76, 3574, 34612, 318, 21503, 13, 23, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 4051, 33411, 4129, 62, 4164, 364, 1875, 7930, 13, 19, 53...
What is the venue of the game where hibernian won and the rangers were the runner-up?
SELECT venue FROM table_name_15 WHERE runner_up = "rangers" AND winner = "hibernian"
[ 2061, 318, 262, 14359, 286, 262, 983, 810, 46681, 44516, 1839, 290, 262, 374, 6606, 547, 262, 17490, 12, 929, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1314, 33411, 17490, 62, 929, 796, 366, 81, 6606, 1, 5357, 8464, 796, 366, 71,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14359, 286, 262, 983, 810, 46681, 44516, 1839, 290, 262, 374, 6606, 547, 262, 17490, 12, 929, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1314, 33411, 17490, 62, 929, 796, 366, 81, 6606, 1, 5357, 8464, 796, 366, 71,...
what unit is listed first ?
SELECT "persian unit" FROM table_203_802 WHERE id = 1
[ 10919, 4326, 318, 5610, 717, 5633, 46506, 366, 19276, 666, 4326, 1, 16034, 3084, 62, 22416, 62, 30863, 33411, 4686, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 4326, 318, 5610, 717, 5633, 46506, 366, 19276, 666, 4326, 1, 16034, 3084, 62, 22416, 62, 30863, 33411, 4686, 796, 352 ]
among the patients aged 60 or above in 2100, what are the top three most frequent procedures?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age >...
[ 35131, 262, 3871, 9722, 3126, 393, 2029, 287, 38123, 11, 644, 389, 262, 1353, 1115, 749, 10792, 9021, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 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...
[ 35131, 262, 3871, 9722, 3126, 393, 2029, 287, 38123, 11, 644, 389, 262, 1353, 1115, 749, 10792, 9021, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 6...
Title of the angry brigade involves which lowest year?
SELECT MIN("Year") FROM table_5825 WHERE "Title" = 'the angry brigade'
[ 19160, 286, 262, 7954, 35889, 9018, 543, 9016, 614, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 3365, 1495, 33411, 366, 19160, 1, 796, 705, 1169, 7954, 35889, 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 ]
[ 19160, 286, 262, 7954, 35889, 9018, 543, 9016, 614, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 3365, 1495, 33411, 366, 19160, 1, 796, 705, 1169, 7954, 35889, 6 ]
Questions with titles 'Usage of'.
SELECT Id AS "post_link" FROM Posts WHERE Title LIKE 'programatically%' AND PostTypeId = 1
[ 35741, 351, 8714, 705, 28350, 286, 4458, 46506, 5121, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 33411, 11851, 34178, 705, 23065, 4142, 4, 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 ]
[ 35741, 351, 8714, 705, 28350, 286, 4458, 46506, 5121, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 33411, 11851, 34178, 705, 23065, 4142, 4, 6, 5357, 2947, 6030, 7390, 796, 352 ]
For each station, return its longitude and the average duration of trips that started from the station.
SELECT T1.name, T1.long, AVG(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.start_station_id GROUP BY T2.start_station_id
[ 1890, 1123, 4429, 11, 1441, 663, 890, 3984, 290, 262, 2811, 9478, 286, 13229, 326, 2067, 422, 262, 4429, 13, 46506, 309, 16, 13, 3672, 11, 309, 16, 13, 6511, 11, 35224, 7, 51, 17, 13, 32257, 8, 16034, 4429, 7054, 309, 16, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1123, 4429, 11, 1441, 663, 890, 3984, 290, 262, 2811, 9478, 286, 13229, 326, 2067, 422, 262, 4429, 13, 46506, 309, 16, 13, 3672, 11, 309, 16, 13, 6511, 11, 35224, 7, 51, 17, 13, 32257, 8, 16034, 4429, 7054, 309, 16, 32357, ...
What is the part 3 entry that has a part 4 entry of giboran?
SELECT part_3 FROM table_name_31 WHERE part_4 = "giboran"
[ 2061, 318, 262, 636, 513, 5726, 326, 468, 257, 636, 604, 5726, 286, 46795, 31884, 30, 46506, 636, 62, 18, 16034, 3084, 62, 3672, 62, 3132, 33411, 636, 62, 19, 796, 366, 70, 571, 31884, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 636, 513, 5726, 326, 468, 257, 636, 604, 5726, 286, 46795, 31884, 30, 46506, 636, 62, 18, 16034, 3084, 62, 3672, 62, 3132, 33411, 636, 62, 19, 796, 366, 70, 571, 31884, 1 ]
What is the branding of the callsign DWCI-TV?
SELECT branding FROM table_2610582_2 WHERE callsign = "DWCI-TV"
[ 2061, 318, 262, 24150, 286, 262, 3848, 570, 29652, 25690, 12, 6849, 30, 46506, 24150, 16034, 3084, 62, 2075, 940, 46044, 62, 17, 33411, 3848, 570, 796, 366, 42955, 25690, 12, 6849, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24150, 286, 262, 3848, 570, 29652, 25690, 12, 6849, 30, 46506, 24150, 16034, 3084, 62, 2075, 940, 46044, 62, 17, 33411, 3848, 570, 796, 366, 42955, 25690, 12, 6849, 1 ]
What is the Time/Retired with over 56 laps and a grid of 5?
SELECT time_retired FROM table_name_6 WHERE laps > 56 AND grid = 5
[ 2061, 318, 262, 3862, 14, 9781, 1202, 351, 625, 7265, 24590, 290, 257, 10706, 286, 642, 30, 46506, 640, 62, 1186, 1202, 16034, 3084, 62, 3672, 62, 21, 33411, 24590, 1875, 7265, 5357, 10706, 796, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3862, 14, 9781, 1202, 351, 625, 7265, 24590, 290, 257, 10706, 286, 642, 30, 46506, 640, 62, 1186, 1202, 16034, 3084, 62, 3672, 62, 21, 33411, 24590, 1875, 7265, 5357, 10706, 796, 642 ]
Which state has a king named xiang?
SELECT state FROM table_name_10 WHERE title = "king" AND name = "xiang"
[ 13828, 1181, 468, 257, 5822, 3706, 2124, 15483, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 940, 33411, 3670, 796, 366, 3364, 1, 5357, 1438, 796, 366, 87, 15483, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 1181, 468, 257, 5822, 3706, 2124, 15483, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 940, 33411, 3670, 796, 366, 3364, 1, 5357, 1438, 796, 366, 87, 15483, 1 ]
what is the number of songs sung by two singers ?
SELECT COUNT("song") FROM table_203_267 WHERE "singers" >= 2
[ 10919, 318, 262, 1271, 286, 7259, 23568, 416, 734, 39113, 5633, 46506, 327, 28270, 7203, 34050, 4943, 16034, 3084, 62, 22416, 62, 25674, 33411, 366, 12215, 364, 1, 18189, 362 ]
[ 1, 1, 1, 1, 1, 1, 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, 7259, 23568, 416, 734, 39113, 5633, 46506, 327, 28270, 7203, 34050, 4943, 16034, 3084, 62, 22416, 62, 25674, 33411, 366, 12215, 364, 1, 18189, 362 ]
What was the term of Hon Peter Morris?
SELECT term_in_office FROM table_name_42 WHERE member = "hon peter morris"
[ 2061, 373, 262, 3381, 286, 8835, 5613, 14433, 30, 46506, 3381, 62, 259, 62, 31810, 16034, 3084, 62, 3672, 62, 3682, 33411, 2888, 796, 366, 24130, 279, 2357, 2146, 2442, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 3381, 286, 8835, 5613, 14433, 30, 46506, 3381, 62, 259, 62, 31810, 16034, 3084, 62, 3672, 62, 3682, 33411, 2888, 796, 366, 24130, 279, 2357, 2146, 2442, 1 ]
I am taking INTLSTD 486 , what courses should I take first ?
SELECT DISTINCT advisory_requirement FROM course WHERE department = 'INTLSTD' AND number = 486
[ 40, 716, 2263, 3268, 14990, 32147, 604, 4521, 837, 644, 10902, 815, 314, 1011, 717, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 16034, 1781, 33411, 5011, 796, 705, 12394, 43, 32147, 6, 5357, 1271, 796, 604, 4521 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 716, 2263, 3268, 14990, 32147, 604, 4521, 837, 644, 10902, 815, 314, 1011, 717, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 16034, 1781, 33411, 5011, 796, 705, 12394, 43, 32147, 6, 5357, 1271, 796, 604, 4521 ]
Name the classes Dr. Aaron Magid teaches next semester .
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Aaron Magid%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offer...
[ 5376, 262, 6097, 1583, 13, 12139, 2944, 312, 17324, 1306, 24878, 764, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5376, 262, 6097, 1583, 13, 12139, 2944, 312, 17324, 1306, 24878, 764, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, ...
In what Country will Dennis Bl mke play the Germany F13 Futures Tournament?
SELECT country FROM table_name_9 WHERE singles_champions = "dennis blömke" AND tournament = "germany f13 futures"
[ 818, 644, 12946, 481, 16902, 1086, 285, 365, 711, 262, 4486, 376, 1485, 24002, 942, 9595, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 24, 33411, 25287, 62, 354, 4350, 796, 366, 67, 10679, 698, 9101, 76, 365, 1, 5357, 7756, 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 ]
[ 818, 644, 12946, 481, 16902, 1086, 285, 365, 711, 262, 4486, 376, 1485, 24002, 942, 9595, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 24, 33411, 25287, 62, 354, 4350, 796, 366, 67, 10679, 698, 9101, 76, 365, 1, 5357, 7756, 796, 366,...
what was the last ct scan - without iv contrast time of patient 013-21980 until 2104?
SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-21980')) AND treatment.treatmentname = 'ct scan - without iv ...
[ 10919, 373, 262, 938, 269, 83, 9367, 532, 1231, 21628, 6273, 640, 286, 5827, 5534, 18, 12, 17, 23664, 1566, 362, 13464, 30, 46506, 3513, 13, 42487, 2435, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 938, 269, 83, 9367, 532, 1231, 21628, 6273, 640, 286, 5827, 5534, 18, 12, 17, 23664, 1566, 362, 13464, 30, 46506, 3513, 13, 42487, 2435, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...