instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
what is the reported death date for laura svehaug?
SELECT "Reported death date" FROM table_44412 WHERE "Name" = 'laura svehaug'
[ 10919, 318, 262, 2098, 1918, 3128, 329, 300, 33830, 264, 33892, 7493, 30, 46506, 366, 6207, 9741, 1918, 3128, 1, 16034, 3084, 62, 30272, 1065, 33411, 366, 5376, 1, 796, 705, 75, 33830, 264, 33892, 7493, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2098, 1918, 3128, 329, 300, 33830, 264, 33892, 7493, 30, 46506, 366, 6207, 9741, 1918, 3128, 1, 16034, 3084, 62, 30272, 1065, 33411, 366, 5376, 1, 796, 705, 75, 33830, 264, 33892, 7493, 6 ]
What is the position of the player from Temple?
SELECT "Position" FROM table_32205 WHERE "School/Country" = 'temple'
[ 2061, 318, 262, 2292, 286, 262, 2137, 422, 10857, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2624, 21261, 33411, 366, 26130, 14, 33921, 1, 796, 705, 11498, 1154, 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, 2292, 286, 262, 2137, 422, 10857, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2624, 21261, 33411, 366, 26130, 14, 33921, 1, 796, 705, 11498, 1154, 6 ]
How many goals was by Rix from Eng who started before 2005 in the youth system?
SELECT COUNT(goals) FROM table_name_38 WHERE nat = "eng" AND transfer_fee = "youth system" AND since < 2005 AND name = "rix"
[ 2437, 867, 4661, 373, 416, 371, 844, 422, 1985, 508, 2067, 878, 5075, 287, 262, 6205, 1080, 30, 46506, 327, 28270, 7, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 34664, 796, 366, 1516, 1, 5357, 4351, 62, 39071, 796, 366, 88, 1536, 1080, 1, 5357, 1201, 1279, 5075, 5357, 1438, 796, 366, 8609, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4661, 373, 416, 371, 844, 422, 1985, 508, 2067, 878, 5075, 287, 262, 6205, 1080, 30, 46506, 327, 28270, 7, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 34664, 796, 366, 1516, 1, 5357, 4351, 62, 39071, 796, 366, 88, 1536, 1080, 1, 5357, 1201, 1279, 5075, 5357, 1438, 796, 366, 8609, 1 ]
Show me about the distribution of Team_Name and Team_ID in a bar chart, and order Y-axis in asc order.
SELECT Team_Name, Team_ID FROM basketball_match ORDER BY Team_ID
[ 15307, 502, 546, 262, 6082, 286, 4816, 62, 5376, 290, 4816, 62, 2389, 287, 257, 2318, 8262, 11, 290, 1502, 575, 12, 22704, 287, 10570, 1502, 13, 46506, 4816, 62, 5376, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 4816, 62, 2389 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4816, 62, 5376, 290, 4816, 62, 2389, 287, 257, 2318, 8262, 11, 290, 1502, 575, 12, 22704, 287, 10570, 1502, 13, 46506, 4816, 62, 5376, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 4816, 62, 2389 ]
count the number of patients whose diagnoses short title is seroma complicting proc?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Seroma complicting proc"
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 1055, 6086, 2299, 713, 278, 13834, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 7089, 6086, 2299, 713, 278, 13834, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40567, 1790, 3670, 318, 1055, 6086, 2299, 713, 278, 13834, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 7089, 6086, 2299, 713, 278, 13834, 1 ]
For those employees who did not have any job in the past, visualize a bar chart about the distribution of job_id and the average of department_id , and group by attribute job_id, and display in ascending by the X.
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY JOB_ID
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 3359, 287, 41988, 416, 262, 1395, 13, 46506, 449, 9864, 62, 2389, 11, 35224, 7, 7206, 30709, 10979, 62, 2389, 8, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8, 44441, 11050, 449, 9864, 62, 2389, 38678, 11050, 449, 9864, 62, 2389 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 3359, 287, 41988, 416, 262, 1395, 13, 46506, 449, 9864, 62, 2389, 11, 35224, 7, 7206, 30709, 10979, 62, 2389, 8, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8, 44441, 11050, 449, 9864, 62, 2389, 38678, 11050, 449, 9864, 62, 2389 ]
what is admission location and discharge location of subject id 25167?
SELECT demographic.admission_location, demographic.discharge_location FROM demographic WHERE demographic.subject_id = "25167"
[ 10919, 318, 13938, 4067, 290, 17655, 4067, 286, 2426, 4686, 1679, 21940, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1495, 21940, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 4067, 290, 17655, 4067, 286, 2426, 4686, 1679, 21940, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1495, 21940, 1 ]
Who was the winner of stage 12?
SELECT "Winner" FROM table_32624 WHERE "Stage" = '12'
[ 8241, 373, 262, 8464, 286, 3800, 1105, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 39195, 1731, 33411, 366, 29391, 1, 796, 705, 1065, 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, 373, 262, 8464, 286, 3800, 1105, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 39195, 1731, 33411, 366, 29391, 1, 796, 705, 1065, 6 ]
give me the top five most common diagnostics in 2100?
SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE STRFTIME('%y', diagnosis.diagnosistime) = '2100' GROUP BY diagnosis.diagnosisname) AS t1 WHERE t1.c1 <= 5
[ 26535, 502, 262, 1353, 1936, 749, 2219, 6689, 34558, 287, 38123, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 13669, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 13669, 13, 47356, 418, 396, 524, 8, 796, 705, 2481, 405, 6, 44441, 11050, 13669, 13, 47356, 5958, 3672, 8, 7054, 256, 16, 33411, 256, 16, 13, 66, 16, 19841, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1353, 1936, 749, 2219, 6689, 34558, 287, 38123, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 13669, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 13669, 13, 47356, 418, 396, 524, 8, 796, 705, 2481, 405, 6, 44441, 11050, 13669, 13, 47356, 5958, 3672, 8, 7054, 256, 16, 33411, 256, 16, 13, 66, 16, 19841, 642 ]
How many courses for each course description? Show me a stacked bar chart. The x-axis is course description and group by instructor's first name.
SELECT CRS_DESCRIPTION, COUNT(CRS_DESCRIPTION) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE JOIN PROFESSOR AS T4 ON T2.EMP_NUM = T4.EMP_NUM GROUP BY EMP_FNAME, CRS_DESCRIPTION
[ 2437, 867, 10902, 329, 1123, 1781, 6764, 30, 5438, 502, 257, 24167, 2318, 8262, 13, 383, 2124, 12, 22704, 318, 1781, 6764, 290, 1448, 416, 21187, 338, 717, 1438, 13, 46506, 327, 6998, 62, 30910, 40165, 11, 327, 28270, 7, 34, 6998, 62, 30910, 40165, 8, 16034, 42715, 7054, 309, 16, 32357, 1268, 17228, 6489, 21414, 6500, 7054, 309, 17, 6177, 309, 16, 13, 4805, 19238, 62, 41359, 796, 309, 17, 13, 39494, 62, 41359, 32357, 1268, 37384, 5188, 7054, 309, 18, 6177, 309, 16, 13, 34, 6998, 62, 34, 16820, 796, 309, 18, 13, 34, 6998, 62, 34, 16820, 32357, 1268, 4810, 19238, 7597, 1581, 7054, 309, 19, 6177, 309, 17, 13, 39494, 62, 41359, 796, 309, 19, 13, 39494, 62, 41359, 44441, 11050, 38144, 62, 37, 20608, 11, 327, 6998, 62, 30910, 40165 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10902, 329, 1123, 1781, 6764, 30, 5438, 502, 257, 24167, 2318, 8262, 13, 383, 2124, 12, 22704, 318, 1781, 6764, 290, 1448, 416, 21187, 338, 717, 1438, 13, 46506, 327, 6998, 62, 30910, 40165, 11, 327, 28270, 7, 34, 6998, 62, 30910, 40165, 8, 16034, 42715, 7054, 309, 16, 32357, 1268, 17228, 6489, 21414, 6500, 7054, 309, 17, 6177, 309, 16, 13, 4805, 19238, 62, 41359, 796, 309, 17, 13, 39494, 62, 41359, 32357, 1268, 37384, 5188, 7054, 309, 18, 6177, 309, 16, 13, 34, 6998, 62, 34, 16820, 796, 309, 18, 13, 34, 6998, 62, 34, 16820, 32357, 1268, 4810, 19238, 7597, 1581, 7054, 309, 19, 6177, 309, 17, 13, 39494, 62, 41359, 796, 309, 19, 13, 39494, 62, 41359, 44441, 11050, 38144, 62, 37, 20608, 11, 327, 6998, 62, 30910, 40165 ]
What is the 2007-08 result when the event was Colonial Square?
SELECT "2007\u201308" FROM table_41246 WHERE "Event" = 'colonial square'
[ 2061, 318, 262, 4343, 12, 2919, 1255, 618, 262, 1785, 373, 37726, 9276, 30, 46506, 366, 12726, 59, 84, 1264, 21495, 1, 16034, 3084, 62, 39226, 3510, 33411, 366, 9237, 1, 796, 705, 49787, 6616, 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 ]
[ 2061, 318, 262, 4343, 12, 2919, 1255, 618, 262, 1785, 373, 37726, 9276, 30, 46506, 366, 12726, 59, 84, 1264, 21495, 1, 16034, 3084, 62, 39226, 3510, 33411, 366, 9237, 1, 796, 705, 49787, 6616, 6 ]
For those products with a price between 60 and 120, visualize a bar chart about the distribution of name and code , and display Code in desc order.
SELECT Name, Code FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Code DESC
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 2438, 837, 290, 3359, 6127, 287, 1715, 1502, 13, 46506, 6530, 11, 6127, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982, 38678, 11050, 6127, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 2438, 837, 290, 3359, 6127, 287, 1715, 1502, 13, 46506, 6530, 11, 6127, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982, 38678, 11050, 6127, 22196, 34 ]
Who is the player from United States who play in year 2003-06 in Toronto?
SELECT player FROM table_name_8 WHERE nationality = "united states" AND years_in_toronto = "2003-06"
[ 8241, 318, 262, 2137, 422, 1578, 1829, 508, 711, 287, 614, 5816, 12, 3312, 287, 6586, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 23, 33411, 29835, 796, 366, 41187, 2585, 1, 5357, 812, 62, 259, 62, 13165, 5957, 796, 366, 16088, 12, 3312, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2137, 422, 1578, 1829, 508, 711, 287, 614, 5816, 12, 3312, 287, 6586, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 23, 33411, 29835, 796, 366, 41187, 2585, 1, 5357, 812, 62, 259, 62, 13165, 5957, 796, 366, 16088, 12, 3312, 1 ]
At what stadium was the final score 31-28?
SELECT "Stadium" FROM table_71510 WHERE "Final Score" = '31-28'
[ 2953, 644, 10308, 373, 262, 2457, 4776, 3261, 12, 2078, 30, 46506, 366, 1273, 6271, 1, 16034, 3084, 62, 22, 1314, 940, 33411, 366, 19006, 15178, 1, 796, 705, 3132, 12, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2953, 644, 10308, 373, 262, 2457, 4776, 3261, 12, 2078, 30, 46506, 366, 1273, 6271, 1, 16034, 3084, 62, 22, 1314, 940, 33411, 366, 19006, 15178, 1, 796, 705, 3132, 12, 2078, 6 ]
How many people attended the game with parent recording the decision and a Record of 42 18 10?
SELECT SUM(attendance) FROM table_name_52 WHERE decision = "parent" AND record = "42–18–10"
[ 2437, 867, 661, 9141, 262, 983, 351, 2560, 8296, 262, 2551, 290, 257, 13266, 286, 5433, 1248, 838, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 2551, 796, 366, 8000, 1, 5357, 1700, 796, 366, 3682, 1906, 1507, 1906, 940, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 9141, 262, 983, 351, 2560, 8296, 262, 2551, 290, 257, 13266, 286, 5433, 1248, 838, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 2551, 796, 366, 8000, 1, 5357, 1700, 796, 366, 3682, 1906, 1507, 1906, 940, 1 ]
give me the number of patients whose admission year is less than 2177?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admityear < "2177"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 22413, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 22413, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 614, 318, 1342, 621, 362, 22413, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 22413, 1 ]
Name all the products with next entry ID greater than 8.
SELECT catalog_entry_name FROM catalog_contents WHERE next_entry_id > 8
[ 5376, 477, 262, 3186, 351, 1306, 5726, 4522, 3744, 621, 807, 13, 46506, 18388, 62, 13000, 62, 3672, 16034, 18388, 62, 3642, 658, 33411, 1306, 62, 13000, 62, 312, 1875, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 477, 262, 3186, 351, 1306, 5726, 4522, 3744, 621, 807, 13, 46506, 18388, 62, 13000, 62, 3672, 16034, 18388, 62, 3642, 658, 33411, 1306, 62, 13000, 62, 312, 1875, 807 ]
Who directed the title that was written by Adam Milch?
SELECT directed_by FROM table_12419515_4 WHERE written_by = "Adam Milch"
[ 8241, 7924, 262, 3670, 326, 373, 3194, 416, 7244, 4460, 354, 30, 46506, 7924, 62, 1525, 16034, 3084, 62, 17464, 22186, 1314, 62, 19, 33411, 3194, 62, 1525, 796, 366, 23159, 4460, 354, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3670, 326, 373, 3194, 416, 7244, 4460, 354, 30, 46506, 7924, 62, 1525, 16034, 3084, 62, 17464, 22186, 1314, 62, 19, 33411, 3194, 62, 1525, 796, 366, 23159, 4460, 354, 1 ]
tell me whether patient jerry deberry is married or not.
SELECT demographic.marital_status FROM demographic WHERE demographic.name = "Jerry Deberry"
[ 33331, 502, 1771, 5827, 474, 6996, 390, 8396, 318, 6405, 393, 407, 13, 46506, 16728, 13, 3876, 1287, 62, 13376, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 43462, 1024, 8396, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1771, 5827, 474, 6996, 390, 8396, 318, 6405, 393, 407, 13, 46506, 16728, 13, 3876, 1287, 62, 13376, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 43462, 1024, 8396, 1 ]
How many total points were earned from the couple that averaged 29.0 points?
SELECT MAX(total_points_earned) FROM table_23662356_3 WHERE average = "29.0"
[ 2437, 867, 2472, 2173, 547, 7366, 422, 262, 3155, 326, 16449, 2808, 13, 15, 2173, 30, 46506, 25882, 7, 23350, 62, 13033, 62, 39123, 8, 16034, 3084, 62, 1954, 2791, 1954, 3980, 62, 18, 33411, 2811, 796, 366, 1959, 13, 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 ]
[ 2437, 867, 2472, 2173, 547, 7366, 422, 262, 3155, 326, 16449, 2808, 13, 15, 2173, 30, 46506, 25882, 7, 23350, 62, 13033, 62, 39123, 8, 16034, 3084, 62, 1954, 2791, 1954, 3980, 62, 18, 33411, 2811, 796, 366, 1959, 13, 15, 1 ]
When was the general foods pga seniors' championship tournament?
SELECT date FROM table_name_66 WHERE tournament = "general foods pga seniors' championship"
[ 2215, 373, 262, 2276, 9013, 279, 4908, 23481, 6, 12184, 7756, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2791, 33411, 7756, 796, 366, 24622, 9013, 279, 4908, 23481, 6, 12184, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 2276, 9013, 279, 4908, 23481, 6, 12184, 7756, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2791, 33411, 7756, 796, 366, 24622, 9013, 279, 4908, 23481, 6, 12184, 1 ]
Which OU career [b] had Position [A] as a forward when there were 56 appearances?
SELECT "Oxford United career [B ]" FROM table_5773 WHERE "Position [A ]" = 'forward' AND "Appearances" = '56'
[ 13828, 47070, 3451, 685, 65, 60, 550, 23158, 685, 32, 60, 355, 257, 2651, 618, 612, 547, 7265, 11057, 30, 46506, 366, 38208, 3841, 1578, 3451, 685, 33, 2361, 1, 16034, 3084, 62, 20, 46871, 33411, 366, 26545, 685, 32, 2361, 1, 796, 705, 11813, 6, 5357, 366, 47569, 1, 796, 705, 3980, 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 ]
[ 13828, 47070, 3451, 685, 65, 60, 550, 23158, 685, 32, 60, 355, 257, 2651, 618, 612, 547, 7265, 11057, 30, 46506, 366, 38208, 3841, 1578, 3451, 685, 33, 2361, 1, 16034, 3084, 62, 20, 46871, 33411, 366, 26545, 685, 32, 2361, 1, 796, 705, 11813, 6, 5357, 366, 47569, 1, 796, 705, 3980, 6 ]
What is the average Goals For for a team that has more Wins than 8?
SELECT AVG(goals_for) FROM table_name_94 WHERE wins > 8
[ 2061, 318, 262, 2811, 28510, 1114, 329, 257, 1074, 326, 468, 517, 24423, 621, 807, 30, 46506, 35224, 7, 2188, 874, 62, 1640, 8, 16034, 3084, 62, 3672, 62, 5824, 33411, 7864, 1875, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 28510, 1114, 329, 257, 1074, 326, 468, 517, 24423, 621, 807, 30, 46506, 35224, 7, 2188, 874, 62, 1640, 8, 16034, 3084, 62, 3672, 62, 5824, 33411, 7864, 1875, 807 ]
Who are the UK co-presenters that have Joe Swash as a co-presenter and Russell Kane as a comedian?
SELECT COUNT(uk_co_presenter) FROM table_14345690_15 WHERE co_presenter = "Joe Swash" AND comedian = "Russell Kane"
[ 8241, 389, 262, 3482, 763, 12, 25579, 364, 326, 423, 5689, 2451, 1077, 355, 257, 763, 12, 25579, 263, 290, 11563, 20055, 355, 257, 23139, 30, 46506, 327, 28270, 7, 2724, 62, 1073, 62, 25579, 263, 8, 16034, 3084, 62, 21139, 2231, 35844, 62, 1314, 33411, 763, 62, 25579, 263, 796, 366, 19585, 2451, 1077, 1, 5357, 23139, 796, 366, 46325, 20055, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 262, 3482, 763, 12, 25579, 364, 326, 423, 5689, 2451, 1077, 355, 257, 763, 12, 25579, 263, 290, 11563, 20055, 355, 257, 23139, 30, 46506, 327, 28270, 7, 2724, 62, 1073, 62, 25579, 263, 8, 16034, 3084, 62, 21139, 2231, 35844, 62, 1314, 33411, 763, 62, 25579, 263, 796, 366, 19585, 2451, 1077, 1, 5357, 23139, 796, 366, 46325, 20055, 1 ]
Bar chart x axis building y axis the average of capacity, and sort from high to low by the x-axis.
SELECT building, AVG(capacity) FROM classroom GROUP BY building ORDER BY building DESC
[ 10374, 8262, 2124, 16488, 2615, 331, 16488, 262, 2811, 286, 5339, 11, 290, 3297, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 13, 46506, 2615, 11, 35224, 7, 42404, 8, 16034, 15806, 44441, 11050, 2615, 38678, 11050, 2615, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 2615, 331, 16488, 262, 2811, 286, 5339, 11, 290, 3297, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 13, 46506, 2615, 11, 35224, 7, 42404, 8, 16034, 15806, 44441, 11050, 2615, 38678, 11050, 2615, 22196, 34 ]
What was the population of the area that was formerly under the authority of the Audenshaw Urban District?
SELECT "Population" FROM table_6160 WHERE "Former local authority" = 'audenshaw urban district'
[ 2061, 373, 262, 3265, 286, 262, 1989, 326, 373, 15734, 739, 262, 4934, 286, 262, 7591, 641, 26615, 14665, 5665, 30, 46506, 366, 45251, 1, 16034, 3084, 62, 21, 14198, 33411, 366, 14282, 1957, 4934, 1, 796, 705, 3885, 641, 26615, 7876, 4783, 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, 373, 262, 3265, 286, 262, 1989, 326, 373, 15734, 739, 262, 4934, 286, 262, 7591, 641, 26615, 14665, 5665, 30, 46506, 366, 45251, 1, 16034, 3084, 62, 21, 14198, 33411, 366, 14282, 1957, 4934, 1, 796, 705, 3885, 641, 26615, 7876, 4783, 6 ]
list the mountains that do not have an elevation above 3,100 ft.
SELECT "peak name" FROM table_203_808 WHERE "elevation" <= 3100
[ 4868, 262, 12269, 326, 466, 407, 423, 281, 22910, 2029, 513, 11, 3064, 10117, 13, 46506, 366, 36729, 1438, 1, 16034, 3084, 62, 22416, 62, 28362, 33411, 366, 68, 2768, 341, 1, 19841, 513, 3064 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 12269, 326, 466, 407, 423, 281, 22910, 2029, 513, 11, 3064, 10117, 13, 46506, 366, 36729, 1438, 1, 16034, 3084, 62, 22416, 62, 28362, 33411, 366, 68, 2768, 341, 1, 19841, 513, 3064 ]
Display a bar chart for how many students participated in tryouts for each college by descennding count?
SELECT cName, COUNT(*) FROM Tryout GROUP BY cName ORDER BY COUNT(*) DESC
[ 23114, 257, 2318, 8262, 329, 703, 867, 2444, 14888, 287, 1949, 5269, 329, 1123, 4152, 416, 1715, 268, 358, 278, 954, 30, 46506, 269, 5376, 11, 327, 28270, 7, 28104, 16034, 9993, 448, 44441, 11050, 269, 5376, 38678, 11050, 327, 28270, 7, 28104, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23114, 257, 2318, 8262, 329, 703, 867, 2444, 14888, 287, 1949, 5269, 329, 1123, 4152, 416, 1715, 268, 358, 278, 954, 30, 46506, 269, 5376, 11, 327, 28270, 7, 28104, 16034, 9993, 448, 44441, 11050, 269, 5376, 38678, 11050, 327, 28270, 7, 28104, 22196, 34 ]
What are all the section titles of the document named 'David CV'?
SELECT t2.section_title FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.document_code WHERE t1.document_name = "David CV"
[ 2061, 389, 477, 262, 2665, 8714, 286, 262, 3188, 3706, 705, 11006, 26196, 30960, 46506, 256, 17, 13, 5458, 62, 7839, 16034, 4963, 7054, 256, 16, 32357, 1268, 3188, 62, 23946, 7054, 256, 17, 6177, 256, 16, 13, 22897, 62, 8189, 796, 256, 17, 13, 22897, 62, 8189, 33411, 256, 16, 13, 22897, 62, 3672, 796, 366, 11006, 26196, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 477, 262, 2665, 8714, 286, 262, 3188, 3706, 705, 11006, 26196, 30960, 46506, 256, 17, 13, 5458, 62, 7839, 16034, 4963, 7054, 256, 16, 32357, 1268, 3188, 62, 23946, 7054, 256, 17, 6177, 256, 16, 13, 22897, 62, 8189, 796, 256, 17, 13, 22897, 62, 8189, 33411, 256, 16, 13, 22897, 62, 3672, 796, 366, 11006, 26196, 1 ]
PHIL 433 has been available for how long ?
SELECT DISTINCT semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'PHIL' AND course.number = 433 AND semester.semester_id = course_offering.semester ORDER BY semester.year LIMIT 1
[ 11909, 4146, 47407, 468, 587, 1695, 329, 703, 890, 5633, 46506, 360, 8808, 1268, 4177, 24878, 13, 1941, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 11909, 4146, 6, 5357, 1781, 13, 17618, 796, 47407, 5357, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 38678, 11050, 24878, 13, 1941, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 11909, 4146, 47407, 468, 587, 1695, 329, 703, 890, 5633, 46506, 360, 8808, 1268, 4177, 24878, 13, 1941, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 11909, 4146, 6, 5357, 1781, 13, 17618, 796, 47407, 5357, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 38678, 11050, 24878, 13, 1941, 27564, 2043, 352 ]
What is the fewest total when silver is 0, and gold is less than 1, and rank is less than 13?
SELECT MIN("Total") FROM table_9162 WHERE "Silver" = '0' AND "Gold" < '1' AND "Rank" < '13'
[ 2061, 318, 262, 1178, 395, 2472, 618, 8465, 318, 657, 11, 290, 3869, 318, 1342, 621, 352, 11, 290, 4279, 318, 1342, 621, 1511, 30, 46506, 20625, 7203, 14957, 4943, 16034, 3084, 62, 24, 25061, 33411, 366, 26766, 1, 796, 705, 15, 6, 5357, 366, 13306, 1, 1279, 705, 16, 6, 5357, 366, 27520, 1, 1279, 705, 1485, 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 ]
[ 2061, 318, 262, 1178, 395, 2472, 618, 8465, 318, 657, 11, 290, 3869, 318, 1342, 621, 352, 11, 290, 4279, 318, 1342, 621, 1511, 30, 46506, 20625, 7203, 14957, 4943, 16034, 3084, 62, 24, 25061, 33411, 366, 26766, 1, 796, 705, 15, 6, 5357, 366, 13306, 1, 1279, 705, 16, 6, 5357, 366, 27520, 1, 1279, 705, 1485, 6 ]
what's patient 51497's average value of ptt in 07/2105?
SELECT AVG(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 51497) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'ptt') AND STRFTIME('%y-%m', labevents.charttime) = '2105-07'
[ 10919, 338, 5827, 642, 1415, 5607, 338, 2811, 1988, 286, 279, 926, 287, 8753, 14, 17, 13348, 30, 46506, 35224, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 642, 1415, 5607, 8, 5357, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 312, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 18242, 796, 705, 457, 83, 11537, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 2248, 31534, 13, 40926, 2435, 8, 796, 705, 17, 13348, 12, 2998, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 338, 5827, 642, 1415, 5607, 338, 2811, 1988, 286, 279, 926, 287, 8753, 14, 17, 13348, 30, 46506, 35224, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 642, 1415, 5607, 8, 5357, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 312, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 18242, 796, 705, 457, 83, 11537, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 2248, 31534, 13, 40926, 2435, 8, 796, 705, 17, 13348, 12, 2998, 6 ]
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of hire_date and the average of department_id bin hire_date by time.
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 5011, 62, 312, 9874, 11078, 62, 4475, 416, 640, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 7206, 30709, 10979, 62, 2389, 8, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 5011, 62, 312, 9874, 11078, 62, 4475, 416, 640, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 7206, 30709, 10979, 62, 2389, 8, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6 ]
provide the number of patients whose discharge location is rehab/distinct part hosp and age is less than 61?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" AND demographic.age < "61"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 14321, 14, 17080, 4612, 636, 10496, 290, 2479, 318, 1342, 621, 8454, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 2200, 39, 6242, 14, 35, 8808, 1268, 4177, 16652, 367, 47053, 1, 5357, 16728, 13, 496, 1279, 366, 5333, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17655, 4067, 318, 14321, 14, 17080, 4612, 636, 10496, 290, 2479, 318, 1342, 621, 8454, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 2200, 39, 6242, 14, 35, 8808, 1268, 4177, 16652, 367, 47053, 1, 5357, 16728, 13, 496, 1279, 366, 5333, 1 ]
Find the name and hours of project that has the most number of scientists.
SELECT T1.name, T1.hours FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project GROUP BY T2.project ORDER BY COUNT(*) DESC LIMIT 1
[ 16742, 262, 1438, 290, 2250, 286, 1628, 326, 468, 262, 749, 1271, 286, 5519, 13, 46506, 309, 16, 13, 3672, 11, 309, 16, 13, 24425, 16034, 4493, 7054, 309, 16, 32357, 1268, 8686, 1462, 7054, 309, 17, 6177, 309, 16, 13, 8189, 796, 309, 17, 13, 16302, 44441, 11050, 309, 17, 13, 16302, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 290, 2250, 286, 1628, 326, 468, 262, 749, 1271, 286, 5519, 13, 46506, 309, 16, 13, 3672, 11, 309, 16, 13, 24425, 16034, 4493, 7054, 309, 16, 32357, 1268, 8686, 1462, 7054, 309, 17, 6177, 309, 16, 13, 8189, 796, 309, 17, 13, 16302, 44441, 11050, 309, 17, 13, 16302, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
What is the home team of the game on February 4?
SELECT home FROM table_name_74 WHERE date = "february 4"
[ 2061, 318, 262, 1363, 1074, 286, 262, 983, 319, 3945, 604, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 4524, 33411, 3128, 796, 366, 69, 1765, 3728, 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 ]
[ 2061, 318, 262, 1363, 1074, 286, 262, 983, 319, 3945, 604, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 4524, 33411, 3128, 796, 366, 69, 1765, 3728, 604, 1 ]
how many years was sk sturm graz winner ?
SELECT "winners" FROM table_203_125 WHERE "club" = 'sk sturm graz'
[ 4919, 867, 812, 373, 1341, 336, 333, 76, 32703, 8464, 5633, 46506, 366, 5404, 2741, 1, 16034, 3084, 62, 22416, 62, 11623, 33411, 366, 18664, 1, 796, 705, 8135, 336, 333, 76, 32703, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 812, 373, 1341, 336, 333, 76, 32703, 8464, 5633, 46506, 366, 5404, 2741, 1, 16034, 3084, 62, 22416, 62, 11623, 33411, 366, 18664, 1, 796, 705, 8135, 336, 333, 76, 32703, 6 ]
Name the married filing jointly or qualified widow(er) with head of household being $117,451 $190,200
SELECT married_filing_jointly_or_qualified_widow_er_ FROM table_name_61 WHERE head_of_household = "$117,451–$190,200"
[ 5376, 262, 6405, 12180, 26913, 393, 10617, 27075, 7, 263, 8, 351, 1182, 286, 6641, 852, 720, 17657, 11, 36330, 720, 19782, 11, 2167, 46506, 6405, 62, 69, 4386, 62, 73, 1563, 306, 62, 273, 62, 22557, 62, 28029, 322, 62, 263, 62, 16034, 3084, 62, 3672, 62, 5333, 33411, 1182, 62, 1659, 62, 4803, 2946, 796, 17971, 17657, 11, 36330, 1906, 3, 19782, 11, 2167, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6405, 12180, 26913, 393, 10617, 27075, 7, 263, 8, 351, 1182, 286, 6641, 852, 720, 17657, 11, 36330, 720, 19782, 11, 2167, 46506, 6405, 62, 69, 4386, 62, 73, 1563, 306, 62, 273, 62, 22557, 62, 28029, 322, 62, 263, 62, 16034, 3084, 62, 3672, 62, 5333, 33411, 1182, 62, 1659, 62, 4803, 2946, 796, 17971, 17657, 11, 36330, 1906, 3, 19782, 11, 2167, 1 ]
What is the location where Denny Hulme was the driver?
SELECT location FROM table_name_54 WHERE driver = "denny hulme"
[ 2061, 318, 262, 4067, 810, 360, 11870, 367, 377, 1326, 373, 262, 4639, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 4051, 33411, 4639, 796, 366, 67, 11870, 289, 377, 1326, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 810, 360, 11870, 367, 377, 1326, 373, 262, 4639, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 4051, 33411, 4639, 796, 366, 67, 11870, 289, 377, 1326, 1 ]
what is the total number of patients diagnosed with peritonitis nos?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Peritonitis NOS"
[ 10919, 318, 262, 2472, 1271, 286, 3871, 14641, 351, 583, 37752, 11815, 43630, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 5990, 37752, 11815, 399, 2640, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2472, 1271, 286, 3871, 14641, 351, 583, 37752, 11815, 43630, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 5990, 37752, 11815, 399, 2640, 1 ]
What is the stadium for the city of Braga?
SELECT "Stadium" FROM table_62103 WHERE "City" = 'braga'
[ 2061, 318, 262, 10308, 329, 262, 1748, 286, 1709, 8126, 30, 46506, 366, 1273, 6271, 1, 16034, 3084, 62, 5237, 15197, 33411, 366, 14941, 1, 796, 705, 1671, 8126, 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, 10308, 329, 262, 1748, 286, 1709, 8126, 30, 46506, 366, 1273, 6271, 1, 16034, 3084, 62, 5237, 15197, 33411, 366, 14941, 1, 796, 705, 1671, 8126, 6 ]
what is part 4 when the class is 5?
SELECT part_4 FROM table_name_37 WHERE class = "5"
[ 10919, 318, 636, 604, 618, 262, 1398, 318, 642, 30, 46506, 636, 62, 19, 16034, 3084, 62, 3672, 62, 2718, 33411, 1398, 796, 366, 20, 1 ]
[ 1, 1, 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, 636, 604, 618, 262, 1398, 318, 642, 30, 46506, 636, 62, 19, 16034, 3084, 62, 3672, 62, 2718, 33411, 1398, 796, 366, 20, 1 ]
what is the code for BUSINESS class
SELECT DISTINCT fare.fare_basis_code FROM fare, fare_basis WHERE fare_basis.class_type = 'BUSINESS' AND fare.fare_basis_code = fare_basis.fare_basis_code
[ 10919, 318, 262, 2438, 329, 43949, 44180, 1398, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 12093, 271, 62, 8189, 16034, 14505, 11, 14505, 62, 12093, 271, 33411, 14505, 62, 12093, 271, 13, 4871, 62, 4906, 796, 705, 45346, 44180, 6, 5357, 14505, 13, 9496, 62, 12093, 271, 62, 8189, 796, 14505, 62, 12093, 271, 13, 9496, 62, 12093, 271, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2438, 329, 43949, 44180, 1398, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 12093, 271, 62, 8189, 16034, 14505, 11, 14505, 62, 12093, 271, 33411, 14505, 62, 12093, 271, 13, 4871, 62, 4906, 796, 705, 45346, 44180, 6, 5357, 14505, 13, 9496, 62, 12093, 271, 62, 8189, 796, 14505, 62, 12093, 271, 13, 9496, 62, 12093, 271, 62, 8189 ]
What is the title of the story published on October 19, 2011?
SELECT "Story" FROM table_41117 WHERE "Date" = 'october 19, 2011'
[ 2061, 318, 262, 3670, 286, 262, 1621, 3199, 319, 3267, 678, 11, 2813, 30, 46506, 366, 11605, 1, 16034, 3084, 62, 42224, 1558, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 678, 11, 2813, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3670, 286, 262, 1621, 3199, 319, 3267, 678, 11, 2813, 30, 46506, 366, 11605, 1, 16034, 3084, 62, 42224, 1558, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 678, 11, 2813, 6 ]
What is the Away team when Arsenal is the Home team?
SELECT away_team FROM table_name_93 WHERE home_team = "arsenal"
[ 2061, 318, 262, 21986, 1074, 618, 13837, 318, 262, 5995, 1074, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 6052, 33411, 1363, 62, 15097, 796, 366, 945, 268, 282, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 21986, 1074, 618, 13837, 318, 262, 5995, 1074, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 6052, 33411, 1363, 62, 15097, 796, 366, 945, 268, 282, 1 ]
Show the member name and hometown who registered a branch in 2016.
SELECT T2.name, T2.hometown FROM membership_register_branch AS T1 JOIN member AS T2 ON T1.member_id = T2.member_id WHERE T1.register_year = 2016
[ 15307, 262, 2888, 1438, 290, 20994, 508, 6823, 257, 8478, 287, 1584, 13, 46506, 309, 17, 13, 3672, 11, 309, 17, 13, 71, 19191, 16034, 9931, 62, 30238, 62, 1671, 3702, 7054, 309, 16, 32357, 1268, 2888, 7054, 309, 17, 6177, 309, 16, 13, 19522, 62, 312, 796, 309, 17, 13, 19522, 62, 312, 33411, 309, 16, 13, 30238, 62, 1941, 796, 1584 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 2888, 1438, 290, 20994, 508, 6823, 257, 8478, 287, 1584, 13, 46506, 309, 17, 13, 3672, 11, 309, 17, 13, 71, 19191, 16034, 9931, 62, 30238, 62, 1671, 3702, 7054, 309, 16, 32357, 1268, 2888, 7054, 309, 17, 6177, 309, 16, 13, 19522, 62, 312, 796, 309, 17, 13, 19522, 62, 312, 33411, 309, 16, 13, 30238, 62, 1941, 796, 1584 ]
What is the fewest drawn matches for teams with 2 points and fewer than 6 losses?
SELECT MIN(drawn) FROM table_name_86 WHERE points = 2 AND lost < 6
[ 2061, 318, 262, 1178, 395, 7428, 7466, 329, 3466, 351, 362, 2173, 290, 7380, 621, 718, 9089, 30, 46506, 20625, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 2173, 796, 362, 5357, 2626, 1279, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1178, 395, 7428, 7466, 329, 3466, 351, 362, 2173, 290, 7380, 621, 718, 9089, 30, 46506, 20625, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 2173, 796, 362, 5357, 2626, 1279, 718 ]
how many patients whose admission year is less than 2105 and diagnoses long title is stevens-johnson syndrome-toxic epidermal necrolysis overlap syndrome?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2105" AND diagnoses.long_title = "Stevens-Johnson syndrome-toxic epidermal necrolysis overlap syndrome"
[ 4919, 867, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 13348, 290, 40567, 890, 3670, 318, 2876, 574, 82, 12, 30686, 1559, 14027, 12, 83, 18047, 2462, 1304, 7617, 497, 19915, 306, 13429, 21721, 14027, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 13348, 1, 5357, 40567, 13, 6511, 62, 7839, 796, 366, 28292, 82, 12, 25378, 14027, 12, 83, 18047, 2462, 1304, 7617, 497, 19915, 306, 13429, 21721, 14027, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 13348, 290, 40567, 890, 3670, 318, 2876, 574, 82, 12, 30686, 1559, 14027, 12, 83, 18047, 2462, 1304, 7617, 497, 19915, 306, 13429, 21721, 14027, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 13348, 1, 5357, 40567, 13, 6511, 62, 7839, 796, 366, 28292, 82, 12, 25378, 14027, 12, 83, 18047, 2462, 1304, 7617, 497, 19915, 306, 13429, 21721, 14027, 1 ]
The match against Paul-Henri Mathieu had what outcome?
SELECT outcome FROM table_name_92 WHERE opponent = "paul-henri mathieu"
[ 464, 2872, 1028, 3362, 12, 26055, 380, 16320, 22304, 550, 644, 8055, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 5892, 33411, 6125, 796, 366, 79, 2518, 12, 831, 380, 10688, 22304, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 2872, 1028, 3362, 12, 26055, 380, 16320, 22304, 550, 644, 8055, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 5892, 33411, 6125, 796, 366, 79, 2518, 12, 831, 380, 10688, 22304, 1 ]
Show all allergies with number of students affected Show bar chart, and could you list by the X-axis in asc please?
SELECT Allergy, COUNT(*) FROM Has_Allergy GROUP BY Allergy ORDER BY Allergy
[ 15307, 477, 36665, 351, 1271, 286, 2444, 5676, 5438, 2318, 8262, 11, 290, 714, 345, 1351, 416, 262, 1395, 12, 22704, 287, 10570, 3387, 30, 46506, 1439, 26079, 11, 327, 28270, 7, 28104, 16034, 7875, 62, 3237, 26079, 44441, 11050, 1439, 26079, 38678, 11050, 1439, 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 ]
[ 15307, 477, 36665, 351, 1271, 286, 2444, 5676, 5438, 2318, 8262, 11, 290, 714, 345, 1351, 416, 262, 1395, 12, 22704, 287, 10570, 3387, 30, 46506, 1439, 26079, 11, 327, 28270, 7, 28104, 16034, 7875, 62, 3237, 26079, 44441, 11050, 1439, 26079, 38678, 11050, 1439, 26079 ]
how many patients was given endo polpectomy lrge int since 2 years ago for two times?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'endo polpectomy lrge int') AND DATETIME(procedures_icd.charttime) >= DATETIME(CURRENT_TIME(), '-2 year') GROUP BY admissions.subject_id) AS t1 WHERE t1.c1 = 2
[ 4919, 867, 3871, 373, 1813, 886, 78, 755, 806, 9145, 300, 81, 469, 493, 1201, 362, 812, 2084, 329, 734, 1661, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 327, 28270, 7, 28104, 7054, 269, 16, 16034, 9021, 62, 291, 67, 32357, 1268, 25349, 6177, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 796, 705, 31110, 755, 806, 9145, 300, 81, 469, 493, 11537, 5357, 360, 1404, 2767, 12789, 7, 1676, 771, 942, 62, 291, 67, 13, 40926, 2435, 8, 18189, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 12, 17, 614, 11537, 44441, 11050, 25349, 13, 32796, 62, 312, 8, 7054, 256, 16, 33411, 256, 16, 13, 66, 16, 796, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 1813, 886, 78, 755, 806, 9145, 300, 81, 469, 493, 1201, 362, 812, 2084, 329, 734, 1661, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 327, 28270, 7, 28104, 7054, 269, 16, 16034, 9021, 62, 291, 67, 32357, 1268, 25349, 6177, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 796, 705, 31110, 755, 806, 9145, 300, 81, 469, 493, 11537, 5357, 360, 1404, 2767, 12789, 7, 1676, 771, 942, 62, 291, 67, 13, 40926, 2435, 8, 18189, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 12, 17, 614, 11537, 44441, 11050, 25349, 13, 32796, 62, 312, 8, 7054, 256, 16, 33411, 256, 16, 13, 66, 16, 796, 362 ]
tell me the last time patient 031-23724 took a microbiology test in 08/last year?
SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-23724')) AND DATETIME(microlab.culturetakentime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', microlab.culturetakentime) = '08' ORDER BY microlab.culturetakentime DESC LIMIT 1
[ 33331, 502, 262, 938, 640, 5827, 657, 3132, 12, 24693, 1731, 1718, 257, 24559, 1435, 1332, 287, 8487, 14, 12957, 614, 30, 46506, 4580, 23912, 13, 25584, 83, 461, 298, 524, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 24693, 1731, 6, 4008, 5357, 360, 1404, 2767, 12789, 7, 24055, 23912, 13, 25584, 83, 461, 298, 524, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 16, 614, 11537, 5357, 19269, 9792, 12789, 10786, 4, 76, 3256, 4580, 23912, 13, 25584, 83, 461, 298, 524, 8, 796, 705, 2919, 6, 38678, 11050, 4580, 23912, 13, 25584, 83, 461, 298, 524, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 640, 5827, 657, 3132, 12, 24693, 1731, 1718, 257, 24559, 1435, 1332, 287, 8487, 14, 12957, 614, 30, 46506, 4580, 23912, 13, 25584, 83, 461, 298, 524, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 24693, 1731, 6, 4008, 5357, 360, 1404, 2767, 12789, 7, 24055, 23912, 13, 25584, 83, 461, 298, 524, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 16, 614, 11537, 5357, 19269, 9792, 12789, 10786, 4, 76, 3256, 4580, 23912, 13, 25584, 83, 461, 298, 524, 8, 796, 705, 2919, 6, 38678, 11050, 4580, 23912, 13, 25584, 83, 461, 298, 524, 22196, 34, 27564, 2043, 352 ]
what was the next game of the year after trumpet ?
SELECT "game of the year" FROM table_204_675 WHERE "year" > (SELECT "year" FROM table_204_675 WHERE "game of the year" = 'trumpet') ORDER BY "year" LIMIT 1
[ 10919, 373, 262, 1306, 983, 286, 262, 614, 706, 40334, 5633, 46506, 366, 6057, 286, 262, 614, 1, 16034, 3084, 62, 18638, 62, 42444, 33411, 366, 1941, 1, 1875, 357, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 42444, 33411, 366, 6057, 286, 262, 614, 1, 796, 705, 40954, 316, 11537, 38678, 11050, 366, 1941, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1306, 983, 286, 262, 614, 706, 40334, 5633, 46506, 366, 6057, 286, 262, 614, 1, 16034, 3084, 62, 18638, 62, 42444, 33411, 366, 1941, 1, 1875, 357, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 42444, 33411, 366, 6057, 286, 262, 614, 1, 796, 705, 40954, 316, 11537, 38678, 11050, 366, 1941, 1, 27564, 2043, 352 ]
what is the minimum age of patients who have a government insurance policy and the year of death is before 2133?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.insurance = "Government" AND demographic.dod_year < "2133.0"
[ 10919, 318, 262, 5288, 2479, 286, 3871, 508, 423, 257, 1230, 5096, 2450, 290, 262, 614, 286, 1918, 318, 878, 362, 16945, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 28848, 1, 5357, 16728, 13, 67, 375, 62, 1941, 1279, 366, 17, 16945, 13, 15, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 5288, 2479, 286, 3871, 508, 423, 257, 1230, 5096, 2450, 290, 262, 614, 286, 1918, 318, 878, 362, 16945, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 28848, 1, 5357, 16728, 13, 67, 375, 62, 1941, 1279, 366, 17, 16945, 13, 15, 1 ]
What are the names of device shops, and what are the carriers that they carry devices in stock for?, display Y-axis in desc order please.
SELECT Carrier, COUNT(Carrier) FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID GROUP BY Carrier ORDER BY COUNT(Carrier) DESC
[ 2061, 389, 262, 3891, 286, 3335, 12437, 11, 290, 644, 389, 262, 16651, 326, 484, 3283, 4410, 287, 4283, 329, 21747, 3359, 575, 12, 22704, 287, 1715, 1502, 3387, 13, 46506, 30252, 11, 327, 28270, 7, 9914, 5277, 8, 16034, 4283, 7054, 309, 16, 32357, 1268, 3335, 7054, 309, 17, 6177, 309, 16, 13, 24728, 62, 2389, 796, 309, 17, 13, 24728, 62, 2389, 32357, 1268, 6128, 7054, 309, 18, 6177, 309, 16, 13, 29917, 62, 2389, 796, 309, 18, 13, 29917, 62, 2389, 44441, 11050, 30252, 38678, 11050, 327, 28270, 7, 9914, 5277, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 286, 3335, 12437, 11, 290, 644, 389, 262, 16651, 326, 484, 3283, 4410, 287, 4283, 329, 21747, 3359, 575, 12, 22704, 287, 1715, 1502, 3387, 13, 46506, 30252, 11, 327, 28270, 7, 9914, 5277, 8, 16034, 4283, 7054, 309, 16, 32357, 1268, 3335, 7054, 309, 17, 6177, 309, 16, 13, 24728, 62, 2389, 796, 309, 17, 13, 24728, 62, 2389, 32357, 1268, 6128, 7054, 309, 18, 6177, 309, 16, 13, 29917, 62, 2389, 796, 309, 18, 13, 29917, 62, 2389, 44441, 11050, 30252, 38678, 11050, 327, 28270, 7, 9914, 5277, 8, 22196, 34 ]
Keras posts without python tag containing unformated code.
SELECT ViewCount, Id AS "post_link", Body FROM Posts AS p WHERE (p.Tags LIKE '%apache-beam%') ORDER BY p.ViewCount DESC
[ 42, 263, 292, 6851, 1231, 21015, 7621, 7268, 555, 687, 515, 2438, 13, 46506, 3582, 12332, 11, 5121, 7054, 366, 7353, 62, 8726, 1600, 12290, 16034, 12043, 7054, 279, 33411, 357, 79, 13, 36142, 34178, 705, 4, 43073, 12, 40045, 4, 11537, 38678, 11050, 279, 13, 7680, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 42, 263, 292, 6851, 1231, 21015, 7621, 7268, 555, 687, 515, 2438, 13, 46506, 3582, 12332, 11, 5121, 7054, 366, 7353, 62, 8726, 1600, 12290, 16034, 12043, 7054, 279, 33411, 357, 79, 13, 36142, 34178, 705, 4, 43073, 12, 40045, 4, 11537, 38678, 11050, 279, 13, 7680, 12332, 22196, 34 ]
Give me the time of admission and diagnoses icd9 code for the patient with patient id 1875.
SELECT demographic.admittime, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "1875"
[ 23318, 502, 262, 640, 286, 13938, 290, 40567, 14158, 67, 24, 2438, 329, 262, 5827, 351, 5827, 4686, 1248, 2425, 13, 46506, 16728, 13, 324, 20124, 524, 11, 40567, 13, 291, 67, 24, 62, 8189, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1507, 2425, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 640, 286, 13938, 290, 40567, 14158, 67, 24, 2438, 329, 262, 5827, 351, 5827, 4686, 1248, 2425, 13, 46506, 16728, 13, 324, 20124, 524, 11, 40567, 13, 291, 67, 24, 62, 8189, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1507, 2425, 1 ]
Give me the best place in san francisco for french food ?
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'san francisco' AND restaurant.food_type = 'french' AND restaurant.id = location.restaurant_id AND restaurant.rating = (SELECT MAX(RESTAURANTalias1.rating) FROM location AS LOCATIONalias1, restaurant AS RESTAURANTalias1 WHERE LOCATIONalias1.city_name = 'san francisco' AND RESTAURANTalias1.food_type = 'french' AND RESTAURANTalias1.id = LOCATIONalias1.restaurant_id)
[ 23318, 502, 262, 1266, 1295, 287, 5336, 46754, 4861, 329, 48718, 2057, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 12807, 46754, 4861, 6, 5357, 7072, 13, 19425, 62, 4906, 796, 705, 69, 3532, 6, 5357, 7072, 13, 312, 796, 4067, 13, 2118, 2899, 415, 62, 312, 5357, 7072, 13, 8821, 796, 357, 46506, 25882, 7, 19535, 5603, 4261, 8643, 26011, 16, 13, 8821, 8, 16034, 4067, 7054, 37347, 6234, 26011, 16, 11, 7072, 7054, 15731, 5603, 4261, 8643, 26011, 16, 33411, 37347, 6234, 26011, 16, 13, 19205, 62, 3672, 796, 705, 12807, 46754, 4861, 6, 5357, 15731, 5603, 4261, 8643, 26011, 16, 13, 19425, 62, 4906, 796, 705, 69, 3532, 6, 5357, 15731, 5603, 4261, 8643, 26011, 16, 13, 312, 796, 37347, 6234, 26011, 16, 13, 2118, 2899, 415, 62, 312, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 1266, 1295, 287, 5336, 46754, 4861, 329, 48718, 2057, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 12807, 46754, 4861, 6, 5357, 7072, 13, 19425, 62, 4906, 796, 705, 69, 3532, 6, 5357, 7072, 13, 312, 796, 4067, 13, 2118, 2899, 415, 62, 312, 5357, 7072, 13, 8821, 796, 357, 46506, 25882, 7, 19535, 5603, 4261, 8643, 26011, 16, 13, 8821, 8, 16034, 4067, 7054, 37347, 6234, 26011, 16, 11, 7072, 7054, 15731, 5603, 4261, 8643, 26011, 16, 33411, 37347, 6234, 26011, 16, 13, 19205, 62, 3672, 796, 705, 12807, 46754, 4861, 6, 5357, 15731, 5603, 4261, 8643, 26011, 16, 13, 19425, 62, 4906, 796, 705, 69, 3532, 6, 5357, 15731, 5603, 4261, 8643, 26011, 16, 13, 312, 796, 37347, 6234, 26011, 16, 13, 2118, 2899, 415, 62, 312, 8 ]
What is Opponent, when Championship is P tange?
SELECT "Opponent" FROM table_44608 WHERE "Championship" = 'pétange'
[ 2061, 318, 9385, 3471, 11, 618, 10749, 318, 350, 256, 858, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2598, 28688, 33411, 366, 1925, 4350, 1056, 1, 796, 705, 79, 25125, 858, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 9385, 3471, 11, 618, 10749, 318, 350, 256, 858, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2598, 28688, 33411, 366, 1925, 4350, 1056, 1, 796, 705, 79, 25125, 858, 6 ]
What class is BIOLCHEM 576 ?
SELECT DISTINCT name FROM course WHERE department = 'BIOLCHEM' AND number = 576
[ 2061, 1398, 318, 20068, 3535, 3398, 3620, 642, 4304, 5633, 46506, 360, 8808, 1268, 4177, 1438, 16034, 1781, 33411, 5011, 796, 705, 3483, 3535, 3398, 3620, 6, 5357, 1271, 796, 642, 4304 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1398, 318, 20068, 3535, 3398, 3620, 642, 4304, 5633, 46506, 360, 8808, 1268, 4177, 1438, 16034, 1781, 33411, 5011, 796, 705, 3483, 3535, 3398, 3620, 6, 5357, 1271, 796, 642, 4304 ]
provide the number of patients whose admission location is transfer from hosp/extram and lab test name is sedimentation rate?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND lab.label = "Sedimentation Rate"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 4351, 422, 10496, 14, 2302, 859, 290, 2248, 1332, 1438, 318, 33408, 341, 2494, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5446, 15037, 24302, 16034, 367, 47053, 14, 6369, 5446, 2390, 1, 5357, 2248, 13, 18242, 796, 366, 50, 276, 3681, 341, 14806, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4351, 422, 10496, 14, 2302, 859, 290, 2248, 1332, 1438, 318, 33408, 341, 2494, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5446, 15037, 24302, 16034, 367, 47053, 14, 6369, 5446, 2390, 1, 5357, 2248, 13, 18242, 796, 366, 50, 276, 3681, 341, 14806, 1 ]
in which year were there more official guests -- 2012 or 2013 ?
SELECT "dates" FROM table_204_823 WHERE "dates" IN (2012, 2013) ORDER BY "official guests" DESC LIMIT 1
[ 259, 543, 614, 547, 612, 517, 1743, 10650, 1377, 2321, 393, 2211, 5633, 46506, 366, 19581, 1, 16034, 3084, 62, 18638, 62, 23, 1954, 33411, 366, 19581, 1, 3268, 357, 6999, 11, 2211, 8, 38678, 11050, 366, 16841, 10650, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 543, 614, 547, 612, 517, 1743, 10650, 1377, 2321, 393, 2211, 5633, 46506, 366, 19581, 1, 16034, 3084, 62, 18638, 62, 23, 1954, 33411, 366, 19581, 1, 3268, 357, 6999, 11, 2211, 8, 38678, 11050, 366, 16841, 10650, 1, 22196, 34, 27564, 2043, 352 ]
List the software platform shared by the greatest number of devices.
SELECT software_platform FROM device GROUP BY software_platform ORDER BY COUNT(*) DESC LIMIT 1
[ 8053, 262, 3788, 3859, 4888, 416, 262, 6000, 1271, 286, 4410, 13, 46506, 3788, 62, 24254, 16034, 3335, 44441, 11050, 3788, 62, 24254, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 3788, 3859, 4888, 416, 262, 6000, 1271, 286, 4410, 13, 46506, 3788, 62, 24254, 16034, 3335, 44441, 11050, 3788, 62, 24254, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
For the year 1975, what is Propulsion, with a Number (quantity ordered) of 4756-4788 (33 buses)?
SELECT "Fuel Propulsion" FROM table_38824 WHERE "Year" = '1975' AND "Numbers (Quantity Ordered)" = '4756-4788 (33 buses)'
[ 1890, 262, 614, 15231, 11, 644, 318, 8772, 15204, 11, 351, 257, 7913, 357, 40972, 414, 6149, 8, 286, 604, 38219, 12, 2857, 3459, 357, 2091, 16893, 19427, 46506, 366, 42663, 8772, 15204, 1, 16034, 3084, 62, 30460, 1731, 33411, 366, 17688, 1, 796, 705, 38449, 6, 5357, 366, 49601, 357, 31208, 14230, 1068, 16725, 796, 705, 32576, 21, 12, 2857, 3459, 357, 2091, 16893, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 262, 614, 15231, 11, 644, 318, 8772, 15204, 11, 351, 257, 7913, 357, 40972, 414, 6149, 8, 286, 604, 38219, 12, 2857, 3459, 357, 2091, 16893, 19427, 46506, 366, 42663, 8772, 15204, 1, 16034, 3084, 62, 30460, 1731, 33411, 366, 17688, 1, 796, 705, 38449, 6, 5357, 366, 49601, 357, 31208, 14230, 1068, 16725, 796, 705, 32576, 21, 12, 2857, 3459, 357, 2091, 16893, 33047 ]
Name the ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si
SELECT "SS Winning Car" FROM table_30136 WHERE "Circuit" = 'Road Atlanta' AND "B Winning Car" = '#35 Quantum Engineering #35 Honda CRX-Si'
[ 5376, 262, 37786, 5442, 1097, 329, 2975, 379, 75, 4910, 290, 1303, 2327, 14821, 8705, 1303, 2327, 289, 13533, 1067, 87, 12, 13396, 46506, 366, 5432, 40983, 1879, 1, 16034, 3084, 62, 18938, 2623, 33411, 366, 31560, 5013, 1, 796, 705, 29197, 9371, 6, 5357, 366, 33, 40983, 1879, 1, 796, 705, 2, 2327, 29082, 14044, 1303, 2327, 20059, 8740, 55, 12, 42801, 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 ]
[ 5376, 262, 37786, 5442, 1097, 329, 2975, 379, 75, 4910, 290, 1303, 2327, 14821, 8705, 1303, 2327, 289, 13533, 1067, 87, 12, 13396, 46506, 366, 5432, 40983, 1879, 1, 16034, 3084, 62, 18938, 2623, 33411, 366, 31560, 5013, 1, 796, 705, 29197, 9371, 6, 5357, 366, 33, 40983, 1879, 1, 796, 705, 2, 2327, 29082, 14044, 1303, 2327, 20059, 8740, 55, 12, 42801, 6 ]
What date did North Melbourne score 22.14 (146) as the home team?
SELECT "Date" FROM table_51375 WHERE "Home team score" = '22.14 (146)' AND "Home team" = 'north melbourne'
[ 2061, 3128, 750, 2258, 14819, 4776, 2534, 13, 1415, 357, 20964, 8, 355, 262, 1363, 1074, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 48645, 2425, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1828, 13, 1415, 357, 20964, 33047, 5357, 366, 16060, 1074, 1, 796, 705, 43588, 7758, 12544, 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 ]
[ 2061, 3128, 750, 2258, 14819, 4776, 2534, 13, 1415, 357, 20964, 8, 355, 262, 1363, 1074, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 48645, 2425, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1828, 13, 1415, 357, 20964, 33047, 5357, 366, 16060, 1074, 1, 796, 705, 43588, 7758, 12544, 6 ]
How many n are listed for 0.6% r1b1a2 (r-m269)?
SELECT COUNT("N") FROM table_73305 WHERE "R1b1a2 (R-M269)" = '0.6%'
[ 2437, 867, 299, 389, 5610, 329, 657, 13, 21, 4, 374, 16, 65, 16, 64, 17, 357, 81, 12, 76, 26276, 19427, 46506, 327, 28270, 7203, 45, 4943, 16034, 3084, 62, 4790, 22515, 33411, 366, 49, 16, 65, 16, 64, 17, 357, 49, 12, 44, 26276, 16725, 796, 705, 15, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 299, 389, 5610, 329, 657, 13, 21, 4, 374, 16, 65, 16, 64, 17, 357, 81, 12, 76, 26276, 19427, 46506, 327, 28270, 7203, 45, 4943, 16034, 3084, 62, 4790, 22515, 33411, 366, 49, 16, 65, 16, 64, 17, 357, 49, 12, 44, 26276, 16725, 796, 705, 15, 13, 21, 4, 6 ]
Name the entered for famous for page 3 model
SELECT entered FROM table_14345690_4 WHERE famous_for = "Page 3 Model"
[ 5376, 262, 5982, 329, 5863, 329, 2443, 513, 2746, 46506, 5982, 16034, 3084, 62, 21139, 2231, 35844, 62, 19, 33411, 5863, 62, 1640, 796, 366, 9876, 513, 9104, 1 ]
[ 1, 1, 1, 1, 1, 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, 5982, 329, 5863, 329, 2443, 513, 2746, 46506, 5982, 16034, 3084, 62, 21139, 2231, 35844, 62, 19, 33411, 5863, 62, 1640, 796, 366, 9876, 513, 9104, 1 ]
how many patients were given the drug ferrous gluconate?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Ferrous Gluconate"
[ 4919, 867, 3871, 547, 1813, 262, 2563, 11354, 7596, 1278, 84, 1102, 378, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 34092, 13, 30349, 796, 366, 43362, 7596, 402, 2290, 1102, 378, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 547, 1813, 262, 2563, 11354, 7596, 1278, 84, 1102, 378, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 34092, 13, 30349, 796, 366, 43362, 7596, 402, 2290, 1102, 378, 1 ]
What is the Format for the alca-487 catalog?
SELECT format FROM table_name_12 WHERE catalog = "alca-487"
[ 2061, 318, 262, 18980, 329, 262, 435, 6888, 12, 35133, 18388, 30, 46506, 5794, 16034, 3084, 62, 3672, 62, 1065, 33411, 18388, 796, 366, 282, 6888, 12, 35133, 1 ]
[ 1, 1, 1, 1, 1, 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, 18980, 329, 262, 435, 6888, 12, 35133, 18388, 30, 46506, 5794, 16034, 3084, 62, 3672, 62, 1065, 33411, 18388, 796, 366, 282, 6888, 12, 35133, 1 ]
Name the high assists for l 93 103 (ot)
SELECT "High assists" FROM table_21463 WHERE "Score" = 'L 93–103 (OT)'
[ 5376, 262, 1029, 13648, 329, 300, 10261, 15349, 357, 313, 8, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 22291, 5066, 33411, 366, 26595, 1, 796, 705, 43, 10261, 1906, 15197, 357, 2394, 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 ]
[ 5376, 262, 1029, 13648, 329, 300, 10261, 15349, 357, 313, 8, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 22291, 5066, 33411, 366, 26595, 1, 796, 705, 43, 10261, 1906, 15197, 357, 2394, 33047 ]
how many episodes are there total ?
SELECT COUNT("ep#") FROM table_204_981
[ 4919, 867, 8640, 389, 612, 2472, 5633, 46506, 327, 28270, 7203, 538, 2, 4943, 16034, 3084, 62, 18638, 62, 4089, 16 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 8640, 389, 612, 2472, 5633, 46506, 327, 28270, 7203, 538, 2, 4943, 16034, 3084, 62, 18638, 62, 4089, 16 ]
Create inverted index table data for.
SELECT * FROM Users WHERE LastAccessDate LIKE '%2018%'
[ 16447, 37204, 6376, 3084, 1366, 329, 13, 46506, 1635, 16034, 18987, 33411, 4586, 15457, 10430, 34178, 705, 4, 7908, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16447, 37204, 6376, 3084, 1366, 329, 13, 46506, 1635, 16034, 18987, 33411, 4586, 15457, 10430, 34178, 705, 4, 7908, 4, 6 ]
Low-score answers beginning with a keyword.
SELECT Id AS "post_link", Body FROM Posts WHERE PostTypeId = 2 AND Score <= '##maxScore##' AND Body LIKE '<p>##keyword##%'
[ 20535, 12, 26675, 7429, 3726, 351, 257, 21179, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 12290, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 15178, 19841, 705, 2235, 9806, 26595, 2235, 6, 5357, 12290, 34178, 705, 27, 79, 29, 2235, 2539, 4775, 2235, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20535, 12, 26675, 7429, 3726, 351, 257, 21179, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 12290, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 15178, 19841, 705, 2235, 9806, 26595, 2235, 6, 5357, 12290, 34178, 705, 27, 79, 29, 2235, 2539, 4775, 2235, 4, 6 ]
Which number has Engine Shed as the location
SELECT "No." FROM table_948 WHERE "Location" = 'Engine shed'
[ 13828, 1271, 468, 7117, 49340, 355, 262, 4067, 46506, 366, 2949, 526, 16034, 3084, 62, 24, 2780, 33411, 366, 14749, 1, 796, 705, 13798, 14999, 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, 1271, 468, 7117, 49340, 355, 262, 4067, 46506, 366, 2949, 526, 16034, 3084, 62, 24, 2780, 33411, 366, 14749, 1, 796, 705, 13798, 14999, 6 ]
How many people whose age is greater 30 and job is engineer?
SELECT COUNT(*) FROM Person WHERE age > 30 AND job = 'engineer'
[ 2437, 867, 661, 3025, 2479, 318, 3744, 1542, 290, 1693, 318, 11949, 30, 46506, 327, 28270, 7, 28104, 16034, 7755, 33411, 2479, 1875, 1542, 5357, 1693, 796, 705, 18392, 263, 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, 661, 3025, 2479, 318, 3744, 1542, 290, 1693, 318, 11949, 30, 46506, 327, 28270, 7, 28104, 16034, 7755, 33411, 2479, 1875, 1542, 5357, 1693, 796, 705, 18392, 263, 6 ]
How many drama workshop groups are there in each city? Return both the city and the count Plot them as bar chart, and show from high to low by the names.
SELECT City_Town, COUNT(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID GROUP BY T1.City_Town ORDER BY City_Town DESC
[ 2437, 867, 10512, 20243, 2628, 389, 612, 287, 1123, 1748, 30, 8229, 1111, 262, 1748, 290, 262, 954, 28114, 606, 355, 2318, 8262, 11, 290, 905, 422, 1029, 284, 1877, 416, 262, 3891, 13, 46506, 2254, 62, 38097, 11, 327, 28270, 7, 28104, 16034, 3060, 16746, 7054, 309, 16, 32357, 1268, 30647, 62, 23044, 8548, 62, 38, 14459, 7054, 309, 17, 6177, 309, 16, 13, 20231, 62, 2389, 796, 309, 17, 13, 20231, 62, 2389, 44441, 11050, 309, 16, 13, 14941, 62, 38097, 38678, 11050, 2254, 62, 38097, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10512, 20243, 2628, 389, 612, 287, 1123, 1748, 30, 8229, 1111, 262, 1748, 290, 262, 954, 28114, 606, 355, 2318, 8262, 11, 290, 905, 422, 1029, 284, 1877, 416, 262, 3891, 13, 46506, 2254, 62, 38097, 11, 327, 28270, 7, 28104, 16034, 3060, 16746, 7054, 309, 16, 32357, 1268, 30647, 62, 23044, 8548, 62, 38, 14459, 7054, 309, 17, 6177, 309, 16, 13, 20231, 62, 2389, 796, 309, 17, 13, 20231, 62, 2389, 44441, 11050, 309, 16, 13, 14941, 62, 38097, 38678, 11050, 2254, 62, 38097, 22196, 34 ]
What is the sambalpuri saree with a samaleswari temple as sambalpuri language?
SELECT sambalpuri_saree FROM table_name_22 WHERE sambalpuri_language = "samaleswari temple"
[ 2061, 318, 262, 264, 4131, 282, 79, 9900, 473, 631, 351, 257, 6072, 2040, 86, 2743, 12505, 355, 264, 4131, 282, 79, 9900, 3303, 30, 46506, 264, 4131, 282, 79, 9900, 62, 82, 533, 68, 16034, 3084, 62, 3672, 62, 1828, 33411, 264, 4131, 282, 79, 9900, 62, 16129, 796, 366, 37687, 2040, 86, 2743, 12505, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4131, 282, 79, 9900, 473, 631, 351, 257, 6072, 2040, 86, 2743, 12505, 355, 264, 4131, 282, 79, 9900, 3303, 30, 46506, 264, 4131, 282, 79, 9900, 62, 82, 533, 68, 16034, 3084, 62, 3672, 62, 1828, 33411, 264, 4131, 282, 79, 9900, 62, 16129, 796, 366, 37687, 2040, 86, 2743, 12505, 1 ]
What Inclination has a Mass of 6.6 +1.1 1.0 m ?
SELECT "Inclination" FROM table_62081 WHERE "Mass" = '≥ 6.6 +1.1 −1.0 m⊕'
[ 2061, 554, 565, 1883, 468, 257, 5674, 286, 718, 13, 21, 1343, 16, 13, 16, 352, 13, 15, 285, 5633, 46506, 366, 818, 565, 1883, 1, 16034, 3084, 62, 38850, 6659, 33411, 366, 20273, 1, 796, 705, 35705, 98, 718, 13, 21, 1343, 16, 13, 16, 9746, 16, 13, 15, 285, 158, 232, 243, 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 ]
[ 2061, 554, 565, 1883, 468, 257, 5674, 286, 718, 13, 21, 1343, 16, 13, 16, 352, 13, 15, 285, 5633, 46506, 366, 818, 565, 1883, 1, 16034, 3084, 62, 38850, 6659, 33411, 366, 20273, 1, 796, 705, 35705, 98, 718, 13, 21, 1343, 16, 13, 16, 9746, 16, 13, 15, 285, 158, 232, 243, 6 ]
How many matches has Mohammad Al-Shamlan played when there is 1 win?
SELECT "Matches" FROM table_71372 WHERE "Wins" = '1' AND "Name" = 'mohammad al-shamlan'
[ 2437, 867, 7466, 468, 29674, 978, 12, 43478, 9620, 2826, 618, 612, 318, 352, 1592, 30, 46506, 366, 19044, 2052, 1, 16034, 3084, 62, 50055, 4761, 33411, 366, 54, 1040, 1, 796, 705, 16, 6, 5357, 366, 5376, 1, 796, 705, 76, 1219, 26035, 435, 12, 1477, 321, 9620, 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 ]
[ 2437, 867, 7466, 468, 29674, 978, 12, 43478, 9620, 2826, 618, 612, 318, 352, 1592, 30, 46506, 366, 19044, 2052, 1, 16034, 3084, 62, 50055, 4761, 33411, 366, 54, 1040, 1, 796, 705, 16, 6, 5357, 366, 5376, 1, 796, 705, 76, 1219, 26035, 435, 12, 1477, 321, 9620, 6 ]
did james hunt finish the race after mark donohue ?
SELECT (SELECT "pos" FROM table_204_584 WHERE "driver" = 'james hunt') > (SELECT "pos" FROM table_204_584 WHERE "driver" = 'mark donohue')
[ 20839, 474, 1047, 12601, 5461, 262, 3234, 706, 1317, 836, 1219, 518, 5633, 46506, 357, 46506, 366, 1930, 1, 16034, 3084, 62, 18638, 62, 46352, 33411, 366, 26230, 1, 796, 705, 73, 1047, 12601, 11537, 1875, 357, 46506, 366, 1930, 1, 16034, 3084, 62, 18638, 62, 46352, 33411, 366, 26230, 1, 796, 705, 4102, 836, 1219, 518, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20839, 474, 1047, 12601, 5461, 262, 3234, 706, 1317, 836, 1219, 518, 5633, 46506, 357, 46506, 366, 1930, 1, 16034, 3084, 62, 18638, 62, 46352, 33411, 366, 26230, 1, 796, 705, 73, 1047, 12601, 11537, 1875, 357, 46506, 366, 1930, 1, 16034, 3084, 62, 18638, 62, 46352, 33411, 366, 26230, 1, 796, 705, 4102, 836, 1219, 518, 11537 ]
Find the distinct details of invoices which are created before 1989-09-03 or after 2007-12-25.
SELECT DISTINCT invoice_details FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25"
[ 16742, 262, 7310, 3307, 286, 800, 78, 1063, 543, 389, 2727, 878, 11104, 12, 2931, 12, 3070, 393, 706, 4343, 12, 1065, 12, 1495, 13, 46506, 360, 8808, 1268, 4177, 45458, 62, 36604, 16034, 800, 78, 1063, 33411, 45458, 62, 4475, 1279, 366, 25475, 12, 2931, 12, 3070, 1, 6375, 45458, 62, 4475, 1875, 366, 12726, 12, 1065, 12, 1495, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7310, 3307, 286, 800, 78, 1063, 543, 389, 2727, 878, 11104, 12, 2931, 12, 3070, 393, 706, 4343, 12, 1065, 12, 1495, 13, 46506, 360, 8808, 1268, 4177, 45458, 62, 36604, 16034, 800, 78, 1063, 33411, 45458, 62, 4475, 1279, 366, 25475, 12, 2931, 12, 3070, 1, 6375, 45458, 62, 4475, 1875, 366, 12726, 12, 1065, 12, 1495, 1 ]
Rider of st phane mertens had what lowest points?
SELECT MIN(points) FROM table_name_84 WHERE rider = "stéphane mertens"
[ 49, 1304, 286, 336, 872, 1531, 285, 861, 641, 550, 644, 9016, 2173, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 17876, 796, 366, 301, 2634, 746, 1531, 285, 861, 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 ]
[ 49, 1304, 286, 336, 872, 1531, 285, 861, 641, 550, 644, 9016, 2173, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 17876, 796, 366, 301, 2634, 746, 1531, 285, 861, 641, 1 ]
How many body builders are there?
SELECT COUNT(*) FROM body_builder
[ 2437, 867, 1767, 31606, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 1767, 62, 38272 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1767, 31606, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 1767, 62, 38272 ]
Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes' Visualize by bar chart, list from high to low by the Y.
SELECT Name, AVG(Num_Employees) FROM department AS T1 JOIN management AS T2 ON T1.department_ID = T2.department_ID WHERE T2.temporary_acting = 'Yes' GROUP BY Name ORDER BY AVG(Num_Employees) DESC
[ 15307, 262, 1438, 290, 1271, 286, 4409, 329, 262, 13346, 5257, 416, 6665, 3025, 8584, 7205, 1988, 318, 705, 5297, 6, 15612, 1096, 416, 2318, 8262, 11, 1351, 422, 1029, 284, 1877, 416, 262, 575, 13, 46506, 6530, 11, 35224, 7, 33111, 62, 29733, 2841, 8, 16034, 5011, 7054, 309, 16, 32357, 1268, 4542, 7054, 309, 17, 6177, 309, 16, 13, 10378, 1823, 62, 2389, 796, 309, 17, 13, 10378, 1823, 62, 2389, 33411, 309, 17, 13, 11498, 5551, 62, 27362, 796, 705, 5297, 6, 44441, 11050, 6530, 38678, 11050, 35224, 7, 33111, 62, 29733, 2841, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1438, 290, 1271, 286, 4409, 329, 262, 13346, 5257, 416, 6665, 3025, 8584, 7205, 1988, 318, 705, 5297, 6, 15612, 1096, 416, 2318, 8262, 11, 1351, 422, 1029, 284, 1877, 416, 262, 575, 13, 46506, 6530, 11, 35224, 7, 33111, 62, 29733, 2841, 8, 16034, 5011, 7054, 309, 16, 32357, 1268, 4542, 7054, 309, 17, 6177, 309, 16, 13, 10378, 1823, 62, 2389, 796, 309, 17, 13, 10378, 1823, 62, 2389, 33411, 309, 17, 13, 11498, 5551, 62, 27362, 796, 705, 5297, 6, 44441, 11050, 6530, 38678, 11050, 35224, 7, 33111, 62, 29733, 2841, 8, 22196, 34 ]
Which Opponents have a Year of 1999 2000, and a Team of leeds united?
SELECT opponents FROM table_name_78 WHERE year = "1999–2000" AND team = "leeds united"
[ 13828, 9385, 3906, 423, 257, 6280, 286, 7358, 4751, 11, 290, 257, 4816, 286, 443, 5379, 16503, 30, 46506, 7691, 16034, 3084, 62, 3672, 62, 3695, 33411, 614, 796, 366, 18946, 1906, 11024, 1, 5357, 1074, 796, 366, 293, 5379, 16503, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9385, 3906, 423, 257, 6280, 286, 7358, 4751, 11, 290, 257, 4816, 286, 443, 5379, 16503, 30, 46506, 7691, 16034, 3084, 62, 3672, 62, 3695, 33411, 614, 796, 366, 18946, 1906, 11024, 1, 5357, 1074, 796, 366, 293, 5379, 16503, 1 ]
Which Fencing Victories (pts) that has a Equestrian Time (pts) of 67.88 (1144)?
SELECT "Fencing Victories (pts)" FROM table_65457 WHERE "Equestrian Time (pts)" = '67.88 (1144)'
[ 13828, 376, 9532, 6114, 1749, 357, 457, 82, 8, 326, 468, 257, 412, 6138, 4484, 3862, 357, 457, 82, 8, 286, 8275, 13, 3459, 357, 1157, 2598, 19427, 46506, 366, 37, 9532, 6114, 1749, 357, 457, 82, 16725, 16034, 3084, 62, 2996, 33032, 33411, 366, 36, 6138, 4484, 3862, 357, 457, 82, 16725, 796, 705, 3134, 13, 3459, 357, 1157, 2598, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 376, 9532, 6114, 1749, 357, 457, 82, 8, 326, 468, 257, 412, 6138, 4484, 3862, 357, 457, 82, 8, 286, 8275, 13, 3459, 357, 1157, 2598, 19427, 46506, 366, 37, 9532, 6114, 1749, 357, 457, 82, 16725, 16034, 3084, 62, 2996, 33032, 33411, 366, 36, 6138, 4484, 3862, 357, 457, 82, 16725, 796, 705, 3134, 13, 3459, 357, 1157, 2598, 33047 ]
What Winning team has 22 July as a Date?
SELECT "Winning team" FROM table_74899 WHERE "Date" = '22 july'
[ 2061, 40983, 1074, 468, 2534, 2901, 355, 257, 7536, 30, 46506, 366, 16643, 768, 1074, 1, 16034, 3084, 62, 48246, 2079, 33411, 366, 10430, 1, 796, 705, 1828, 474, 2062, 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, 40983, 1074, 468, 2534, 2901, 355, 257, 7536, 30, 46506, 366, 16643, 768, 1074, 1, 16034, 3084, 62, 48246, 2079, 33411, 366, 10430, 1, 796, 705, 1828, 474, 2062, 6 ]
Visualize a bar chart that X-axis is the gender and compute the number of players in each gender as a Y-axis, show total number in descending order.
SELECT Gender, COUNT(Gender) FROM player GROUP BY Gender ORDER BY COUNT(Gender) DESC
[ 36259, 1096, 257, 2318, 8262, 326, 1395, 12, 22704, 318, 262, 5279, 290, 24061, 262, 1271, 286, 1938, 287, 1123, 5279, 355, 257, 575, 12, 22704, 11, 905, 2472, 1271, 287, 31491, 1502, 13, 46506, 20247, 11, 327, 28270, 7, 41394, 8, 16034, 2137, 44441, 11050, 20247, 38678, 11050, 327, 28270, 7, 41394, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2318, 8262, 326, 1395, 12, 22704, 318, 262, 5279, 290, 24061, 262, 1271, 286, 1938, 287, 1123, 5279, 355, 257, 575, 12, 22704, 11, 905, 2472, 1271, 287, 31491, 1502, 13, 46506, 20247, 11, 327, 28270, 7, 41394, 8, 16034, 2137, 44441, 11050, 20247, 38678, 11050, 327, 28270, 7, 41394, 8, 22196, 34 ]
renal insufficiency ( serum creatinine > 1.5 mg / dl for male ; > 1.2 mg / dl for female )
SELECT * FROM table_train_254 WHERE renal_disease = 1 OR ((creatinine_clearance_cl > 1.5 AND gender = 'male') OR (creatinine_clearance_cl > 1.5 AND gender = 'female'))
[ 918, 282, 1035, 1648, 19777, 357, 20502, 1827, 259, 500, 1875, 352, 13, 20, 10527, 1220, 288, 75, 329, 4257, 2162, 1875, 352, 13, 17, 10527, 1220, 288, 75, 329, 4048, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 24970, 33411, 44375, 62, 67, 786, 589, 796, 352, 6375, 14808, 20123, 259, 500, 62, 20063, 590, 62, 565, 1875, 352, 13, 20, 5357, 5279, 796, 705, 22606, 11537, 6375, 357, 20123, 259, 500, 62, 20063, 590, 62, 565, 1875, 352, 13, 20, 5357, 5279, 796, 705, 24724, 6, 4008 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 918, 282, 1035, 1648, 19777, 357, 20502, 1827, 259, 500, 1875, 352, 13, 20, 10527, 1220, 288, 75, 329, 4257, 2162, 1875, 352, 13, 17, 10527, 1220, 288, 75, 329, 4048, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 24970, 33411, 44375, 62, 67, 786, 589, 796, 352, 6375, 14808, 20123, 259, 500, 62, 20063, 590, 62, 565, 1875, 352, 13, 20, 5357, 5279, 796, 705, 22606, 11537, 6375, 357, 20123, 259, 500, 62, 20063, 590, 62, 565, 1875, 352, 13, 20, 5357, 5279, 796, 705, 24724, 6, 4008 ]
What was the result on 27 august 2003?
SELECT result FROM table_name_81 WHERE date = "27 august 2003"
[ 2061, 373, 262, 1255, 319, 2681, 16339, 436, 5816, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 6659, 33411, 3128, 796, 366, 1983, 16339, 436, 5816, 1 ]
[ 1, 1, 1, 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, 1255, 319, 2681, 16339, 436, 5816, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 6659, 33411, 3128, 796, 366, 1983, 16339, 436, 5816, 1 ]
Which wheels were built 1920?
SELECT wheels FROM table_name_33 WHERE built = 1920
[ 13828, 13666, 547, 3170, 14062, 30, 46506, 13666, 16034, 3084, 62, 3672, 62, 2091, 33411, 3170, 796, 14062 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 13666, 547, 3170, 14062, 30, 46506, 13666, 16034, 3084, 62, 3672, 62, 2091, 33411, 3170, 796, 14062 ]
How many wins for bruce fleisher with over 31 events?
SELECT AVG("Wins") FROM table_55474 WHERE "Player" = 'bruce fleisher' AND "Events" > '31'
[ 2437, 867, 7864, 329, 18145, 344, 5104, 4828, 351, 625, 3261, 2995, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 2816, 38652, 33411, 366, 14140, 1, 796, 705, 65, 26524, 5104, 4828, 6, 5357, 366, 37103, 1, 1875, 705, 3132, 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 ]
[ 2437, 867, 7864, 329, 18145, 344, 5104, 4828, 351, 625, 3261, 2995, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 2816, 38652, 33411, 366, 14140, 1, 796, 705, 65, 26524, 5104, 4828, 6, 5357, 366, 37103, 1, 1875, 705, 3132, 6 ]
when did patient 021-35988 receive a rbc lab test, the last time, during their last hospital visit?
SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-35988' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)) AND lab.labname = 'rbc' ORDER BY lab.labresulttime DESC LIMIT 1
[ 12518, 750, 5827, 657, 2481, 12, 30743, 3459, 3328, 257, 374, 15630, 2248, 1332, 11, 262, 938, 640, 11, 1141, 511, 938, 4436, 3187, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 46821, 12, 30743, 3459, 6, 5357, 5626, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 38678, 11050, 5827, 13, 49257, 324, 20124, 524, 22196, 34, 27564, 2043, 352, 4008, 5357, 2248, 13, 23912, 3672, 796, 705, 81, 15630, 6, 38678, 11050, 2248, 13, 23912, 20274, 2435, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 750, 5827, 657, 2481, 12, 30743, 3459, 3328, 257, 374, 15630, 2248, 1332, 11, 262, 938, 640, 11, 1141, 511, 938, 4436, 3187, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 46821, 12, 30743, 3459, 6, 5357, 5626, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 38678, 11050, 5827, 13, 49257, 324, 20124, 524, 22196, 34, 27564, 2043, 352, 4008, 5357, 2248, 13, 23912, 3672, 796, 705, 81, 15630, 6, 38678, 11050, 2248, 13, 23912, 20274, 2435, 22196, 34, 27564, 2043, 352 ]
What is the number of draws when played is smaller than 30?
SELECT COUNT("Draws") FROM table_79022 WHERE "Played" < '30'
[ 2061, 318, 262, 1271, 286, 14293, 618, 2826, 318, 4833, 621, 1542, 30, 46506, 327, 28270, 7203, 25302, 82, 4943, 16034, 3084, 62, 37750, 1828, 33411, 366, 11002, 276, 1, 1279, 705, 1270, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 14293, 618, 2826, 318, 4833, 621, 1542, 30, 46506, 327, 28270, 7203, 25302, 82, 4943, 16034, 3084, 62, 37750, 1828, 33411, 366, 11002, 276, 1, 1279, 705, 1270, 6 ]
What are the total enrollments of universities of each affiliation type Plot them as bar chart, and could you rank in asc by the bar please?
SELECT Affiliation, SUM(Enrollment) FROM university GROUP BY Affiliation ORDER BY Affiliation
[ 2061, 389, 262, 2472, 14627, 902, 286, 11155, 286, 1123, 26218, 2099, 28114, 606, 355, 2318, 8262, 11, 290, 714, 345, 4279, 287, 10570, 416, 262, 2318, 3387, 30, 46506, 6708, 15547, 11, 35683, 7, 4834, 48108, 8, 16034, 6403, 44441, 11050, 6708, 15547, 38678, 11050, 6708, 15547 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 14627, 902, 286, 11155, 286, 1123, 26218, 2099, 28114, 606, 355, 2318, 8262, 11, 290, 714, 345, 4279, 287, 10570, 416, 262, 2318, 3387, 30, 46506, 6708, 15547, 11, 35683, 7, 4834, 48108, 8, 16034, 6403, 44441, 11050, 6708, 15547, 38678, 11050, 6708, 15547 ]
Find questions with a single tag (now case insensitive).
SELECT Id AS "post_link", CreationDate, Tags FROM Posts WHERE Tags = '<automation>' ORDER BY Score DESC LIMIT 1000
[ 16742, 2683, 351, 257, 2060, 7621, 357, 2197, 1339, 41246, 737, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 21582, 10430, 11, 44789, 16034, 12043, 33411, 44789, 796, 705, 27, 2306, 296, 341, 29, 6, 38678, 11050, 15178, 22196, 34, 27564, 2043, 8576 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2683, 351, 257, 2060, 7621, 357, 2197, 1339, 41246, 737, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 21582, 10430, 11, 44789, 16034, 12043, 33411, 44789, 796, 705, 27, 2306, 296, 341, 29, 6, 38678, 11050, 15178, 22196, 34, 27564, 2043, 8576 ]
provide the number of patients whose drug code is thym25i and lab test fluid is cerebrospinal fluid (csf)?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "THYM25I" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2563, 2438, 318, 294, 4948, 1495, 72, 290, 2248, 1332, 11711, 318, 6736, 7957, 2777, 1292, 11711, 357, 6359, 69, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 4221, 56, 44, 1495, 40, 1, 5357, 2248, 13, 35522, 312, 796, 366, 34, 567, 7957, 2777, 1292, 1610, 27112, 357, 7902, 37, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 2438, 318, 294, 4948, 1495, 72, 290, 2248, 1332, 11711, 318, 6736, 7957, 2777, 1292, 11711, 357, 6359, 69, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 4221, 56, 44, 1495, 40, 1, 5357, 2248, 13, 35522, 312, 796, 366, 34, 567, 7957, 2777, 1292, 1610, 27112, 357, 7902, 37, 16725 ]
what's patient 015-7988's maximum value of -lymphs until 04/2102?
SELECT MAX(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-7988')) AND lab.labname = '-lymphs' AND STRFTIME('%y-%m', lab.labresulttime) <= '2102-04'
[ 10919, 338, 5827, 5534, 20, 12, 3720, 3459, 338, 5415, 1988, 286, 532, 306, 23335, 82, 1566, 8702, 14, 17, 15377, 30, 46506, 25882, 7, 23912, 13, 23912, 20274, 8, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 25150, 12, 3720, 3459, 6, 4008, 5357, 2248, 13, 23912, 3672, 796, 705, 12, 306, 23335, 82, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 2248, 13, 23912, 20274, 2435, 8, 19841, 705, 17, 15377, 12, 3023, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 338, 5827, 5534, 20, 12, 3720, 3459, 338, 5415, 1988, 286, 532, 306, 23335, 82, 1566, 8702, 14, 17, 15377, 30, 46506, 25882, 7, 23912, 13, 23912, 20274, 8, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 25150, 12, 3720, 3459, 6, 4008, 5357, 2248, 13, 23912, 3672, 796, 705, 12, 306, 23335, 82, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 2248, 13, 23912, 20274, 2435, 8, 19841, 705, 17, 15377, 12, 3023, 6 ]
how many times potassium chl 20 meq / 1000 ml d5lr has been ordered until 2104?
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'potassium chl 20 meq / 1000 ml d5lr' AND STRFTIME('%y', prescriptions.startdate) <= '2104'
[ 4919, 867, 1661, 33156, 442, 75, 1160, 502, 80, 1220, 8576, 25962, 288, 20, 14050, 468, 587, 6149, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 30349, 796, 705, 13059, 26663, 442, 75, 1160, 502, 80, 1220, 8576, 25962, 288, 20, 14050, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 34092, 13, 9688, 4475, 8, 19841, 705, 17, 13464, 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, 1, 1, 1 ]
[ 4919, 867, 1661, 33156, 442, 75, 1160, 502, 80, 1220, 8576, 25962, 288, 20, 14050, 468, 587, 6149, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 30349, 796, 705, 13059, 26663, 442, 75, 1160, 502, 80, 1220, 8576, 25962, 288, 20, 14050, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 34092, 13, 9688, 4475, 8, 19841, 705, 17, 13464, 6 ]