instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
How many numbers were recorded under Obama when he had 29.9% voters?
SELECT COUNT(obama_number) FROM table_20693870_1 WHERE obama_percentage = "29.9%"
[ 2437, 867, 3146, 547, 6264, 739, 2486, 618, 339, 550, 2808, 13, 24, 4, 4446, 30, 46506, 327, 28270, 7, 672, 1689, 62, 17618, 8, 16034, 3084, 62, 1238, 3388, 2548, 2154, 62, 16, 33411, 909, 1689, 62, 25067, 496, 796, 366, 1959, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3146, 547, 6264, 739, 2486, 618, 339, 550, 2808, 13, 24, 4, 4446, 30, 46506, 327, 28270, 7, 672, 1689, 62, 17618, 8, 16034, 3084, 62, 1238, 3388, 2548, 2154, 62, 16, 33411, 909, 1689, 62, 25067, 496, 796, 366, 1959, 13,...
What university did Steve Hoar attend.
SELECT "Alma Mater" FROM table_22099 WHERE "Player" = 'Steve Hoar'
[ 2061, 6403, 750, 6542, 9544, 283, 5262, 13, 46506, 366, 2348, 2611, 337, 729, 1, 16034, 3084, 62, 17572, 2079, 33411, 366, 14140, 1, 796, 705, 19206, 9544, 283, 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, 6403, 750, 6542, 9544, 283, 5262, 13, 46506, 366, 2348, 2611, 337, 729, 1, 16034, 3084, 62, 17572, 2079, 33411, 366, 14140, 1, 796, 705, 19206, 9544, 283, 6 ]
Name the races for final placing being 5th
SELECT "Races" FROM table_29649 WHERE "Final Placing" = '5th'
[ 5376, 262, 9558, 329, 2457, 12560, 852, 642, 400, 46506, 366, 49, 2114, 1, 16034, 3084, 62, 1959, 33300, 33411, 366, 19006, 1345, 4092, 1, 796, 705, 20, 400, 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 ]
[ 5376, 262, 9558, 329, 2457, 12560, 852, 642, 400, 46506, 366, 49, 2114, 1, 16034, 3084, 62, 1959, 33300, 33411, 366, 19006, 1345, 4092, 1, 796, 705, 20, 400, 6 ]
What is the name of each camera lens and the number of photos taken by it? Order the result by the count of photos.
SELECT T1.name, COUNT(*) FROM camera_lens AS T1 JOIN photos AS T2 ON T1.id = T2.camera_lens_id GROUP BY T1.id ORDER BY COUNT(*)
[ 2061, 318, 262, 1438, 286, 1123, 4676, 10317, 290, 262, 1271, 286, 5205, 2077, 416, 340, 30, 8284, 262, 1255, 416, 262, 954, 286, 5205, 13, 46506, 309, 16, 13, 3672, 11, 327, 28270, 7, 28104, 16034, 4676, 62, 75, 641, 7054, 309, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 1438, 286, 1123, 4676, 10317, 290, 262, 1271, 286, 5205, 2077, 416, 340, 30, 8284, 262, 1255, 416, 262, 954, 286, 5205, 13, 46506, 309, 16, 13, 3672, 11, 327, 28270, 7, 28104, 16034, 4676, 62, 75, 641, 7054, 309, 1...
What was the score of the Kings game when they had a record of 8 11 1?
SELECT score FROM table_name_27 WHERE record = "8–11–1"
[ 2061, 373, 262, 4776, 286, 262, 10578, 983, 618, 484, 550, 257, 1700, 286, 807, 1367, 352, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1983, 33411, 1700, 796, 366, 23, 1906, 1157, 1906, 16, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 10578, 983, 618, 484, 550, 257, 1700, 286, 807, 1367, 352, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1983, 33411, 1700, 796, 366, 23, 1906, 1157, 1906, 16, 1 ]
What event had a record of 8 5 1?
SELECT "Event" FROM table_66039 WHERE "Record" = '8–5–1'
[ 2061, 1785, 550, 257, 1700, 286, 807, 642, 352, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 39885, 2670, 33411, 366, 23739, 1, 796, 705, 23, 1906, 20, 1906, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1785, 550, 257, 1700, 286, 807, 642, 352, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 39885, 2670, 33411, 366, 23739, 1, 796, 705, 23, 1906, 20, 1906, 16, 6 ]
how many patients whose ethnicity is hispanic/latino - puerto rican and days of hospital stay is greater than 20?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND demographic.days_stay > "20"
[ 4919, 867, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 1160, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 1160, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728...
What position does Kerry Wood play in?
SELECT "Position" FROM table_17051 WHERE "Player" = 'Kerry Wood'
[ 2061, 2292, 857, 15981, 5326, 711, 287, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 1558, 2713, 16, 33411, 366, 14140, 1, 796, 705, 42, 6996, 5326, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2292, 857, 15981, 5326, 711, 287, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 1558, 2713, 16, 33411, 366, 14140, 1, 796, 705, 42, 6996, 5326, 6 ]
What number is Fall 06 from the state with 34 for Fall 09?
SELECT AVG(fall_06) FROM table_name_97 WHERE fall_09 = 34
[ 2061, 1271, 318, 7218, 9130, 422, 262, 1181, 351, 4974, 329, 7218, 7769, 30, 46506, 35224, 7, 7207, 62, 3312, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 2121, 62, 2931, 796, 4974 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 318, 7218, 9130, 422, 262, 1181, 351, 4974, 329, 7218, 7769, 30, 46506, 35224, 7, 7207, 62, 3312, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 2121, 62, 2931, 796, 4974 ]
who wrote papers in 2015
SELECT DISTINCT writes.authorid FROM paper, writes WHERE paper.year = 2015 AND writes.paperid = paper.paperid
[ 8727, 2630, 9473, 287, 1853, 46506, 360, 8808, 1268, 4177, 6797, 13, 9800, 312, 16034, 3348, 11, 6797, 33411, 3348, 13, 1941, 796, 1853, 5357, 6797, 13, 20189, 312, 796, 3348, 13, 20189, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 2630, 9473, 287, 1853, 46506, 360, 8808, 1268, 4177, 6797, 13, 9800, 312, 16034, 3348, 11, 6797, 33411, 3348, 13, 1941, 796, 1853, 5357, 6797, 13, 20189, 312, 796, 3348, 13, 20189, 312 ]
How many states have smaller colleges than average?
SELECT COUNT(DISTINCT state) FROM college WHERE enr < (SELECT AVG(enr) FROM college)
[ 2437, 867, 2585, 423, 4833, 15273, 621, 2811, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1181, 8, 16034, 4152, 33411, 551, 81, 1279, 357, 46506, 35224, 7, 268, 81, 8, 16034, 4152, 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 ]
[ 2437, 867, 2585, 423, 4833, 15273, 621, 2811, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1181, 8, 16034, 4152, 33411, 551, 81, 1279, 357, 46506, 35224, 7, 268, 81, 8, 16034, 4152, 8 ]
provide the number of patients whose primary disease is angioedema and admission year is less than 2190?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ANGIOEDEMA" AND demographic.admityear < "2190"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 3550, 952, 276, 19687, 290, 13938, 614, 318, 1342, 621, 362, 19782, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 3550, 952, 276, 19687, 290, 13938, 614, 318, 1342, 621, 362, 19782, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13,...
What is the average when the rank by average is more than 12?
SELECT SUM(average) FROM table_name_88 WHERE rank_by_average > 12
[ 2061, 318, 262, 2811, 618, 262, 4279, 416, 2811, 318, 517, 621, 1105, 30, 46506, 35683, 7, 23913, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 4279, 62, 1525, 62, 23913, 1875, 1105 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 618, 262, 4279, 416, 2811, 318, 517, 621, 1105, 30, 46506, 35683, 7, 23913, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 4279, 62, 1525, 62, 23913, 1875, 1105 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about employee_id over the phone_number by a bar chart.
SELECT PHONE_NUMBER, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 6538, 62, 312, 625, 262, 3072, 62, 17618, 416, 257, 2318, 8262, 13, 46506, 9370, 11651, 62, 41359...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 6538, 62, 312, 625, 262, 3072, 62, 17618, 416, 257, 2318, 8262, 13, 46506, 9370, 11651, 62, 41359...
get the number of emergency hospital admission patients who had initial insertion of dual-chamber device.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.long_title = "Initial insertion of dual-chamber device"
[ 1136, 262, 1271, 286, 6334, 4436, 13938, 3871, 508, 550, 4238, 36075, 286, 10668, 12, 354, 7789, 3335, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1136, 262, 1271, 286, 6334, 4436, 13938, 3871, 508, 550, 4238, 36075, 286, 10668, 12, 354, 7789, 3335, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 1...
#SOreadytohelp winners - week 1.
SELECT Id AS "user_link" FROM Users WHERE DisplayName LIKE '%tehran%' LIMIT 1000
[ 2, 15821, 1493, 1462, 16794, 14591, 532, 1285, 352, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1, 16034, 18987, 33411, 16531, 5376, 34178, 705, 4, 660, 16848, 4, 6, 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 ]
[ 2, 15821, 1493, 1462, 16794, 14591, 532, 1285, 352, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1, 16034, 18987, 33411, 16531, 5376, 34178, 705, 4, 660, 16848, 4, 6, 27564, 2043, 8576 ]
Find the number of the 'date became customers' of the customers whose ID is between 10 and 20.
SELECT date_became_customer, COUNT(date_became_customer) FROM Customers WHERE customer_id BETWEEN 10 AND 20
[ 16742, 262, 1271, 286, 262, 705, 4475, 2627, 4297, 6, 286, 262, 4297, 3025, 4522, 318, 1022, 838, 290, 1160, 13, 46506, 3128, 62, 9423, 480, 62, 23144, 263, 11, 327, 28270, 7, 4475, 62, 9423, 480, 62, 23144, 263, 8, 16034, 36707, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 262, 705, 4475, 2627, 4297, 6, 286, 262, 4297, 3025, 4522, 318, 1022, 838, 290, 1160, 13, 46506, 3128, 62, 9423, 480, 62, 23144, 263, 11, 327, 28270, 7, 4475, 62, 9423, 480, 62, 23144, 263, 8, 16034, 36707, ...
What was the GP-GS for the 2009 season?
SELECT "GP\u2013GS" FROM table_48432 WHERE "Season" = '2009'
[ 2061, 373, 262, 14714, 12, 14313, 329, 262, 3717, 1622, 30, 46506, 366, 16960, 59, 84, 6390, 14313, 1, 16034, 3084, 62, 34137, 2624, 33411, 366, 18960, 1, 796, 705, 10531, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14714, 12, 14313, 329, 262, 3717, 1622, 30, 46506, 366, 16960, 59, 84, 6390, 14313, 1, 16034, 3084, 62, 34137, 2624, 33411, 366, 18960, 1, 796, 705, 10531, 6 ]
What is sun yang's lowest rank?
SELECT MIN(rank) FROM table_name_20 WHERE name = "sun yang"
[ 2061, 318, 4252, 331, 648, 338, 9016, 4279, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 1238, 33411, 1438, 796, 366, 19155, 331, 648, 1 ]
[ 1, 1, 1, 1, 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, 4252, 331, 648, 338, 9016, 4279, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 1238, 33411, 1438, 796, 366, 19155, 331, 648, 1 ]
When was the tournament that was won with a score of 204 (-6) played?
SELECT "Date" FROM table_16969 WHERE "Score" = '204 (-6)'
[ 2215, 373, 262, 7756, 326, 373, 1839, 351, 257, 4776, 286, 26956, 13841, 21, 8, 2826, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22172, 3388, 33411, 366, 26595, 1, 796, 705, 18638, 13841, 21, 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 ]
[ 2215, 373, 262, 7756, 326, 373, 1839, 351, 257, 4776, 286, 26956, 13841, 21, 8, 2826, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22172, 3388, 33411, 366, 26595, 1, 796, 705, 18638, 13841, 21, 33047 ]
What are the low and high estimates of film markets. Visualize by scatter chart.
SELECT Low_Estimate, High_Estimate FROM film_market_estimation
[ 2061, 389, 262, 1877, 290, 1029, 7746, 286, 2646, 5939, 13, 15612, 1096, 416, 41058, 8262, 13, 46506, 7754, 62, 22362, 1920, 11, 3334, 62, 22362, 1920, 16034, 2646, 62, 10728, 62, 395, 18991 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1877, 290, 1029, 7746, 286, 2646, 5939, 13, 15612, 1096, 416, 41058, 8262, 13, 46506, 7754, 62, 22362, 1920, 11, 3334, 62, 22362, 1920, 16034, 2646, 62, 10728, 62, 395, 18991 ]
What is the venue of the game on 20 November 2002?
SELECT venue FROM table_name_33 WHERE date = "20 november 2002"
[ 2061, 318, 262, 14359, 286, 262, 983, 319, 1160, 3389, 6244, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2091, 33411, 3128, 796, 366, 1238, 645, 303, 1916, 6244, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14359, 286, 262, 983, 319, 1160, 3389, 6244, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2091, 33411, 3128, 796, 366, 1238, 645, 303, 1916, 6244, 1 ]
What is the smallest crowd when the away team scored 10.18 (78)?
SELECT MIN("Crowd") FROM table_58136 WHERE "Away team score" = '10.18 (78)'
[ 2061, 318, 262, 18197, 4315, 618, 262, 1497, 1074, 7781, 838, 13, 1507, 357, 3695, 19427, 46506, 20625, 7203, 34, 3986, 4943, 16034, 3084, 62, 3365, 20809, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 940, 13, 1507, 357, 3695, 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 ]
[ 2061, 318, 262, 18197, 4315, 618, 262, 1497, 1074, 7781, 838, 13, 1507, 357, 3695, 19427, 46506, 20625, 7203, 34, 3986, 4943, 16034, 3084, 62, 3365, 20809, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 940, 13, 1507, 357, 3695, 33047...
What are the points if the goals against were 260?
SELECT "Points" FROM table_66558 WHERE "Goals against" = '260'
[ 2061, 389, 262, 2173, 611, 262, 4661, 1028, 547, 21148, 30, 46506, 366, 40710, 1, 16034, 3084, 62, 2791, 40486, 33411, 366, 5247, 874, 1028, 1, 796, 705, 21719, 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, 389, 262, 2173, 611, 262, 4661, 1028, 547, 21148, 30, 46506, 366, 40710, 1, 16034, 3084, 62, 2791, 40486, 33411, 366, 5247, 874, 1028, 1, 796, 705, 21719, 6 ]
What were the total games in the Big Ten conference when Nebraska lost fewer than 488 games and had a Pct less than 0.7014?
SELECT SUM(total_games) FROM table_name_68 WHERE conference = "big ten" AND lost < 488 AND team = "nebraska" AND pct < 0.7014
[ 2061, 547, 262, 2472, 1830, 287, 262, 4403, 9368, 4495, 618, 18329, 2626, 7380, 621, 604, 3459, 1830, 290, 550, 257, 350, 310, 1342, 621, 657, 13, 22, 28645, 30, 46506, 35683, 7, 23350, 62, 19966, 8, 16034, 3084, 62, 3672, 62, 3104,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 547, 262, 2472, 1830, 287, 262, 4403, 9368, 4495, 618, 18329, 2626, 7380, 621, 604, 3459, 1830, 290, 550, 257, 350, 310, 1342, 621, 657, 13, 22, 28645, 30, 46506, 35683, 7, 23350, 62, 19966, 8, 16034, 3084, 62, 3672, 62, 3104,...
How many times was the final score l 96 123 (ot)?
SELECT COUNT(record) FROM table_11964154_7 WHERE score = "L 96–123 (OT)"
[ 2437, 867, 1661, 373, 262, 2457, 4776, 300, 9907, 17031, 357, 313, 19427, 46506, 327, 28270, 7, 22105, 8, 16034, 3084, 62, 16315, 2414, 21526, 62, 22, 33411, 4776, 796, 366, 43, 9907, 1906, 10163, 357, 2394, 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 ]
[ 2437, 867, 1661, 373, 262, 2457, 4776, 300, 9907, 17031, 357, 313, 19427, 46506, 327, 28270, 7, 22105, 8, 16034, 3084, 62, 16315, 2414, 21526, 62, 22, 33411, 4776, 796, 366, 43, 9907, 1906, 10163, 357, 2394, 16725 ]
What is the production code for episode 6 in the season?
SELECT "Production code" FROM table_22595 WHERE "No. in season" = '6'
[ 2061, 318, 262, 3227, 2438, 329, 4471, 718, 287, 262, 1622, 30, 46506, 366, 35027, 2438, 1, 16034, 3084, 62, 18182, 3865, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3227, 2438, 329, 4471, 718, 287, 262, 1622, 30, 46506, 366, 35027, 2438, 1, 16034, 3084, 62, 18182, 3865, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 21, 6 ]
Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?
SELECT second_runner_up FROM table_1825751_4 WHERE binibining_pilipinas_world = "Janina San Miguel"
[ 8241, 373, 1218, 17490, 510, 618, 2365, 1437, 2986, 29825, 1839, 20828, 571, 3191, 12693, 541, 24252, 12, 10603, 30, 46506, 1218, 62, 16737, 62, 929, 16034, 3084, 62, 1507, 1495, 48365, 62, 19, 33411, 9874, 571, 3191, 62, 79, 346, 541...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1218, 17490, 510, 618, 2365, 1437, 2986, 29825, 1839, 20828, 571, 3191, 12693, 541, 24252, 12, 10603, 30, 46506, 1218, 62, 16737, 62, 929, 16034, 3084, 62, 1507, 1495, 48365, 62, 19, 33411, 9874, 571, 3191, 62, 79, 346, 541...
On which day has it neither been foggy nor rained in the zip code of 94107, and count them by a bar chart
SELECT date, COUNT(date) FROM weather WHERE zip_code = 94107 AND events <> "Fog" AND events <> "Rain"
[ 2202, 543, 1110, 468, 340, 6159, 587, 19558, 1360, 4249, 374, 1328, 287, 262, 19974, 2438, 286, 10048, 15982, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 19974, 62, 8189, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 543, 1110, 468, 340, 6159, 587, 19558, 1360, 4249, 374, 1328, 287, 262, 19974, 2438, 286, 10048, 15982, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 19974, 62, 8189, 796, ...
out of total number of patients who had a lab test for joint fluid, calulate the number of those aged below 68
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "68" AND lab.fluid = "Joint Fluid"
[ 448, 286, 2472, 1271, 286, 3871, 508, 550, 257, 2248, 1332, 329, 6466, 11711, 11, 2386, 5039, 262, 1271, 286, 883, 9722, 2174, 8257, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 448, 286, 2472, 1271, 286, 3871, 508, 550, 257, 2248, 1332, 329, 6466, 11711, 11, 2386, 5039, 262, 1271, 286, 883, 9722, 2174, 8257, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
how many patients below the age of 62 have drug code furo40i?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "62" AND prescriptions.formulary_drug_cd = "FURO40I"
[ 4919, 867, 3871, 2174, 262, 2479, 286, 8190, 423, 2563, 2438, 277, 1434, 1821, 72, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2174, 262, 2479, 286, 8190, 423, 2563, 2438, 277, 1434, 1821, 72, 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...
League Cup smaller than 0 is what sum of the total?
SELECT SUM(total) FROM table_name_31 WHERE league_cup < 0
[ 24623, 5454, 4833, 621, 657, 318, 644, 2160, 286, 262, 2472, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 4652, 62, 25244, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24623, 5454, 4833, 621, 657, 318, 644, 2160, 286, 262, 2472, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 4652, 62, 25244, 1279, 657 ]
If the rings are 60.500, what is the parallel bars number?
SELECT "Parallel Bars" FROM table_22538 WHERE "Rings" = '60.500'
[ 1532, 262, 13917, 389, 3126, 13, 4059, 11, 644, 318, 262, 10730, 9210, 1271, 30, 46506, 366, 10044, 29363, 39924, 1, 16034, 3084, 62, 18182, 2548, 33411, 366, 49, 654, 1, 796, 705, 1899, 13, 4059, 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 ]
[ 1532, 262, 13917, 389, 3126, 13, 4059, 11, 644, 318, 262, 10730, 9210, 1271, 30, 46506, 366, 10044, 29363, 39924, 1, 16034, 3084, 62, 18182, 2548, 33411, 366, 49, 654, 1, 796, 705, 1899, 13, 4059, 6 ]
how many of the patients were treated with nitroglycerin sl?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Nitroglycerin SL"
[ 4919, 867, 286, 262, 3871, 547, 5716, 351, 13759, 3828, 38577, 259, 1017, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 286, 262, 3871, 547, 5716, 351, 13759, 3828, 38577, 259, 1017, 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...
What are the different software platforms for devices, and how many devices have each, I want to show by the X from high to low.
SELECT Software_Platform, COUNT(*) FROM device GROUP BY Software_Platform ORDER BY Software_Platform DESC
[ 2061, 389, 262, 1180, 3788, 9554, 329, 4410, 11, 290, 703, 867, 4410, 423, 1123, 11, 314, 765, 284, 905, 416, 262, 1395, 422, 1029, 284, 1877, 13, 46506, 10442, 62, 37148, 11, 327, 28270, 7, 28104, 16034, 3335, 44441, 11050, 10442, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 3788, 9554, 329, 4410, 11, 290, 703, 867, 4410, 423, 1123, 11, 314, 765, 284, 905, 416, 262, 1395, 422, 1029, 284, 1877, 13, 46506, 10442, 62, 37148, 11, 327, 28270, 7, 28104, 16034, 3335, 44441, 11050, 10442, ...
what was the name of the drug in 08/2101 that patient 002-56583 was last prescribed via ivp route?
SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-56583')) AND medication.routeadmin = 'ivp' AND STRFTIME('%y-%m'...
[ 10919, 373, 262, 1438, 286, 262, 2563, 287, 8487, 14, 2481, 486, 326, 5827, 3571, 17, 12, 47372, 5999, 373, 938, 14798, 2884, 21628, 79, 6339, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 1438, 286, 262, 2563, 287, 8487, 14, 2481, 486, 326, 5827, 3571, 17, 12, 47372, 5999, 373, 938, 14798, 2884, 21628, 79, 6339, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, ...
i would like to book a flight from BALTIMORE to SAN FRANCISCO before 1200 o'clock on tuesday
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((date_day.day_number = 22 AND date_day.month_number = 3 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time...
[ 72, 561, 588, 284, 1492, 257, 5474, 422, 347, 31429, 3955, 6965, 284, 37376, 8782, 20940, 1797, 8220, 878, 24938, 267, 6, 15750, 319, 256, 3322, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 316...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 561, 588, 284, 1492, 257, 5474, 422, 347, 31429, 3955, 6965, 284, 37376, 8782, 20940, 1797, 8220, 878, 24938, 267, 6, 15750, 319, 256, 3322, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 316...
What engine has 2 points?
SELECT engine_s_ FROM table_name_41 WHERE points = "2"
[ 2061, 3113, 468, 362, 2173, 30, 46506, 3113, 62, 82, 62, 16034, 3084, 62, 3672, 62, 3901, 33411, 2173, 796, 366, 17, 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, 3113, 468, 362, 2173, 30, 46506, 3113, 62, 82, 62, 16034, 3084, 62, 3672, 62, 3901, 33411, 2173, 796, 366, 17, 1 ]
What Date has a Location Attendance of reunion arena?
SELECT date FROM table_name_44 WHERE location_attendance = "reunion arena"
[ 2061, 7536, 468, 257, 13397, 46502, 590, 286, 30321, 13478, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2598, 33411, 4067, 62, 1078, 437, 590, 796, 366, 260, 24592, 13478, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 7536, 468, 257, 13397, 46502, 590, 286, 30321, 13478, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2598, 33411, 4067, 62, 1078, 437, 590, 796, 366, 260, 24592, 13478, 1 ]
How many CMBIOL classes will be available next semester ?
SELECT COUNT(DISTINCT course_offering.course_id) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'CMBIOL' AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016
[ 2437, 867, 16477, 3483, 3535, 6097, 481, 307, 1695, 1306, 24878, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16477, 3483, 3535, 6097, 481, 307, 1695, 1306, 24878, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, ...
Who played a home team that scored 9.16 (70)?
SELECT "Away team" FROM table_4901 WHERE "Home team score" = '9.16 (70)'
[ 8241, 2826, 257, 1363, 1074, 326, 7781, 860, 13, 1433, 357, 2154, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2920, 486, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 24, 13, 1433, 357, 2154, 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 ]
[ 8241, 2826, 257, 1363, 1074, 326, 7781, 860, 13, 1433, 357, 2154, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2920, 486, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 24, 13, 1433, 357, 2154, 33047 ]
When the new orleans saints were visiting texas stadium, what was the final score?
SELECT "Final Score" FROM table_51361 WHERE "Stadium" = 'texas stadium' AND "Visiting Team" = 'new orleans saints'
[ 2215, 262, 649, 393, 11861, 31728, 547, 10013, 48659, 292, 10308, 11, 644, 373, 262, 2457, 4776, 30, 46506, 366, 19006, 15178, 1, 16034, 3084, 62, 48645, 5333, 33411, 366, 1273, 6271, 1, 796, 705, 16886, 292, 10308, 6, 5357, 366, 1585...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 649, 393, 11861, 31728, 547, 10013, 48659, 292, 10308, 11, 644, 373, 262, 2457, 4776, 30, 46506, 366, 19006, 15178, 1, 16034, 3084, 62, 48645, 5333, 33411, 366, 1273, 6271, 1, 796, 705, 16886, 292, 10308, 6, 5357, 366, 1585...
has there been any organism that in 12/2105 was found in the last urine microbiology test of patient 8116?
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8116) AND microbiologyevents.spec_type_desc = 'urine' AND NOT microbiologyevents.org_name IS NULL AND STRFTIME('%y-%m', microbiologyevents.charttime) = '2105-12' ORDER...
[ 10134, 612, 587, 597, 26433, 326, 287, 1105, 14, 17, 13348, 373, 1043, 287, 262, 938, 18922, 24559, 1435, 1332, 286, 5827, 807, 18298, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 612, 587, 597, 26433, 326, 287, 1105, 14, 17, 13348, 373, 1043, 287, 262, 938, 18922, 24559, 1435, 1332, 286, 5827, 807, 18298, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13,...
What was the record while at home in Anaheim?
SELECT record FROM table_name_95 WHERE home = "anaheim"
[ 2061, 373, 262, 1700, 981, 379, 1363, 287, 31100, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 3865, 33411, 1363, 796, 366, 2271, 9096, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1700, 981, 379, 1363, 287, 31100, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 3865, 33411, 1363, 796, 366, 2271, 9096, 1 ]
What is the name of the line from Karratha to Port Hedland?
SELECT "Name (year commissioned)" FROM table_59728 WHERE "From/to" = 'karratha to port hedland'
[ 2061, 318, 262, 1438, 286, 262, 1627, 422, 509, 3258, 30921, 284, 4347, 30920, 1044, 30, 46506, 366, 5376, 357, 1941, 20462, 16725, 16034, 3084, 62, 43239, 2078, 33411, 366, 4863, 14, 1462, 1, 796, 705, 74, 3258, 30921, 284, 2493, 164...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 1627, 422, 509, 3258, 30921, 284, 4347, 30920, 1044, 30, 46506, 366, 5376, 357, 1941, 20462, 16725, 16034, 3084, 62, 43239, 2078, 33411, 366, 4863, 14, 1462, 1, 796, 705, 74, 3258, 30921, 284, 2493, 164...
Tell me the launch pad for 25 december 2010 10:34
SELECT launch_pad FROM table_name_16 WHERE launch_date_time__utc_ = "25 december 2010 10:34"
[ 24446, 502, 262, 4219, 14841, 329, 1679, 390, 3273, 3050, 838, 25, 2682, 46506, 4219, 62, 15636, 16034, 3084, 62, 3672, 62, 1433, 33411, 4219, 62, 4475, 62, 2435, 834, 315, 66, 62, 796, 366, 1495, 390, 3273, 3050, 838, 25, 2682, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 4219, 14841, 329, 1679, 390, 3273, 3050, 838, 25, 2682, 46506, 4219, 62, 15636, 16034, 3084, 62, 3672, 62, 1433, 33411, 4219, 62, 4475, 62, 2435, 834, 315, 66, 62, 796, 366, 1495, 390, 3273, 3050, 838, 25, 2682, 1 ]
Comments with the same text.
SELECT SUBSTRING(c.Text, STR_POSITION(c.Text, '@'), LENGTH(c.Text)) AS "text" FROM Comments AS c GROUP BY 'text'
[ 23903, 351, 262, 976, 2420, 13, 46506, 28932, 18601, 2751, 7, 66, 13, 8206, 11, 19269, 62, 37997, 17941, 7, 66, 13, 8206, 11, 705, 31, 33809, 406, 49494, 7, 66, 13, 8206, 4008, 7054, 366, 5239, 1, 16034, 19502, 7054, 269, 44441, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23903, 351, 262, 976, 2420, 13, 46506, 28932, 18601, 2751, 7, 66, 13, 8206, 11, 19269, 62, 37997, 17941, 7, 66, 13, 8206, 11, 705, 31, 33809, 406, 49494, 7, 66, 13, 8206, 4008, 7054, 366, 5239, 1, 16034, 19502, 7054, 269, 44441, 1...
Which Team 2 has a Captain 1 of final?
SELECT team_2 FROM table_name_87 WHERE captain_1 = "final"
[ 13828, 4816, 362, 468, 257, 8599, 352, 286, 2457, 30, 46506, 1074, 62, 17, 16034, 3084, 62, 3672, 62, 5774, 33411, 10654, 62, 16, 796, 366, 20311, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4816, 362, 468, 257, 8599, 352, 286, 2457, 30, 46506, 1074, 62, 17, 16034, 3084, 62, 3672, 62, 5774, 33411, 10654, 62, 16, 796, 366, 20311, 1 ]
What is the roll number of Poroti school, which has a 6 decile?
SELECT "Roll" FROM table_58494 WHERE "Decile" = '6' AND "Name" = 'poroti school'
[ 2061, 318, 262, 4836, 1271, 286, 20139, 5092, 1524, 11, 543, 468, 257, 718, 875, 576, 30, 46506, 366, 26869, 1, 16034, 3084, 62, 3365, 39449, 33411, 366, 10707, 576, 1, 796, 705, 21, 6, 5357, 366, 5376, 1, 796, 705, 1819, 5092, 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 ]
[ 2061, 318, 262, 4836, 1271, 286, 20139, 5092, 1524, 11, 543, 468, 257, 718, 875, 576, 30, 46506, 366, 26869, 1, 16034, 3084, 62, 3365, 39449, 33411, 366, 10707, 576, 1, 796, 705, 21, 6, 5357, 366, 5376, 1, 796, 705, 1819, 5092, 15...
What is the name of the opponent for the Sutton tournament?
SELECT "Opponents" FROM table_55200 WHERE "Tournament" = 'sutton'
[ 2061, 318, 262, 1438, 286, 262, 6125, 329, 262, 39964, 7756, 30, 46506, 366, 27524, 3906, 1, 16034, 3084, 62, 2816, 2167, 33411, 366, 51, 5138, 1, 796, 705, 82, 21115, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 6125, 329, 262, 39964, 7756, 30, 46506, 366, 27524, 3906, 1, 16034, 3084, 62, 2816, 2167, 33411, 366, 51, 5138, 1, 796, 705, 82, 21115, 6 ]
How many semesters has ARABIC 503 been offered ?
SELECT DISTINCT semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'ARABIC' AND course.number = 503 AND semester.semester_id = course_offering.semester ORDER BY semester.year LIMIT 1
[ 2437, 867, 5026, 8586, 468, 317, 3861, 33, 2149, 44541, 587, 4438, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5026, 8586, 468, 317, 3861, 33, 2149, 44541, 587, 4438, 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, ...
What is the fan title with an end date of 1967-11-12?
SELECT "Fan Title" FROM table_3323 WHERE "End Date" = '1967-11-12'
[ 2061, 318, 262, 4336, 3670, 351, 281, 886, 3128, 286, 15904, 12, 1157, 12, 1065, 30, 46506, 366, 22480, 11851, 1, 16034, 3084, 62, 2091, 1954, 33411, 366, 12915, 7536, 1, 796, 705, 42830, 12, 1157, 12, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4336, 3670, 351, 281, 886, 3128, 286, 15904, 12, 1157, 12, 1065, 30, 46506, 366, 22480, 11851, 1, 16034, 3084, 62, 2091, 1954, 33411, 366, 12915, 7536, 1, 796, 705, 42830, 12, 1157, 12, 1065, 6 ]
Which Date has a Result of win, and a Round smaller than 2, and an Opponent of myron greenberg?
SELECT "Date" FROM table_48847 WHERE "Result" = 'win' AND "Round" < '2' AND "Opponent" = 'myron greenberg'
[ 13828, 7536, 468, 257, 25414, 286, 1592, 11, 290, 257, 10485, 4833, 621, 362, 11, 290, 281, 9385, 3471, 286, 616, 1313, 4077, 3900, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 33646, 2857, 33411, 366, 23004, 1, 796, 705, 5404, 6, 535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7536, 468, 257, 25414, 286, 1592, 11, 290, 257, 10485, 4833, 621, 362, 11, 290, 281, 9385, 3471, 286, 616, 1313, 4077, 3900, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 33646, 2857, 33411, 366, 23004, 1, 796, 705, 5404, 6, 535...
Tell me the most total for horse of carlson
SELECT MAX(total) FROM table_name_10 WHERE horse = "carlson"
[ 24446, 502, 262, 749, 2472, 329, 8223, 286, 1097, 75, 1559, 46506, 25882, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 8223, 796, 366, 66, 7063, 1559, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 749, 2472, 329, 8223, 286, 1097, 75, 1559, 46506, 25882, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 8223, 796, 366, 66, 7063, 1559, 1 ]
Questions which are closed and favorited.
SELECT Id AS "post_link", FavoriteCount, Score, CreationDate FROM Posts WHERE (PostTypeId = 1) AND (NOT ClosedDate IS NULL) AND (FavoriteCount > 0) ORDER BY CreationDate DESC
[ 35741, 543, 389, 4838, 290, 2661, 863, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 33992, 12332, 11, 15178, 11, 21582, 10430, 16034, 12043, 33411, 357, 6307, 6030, 7390, 796, 352, 8, 5357, 357, 11929, 30550, 10430, 3180, 15697, 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 ]
[ 35741, 543, 389, 4838, 290, 2661, 863, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 33992, 12332, 11, 15178, 11, 21582, 10430, 16034, 12043, 33411, 357, 6307, 6030, 7390, 796, 352, 8, 5357, 357, 11929, 30550, 10430, 3180, 15697, 8,...
What is the largest value for lost with a position greater than 10?
SELECT MAX(lost) FROM table_name_89 WHERE position > 10
[ 2061, 318, 262, 4387, 1988, 329, 2626, 351, 257, 2292, 3744, 621, 838, 30, 46506, 25882, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 2292, 1875, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 1988, 329, 2626, 351, 257, 2292, 3744, 621, 838, 30, 46506, 25882, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 2292, 1875, 838 ]
For patient Jerry Deberry, specify the date of birth and fluid taken as a sample for a lab test
SELECT demographic.dob, lab.fluid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Jerry Deberry"
[ 1890, 5827, 13075, 1024, 8396, 11, 11986, 262, 3128, 286, 4082, 290, 11711, 2077, 355, 257, 6291, 329, 257, 2248, 1332, 46506, 16728, 13, 67, 672, 11, 2248, 13, 35522, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 5827, 13075, 1024, 8396, 11, 11986, 262, 3128, 286, 4082, 290, 11711, 2077, 355, 257, 6291, 329, 257, 2248, 1332, 46506, 16728, 13, 67, 672, 11, 2248, 13, 35522, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, ...
alan bird and billy davies were both elected to the house of representatives as members of which party ?
SELECT "party" FROM table_203_484 WHERE "member" = 'alan bird'
[ 25786, 6512, 290, 2855, 88, 288, 615, 444, 547, 1111, 7018, 284, 262, 2156, 286, 10826, 355, 1866, 286, 543, 2151, 5633, 46506, 366, 10608, 1, 16034, 3084, 62, 22416, 62, 34137, 33411, 366, 19522, 1, 796, 705, 25786, 6512, 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 ]
[ 25786, 6512, 290, 2855, 88, 288, 615, 444, 547, 1111, 7018, 284, 262, 2156, 286, 10826, 355, 1866, 286, 543, 2151, 5633, 46506, 366, 10608, 1, 16034, 3084, 62, 22416, 62, 34137, 33411, 366, 19522, 1, 796, 705, 25786, 6512, 6 ]
Show the average age for male and female students Visualize by bar chart, rank X-axis in ascending order.
SELECT Sex, AVG(Age) FROM Student GROUP BY Sex ORDER BY Sex
[ 15307, 262, 2811, 2479, 329, 4257, 290, 4048, 2444, 15612, 1096, 416, 2318, 8262, 11, 4279, 1395, 12, 22704, 287, 41988, 1502, 13, 46506, 14419, 11, 35224, 7, 23396, 8, 16034, 13613, 44441, 11050, 14419, 38678, 11050, 14419 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 2479, 329, 4257, 290, 4048, 2444, 15612, 1096, 416, 2318, 8262, 11, 4279, 1395, 12, 22704, 287, 41988, 1502, 13, 46506, 14419, 11, 35224, 7, 23396, 8, 16034, 13613, 44441, 11050, 14419, 38678, 11050, 14419 ]
For franklin of class aa, which school years does this occur?
SELECT school_year FROM table_14603212_1 WHERE class_aA = Franklin
[ 1890, 14346, 2815, 286, 1398, 257, 64, 11, 543, 1524, 812, 857, 428, 3051, 30, 46506, 1524, 62, 1941, 16034, 3084, 62, 1415, 1899, 2624, 1065, 62, 16, 33411, 1398, 62, 64, 32, 796, 14021 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14346, 2815, 286, 1398, 257, 64, 11, 543, 1524, 812, 857, 428, 3051, 30, 46506, 1524, 62, 1941, 16034, 3084, 62, 1415, 1899, 2624, 1065, 62, 16, 33411, 1398, 62, 64, 32, 796, 14021 ]
what is the body weight difference of patient 006-161415 last measured on the last hospital visit compared to the second to last value measured on the last hospital visit?
SELECT (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-161415' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1) AND NOT patient.admissionweight IS N...
[ 10919, 318, 262, 1767, 3463, 3580, 286, 5827, 3571, 21, 12, 1433, 1415, 1314, 938, 8630, 319, 262, 938, 4436, 3187, 3688, 284, 262, 1218, 284, 938, 1988, 8630, 319, 262, 938, 4436, 3187, 30, 46506, 357, 46506, 5827, 13, 324, 3411, 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...
[ 10919, 318, 262, 1767, 3463, 3580, 286, 5827, 3571, 21, 12, 1433, 1415, 1314, 938, 8630, 319, 262, 938, 4436, 3187, 3688, 284, 262, 1218, 284, 938, 1988, 8630, 319, 262, 938, 4436, 3187, 30, 46506, 357, 46506, 5827, 13, 324, 3411, 6...
What percentage of voters voted for a third party in the county that had 802 third party voters?
SELECT "Others %" FROM table_23639 WHERE "Others #" = '802'
[ 2061, 5873, 286, 4446, 7052, 329, 257, 2368, 2151, 287, 262, 7968, 326, 550, 33121, 2368, 2151, 4446, 30, 46506, 366, 25599, 4064, 1, 16034, 3084, 62, 24940, 2670, 33411, 366, 25599, 1303, 1, 796, 705, 30863, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5873, 286, 4446, 7052, 329, 257, 2368, 2151, 287, 262, 7968, 326, 550, 33121, 2368, 2151, 4446, 30, 46506, 366, 25599, 4064, 1, 16034, 3084, 62, 24940, 2670, 33411, 366, 25599, 1303, 1, 796, 705, 30863, 6 ]
What competition was held 1 March 1909?
SELECT "Competition" FROM table_4377 WHERE "Date" = '1 march 1909'
[ 2061, 5449, 373, 2714, 352, 2805, 41507, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 19, 26514, 33411, 366, 10430, 1, 796, 705, 16, 9960, 41507, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5449, 373, 2714, 352, 2805, 41507, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 19, 26514, 33411, 366, 10430, 1, 796, 705, 16, 9960, 41507, 6 ]
when was the last time patient 031-24460's respiration was less than 48.0 on 08/31/2105.
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-24460')) AND vitalperiodic.respiration < 48.0 A...
[ 12518, 373, 262, 938, 640, 5827, 657, 3132, 12, 25707, 1899, 338, 1217, 15297, 373, 1342, 621, 4764, 13, 15, 319, 8487, 14, 3132, 14, 17, 13348, 13, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 262, 938, 640, 5827, 657, 3132, 12, 25707, 1899, 338, 1217, 15297, 373, 1342, 621, 4764, 13, 15, 319, 8487, 14, 3132, 14, 17, 13348, 13, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, ...
give me a flight from BALTIMORE to NEWARK that arrives as early as possible
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'NEW...
[ 26535, 502, 257, 5474, 422, 347, 31429, 3955, 6965, 284, 12682, 14175, 326, 14443, 355, 1903, 355, 1744, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 257, 5474, 422, 347, 31429, 3955, 6965, 284, 12682, 14175, 326, 14443, 355, 1903, 355, 1744, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, ...
what is the total number of awards that he has won ?
SELECT COUNT("award") FROM table_204_838 WHERE "result" = 'won'
[ 10919, 318, 262, 2472, 1271, 286, 13304, 326, 339, 468, 1839, 5633, 46506, 327, 28270, 7203, 707, 446, 4943, 16034, 3084, 62, 18638, 62, 23, 2548, 33411, 366, 20274, 1, 796, 705, 26502, 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 ]
[ 10919, 318, 262, 2472, 1271, 286, 13304, 326, 339, 468, 1839, 5633, 46506, 327, 28270, 7203, 707, 446, 4943, 16034, 3084, 62, 18638, 62, 23, 2548, 33411, 366, 20274, 1, 796, 705, 26502, 6 ]
what is the result for October 14, 1956?
SELECT "Result" FROM table_19766 WHERE "Date" = 'October 14, 1956'
[ 10919, 318, 262, 1255, 329, 3267, 1478, 11, 25190, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 24991, 2791, 33411, 366, 10430, 1, 796, 705, 18517, 1478, 11, 25190, 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 ]
[ 10919, 318, 262, 1255, 329, 3267, 1478, 11, 25190, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 24991, 2791, 33411, 366, 10430, 1, 796, 705, 18517, 1478, 11, 25190, 6 ]
Name the least attendance
SELECT MIN("Attendance") FROM table_1192
[ 5376, 262, 1551, 14858, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 16315, 17 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1551, 14858, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 16315, 17 ]
Tell me the highest opponents for record of 7-3 and vikings points more than 7
SELECT MAX(opponents) FROM table_name_97 WHERE record = "7-3" AND vikings_points > 7
[ 24446, 502, 262, 4511, 7691, 329, 1700, 286, 767, 12, 18, 290, 410, 1134, 654, 2173, 517, 621, 767, 46506, 25882, 7, 10365, 3906, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 1700, 796, 366, 22, 12, 18, 1, 5357, 410, 1134, 654, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 4511, 7691, 329, 1700, 286, 767, 12, 18, 290, 410, 1134, 654, 2173, 517, 621, 767, 46506, 25882, 7, 10365, 3906, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 1700, 796, 366, 22, 12, 18, 1, 5357, 410, 1134, 654, 62, ...
Name the district for mike rogers
SELECT district FROM table_25030512_4 WHERE incumbent = "Mike Rogers"
[ 5376, 262, 4783, 329, 285, 522, 686, 5355, 46506, 4783, 16034, 3084, 62, 9031, 22515, 1065, 62, 19, 33411, 23526, 796, 366, 16073, 15372, 1 ]
[ 1, 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, 4783, 329, 285, 522, 686, 5355, 46506, 4783, 16034, 3084, 62, 9031, 22515, 1065, 62, 19, 33411, 23526, 796, 366, 16073, 15372, 1 ]
What Driver had 50+3 Points?
SELECT "Driver" FROM table_8448 WHERE "Points" = '50+3'
[ 2061, 12434, 550, 2026, 10, 18, 11045, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 23, 31115, 33411, 366, 40710, 1, 796, 705, 1120, 10, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 12434, 550, 2026, 10, 18, 11045, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 23, 31115, 33411, 366, 40710, 1, 796, 705, 1120, 10, 18, 6 ]
What is the route/via when the train name is Parasuram Express?
SELECT route_via FROM table_29202276_2 WHERE train_name = "Parasuram Express"
[ 2061, 318, 262, 6339, 14, 8869, 618, 262, 4512, 1438, 318, 45020, 333, 321, 10604, 30, 46506, 6339, 62, 8869, 16034, 3084, 62, 1959, 1238, 1828, 4304, 62, 17, 33411, 4512, 62, 3672, 796, 366, 10044, 292, 333, 321, 10604, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6339, 14, 8869, 618, 262, 4512, 1438, 318, 45020, 333, 321, 10604, 30, 46506, 6339, 62, 8869, 16034, 3084, 62, 1959, 1238, 1828, 4304, 62, 17, 33411, 4512, 62, 3672, 796, 366, 10044, 292, 333, 321, 10604, 1 ]
what is the lowest money ($) when the place is t2 for player johnny miller?
SELECT MIN("Money ( $ )") FROM table_9169 WHERE "Place" = 't2' AND "Player" = 'johnny miller'
[ 10919, 318, 262, 9016, 1637, 45491, 618, 262, 1295, 318, 256, 17, 329, 2137, 45610, 3281, 3939, 263, 30, 46506, 20625, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 24, 22172, 33411, 366, 27271, 1, 796, 705, 83, 17, 6, 5357, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 9016, 1637, 45491, 618, 262, 1295, 318, 256, 17, 329, 2137, 45610, 3281, 3939, 263, 30, 46506, 20625, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 24, 22172, 33411, 366, 27271, 1, 796, 705, 83, 17, 6, 5357, 3...
How many premio are there when 'Artist of the Year' was the categoria?
SELECT COUNT(premio) FROM table_27501971_2 WHERE categoría = "Artist of the Year"
[ 2437, 867, 4199, 952, 389, 612, 618, 705, 43020, 286, 262, 6280, 6, 373, 262, 4253, 7661, 30, 46506, 327, 28270, 7, 31605, 952, 8, 16034, 3084, 62, 23195, 30484, 4869, 62, 17, 33411, 17851, 29690, 796, 366, 43020, 286, 262, 6280, 1 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4199, 952, 389, 612, 618, 705, 43020, 286, 262, 6280, 6, 373, 262, 4253, 7661, 30, 46506, 327, 28270, 7, 31605, 952, 8, 16034, 3084, 62, 23195, 30484, 4869, 62, 17, 33411, 17851, 29690, 796, 366, 43020, 286, 262, 6280, 1 ...
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about manager_id over the last_name by a bar chart, list by the LAST_NAME from low to high please.
SELECT LAST_NAME, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY LAST_NAME
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 4706, 62, 312, 625, 262, 938, 62, 3672, 416, 257, 2318, 8262, 11, 1351, 416, 262, 41894, 62, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 4706, 62, 312, 625, 262, 938, 62, 3672, 416, 257, 2318, 8262, 11, 1351, 416, 262, 41894, 62, 20...
For those employees whose first name does not contain the letter M, display their average salary by binning the hire date into the day of week interval for visualizing a bar chart.
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE NOT FIRST_NAME LIKE '%M%'
[ 1890, 883, 4409, 3025, 717, 1438, 857, 407, 3994, 262, 3850, 337, 11, 3359, 511, 2811, 9588, 416, 9874, 768, 262, 11078, 3128, 656, 262, 1110, 286, 1285, 16654, 329, 5874, 2890, 257, 2318, 8262, 13, 46506, 36210, 2200, 62, 35, 6158, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4409, 3025, 717, 1438, 857, 407, 3994, 262, 3850, 337, 11, 3359, 511, 2811, 9588, 416, 9874, 768, 262, 11078, 3128, 656, 262, 1110, 286, 1285, 16654, 329, 5874, 2890, 257, 2318, 8262, 13, 46506, 36210, 2200, 62, 35, 6158, ...
How many apartments do not have any facility?
SELECT COUNT(*) FROM apartments WHERE NOT apt_id IN (SELECT apt_id FROM apartment_facilities)
[ 2437, 867, 19592, 466, 407, 423, 597, 6841, 30, 46506, 327, 28270, 7, 28104, 16034, 19592, 33411, 5626, 15409, 62, 312, 3268, 357, 46506, 15409, 62, 312, 16034, 7962, 62, 38942, 2410, 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 ]
[ 2437, 867, 19592, 466, 407, 423, 597, 6841, 30, 46506, 327, 28270, 7, 28104, 16034, 19592, 33411, 5626, 15409, 62, 312, 3268, 357, 46506, 15409, 62, 312, 16034, 7962, 62, 38942, 2410, 8 ]
What is the Novelty of the dinosaur, whose naming Author was Galton?
SELECT novelty FROM table_name_37 WHERE authors = "galton"
[ 2061, 318, 262, 24467, 774, 286, 262, 28257, 11, 3025, 19264, 6434, 373, 5027, 1122, 30, 46506, 31650, 16034, 3084, 62, 3672, 62, 2718, 33411, 7035, 796, 366, 13528, 1122, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 24467, 774, 286, 262, 28257, 11, 3025, 19264, 6434, 373, 5027, 1122, 30, 46506, 31650, 16034, 3084, 62, 3672, 62, 2718, 33411, 7035, 796, 366, 13528, 1122, 1 ]
What is the date where the home team was kaizer chiefs and the division was mtn 8 semi-final?
SELECT date FROM table_27274566_2 WHERE home_team = "Kaizer Chiefs" AND division = "MTN 8 Semi-final"
[ 2061, 318, 262, 3128, 810, 262, 1363, 1074, 373, 38387, 7509, 30217, 290, 262, 7297, 373, 285, 34106, 807, 10663, 12, 20311, 30, 46506, 3128, 16034, 3084, 62, 1983, 1983, 2231, 2791, 62, 17, 33411, 1363, 62, 15097, 796, 366, 37281, 75...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 810, 262, 1363, 1074, 373, 38387, 7509, 30217, 290, 262, 7297, 373, 285, 34106, 807, 10663, 12, 20311, 30, 46506, 3128, 16034, 3084, 62, 1983, 1983, 2231, 2791, 62, 17, 33411, 1363, 62, 15097, 796, 366, 37281, 75...
Show different type codes of products and the number of products with each type code Visualize by bar chart, sort in asc by the bars.
SELECT Product_Type_Code, COUNT(*) FROM Products GROUP BY Product_Type_Code ORDER BY Product_Type_Code
[ 15307, 1180, 2099, 12416, 286, 3186, 290, 262, 1271, 286, 3186, 351, 1123, 2099, 2438, 15612, 1096, 416, 2318, 8262, 11, 3297, 287, 10570, 416, 262, 9210, 13, 46506, 8721, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 18675, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 1180, 2099, 12416, 286, 3186, 290, 262, 1271, 286, 3186, 351, 1123, 2099, 2438, 15612, 1096, 416, 2318, 8262, 11, 3297, 287, 10570, 416, 262, 9210, 13, 46506, 8721, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 18675, 4...
Which Win % has a Name of tony rice, and Wins smaller than 28?
SELECT COUNT("Win %") FROM table_37660 WHERE "Name" = 'tony rice' AND "Wins" < '28'
[ 13828, 7178, 4064, 468, 257, 6530, 286, 256, 1647, 11464, 11, 290, 24423, 4833, 621, 2579, 30, 46506, 327, 28270, 7203, 16643, 4064, 4943, 16034, 3084, 62, 32128, 1899, 33411, 366, 5376, 1, 796, 705, 1122, 88, 11464, 6, 5357, 366, 54,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7178, 4064, 468, 257, 6530, 286, 256, 1647, 11464, 11, 290, 24423, 4833, 621, 2579, 30, 46506, 327, 28270, 7203, 16643, 4064, 4943, 16034, 3084, 62, 32128, 1899, 33411, 366, 5376, 1, 796, 705, 1122, 88, 11464, 6, 5357, 366, 54,...
Which team has a right wing position listed?
SELECT "College/junior/club team" FROM table_70175 WHERE "Position" = 'right wing'
[ 13828, 1074, 468, 257, 826, 8539, 2292, 5610, 30, 46506, 366, 38951, 14, 29741, 1504, 14, 18664, 1074, 1, 16034, 3084, 62, 41583, 2425, 33411, 366, 26545, 1, 796, 705, 3506, 8539, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1074, 468, 257, 826, 8539, 2292, 5610, 30, 46506, 366, 38951, 14, 29741, 1504, 14, 18664, 1074, 1, 16034, 3084, 62, 41583, 2425, 33411, 366, 26545, 1, 796, 705, 3506, 8539, 6 ]
How many locations are listed for the Big 12 Conference?
SELECT COUNT("Tournament Venue (City)") FROM table_25181 WHERE "Conference" = 'Big 12 Conference'
[ 2437, 867, 7064, 389, 5610, 329, 262, 4403, 1105, 8785, 30, 46506, 327, 28270, 7203, 51, 5138, 9932, 518, 357, 14941, 8, 4943, 16034, 3084, 62, 1495, 27057, 33411, 366, 3103, 4288, 1, 796, 705, 12804, 1105, 8785, 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 ]
[ 2437, 867, 7064, 389, 5610, 329, 262, 4403, 1105, 8785, 30, 46506, 327, 28270, 7203, 51, 5138, 9932, 518, 357, 14941, 8, 4943, 16034, 3084, 62, 1495, 27057, 33411, 366, 3103, 4288, 1, 796, 705, 12804, 1105, 8785, 6 ]
How many upvotes does Jedi have for each tag?. how long before I get tag badges?
SELECT COUNT(*) AS UpVotes FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId INNER JOIN Votes ON Votes.PostId = Posts.Id AND VoteTypeId = 2 WHERE Posts.OwnerUserId = 22656
[ 2437, 867, 510, 29307, 857, 16147, 423, 329, 1123, 7621, 30, 13, 703, 890, 878, 314, 651, 7621, 37583, 30, 46506, 327, 28270, 7, 28104, 7054, 3205, 53, 6421, 16034, 44789, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 510, 29307, 857, 16147, 423, 329, 1123, 7621, 30, 13, 703, 890, 878, 314, 651, 7621, 37583, 30, 46506, 327, 28270, 7, 28104, 7054, 3205, 53, 6421, 16034, 44789, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, ...
When are the birthdays of customer who are classified as 'Good Customer' status, and count them by a line chart, and list from high to low by the X-axis please.
SELECT date_of_birth, COUNT(date_of_birth) FROM Customers WHERE customer_status_code = 'Good Customer' ORDER BY date_of_birth DESC
[ 2215, 389, 262, 4082, 12545, 286, 6491, 508, 389, 10090, 355, 705, 10248, 22092, 6, 3722, 11, 290, 954, 606, 416, 257, 1627, 8262, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 1395, 12, 22704, 3387, 13, 46506, 3128, 62, 1659, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2215, 389, 262, 4082, 12545, 286, 6491, 508, 389, 10090, 355, 705, 10248, 22092, 6, 3722, 11, 290, 954, 606, 416, 257, 1627, 8262, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 1395, 12, 22704, 3387, 13, 46506, 3128, 62, 1659, 62, ...
What was Jim Hoff's sum of losses and a wins smaller than 12?
SELECT SUM(losses) FROM table_name_9 WHERE manager = "jim hoff" AND wins < 12
[ 2061, 373, 5395, 21890, 338, 2160, 286, 9089, 290, 257, 7864, 4833, 621, 1105, 30, 46506, 35683, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 4706, 796, 366, 73, 320, 289, 2364, 1, 5357, 7864, 1279, 1105 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 5395, 21890, 338, 2160, 286, 9089, 290, 257, 7864, 4833, 621, 1105, 30, 46506, 35683, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 4706, 796, 366, 73, 320, 289, 2364, 1, 5357, 7864, 1279, 1105 ]
Return the names of all counties sorted by county name in descending alphabetical order.
SELECT County_name FROM county ORDER BY County_name DESC
[ 13615, 262, 3891, 286, 477, 14683, 23243, 416, 7968, 1438, 287, 31491, 24830, 605, 1502, 13, 46506, 3418, 62, 3672, 16034, 7968, 38678, 11050, 3418, 62, 3672, 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 ]
[ 13615, 262, 3891, 286, 477, 14683, 23243, 416, 7968, 1438, 287, 31491, 24830, 605, 1502, 13, 46506, 3418, 62, 3672, 16034, 7968, 38678, 11050, 3418, 62, 3672, 22196, 34 ]
Enterprise Library Answers By Year.
SELECT TIME_TO_STR(p.CreationDate, '%YEAR'), COUNT(*) FROM Posts AS p WHERE p.Tags LIKE ('%<enterprise-library>%') AND p.AnswerCount > 0 AND p.ClosedDate IS NULL GROUP BY TIME_TO_STR(p.CreationDate, '%YEAR')
[ 17469, 7919, 10074, 42612, 2750, 6280, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 79, 13, 12443, 341, 10430, 11, 705, 4, 56, 17133, 33809, 327, 28270, 7, 28104, 16034, 12043, 7054, 279, 33411, 279, 13, 36142, 34178, 19203, 4, 27, 9255...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 17469, 7919, 10074, 42612, 2750, 6280, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 79, 13, 12443, 341, 10430, 11, 705, 4, 56, 17133, 33809, 327, 28270, 7, 28104, 16034, 12043, 7054, 279, 33411, 279, 13, 36142, 34178, 19203, 4, 27, 9255...
A bar chart shows the distribution of Team_Name and ACC_Percent , and list X in asc order please.
SELECT Team_Name, ACC_Percent FROM basketball_match ORDER BY Team_Name
[ 32, 2318, 8262, 2523, 262, 6082, 286, 4816, 62, 5376, 290, 15859, 62, 31905, 837, 290, 1351, 1395, 287, 10570, 1502, 3387, 13, 46506, 4816, 62, 5376, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 38678, 11050, 4816, 62, 5376 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 2318, 8262, 2523, 262, 6082, 286, 4816, 62, 5376, 290, 15859, 62, 31905, 837, 290, 1351, 1395, 287, 10570, 1502, 3387, 13, 46506, 4816, 62, 5376, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 38678, 11050, 4816, 62, 5376 ]
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, visualize a bar chart about the distribution of job_id and the amount of job_id , and group by attribute job_id, list by the bars from high to low.
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2033, 286...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2033, 286...
Which Copa Libertadores 1992 has a Supercopa Sudamericana 1992 of round of 16, and a Team of gr mio?
SELECT "Copa Libertadores 1992" FROM table_5223 WHERE "Supercopa Sudamericana 1992" = 'round of 16' AND "Team" = 'grêmio'
[ 13828, 6955, 64, 5261, 83, 324, 2850, 9768, 468, 257, 3115, 22163, 64, 14818, 2382, 291, 2271, 9768, 286, 2835, 286, 1467, 11, 290, 257, 4816, 286, 1036, 285, 952, 30, 46506, 366, 13379, 64, 5261, 83, 324, 2850, 9768, 1, 16034, 3084...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6955, 64, 5261, 83, 324, 2850, 9768, 468, 257, 3115, 22163, 64, 14818, 2382, 291, 2271, 9768, 286, 2835, 286, 1467, 11, 290, 257, 4816, 286, 1036, 285, 952, 30, 46506, 366, 13379, 64, 5261, 83, 324, 2850, 9768, 1, 16034, 3084...
What is the November 3 result when June 10-11 is 147?
SELECT "November 3" FROM table_27519 WHERE "June 10-11" = '147'
[ 2061, 318, 262, 3389, 513, 1255, 618, 2795, 838, 12, 1157, 318, 22909, 30, 46506, 366, 21159, 513, 1, 16034, 3084, 62, 23195, 1129, 33411, 366, 15749, 838, 12, 1157, 1, 796, 705, 20198, 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, 3389, 513, 1255, 618, 2795, 838, 12, 1157, 318, 22909, 30, 46506, 366, 21159, 513, 1, 16034, 3084, 62, 23195, 1129, 33411, 366, 15749, 838, 12, 1157, 1, 796, 705, 20198, 6 ]
What's the GPU frequency that has ultra-low power in cores?
SELECT "GPU frequency" FROM table_13572 WHERE "Cores" = 'ultra-low power'
[ 2061, 338, 262, 11362, 8373, 326, 468, 14764, 12, 9319, 1176, 287, 21758, 30, 46506, 366, 33346, 8373, 1, 16034, 3084, 62, 1485, 48724, 33411, 366, 34, 2850, 1, 796, 705, 586, 430, 12, 9319, 1176, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 11362, 8373, 326, 468, 14764, 12, 9319, 1176, 287, 21758, 30, 46506, 366, 33346, 8373, 1, 16034, 3084, 62, 1485, 48724, 33411, 366, 34, 2850, 1, 796, 705, 586, 430, 12, 9319, 1176, 6 ]
what is the earliest flight from BOSTON to BWI that serves a SNACK
SELECT DISTINCT flight.flight_id FROM airport, airport_service, city, flight, food_service WHERE ((airport.airport_code = 'BWI' AND flight.to_airport = airport.airport_code AND food_service.meal_code = flight.meal_code AND food_service.meal_description = 'SNACK') AND city.city_code = airport_service.city_code AND city....
[ 10919, 318, 262, 14555, 5474, 422, 347, 10892, 1340, 284, 347, 36326, 326, 9179, 257, 11346, 8120, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 11, 9003, 62, 15271, 11, 1748, 11, 5474, 11, 2057, 62, 15271, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14555, 5474, 422, 347, 10892, 1340, 284, 347, 36326, 326, 9179, 257, 11346, 8120, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 11, 9003, 62, 15271, 11, 1748, 11, 5474, 11, 2057, 62, 15271, 3341...
Which Comparative has a Link of sourcecode webserver?
SELECT "Comparative" FROM table_36083 WHERE "Link" = 'sourcecode webserver'
[ 13828, 22565, 876, 468, 257, 7502, 286, 2723, 8189, 2639, 18497, 30, 46506, 366, 50249, 876, 1, 16034, 3084, 62, 15277, 5999, 33411, 366, 11280, 1, 796, 705, 10459, 8189, 2639, 18497, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 22565, 876, 468, 257, 7502, 286, 2723, 8189, 2639, 18497, 30, 46506, 366, 50249, 876, 1, 16034, 3084, 62, 15277, 5999, 33411, 366, 11280, 1, 796, 705, 10459, 8189, 2639, 18497, 6 ]
what are the five most common specimen tests taken until 2 years ago?
SELECT t1.spec_type_desc FROM (SELECT microbiologyevents.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microbiologyevents WHERE DATETIME(microbiologyevents.charttime) <= DATETIME(CURRENT_TIME(), '-2 year') GROUP BY microbiologyevents.spec_type_desc) AS t1 WHERE t1.c1 <= 5
[ 10919, 389, 262, 1936, 749, 2219, 31674, 5254, 2077, 1566, 362, 812, 2084, 30, 46506, 256, 16, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 11, 360, 24290, 62, 49, 15154, 3419,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1936, 749, 2219, 31674, 5254, 2077, 1566, 362, 812, 2084, 30, 46506, 256, 16, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 11, 360, 24290, 62, 49, 15154, 3419,...
What shows as the Diameter (km) when the Diameter (mi) is 5mi?
SELECT "Diameter (km)" FROM table_39996 WHERE "Diameter (mi)" = '5mi'
[ 2061, 2523, 355, 262, 360, 13173, 357, 13276, 8, 618, 262, 360, 13173, 357, 11632, 8, 318, 642, 11632, 30, 46506, 366, 35, 13173, 357, 13276, 16725, 16034, 3084, 62, 28771, 4846, 33411, 366, 35, 13173, 357, 11632, 16725, 796, 705, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2523, 355, 262, 360, 13173, 357, 13276, 8, 618, 262, 360, 13173, 357, 11632, 8, 318, 642, 11632, 30, 46506, 366, 35, 13173, 357, 13276, 16725, 16034, 3084, 62, 28771, 4846, 33411, 366, 35, 13173, 357, 11632, 16725, 796, 705, 20,...
Number of Re-Opened question vs. RO with no-edits vs. RO with edits by others vs. RO edits by OP.
WITH ReOpenedQuestions AS (SELECT p.LastEditDate, ph.CreationDate, p.OwnerUserId, p.LastEditorUserId FROM Posts AS p, PostHistory AS ph WHERE p.Id = ph.PostId AND ph.PostHistoryTypeId = 11 AND p.PostTypeId = 1) SELECT (SELECT COUNT(*) FROM ReOpenedQuestions) AS "all_re-opened_questions", (SELECT COUNT(*) FROM ReOpenedQ...
[ 15057, 286, 797, 12, 18257, 2945, 1808, 3691, 13, 15107, 351, 645, 12, 276, 896, 3691, 13, 15107, 351, 31671, 416, 1854, 3691, 13, 15107, 31671, 416, 13349, 13, 54, 10554, 797, 18257, 2945, 35741, 7054, 357, 46506, 279, 13, 5956, 1837...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15057, 286, 797, 12, 18257, 2945, 1808, 3691, 13, 15107, 351, 645, 12, 276, 896, 3691, 13, 15107, 351, 31671, 416, 1854, 3691, 13, 15107, 31671, 416, 13349, 13, 54, 10554, 797, 18257, 2945, 35741, 7054, 357, 46506, 279, 13, 5956, 1837...
Opponent of Philadelphia eagles had what attendance?
SELECT "Attendance" FROM table_33851 WHERE "Opponent" = 'philadelphia eagles'
[ 27524, 3471, 286, 8857, 304, 37803, 550, 644, 14858, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 28460, 4349, 33411, 366, 27524, 3471, 1, 796, 705, 28864, 8273, 304, 37803, 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 ]
[ 27524, 3471, 286, 8857, 304, 37803, 550, 644, 14858, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 28460, 4349, 33411, 366, 27524, 3471, 1, 796, 705, 28864, 8273, 304, 37803, 6 ]
What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?
SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = "Fujitsu fi-6130 A4 Series Scanner"
[ 2061, 389, 262, 8085, 15225, 329, 262, 32671, 19831, 25912, 12, 5333, 1270, 257, 19, 7171, 20937, 1008, 30, 46506, 15225, 834, 3020, 62, 16034, 3084, 62, 1433, 1821, 5607, 2231, 62, 16, 33411, 1720, 796, 366, 37, 23577, 19831, 25912, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8085, 15225, 329, 262, 32671, 19831, 25912, 12, 5333, 1270, 257, 19, 7171, 20937, 1008, 30, 46506, 15225, 834, 3020, 62, 16034, 3084, 62, 1433, 1821, 5607, 2231, 62, 16, 33411, 1720, 796, 366, 37, 23577, 19831, 25912, ...