instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Query users posts and answers after 2018.
SELECT A.Id, A.PostTypeId, A.Title, A.Body, A.ParentId, A.Tags, A.CreationDate FROM Posts AS A LEFT JOIN Users AS U ON A.OwnerUserId = U.Id WHERE U.Reputation > '##num##' AND A.PostTypeId = 1 AND A.CreationDate > 2018
[ 20746, 2985, 6851, 290, 7429, 706, 2864, 13, 46506, 317, 13, 7390, 11, 317, 13, 6307, 6030, 7390, 11, 317, 13, 19160, 11, 317, 13, 25842, 11, 317, 13, 24546, 7390, 11, 317, 13, 36142, 11, 317, 13, 12443, 341, 10430, 16034, 12043, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20746, 2985, 6851, 290, 7429, 706, 2864, 13, 46506, 317, 13, 7390, 11, 317, 13, 6307, 6030, 7390, 11, 317, 13, 19160, 11, 317, 13, 25842, 11, 317, 13, 24546, 7390, 11, 317, 13, 36142, 11, 317, 13, 12443, 341, 10430, 16034, 12043, ...
List the name of rooms with king or queen bed.
SELECT roomName FROM Rooms WHERE bedType = "King" OR bedType = "Queen"
[ 8053, 262, 1438, 286, 9519, 351, 5822, 393, 16599, 3996, 13, 46506, 2119, 5376, 16034, 42043, 33411, 3996, 6030, 796, 366, 15708, 1, 6375, 3996, 6030, 796, 366, 32466, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 1438, 286, 9519, 351, 5822, 393, 16599, 3996, 13, 46506, 2119, 5376, 16034, 42043, 33411, 3996, 6030, 796, 366, 15708, 1, 6375, 3996, 6030, 796, 366, 32466, 1 ]
Name the total number of barony for kilmore
SELECT COUNT(barony) FROM table_30120559_1 WHERE townland = "Kilmore"
[ 5376, 262, 2472, 1271, 286, 2318, 1647, 329, 8769, 3549, 46506, 327, 28270, 7, 5657, 1647, 8, 16034, 3084, 62, 18938, 1238, 38605, 62, 16, 33411, 3240, 1044, 796, 366, 42, 346, 3549, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 2318, 1647, 329, 8769, 3549, 46506, 327, 28270, 7, 5657, 1647, 8, 16034, 3084, 62, 18938, 1238, 38605, 62, 16, 33411, 3240, 1044, 796, 366, 42, 346, 3549, 1 ]
what is the venue total for sri lanka ?
SELECT COUNT(*) FROM table_204_419 WHERE "venue" = 'sri lanka'
[ 10919, 318, 262, 14359, 2472, 329, 264, 380, 300, 15927, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 45068, 33411, 366, 4080, 1, 796, 705, 82, 380, 300, 15927, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 14359, 2472, 329, 264, 380, 300, 15927, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 45068, 33411, 366, 4080, 1, 796, 705, 82, 380, 300, 15927, 6 ]
What is the date with 68,463 in attendance?
SELECT date FROM table_name_82 WHERE attendance = "68,463"
[ 2061, 318, 262, 3128, 351, 8257, 11, 38380, 287, 14858, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 6469, 33411, 14858, 796, 366, 3104, 11, 38380, 1 ]
[ 1, 1, 1, 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, 351, 8257, 11, 38380, 287, 14858, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 6469, 33411, 14858, 796, 366, 3104, 11, 38380, 1 ]
Create a bar chart showing the number of state province across state province, show in descending by the STATE_PROVINCE.
SELECT STATE_PROVINCE, COUNT(STATE_PROVINCE) FROM locations GROUP BY STATE_PROVINCE ORDER BY STATE_PROVINCE DESC
[ 16447, 257, 2318, 8262, 4478, 262, 1271, 286, 1181, 8473, 1973, 1181, 8473, 11, 905, 287, 31491, 416, 262, 35454, 62, 41283, 1268, 5222, 13, 46506, 35454, 62, 41283, 1268, 5222, 11, 327, 28270, 7, 44724, 62, 41283, 1268, 5222, 8, 1603...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16447, 257, 2318, 8262, 4478, 262, 1271, 286, 1181, 8473, 1973, 1181, 8473, 11, 905, 287, 31491, 416, 262, 35454, 62, 41283, 1268, 5222, 13, 46506, 35454, 62, 41283, 1268, 5222, 11, 327, 28270, 7, 44724, 62, 41283, 1268, 5222, 8, 1603...
first time patient 015-54876 got surgery in 2104?
SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-54876')) AND STRFTIME('%y', treatment.treatmenttime) = '2104'...
[ 11085, 640, 5827, 5534, 20, 12, 49934, 4304, 1392, 8185, 287, 362, 13464, 30, 46506, 3513, 13, 42487, 2435, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 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...
[ 11085, 640, 5827, 5534, 20, 12, 49934, 4304, 1392, 8185, 287, 362, 13464, 30, 46506, 3513, 13, 42487, 2435, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, ...
What player has 69-70-68-73=280 as the score?
SELECT player FROM table_name_52 WHERE score = 69 - 70 - 68 - 73 = 280
[ 2061, 2137, 468, 8644, 12, 2154, 12, 3104, 12, 4790, 28, 21033, 355, 262, 4776, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4309, 33411, 4776, 796, 8644, 532, 4317, 532, 8257, 532, 8854, 796, 21355 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2137, 468, 8644, 12, 2154, 12, 3104, 12, 4790, 28, 21033, 355, 262, 4776, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4309, 33411, 4776, 796, 8644, 532, 4317, 532, 8257, 532, 8854, 796, 21355 ]
What week has a result of L 17-31 first?
SELECT MAX("Week") FROM table_62727 WHERE "Result" = 'l 17-31'
[ 2061, 1285, 468, 257, 1255, 286, 406, 1596, 12, 3132, 717, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 49856, 1983, 33411, 366, 23004, 1, 796, 705, 75, 1596, 12, 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 ]
[ 2061, 1285, 468, 257, 1255, 286, 406, 1596, 12, 3132, 717, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 49856, 1983, 33411, 366, 23004, 1, 796, 705, 75, 1596, 12, 3132, 6 ]
What is Website, when Last Release is 2009-08-09, 1.2.9?
SELECT "Website" FROM table_49051 WHERE "Last Release" = '2009-08-09, 1.2.9'
[ 2061, 318, 15887, 11, 618, 4586, 13868, 318, 3717, 12, 2919, 12, 2931, 11, 352, 13, 17, 13, 24, 30, 46506, 366, 33420, 1, 16034, 3084, 62, 2920, 2713, 16, 33411, 366, 5956, 13868, 1, 796, 705, 10531, 12, 2919, 12, 2931, 11, 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 ]
[ 2061, 318, 15887, 11, 618, 4586, 13868, 318, 3717, 12, 2919, 12, 2931, 11, 352, 13, 17, 13, 24, 30, 46506, 366, 33420, 1, 16034, 3084, 62, 2920, 2713, 16, 33411, 366, 5956, 13868, 1, 796, 705, 10531, 12, 2919, 12, 2931, 11, 352, ...
What was the title of the episode that had 13.82 million U.S. viewers?
SELECT title FROM table_18102421_2 WHERE us_viewers__millions_ = "13.82"
[ 2061, 373, 262, 3670, 286, 262, 4471, 326, 550, 1511, 13, 6469, 1510, 471, 13, 50, 13, 10209, 30, 46506, 3670, 16034, 3084, 62, 1507, 35500, 2481, 62, 17, 33411, 514, 62, 1177, 364, 834, 17805, 507, 62, 796, 366, 1485, 13, 6469, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3670, 286, 262, 4471, 326, 550, 1511, 13, 6469, 1510, 471, 13, 50, 13, 10209, 30, 46506, 3670, 16034, 3084, 62, 1507, 35500, 2481, 62, 17, 33411, 514, 62, 1177, 364, 834, 17805, 507, 62, 796, 366, 1485, 13, 6469, 1...
what is primary disease and procedure short title of subject id 9258?
SELECT demographic.diagnosis, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "9258"
[ 10919, 318, 4165, 4369, 290, 8771, 1790, 3670, 286, 2426, 4686, 860, 25600, 30, 46506, 16728, 13, 47356, 5958, 11, 9021, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 4165, 4369, 290, 8771, 1790, 3670, 286, 2426, 4686, 860, 25600, 30, 46506, 16728, 13, 47356, 5958, 11, 9021, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, ...
What dates does Alex Munter have 25% and the polling firm of Decima?
SELECT "Polling Dates" FROM table_58620 WHERE "Alex Munter" = '25%' AND "Polling Firm" = 'decima'
[ 2061, 9667, 857, 4422, 12107, 353, 423, 1679, 4, 290, 262, 13985, 4081, 286, 4280, 8083, 30, 46506, 366, 39176, 278, 44712, 1, 16034, 3084, 62, 29796, 1238, 33411, 366, 15309, 12107, 353, 1, 796, 705, 1495, 4, 6, 5357, 366, 39176, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9667, 857, 4422, 12107, 353, 423, 1679, 4, 290, 262, 13985, 4081, 286, 4280, 8083, 30, 46506, 366, 39176, 278, 44712, 1, 16034, 3084, 62, 29796, 1238, 33411, 366, 15309, 12107, 353, 1, 796, 705, 1495, 4, 6, 5357, 366, 39176, 2...
calculate patient 7112's total sump #1 volume in the previous day.
SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7112)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'sump...
[ 9948, 3129, 378, 5827, 9166, 1065, 338, 2472, 264, 931, 1303, 16, 6115, 287, 262, 2180, 1110, 13, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 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...
[ 9948, 3129, 378, 5827, 9166, 1065, 338, 2472, 264, 931, 1303, 16, 6115, 287, 262, 2180, 1110, 13, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 6...
Which Election has a Municipality of laives, and Inhabitants smaller than 17,197?
SELECT AVG(election) FROM table_name_35 WHERE municipality = "laives" AND inhabitants < 17 OFFSET 197
[ 13828, 14219, 468, 257, 27338, 1483, 286, 8591, 1083, 11, 290, 554, 5976, 270, 1187, 4833, 621, 1596, 11, 24991, 30, 46506, 35224, 7, 14300, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 27264, 796, 366, 5031, 1083, 1, 5357, 17622, 1279,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 14219, 468, 257, 27338, 1483, 286, 8591, 1083, 11, 290, 554, 5976, 270, 1187, 4833, 621, 1596, 11, 24991, 30, 46506, 35224, 7, 14300, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 27264, 796, 366, 5031, 1083, 1, 5357, 17622, 1279,...
How many tries did the club Croesyceiliog rfc have?
SELECT tries_for FROM table_name_24 WHERE club = "croesyceiliog rfc"
[ 2437, 867, 8404, 750, 262, 3430, 9325, 9259, 344, 2403, 519, 374, 16072, 423, 30, 46506, 8404, 62, 1640, 16034, 3084, 62, 3672, 62, 1731, 33411, 3430, 796, 366, 19915, 9259, 344, 2403, 519, 374, 16072, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8404, 750, 262, 3430, 9325, 9259, 344, 2403, 519, 374, 16072, 423, 30, 46506, 8404, 62, 1640, 16034, 3084, 62, 3672, 62, 1731, 33411, 3430, 796, 366, 19915, 9259, 344, 2403, 519, 374, 16072, 1 ]
provide the number of patients whose admission location is clinic referral/premature and primary disease is s/p hanging.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.diagnosis = "S/P HANGING"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 4165, 4369, 318, 264, 14, 79, 10938, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 1672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15760, 31413, 14, 31605, 1300, 290, 4165, 4369, 318, 264, 14, 79, 10938, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 1672...
what is minimum age of patients whose marital status is married and age is greater than or equal to 36?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.age >= "36"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 29555, 3722, 318, 6405, 290, 2479, 318, 3744, 621, 393, 4961, 284, 4570, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 711...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 2479, 286, 3871, 3025, 29555, 3722, 318, 6405, 290, 2479, 318, 3744, 621, 393, 4961, 284, 4570, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 711...
For those employees who did not have any job in the past, give me the comparison about the sum of salary over the hire_date bin hire_date by weekday, and could you list in descending by the y axis?
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(SALARY) DESC
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 9588, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 11, 290, 714, 345, 1351, 287, 31491, 416, 262, 331, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1577, 502, 262, 7208, 546, 262, 2160, 286, 9588, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 11, 290, 714, 345, 1351, 287, 31491, 416, 262, 331, ...
When was the scorer mccoist (3), johnston, butcher, steven?
SELECT "Date" FROM table_47363 WHERE "Scorers" = 'mccoist (3), johnston, butcher, steven'
[ 2215, 373, 262, 30664, 285, 535, 78, 396, 357, 18, 828, 45610, 3743, 11, 38042, 11, 2876, 574, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2857, 35447, 33411, 366, 26595, 3808, 1, 796, 705, 76, 535, 78, 396, 357, 18, 828, 45610, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30664, 285, 535, 78, 396, 357, 18, 828, 45610, 3743, 11, 38042, 11, 2876, 574, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2857, 35447, 33411, 366, 26595, 3808, 1, 796, 705, 76, 535, 78, 396, 357, 18, 828, 45610, 37...
What are the number of the category of music festivals with result 'Awarded'?, show in descending by the x axis.
SELECT Category, COUNT(Category) FROM music_festival WHERE Result = "Awarded" GROUP BY Category ORDER BY Category DESC
[ 2061, 389, 262, 1271, 286, 262, 6536, 286, 2647, 25575, 351, 1255, 705, 32, 904, 276, 6, 21747, 905, 287, 31491, 416, 262, 2124, 16488, 13, 46506, 21743, 11, 327, 28270, 7, 27313, 8, 16034, 2647, 62, 69, 6743, 33411, 25414, 796, 366...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1271, 286, 262, 6536, 286, 2647, 25575, 351, 1255, 705, 32, 904, 276, 6, 21747, 905, 287, 31491, 416, 262, 2124, 16488, 13, 46506, 21743, 11, 327, 28270, 7, 27313, 8, 16034, 2647, 62, 69, 6743, 33411, 25414, 796, 366...
1 month - More commented Android questions.
SELECT Body FROM Posts AS Question WHERE Question.Tags LIKE '%android%' AND Question.CreationDate > '2018-01-01' AND Question.CreationDate < '2018-12-31' ORDER BY CommentCount DESC LIMIT 500
[ 16, 1227, 532, 3125, 16476, 5565, 2683, 13, 46506, 12290, 16034, 12043, 7054, 18233, 33411, 18233, 13, 36142, 34178, 705, 4, 19411, 4, 6, 5357, 18233, 13, 12443, 341, 10430, 1875, 705, 7908, 12, 486, 12, 486, 6, 5357, 18233, 13, 12443...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16, 1227, 532, 3125, 16476, 5565, 2683, 13, 46506, 12290, 16034, 12043, 7054, 18233, 33411, 18233, 13, 36142, 34178, 705, 4, 19411, 4, 6, 5357, 18233, 13, 12443, 341, 10430, 1875, 705, 7908, 12, 486, 12, 486, 6, 5357, 18233, 13, 12443...
Who lost the game with a record of 20-13?
SELECT loss FROM table_name_41 WHERE record = "20-13"
[ 8241, 2626, 262, 983, 351, 257, 1700, 286, 1160, 12, 1485, 30, 46506, 2994, 16034, 3084, 62, 3672, 62, 3901, 33411, 1700, 796, 366, 1238, 12, 1485, 1 ]
[ 1, 1, 1, 1, 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, 2626, 262, 983, 351, 257, 1700, 286, 1160, 12, 1485, 30, 46506, 2994, 16034, 3084, 62, 3672, 62, 3901, 33411, 1700, 796, 366, 1238, 12, 1485, 1 ]
Name the least age 30-39 where age 20-29 is 593
SELECT MIN(age_30_39) FROM table_169693_1 WHERE age_20_29 = 593
[ 5376, 262, 1551, 2479, 1542, 12, 2670, 810, 2479, 1160, 12, 1959, 318, 642, 6052, 46506, 20625, 7, 496, 62, 1270, 62, 2670, 8, 16034, 3084, 62, 22172, 48528, 62, 16, 33411, 2479, 62, 1238, 62, 1959, 796, 642, 6052 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1551, 2479, 1542, 12, 2670, 810, 2479, 1160, 12, 1959, 318, 642, 6052, 46506, 20625, 7, 496, 62, 1270, 62, 2670, 8, 16034, 3084, 62, 22172, 48528, 62, 16, 33411, 2479, 62, 1238, 62, 1959, 796, 642, 6052 ]
Result of l 17 20 had what attendance?
SELECT attendance FROM table_name_31 WHERE result = "l 17–20"
[ 23004, 286, 300, 1596, 1160, 550, 644, 14858, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 3132, 33411, 1255, 796, 366, 75, 1596, 1906, 1238, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23004, 286, 300, 1596, 1160, 550, 644, 14858, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 3132, 33411, 1255, 796, 366, 75, 1596, 1906, 1238, 1 ]
Which average Game has a High points of wilson chandler (16)?
SELECT AVG("Game") FROM table_48731 WHERE "High points" = 'wilson chandler (16)'
[ 13828, 2811, 3776, 468, 257, 3334, 2173, 286, 39716, 1559, 442, 392, 1754, 357, 1433, 19427, 46506, 35224, 7203, 8777, 4943, 16034, 3084, 62, 35133, 3132, 33411, 366, 11922, 2173, 1, 796, 705, 86, 346, 1559, 442, 392, 1754, 357, 1433, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 3776, 468, 257, 3334, 2173, 286, 39716, 1559, 442, 392, 1754, 357, 1433, 19427, 46506, 35224, 7203, 8777, 4943, 16034, 3084, 62, 35133, 3132, 33411, 366, 11922, 2173, 1, 796, 705, 86, 346, 1559, 442, 392, 1754, 357, 1433, ...
Who were the collor commentator(s) for ESPN before 2012?
SELECT "Color commentator(s)" FROM table_4564 WHERE "Year" < '2012' AND "Network" = 'espn'
[ 8241, 547, 262, 2927, 273, 28823, 7, 82, 8, 329, 10409, 878, 2321, 30, 46506, 366, 10258, 28823, 7, 82, 16725, 16034, 3084, 62, 2231, 2414, 33411, 366, 17688, 1, 1279, 705, 6999, 6, 5357, 366, 26245, 1, 796, 705, 9774, 77, 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 ]
[ 8241, 547, 262, 2927, 273, 28823, 7, 82, 8, 329, 10409, 878, 2321, 30, 46506, 366, 10258, 28823, 7, 82, 16725, 16034, 3084, 62, 2231, 2414, 33411, 366, 17688, 1, 1279, 705, 6999, 6, 5357, 366, 26245, 1, 796, 705, 9774, 77, 6 ]
What is the minimum weights for people of each sex? Show a bar chart.
SELECT Sex, MIN(Weight) FROM people GROUP BY Sex
[ 2061, 318, 262, 5288, 19590, 329, 661, 286, 1123, 1714, 30, 5438, 257, 2318, 8262, 13, 46506, 14419, 11, 20625, 7, 25844, 8, 16034, 661, 44441, 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 ]
[ 2061, 318, 262, 5288, 19590, 329, 661, 286, 1123, 1714, 30, 5438, 257, 2318, 8262, 13, 46506, 14419, 11, 20625, 7, 25844, 8, 16034, 661, 44441, 11050, 14419 ]
What's the 2008 Status of Rosa Delauro?
SELECT 2008 AS _status FROM table_name_15 WHERE democratic = "rosa delauro"
[ 2061, 338, 262, 3648, 12678, 286, 27994, 4216, 559, 305, 30, 46506, 3648, 7054, 4808, 13376, 16034, 3084, 62, 3672, 62, 1314, 33411, 10518, 796, 366, 4951, 64, 1619, 559, 305, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 3648, 12678, 286, 27994, 4216, 559, 305, 30, 46506, 3648, 7054, 4808, 13376, 16034, 3084, 62, 3672, 62, 1314, 33411, 10518, 796, 366, 4951, 64, 1619, 559, 305, 1 ]
count the number of patients whose year of birth is less than 2104 and drug name is vancomycin?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2104" AND prescriptions.drug = "Vancomycin"
[ 9127, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 362, 13464, 290, 2563, 1438, 318, 5719, 785, 88, 17879, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 362, 13464, 290, 2563, 1438, 318, 5719, 785, 88, 17879, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
Timsah arena is in what country?
SELECT country FROM table_name_32 WHERE stadium = "timsah arena"
[ 51, 12078, 993, 13478, 318, 287, 644, 1499, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2624, 33411, 10308, 796, 366, 83, 12078, 993, 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 ]
[ 51, 12078, 993, 13478, 318, 287, 644, 1499, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2624, 33411, 10308, 796, 366, 83, 12078, 993, 13478, 1 ]
provide me the number of patients taking base type drug prescription who have diagnoses icd9 code 28860.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "28860" AND prescriptions.drug_type = "BASE"
[ 15234, 485, 502, 262, 1271, 286, 3871, 2263, 2779, 2099, 2563, 15077, 508, 423, 40567, 14158, 67, 24, 2438, 35419, 1899, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 502, 262, 1271, 286, 3871, 2263, 2779, 2099, 2563, 15077, 508, 423, 40567, 14158, 67, 24, 2438, 35419, 1899, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1...
Create a bar chart showing capacity across name, sort Capacity from low to high order.
SELECT Name, Capacity FROM cinema ORDER BY Capacity
[ 16447, 257, 2318, 8262, 4478, 5339, 1973, 1438, 11, 3297, 29765, 422, 1877, 284, 1029, 1502, 13, 46506, 6530, 11, 29765, 16034, 22041, 38678, 11050, 29765 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16447, 257, 2318, 8262, 4478, 5339, 1973, 1438, 11, 3297, 29765, 422, 1877, 284, 1029, 1502, 13, 46506, 6530, 11, 29765, 16034, 22041, 38678, 11050, 29765 ]
What is the average round of the number 16 pick?
SELECT AVG("Round") FROM table_54067 WHERE "Pick" = '16'
[ 2061, 318, 262, 2811, 2835, 286, 262, 1271, 1467, 2298, 30, 46506, 35224, 7203, 22685, 4943, 16034, 3084, 62, 35005, 3134, 33411, 366, 31686, 1, 796, 705, 1433, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 2835, 286, 262, 1271, 1467, 2298, 30, 46506, 35224, 7203, 22685, 4943, 16034, 3084, 62, 35005, 3134, 33411, 366, 31686, 1, 796, 705, 1433, 6 ]
Name the total number of round 3 for class tt1
SELECT COUNT(round_3) FROM table_18646111_13 WHERE class = "TT1"
[ 5376, 262, 2472, 1271, 286, 2835, 513, 329, 1398, 256, 83, 16, 46506, 327, 28270, 7, 744, 62, 18, 8, 16034, 3084, 62, 1507, 27720, 16243, 62, 1485, 33411, 1398, 796, 366, 15751, 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 ]
[ 5376, 262, 2472, 1271, 286, 2835, 513, 329, 1398, 256, 83, 16, 46506, 327, 28270, 7, 744, 62, 18, 8, 16034, 3084, 62, 1507, 27720, 16243, 62, 1485, 33411, 1398, 796, 366, 15751, 16, 1 ]
What was the country with a population density per km of 3.5/km (/sqmi)?
SELECT country_or_territory_with_flag FROM table_26769_1 WHERE population_density_per_km² = "3.5/km² (/sqmi)"
[ 2061, 373, 262, 1499, 351, 257, 3265, 12109, 583, 10571, 286, 513, 13, 20, 14, 13276, 50247, 31166, 11632, 19427, 46506, 1499, 62, 273, 62, 353, 799, 652, 62, 4480, 62, 32109, 16034, 3084, 62, 25674, 3388, 62, 16, 33411, 3265, 62, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1499, 351, 257, 3265, 12109, 583, 10571, 286, 513, 13, 20, 14, 13276, 50247, 31166, 11632, 19427, 46506, 1499, 62, 273, 62, 353, 799, 652, 62, 4480, 62, 32109, 16034, 3084, 62, 25674, 3388, 62, 16, 33411, 3265, 62, 4...
D'Oyly Carte 1939 Tour of sydney granville had what D'Oyly Carte 1950 Tour
SELECT "D'Oyly Carte 1950 Tour" FROM table_39566 WHERE "D'Oyly Carte 1939 Tour" = 'sydney granville'
[ 35, 6, 46, 88, 306, 13690, 68, 24414, 9852, 286, 827, 67, 1681, 19468, 4244, 550, 644, 360, 6, 46, 88, 306, 13690, 68, 11445, 9852, 46506, 366, 35, 6, 46, 88, 306, 13690, 68, 11445, 9852, 1, 16034, 3084, 62, 31010, 2791, 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 ]
[ 35, 6, 46, 88, 306, 13690, 68, 24414, 9852, 286, 827, 67, 1681, 19468, 4244, 550, 644, 360, 6, 46, 88, 306, 13690, 68, 11445, 9852, 46506, 366, 35, 6, 46, 88, 306, 13690, 68, 11445, 9852, 1, 16034, 3084, 62, 31010, 2791, 33411, ...
What is the Venue when the Crowd was larger than 11,000 and the Away team score was 7.9 (51)?
SELECT "Venue" FROM table_33019 WHERE "Crowd" > '11,000' AND "Away team score" = '7.9 (51)'
[ 2061, 318, 262, 9932, 518, 618, 262, 29452, 373, 4025, 621, 1367, 11, 830, 290, 262, 21986, 1074, 4776, 373, 767, 13, 24, 357, 4349, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2091, 30484, 33411, 366, 34, 3986, 1, 1875, 705,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9932, 518, 618, 262, 29452, 373, 4025, 621, 1367, 11, 830, 290, 262, 21986, 1074, 4776, 373, 767, 13, 24, 357, 4349, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2091, 30484, 33411, 366, 34, 3986, 1, 1875, 705,...
Which Points have a Record of 45 21 4, and a Game larger than 70?
SELECT AVG("Points") FROM table_75391 WHERE "Record" = '45–21–4' AND "Game" > '70'
[ 13828, 11045, 423, 257, 13266, 286, 4153, 2310, 604, 11, 290, 257, 3776, 4025, 621, 4317, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2425, 37710, 33411, 366, 23739, 1, 796, 705, 2231, 1906, 2481, 1906, 19, 6, 5357, 366, 877...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11045, 423, 257, 13266, 286, 4153, 2310, 604, 11, 290, 257, 3776, 4025, 621, 4317, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2425, 37710, 33411, 366, 23739, 1, 796, 705, 2231, 1906, 2481, 1906, 19, 6, 5357, 366, 877...
What is the crowd total for glenferrie oval?
SELECT COUNT(crowd) FROM table_name_77 WHERE venue = "glenferrie oval"
[ 2061, 318, 262, 4315, 2472, 329, 1278, 268, 2232, 5034, 41186, 30, 46506, 327, 28270, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 14359, 796, 366, 4743, 268, 2232, 5034, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4315, 2472, 329, 1278, 268, 2232, 5034, 41186, 30, 46506, 327, 28270, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 14359, 796, 366, 4743, 268, 2232, 5034, 41186, 1 ]
What was the average money when the score was 74-72-75-71=292?
SELECT AVG("Money ( $ )") FROM table_60219 WHERE "Score" = '74-72-75-71=292'
[ 2061, 373, 262, 2811, 1637, 618, 262, 4776, 373, 8915, 12, 4761, 12, 2425, 12, 4869, 28, 32759, 30, 46506, 35224, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 1899, 28896, 33411, 366, 26595, 1, 796, 705, 4524, 12, 4761, 12, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 1637, 618, 262, 4776, 373, 8915, 12, 4761, 12, 2425, 12, 4869, 28, 32759, 30, 46506, 35224, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 1899, 28896, 33411, 366, 26595, 1, 796, 705, 4524, 12, 4761, 12, 2...
What is Nation, when Date is '2004-07-22'?
SELECT nation FROM table_name_67 WHERE date = "2004-07-22"
[ 2061, 318, 8741, 11, 618, 7536, 318, 705, 15724, 12, 2998, 12, 1828, 30960, 46506, 3277, 16034, 3084, 62, 3672, 62, 3134, 33411, 3128, 796, 366, 15724, 12, 2998, 12, 1828, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 8741, 11, 618, 7536, 318, 705, 15724, 12, 2998, 12, 1828, 30960, 46506, 3277, 16034, 3084, 62, 3672, 62, 3134, 33411, 3128, 796, 366, 15724, 12, 2998, 12, 1828, 1 ]
Find the name of tracks which are in Movies playlist but not in music playlist.
SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Movies' EXCEPT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Music'
[ 16742, 262, 1438, 286, 8339, 543, 389, 287, 27151, 33178, 475, 407, 287, 2647, 33178, 13, 46506, 309, 16, 13, 3672, 16034, 8339, 7054, 309, 16, 32357, 1268, 33178, 62, 46074, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1438, 286, 8339, 543, 389, 287, 27151, 33178, 475, 407, 287, 2647, 33178, 13, 46506, 309, 16, 13, 3672, 16034, 8339, 7054, 309, 16, 32357, 1268, 33178, 62, 46074, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, ...
What was the label for Shake Your Groove Thing in USA?
SELECT "Label" FROM table_14244 WHERE "Country of Release" = 'usa' AND "Title" = 'shake your groove thing'
[ 2061, 373, 262, 6167, 329, 41113, 3406, 10299, 659, 21561, 287, 4916, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 1415, 25707, 33411, 366, 33921, 286, 13868, 1, 796, 705, 22064, 6, 5357, 366, 19160, 1, 796, 705, 32431, 534, 35096, 1517...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6167, 329, 41113, 3406, 10299, 659, 21561, 287, 4916, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 1415, 25707, 33411, 366, 33921, 286, 13868, 1, 796, 705, 22064, 6, 5357, 366, 19160, 1, 796, 705, 32431, 534, 35096, 1517...
what was the highest three diagnosis, which had the highest five year mortality rate?
SELECT t4.diagnosisname FROM (SELECT t3.diagnosisname, DENSE_RANK() OVER (ORDER BY t3.c1 DESC) AS c2 FROM (SELECT t2.diagnosisname, 100 - SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 5 * 365 THEN 1 ELSE 0 END) * 10...
[ 10919, 373, 262, 4511, 1115, 13669, 11, 543, 550, 262, 4511, 1936, 614, 12430, 2494, 30, 46506, 256, 19, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 18, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4511, 1115, 13669, 11, 543, 550, 262, 4511, 1936, 614, 12430, 2494, 30, 46506, 256, 19, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 18, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532,...
How much is the average score for New York state?
SELECT "Average" FROM table_17632 WHERE "State" = 'New York'
[ 2437, 881, 318, 262, 2811, 4776, 329, 968, 1971, 1181, 30, 46506, 366, 26287, 1, 16034, 3084, 62, 24096, 2624, 33411, 366, 9012, 1, 796, 705, 3791, 1971, 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 ]
[ 2437, 881, 318, 262, 2811, 4776, 329, 968, 1971, 1181, 30, 46506, 366, 26287, 1, 16034, 3084, 62, 24096, 2624, 33411, 366, 9012, 1, 796, 705, 3791, 1971, 6 ]
calculate patient 006-254232's duration of stay of the last stay in the icu.
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-254232') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime DESC LIMIT ...
[ 9948, 3129, 378, 5827, 3571, 21, 12, 24970, 24339, 338, 9478, 286, 2652, 286, 262, 938, 2652, 287, 262, 14158, 84, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 20850, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9948, 3129, 378, 5827, 3571, 21, 12, 24970, 24339, 338, 9478, 286, 2652, 286, 262, 938, 2652, 287, 262, 14158, 84, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 20850, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, ...
How many patients insured by the government had a lab test done for the O2 flow?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Government" AND lab.label = "O2 Flow"
[ 2437, 867, 3871, 31977, 416, 262, 1230, 550, 257, 2248, 1332, 1760, 329, 262, 440, 17, 5202, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3871, 31977, 416, 262, 1230, 550, 257, 2248, 1332, 1760, 329, 262, 440, 17, 5202, 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, ...
what was the number of competitors who qualified in group a ?
SELECT COUNT("name") FROM table_204_741
[ 10919, 373, 262, 1271, 286, 13861, 508, 10617, 287, 1448, 257, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 22, 3901 ]
[ 1, 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, 1271, 286, 13861, 508, 10617, 287, 1448, 257, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 22, 3901 ]
Calculate the total number of patients who had icd9 code v1006 and a duration of stay in hospital of more than 17 days
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "17" AND diagnoses.icd9_code = "V1006"
[ 9771, 3129, 378, 262, 2472, 1271, 286, 3871, 508, 550, 14158, 67, 24, 2438, 410, 3064, 21, 290, 257, 9478, 286, 2652, 287, 4436, 286, 517, 621, 1596, 1528, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 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...
[ 9771, 3129, 378, 262, 2472, 1271, 286, 3871, 508, 550, 14158, 67, 24, 2438, 410, 3064, 21, 290, 257, 9478, 286, 2652, 287, 4436, 286, 517, 621, 1596, 1528, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
What was the constructor when there were 95 laps and a grid less than 15?
SELECT "Constructor" FROM table_77869 WHERE "Grid" < '15' AND "Laps" = '95'
[ 2061, 373, 262, 23772, 618, 612, 547, 6957, 24590, 290, 257, 10706, 1342, 621, 1315, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 39761, 3388, 33411, 366, 41339, 1, 1279, 705, 1314, 6, 5357, 366, 43, 1686, 1, 796, 705, 3865, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 23772, 618, 612, 547, 6957, 24590, 290, 257, 10706, 1342, 621, 1315, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 39761, 3388, 33411, 366, 41339, 1, 1279, 705, 1314, 6, 5357, 366, 43, 1686, 1, 796, 705, 3865, 6 ]
What is the minimum age of patients whose marital status is widowed and who stayed in the hospital for 30 days?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.days_stay = "30"
[ 2061, 318, 262, 5288, 2479, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 508, 9658, 287, 262, 4436, 329, 1542, 1528, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5288, 2479, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 508, 9658, 287, 262, 4436, 329, 1542, 1528, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, ...
count the number of patients whose age is less than 81 and drug route is ivpca?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "81" AND prescriptions.route = "IVPCA"
[ 9127, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 9773, 290, 2563, 6339, 318, 21628, 79, 6888, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 9773, 290, 2563, 6339, 318, 21628, 79, 6888, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16...
how many patients have had open biopsy soft tissue in the same hospital encounter after the previous procedure of rad pancreaticoduodenect until 2104?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id 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_...
[ 4919, 867, 3871, 423, 550, 1280, 3182, 44522, 2705, 10712, 287, 262, 976, 4436, 8791, 706, 262, 2180, 8771, 286, 2511, 47767, 291, 375, 84, 375, 268, 478, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 423, 550, 1280, 3182, 44522, 2705, 10712, 287, 262, 976, 4436, 8791, 706, 262, 2180, 8771, 286, 2511, 47767, 291, 375, 84, 375, 268, 478, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13...
For each zip code, return the average mean temperature of August there.
SELECT zip_code, AVG(mean_temperature_f) FROM weather WHERE date LIKE "8/%" GROUP BY zip_code
[ 1890, 1123, 19974, 2438, 11, 1441, 262, 2811, 1612, 5951, 286, 2932, 612, 13, 46506, 19974, 62, 8189, 11, 35224, 7, 32604, 62, 11498, 21069, 62, 69, 8, 16034, 6193, 33411, 3128, 34178, 366, 23, 14, 39658, 44441, 11050, 19974, 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 ]
[ 1890, 1123, 19974, 2438, 11, 1441, 262, 2811, 1612, 5951, 286, 2932, 612, 13, 46506, 19974, 62, 8189, 11, 35224, 7, 32604, 62, 11498, 21069, 62, 69, 8, 16034, 6193, 33411, 3128, 34178, 366, 23, 14, 39658, 44441, 11050, 19974, 62, 8189...
What was the score in the September 26 game?
SELECT "Score" FROM table_47355 WHERE "Date" = 'september 26'
[ 2061, 373, 262, 4776, 287, 262, 2693, 2608, 983, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2857, 28567, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 2608, 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, 373, 262, 4776, 287, 262, 2693, 2608, 983, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2857, 28567, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 2608, 6 ]
Give me a bar chart for the total number of each budget type code, and rank from high to low by the X please.
SELECT Budget_Type_Code, COUNT(*) FROM Documents_with_Expenses GROUP BY Budget_Type_Code ORDER BY Budget_Type_Code DESC
[ 23318, 502, 257, 2318, 8262, 329, 262, 2472, 1271, 286, 1123, 4466, 2099, 2438, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 1395, 3387, 13, 46506, 15401, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 33267, 62, 4480, 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 ]
[ 23318, 502, 257, 2318, 8262, 329, 262, 2472, 1271, 286, 1123, 4466, 2099, 2438, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 1395, 3387, 13, 46506, 15401, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 33267, 62, 4480, 62, ...
How many directors were there for the production code 1ark08?
SELECT COUNT("Directed by") FROM table_73450 WHERE "Production code" = '1ARK08'
[ 2437, 867, 13445, 547, 612, 329, 262, 3227, 2438, 352, 668, 2919, 30, 46506, 327, 28270, 7203, 13470, 276, 416, 4943, 16034, 3084, 62, 22, 2682, 1120, 33411, 366, 35027, 2438, 1, 796, 705, 16, 14175, 2919, 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 ]
[ 2437, 867, 13445, 547, 612, 329, 262, 3227, 2438, 352, 668, 2919, 30, 46506, 327, 28270, 7203, 13470, 276, 416, 4943, 16034, 3084, 62, 22, 2682, 1120, 33411, 366, 35027, 2438, 1, 796, 705, 16, 14175, 2919, 6 ]
What are the details of the shops that can be accessed by walk?
SELECT T1.Shop_Details FROM SHOPS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Shop_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk"
[ 2061, 389, 262, 3307, 286, 262, 12437, 326, 460, 307, 17535, 416, 2513, 30, 46506, 309, 16, 13, 29917, 62, 24259, 16034, 6006, 30737, 7054, 309, 16, 32357, 1268, 49698, 8808, 62, 1404, 5446, 10659, 11053, 7054, 309, 17, 6177, 309, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 3307, 286, 262, 12437, 326, 460, 307, 17535, 416, 2513, 30, 46506, 309, 16, 13, 29917, 62, 24259, 16034, 6006, 30737, 7054, 309, 16, 32357, 1268, 49698, 8808, 62, 1404, 5446, 10659, 11053, 7054, 309, 17, 6177, 309, 16,...
give me the number of patients whose admission type is urgent and admission year is less than 2194?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.admityear < "2194"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 18039, 290, 13938, 614, 318, 1342, 621, 362, 22913, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 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 ]
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 18039, 290, 13938, 614, 318, 1342, 621, 362, 22913, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62,...
tell me the price of taking syringe (ns)?
SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'prescriptions' AND cost.event_id IN (SELECT prescriptions.row_id FROM prescriptions WHERE prescriptions.drug = 'syringe (ns)')
[ 33331, 502, 262, 2756, 286, 2263, 827, 38229, 357, 5907, 19427, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 18302, 24370, 6, 5357, 1575, 13, 15596, 62, 312, 3268, 357, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2756, 286, 2263, 827, 38229, 357, 5907, 19427, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 18302, 24370, 6, 5357, 1575, 13, 15596, 62, 312, 3268, 357, 46506, ...
What is the full amount of Total Cargo (in Metric Tonnes) where the Code (IATA/ICAO) is pvg/zspd, and the rank is less than 3?
SELECT SUM(total_cargo__metric_tonnes_) FROM table_name_13 WHERE code__iata_icao_ = "pvg/zspd" AND rank < 3
[ 2061, 318, 262, 1336, 2033, 286, 7472, 41061, 357, 259, 3395, 1173, 16859, 2516, 8, 810, 262, 6127, 357, 40, 13563, 14, 25241, 46, 8, 318, 279, 45119, 14, 89, 2777, 67, 11, 290, 262, 4279, 318, 1342, 621, 513, 30, 46506, 35683, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 1336, 2033, 286, 7472, 41061, 357, 259, 3395, 1173, 16859, 2516, 8, 810, 262, 6127, 357, 40, 13563, 14, 25241, 46, 8, 318, 279, 45119, 14, 89, 2777, 67, 11, 290, 262, 4279, 318, 1342, 621, 513, 30, 46506, 35683, 7,...
What was the profit before tax when the turnover was 431.06?
SELECT profit_before_tax__£m_ FROM table_2856898_1 WHERE turnover__£m_ = "431.06"
[ 2061, 373, 262, 7630, 878, 1687, 618, 262, 25079, 373, 604, 3132, 13, 3312, 30, 46506, 7630, 62, 19052, 62, 19290, 834, 14988, 76, 62, 16034, 3084, 62, 26279, 3104, 4089, 62, 16, 33411, 25079, 834, 14988, 76, 62, 796, 366, 50080, 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 ]
[ 2061, 373, 262, 7630, 878, 1687, 618, 262, 25079, 373, 604, 3132, 13, 3312, 30, 46506, 7630, 62, 19052, 62, 19290, 834, 14988, 76, 62, 16034, 3084, 62, 26279, 3104, 4089, 62, 16, 33411, 25079, 834, 14988, 76, 62, 796, 366, 50080, 13...
what is the language/rebroadcast for cbc radio one?
SELECT language_rebroadcast FROM table_name_30 WHERE branding = "cbc radio one"
[ 10919, 318, 262, 3303, 14, 34806, 6344, 2701, 329, 269, 15630, 5243, 530, 30, 46506, 3303, 62, 34806, 6344, 2701, 16034, 3084, 62, 3672, 62, 1270, 33411, 24150, 796, 366, 66, 15630, 5243, 530, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3303, 14, 34806, 6344, 2701, 329, 269, 15630, 5243, 530, 30, 46506, 3303, 62, 34806, 6344, 2701, 16034, 3084, 62, 3672, 62, 1270, 33411, 24150, 796, 366, 66, 15630, 5243, 530, 1 ]
What is the location when the home team score is 11.16 (82) and the away team score is 18.13 (121)?
SELECT "Venue" FROM table_54633 WHERE "Home team score" = '11.16 (82)' AND "Away team score" = '18.13 (121)'
[ 2061, 318, 262, 4067, 618, 262, 1363, 1074, 4776, 318, 1367, 13, 1433, 357, 6469, 8, 290, 262, 1497, 1074, 4776, 318, 1248, 13, 1485, 357, 19244, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 49489, 2091, 33411, 366, 16060, 1074,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 618, 262, 1363, 1074, 4776, 318, 1367, 13, 1433, 357, 6469, 8, 290, 262, 1497, 1074, 4776, 318, 1248, 13, 1485, 357, 19244, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 49489, 2091, 33411, 366, 16060, 1074,...
i'd like to fly from PHILADELPHIA to DALLAS to SAN FRANCISCO
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CIT...
[ 72, 1549, 588, 284, 6129, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 360, 7036, 1921, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 350...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1549, 588, 284, 6129, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 360, 7036, 1921, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 350...
What is the ydi minimum?
SELECT MIN("YdL") FROM table_3421
[ 2061, 318, 262, 331, 10989, 5288, 30, 46506, 20625, 7203, 56, 45582, 4943, 16034, 3084, 62, 2682, 2481 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 331, 10989, 5288, 30, 46506, 20625, 7203, 56, 45582, 4943, 16034, 3084, 62, 2682, 2481 ]
What championship was played in 1981?
SELECT championship__titles_finals_ FROM table_2201541_3 WHERE year = 1981
[ 2061, 12184, 373, 2826, 287, 14745, 30, 46506, 12184, 834, 83, 30540, 62, 32089, 62, 16034, 3084, 62, 17, 4626, 3901, 62, 18, 33411, 614, 796, 14745 ]
[ 1, 1, 1, 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, 12184, 373, 2826, 287, 14745, 30, 46506, 12184, 834, 83, 30540, 62, 32089, 62, 16034, 3084, 62, 17, 4626, 3901, 62, 18, 33411, 614, 796, 14745 ]
What is the count of enzymes without any interactions?
SELECT COUNT(*) FROM enzyme WHERE NOT id IN (SELECT enzyme_id FROM medicine_enzyme_interaction)
[ 2061, 318, 262, 954, 286, 29120, 1231, 597, 12213, 30, 46506, 327, 28270, 7, 28104, 16034, 27679, 33411, 5626, 4686, 3268, 357, 46506, 27679, 62, 312, 16034, 9007, 62, 268, 24266, 62, 3849, 2673, 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 ]
[ 2061, 318, 262, 954, 286, 29120, 1231, 597, 12213, 30, 46506, 327, 28270, 7, 28104, 16034, 27679, 33411, 5626, 4686, 3268, 357, 46506, 27679, 62, 312, 16034, 9007, 62, 268, 24266, 62, 3849, 2673, 8 ]
What tournament happened on 12 november 2006?
SELECT "Tournament" FROM table_67175 WHERE "Date" = '12 november 2006'
[ 2061, 7756, 3022, 319, 1105, 645, 303, 1916, 4793, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 3134, 17430, 33411, 366, 10430, 1, 796, 705, 1065, 645, 303, 1916, 4793, 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, 7756, 3022, 319, 1105, 645, 303, 1916, 4793, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 3134, 17430, 33411, 366, 10430, 1, 796, 705, 1065, 645, 303, 1916, 4793, 6 ]
what is the admission time and lab test name of patient with patient id 22377?
SELECT demographic.admittime, lab.label FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "22377"
[ 10919, 318, 262, 13938, 640, 290, 2248, 1332, 1438, 286, 5827, 351, 5827, 4686, 30299, 3324, 30, 46506, 16728, 13, 324, 20124, 524, 11, 2248, 13, 18242, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 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 ]
[ 10919, 318, 262, 13938, 640, 290, 2248, 1332, 1438, 286, 5827, 351, 5827, 4686, 30299, 3324, 30, 46506, 16728, 13, 324, 20124, 524, 11, 2248, 13, 18242, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, ...
What is the pick # for Dimelon Westfield?
SELECT MIN("Pick #") FROM table_31615 WHERE "Player" = 'dimelon westfield'
[ 2061, 318, 262, 2298, 1303, 329, 14048, 417, 261, 2688, 3245, 30, 46506, 20625, 7203, 31686, 1303, 4943, 16034, 3084, 62, 33400, 1314, 33411, 366, 14140, 1, 796, 705, 27740, 417, 261, 7421, 3245, 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, 2298, 1303, 329, 14048, 417, 261, 2688, 3245, 30, 46506, 20625, 7203, 31686, 1303, 4943, 16034, 3084, 62, 33400, 1314, 33411, 366, 14140, 1, 796, 705, 27740, 417, 261, 7421, 3245, 6 ]
Bar chart of the number of years played from each years played, and order x-axis in desc order.
SELECT Years_Played, COUNT(Years_Played) FROM player GROUP BY Years_Played ORDER BY Years_Played DESC
[ 10374, 8262, 286, 262, 1271, 286, 812, 2826, 422, 1123, 812, 2826, 11, 290, 1502, 2124, 12, 22704, 287, 1715, 1502, 13, 46506, 13212, 62, 11002, 276, 11, 327, 28270, 7, 40630, 62, 11002, 276, 8, 16034, 2137, 44441, 11050, 13212, 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 ]
[ 10374, 8262, 286, 262, 1271, 286, 812, 2826, 422, 1123, 812, 2826, 11, 290, 1502, 2124, 12, 22704, 287, 1715, 1502, 13, 46506, 13212, 62, 11002, 276, 11, 327, 28270, 7, 40630, 62, 11002, 276, 8, 16034, 2137, 44441, 11050, 13212, 62, ...
What is the US Krag-J rgensen M1892 when the Norwegian Krag-J rgensen M1894 is 126.8cm?
SELECT us_krag_jørgensen_m1892 FROM table_name_87 WHERE norwegian_krag_jørgensen_m1894 = "126.8cm"
[ 2061, 318, 262, 1294, 13685, 363, 12, 41, 48670, 18756, 337, 1507, 5892, 618, 262, 22158, 13685, 363, 12, 41, 48670, 18756, 337, 1507, 5824, 318, 19710, 13, 23, 11215, 30, 46506, 514, 62, 74, 22562, 62, 73, 24172, 41345, 18756, 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...
[ 2061, 318, 262, 1294, 13685, 363, 12, 41, 48670, 18756, 337, 1507, 5892, 618, 262, 22158, 13685, 363, 12, 41, 48670, 18756, 337, 1507, 5824, 318, 19710, 13, 23, 11215, 30, 46506, 514, 62, 74, 22562, 62, 73, 24172, 41345, 18756, 62, ...
What is the total number of Israeli deaths in the attack with 0 total casulaties and 0 total deaths?
SELECT COUNT("Israeli deaths") FROM table_59897 WHERE "Total casualties" = '0' AND "Total deaths" = '0'
[ 2061, 318, 262, 2472, 1271, 286, 6085, 7040, 287, 262, 1368, 351, 657, 2472, 6124, 377, 265, 444, 290, 657, 2472, 7040, 30, 46506, 327, 28270, 7203, 29818, 7040, 4943, 16034, 3084, 62, 3270, 4531, 22, 33411, 366, 14957, 18499, 1, 796,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 6085, 7040, 287, 262, 1368, 351, 657, 2472, 6124, 377, 265, 444, 290, 657, 2472, 7040, 30, 46506, 327, 28270, 7203, 29818, 7040, 4943, 16034, 3084, 62, 3270, 4531, 22, 33411, 366, 14957, 18499, 1, 796,...
Show the average age of drivers from the same home city using a bar graph, could you rank X from high to low order?
SELECT Home_city, AVG(Age) FROM driver GROUP BY Home_city ORDER BY Home_city DESC
[ 15307, 262, 2811, 2479, 286, 6643, 422, 262, 976, 1363, 1748, 1262, 257, 2318, 4823, 11, 714, 345, 4279, 1395, 422, 1029, 284, 1877, 1502, 30, 46506, 5995, 62, 19205, 11, 35224, 7, 23396, 8, 16034, 4639, 44441, 11050, 5995, 62, 19205,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 6643, 422, 262, 976, 1363, 1748, 1262, 257, 2318, 4823, 11, 714, 345, 4279, 1395, 422, 1029, 284, 1877, 1502, 30, 46506, 5995, 62, 19205, 11, 35224, 7, 23396, 8, 16034, 4639, 44441, 11050, 5995, 62, 19205,...
Find the latest logon date of the students whose family name is 'Jaskolski' or 'Langosh', and count them by a bar chart, I want to sort in ascending by the y axis.
SELECT date_of_latest_logon, COUNT(date_of_latest_logon) FROM Students WHERE family_name = "Jaskolski" OR family_name = "Langosh" ORDER BY COUNT(date_of_latest_logon)
[ 16742, 262, 3452, 2604, 261, 3128, 286, 262, 2444, 3025, 1641, 1438, 318, 705, 41, 2093, 10220, 4106, 6, 393, 705, 43, 648, 3768, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 314, 765, 284, 3297, 287, 41988, 416, 262, 331, 16488, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3452, 2604, 261, 3128, 286, 262, 2444, 3025, 1641, 1438, 318, 705, 41, 2093, 10220, 4106, 6, 393, 705, 43, 648, 3768, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 314, 765, 284, 3297, 287, 41988, 416, 262, 331, 16488, ...
Which Shooter has Score points of olympic silver medalist?
SELECT "Shooter" FROM table_61403 WHERE "Score points" = 'olympic silver medalist'
[ 13828, 35334, 468, 15178, 2173, 286, 267, 6760, 291, 8465, 18279, 396, 30, 46506, 366, 2484, 25141, 1, 16034, 3084, 62, 46841, 3070, 33411, 366, 26595, 2173, 1, 796, 705, 3366, 3149, 291, 8465, 18279, 396, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 35334, 468, 15178, 2173, 286, 267, 6760, 291, 8465, 18279, 396, 30, 46506, 366, 2484, 25141, 1, 16034, 3084, 62, 46841, 3070, 33411, 366, 26595, 2173, 1, 796, 705, 3366, 3149, 291, 8465, 18279, 396, 6 ]
How many people were injured in total in East Champaran, Bihar with more than 2 people killed?
SELECT COUNT("Injured") FROM table_74795 WHERE "Place" = 'east champaran, bihar' AND "Killed" > '2'
[ 2437, 867, 661, 547, 6686, 287, 2472, 287, 3687, 29260, 19173, 11, 45301, 351, 517, 621, 362, 661, 2923, 30, 46506, 327, 28270, 7203, 818, 38608, 4943, 16034, 3084, 62, 48882, 3865, 33411, 366, 27271, 1, 796, 705, 23316, 24092, 19173, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 6686, 287, 2472, 287, 3687, 29260, 19173, 11, 45301, 351, 517, 621, 362, 661, 2923, 30, 46506, 327, 28270, 7203, 818, 38608, 4943, 16034, 3084, 62, 48882, 3865, 33411, 366, 27271, 1, 796, 705, 23316, 24092, 19173, ...
What was the SlNo no of contact person SDE (P), Thiruppattur?
SELECT slno FROM table_25383715_1 WHERE contact_person = "SDE (P), Thiruppattur"
[ 2061, 373, 262, 3454, 2949, 645, 286, 2800, 1048, 311, 7206, 357, 47, 828, 536, 343, 7211, 1078, 333, 30, 46506, 1017, 3919, 16034, 3084, 62, 1495, 2548, 2718, 1314, 62, 16, 33411, 2800, 62, 6259, 796, 366, 50, 7206, 357, 47, 828, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3454, 2949, 645, 286, 2800, 1048, 311, 7206, 357, 47, 828, 536, 343, 7211, 1078, 333, 30, 46506, 1017, 3919, 16034, 3084, 62, 1495, 2548, 2718, 1314, 62, 16, 33411, 2800, 62, 6259, 796, 366, 50, 7206, 357, 47, 828, ...
What is the average roll of a school with state authority and a decile of 9?
SELECT AVG(roll) FROM table_name_93 WHERE authority = "state" AND decile = 9
[ 2061, 318, 262, 2811, 4836, 286, 257, 1524, 351, 1181, 4934, 290, 257, 875, 576, 286, 860, 30, 46506, 35224, 7, 2487, 8, 16034, 3084, 62, 3672, 62, 6052, 33411, 4934, 796, 366, 5219, 1, 5357, 875, 576, 796, 860 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 4836, 286, 257, 1524, 351, 1181, 4934, 290, 257, 875, 576, 286, 860, 30, 46506, 35224, 7, 2487, 8, 16034, 3084, 62, 3672, 62, 6052, 33411, 4934, 796, 366, 5219, 1, 5357, 875, 576, 796, 860 ]
What is the listed for the bridge at Daniel in Sublette county?
SELECT "Listed" FROM table_76879 WHERE "County" = 'sublette' AND "Location" = 'daniel'
[ 2061, 318, 262, 5610, 329, 262, 7696, 379, 7806, 287, 3834, 21348, 7968, 30, 46506, 366, 43, 6347, 1, 16034, 3084, 62, 30610, 3720, 33411, 366, 12332, 88, 1, 796, 705, 7266, 21348, 6, 5357, 366, 14749, 1, 796, 705, 67, 6321, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5610, 329, 262, 7696, 379, 7806, 287, 3834, 21348, 7968, 30, 46506, 366, 43, 6347, 1, 16034, 3084, 62, 30610, 3720, 33411, 366, 12332, 88, 1, 796, 705, 7266, 21348, 6, 5357, 366, 14749, 1, 796, 705, 67, 6321, 6 ]
Who was on the prohibition ticket when Abraham J. Cuddeback was on the Greenback ticket?
SELECT "Prohibition ticket" FROM table_42799 WHERE "Greenback ticket" = 'abraham j. cuddeback'
[ 8241, 373, 319, 262, 19548, 7846, 618, 16660, 449, 13, 327, 4185, 1765, 441, 373, 319, 262, 3469, 1891, 7846, 30, 46506, 366, 2964, 24108, 7846, 1, 16034, 3084, 62, 42363, 2079, 33411, 366, 13719, 1891, 7846, 1, 796, 705, 397, 13220, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 319, 262, 19548, 7846, 618, 16660, 449, 13, 327, 4185, 1765, 441, 373, 319, 262, 3469, 1891, 7846, 30, 46506, 366, 2964, 24108, 7846, 1, 16034, 3084, 62, 42363, 2079, 33411, 366, 13719, 1891, 7846, 1, 796, 705, 397, 13220, ...
Show the number of debates for each person on the negative side in a pie chart.
SELECT Name, COUNT(Name) FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Negative = T3.People_ID GROUP BY Name
[ 15307, 262, 1271, 286, 15389, 329, 1123, 1048, 319, 262, 4633, 1735, 287, 257, 2508, 8262, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 4384, 62, 15332, 7054, 309, 16, 32357, 1268, 4384, 7054, 309, 17, 6177, 309, 16, 13, 1658...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 15389, 329, 1123, 1048, 319, 262, 4633, 1735, 287, 257, 2508, 8262, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 4384, 62, 15332, 7054, 309, 16, 32357, 1268, 4384, 7054, 309, 17, 6177, 309, 16, 13, 1658...
Show All Tags on Site.
SELECT TagName, SUM(Count), SUM(CASE WHEN NOT ExcerptPostId IS NULL THEN 1 ELSE 0 END) AS "Has Excerpt", SUM(CASE WHEN NOT WikiPostId IS NULL THEN 1 ELSE 0 END) AS "Has Wiki" FROM Tags GROUP BY TagName ORDER BY SUM(Count) DESC
[ 15307, 1439, 44789, 319, 14413, 13, 46506, 17467, 5376, 11, 35683, 7, 12332, 828, 35683, 7, 34, 11159, 42099, 5626, 1475, 17040, 6307, 7390, 3180, 15697, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 366, 19242, 1475, 17040, 1600, 35683, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1439, 44789, 319, 14413, 13, 46506, 17467, 5376, 11, 35683, 7, 12332, 828, 35683, 7, 34, 11159, 42099, 5626, 1475, 17040, 6307, 7390, 3180, 15697, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 366, 19242, 1475, 17040, 1600, 35683, ...
Erdo an Ar ca is the head coach at what venue?
SELECT venue FROM table_17356873_1 WHERE head_coach = "Erdoğan Arıca"
[ 36, 4372, 78, 281, 943, 1275, 318, 262, 1182, 3985, 379, 644, 14359, 30, 46506, 14359, 16034, 3084, 62, 1558, 2327, 3104, 4790, 62, 16, 33411, 1182, 62, 1073, 620, 796, 366, 36, 4372, 48030, 943, 30102, 6888, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36, 4372, 78, 281, 943, 1275, 318, 262, 1182, 3985, 379, 644, 14359, 30, 46506, 14359, 16034, 3084, 62, 1558, 2327, 3104, 4790, 62, 16, 33411, 1182, 62, 1073, 620, 796, 366, 36, 4372, 48030, 943, 30102, 6888, 1 ]
What was the released date of Polarium?
SELECT released_date FROM table_1616608_2 WHERE western_title = "Polarium"
[ 2061, 373, 262, 2716, 3128, 286, 2165, 17756, 30, 46506, 2716, 62, 4475, 16034, 3084, 62, 1433, 1433, 28688, 62, 17, 33411, 8830, 62, 7839, 796, 366, 47, 6192, 1505, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2716, 3128, 286, 2165, 17756, 30, 46506, 2716, 62, 4475, 16034, 3084, 62, 1433, 1433, 28688, 62, 17, 33411, 8830, 62, 7839, 796, 366, 47, 6192, 1505, 1 ]
What is the points sum of the series with less than 0 poles?
SELECT SUM(points) FROM table_name_28 WHERE poles < 0
[ 2061, 318, 262, 2173, 2160, 286, 262, 2168, 351, 1342, 621, 657, 24971, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 24971, 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 ]
[ 2061, 318, 262, 2173, 2160, 286, 262, 2168, 351, 1342, 621, 657, 24971, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 24971, 1279, 657 ]
Draw a bar chart of main industry versus total number of market value
SELECT Main_Industry, SUM(Market_Value) FROM company GROUP BY Main_Industry
[ 25302, 257, 2318, 8262, 286, 1388, 2831, 9051, 2472, 1271, 286, 1910, 1988, 46506, 8774, 62, 35848, 563, 11, 35683, 7, 27470, 62, 11395, 8, 16034, 1664, 44441, 11050, 8774, 62, 35848, 563 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 286, 1388, 2831, 9051, 2472, 1271, 286, 1910, 1988, 46506, 8774, 62, 35848, 563, 11, 35683, 7, 27470, 62, 11395, 8, 16034, 1664, 44441, 11050, 8774, 62, 35848, 563 ]
How many games with record 1-3-3
SELECT COUNT(game) FROM table_17360840_4 WHERE record = "1-3-3"
[ 2437, 867, 1830, 351, 1700, 352, 12, 18, 12, 18, 46506, 327, 28270, 7, 6057, 8, 16034, 3084, 62, 1558, 15277, 40675, 62, 19, 33411, 1700, 796, 366, 16, 12, 18, 12, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1830, 351, 1700, 352, 12, 18, 12, 18, 46506, 327, 28270, 7, 6057, 8, 16034, 3084, 62, 1558, 15277, 40675, 62, 19, 33411, 1700, 796, 366, 16, 12, 18, 12, 18, 1 ]
Visualize the relationship between Team_ID and ACC_Percent , and group by attribute ACC_Home.
SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY ACC_Home
[ 36259, 1096, 262, 2776, 1022, 4816, 62, 2389, 290, 15859, 62, 31905, 837, 290, 1448, 416, 11688, 15859, 62, 16060, 13, 46506, 4816, 62, 2389, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 15859, 62, 16060 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 2776, 1022, 4816, 62, 2389, 290, 15859, 62, 31905, 837, 290, 1448, 416, 11688, 15859, 62, 16060, 13, 46506, 4816, 62, 2389, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 15859, 62, 16060 ]
tell me the maximum hospital cost that involves factor ix how much does it cost until 2103?
SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'factor ix')) AND STRFTIME('%y', cost.chargetime) <= '2103' GROUP BY cost.hadm_id) AS t1
[ 33331, 502, 262, 5415, 4436, 1575, 326, 9018, 5766, 220, 844, 703, 881, 857, 340, 1575, 1566, 362, 15197, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 5415, 4436, 1575, 326, 9018, 5766, 220, 844, 703, 881, 857, 340, 1575, 1566, 362, 15197, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 33...
What conference did the player originally from the denver broncos play in?
SELECT "Conf." FROM table_66519 WHERE "Original NFL team" = 'denver broncos'
[ 2061, 4495, 750, 262, 2137, 6198, 422, 262, 2853, 332, 18443, 6966, 711, 287, 30, 46506, 366, 18546, 526, 16034, 3084, 62, 36879, 1129, 33411, 366, 20556, 5134, 1074, 1, 796, 705, 6559, 332, 18443, 6966, 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, 4495, 750, 262, 2137, 6198, 422, 262, 2853, 332, 18443, 6966, 711, 287, 30, 46506, 366, 18546, 526, 16034, 3084, 62, 36879, 1129, 33411, 366, 20556, 5134, 1074, 1, 796, 705, 6559, 332, 18443, 6966, 6 ]
how many total silver medals did india win ?
SELECT COUNT("medal") FROM table_204_103
[ 4919, 867, 2472, 8465, 28057, 750, 773, 544, 1592, 5633, 46506, 327, 28270, 7203, 1150, 282, 4943, 16034, 3084, 62, 18638, 62, 15197 ]
[ 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, 2472, 8465, 28057, 750, 773, 544, 1592, 5633, 46506, 327, 28270, 7203, 1150, 282, 4943, 16034, 3084, 62, 18638, 62, 15197 ]
What is Team, when Qual 1 is 1:16.417?
SELECT team FROM table_name_70 WHERE qual_1 = "1:16.417"
[ 2061, 318, 4816, 11, 618, 9537, 352, 318, 352, 25, 1433, 13, 38547, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2154, 33411, 4140, 62, 16, 796, 366, 16, 25, 1433, 13, 38547, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4816, 11, 618, 9537, 352, 318, 352, 25, 1433, 13, 38547, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2154, 33411, 4140, 62, 16, 796, 366, 16, 25, 1433, 13, 38547, 1 ]
What is the task number on January 22, 2010 (day 111)?
SELECT MAX("Task No.") FROM table_38715 WHERE "Date given" = 'january 22, 2010 (day 111)'
[ 2061, 318, 262, 4876, 1271, 319, 3269, 2534, 11, 3050, 357, 820, 13374, 19427, 46506, 25882, 7203, 25714, 1400, 19570, 16034, 3084, 62, 32220, 1314, 33411, 366, 10430, 1813, 1, 796, 705, 13881, 2838, 2534, 11, 3050, 357, 820, 13374, 330...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4876, 1271, 319, 3269, 2534, 11, 3050, 357, 820, 13374, 19427, 46506, 25882, 7203, 25714, 1400, 19570, 16034, 3084, 62, 32220, 1314, 33411, 366, 10430, 1813, 1, 796, 705, 13881, 2838, 2534, 11, 3050, 357, 820, 13374, 330...
how many races did she compete in each of the following years : 2009 , 2010 , and 2011 .
SELECT COUNT("competition") FROM table_204_364 WHERE "year" IN (2009, 2010, 2011)
[ 4919, 867, 9558, 750, 673, 9320, 287, 1123, 286, 262, 1708, 812, 1058, 3717, 837, 3050, 837, 290, 2813, 764, 46506, 327, 28270, 7203, 5589, 15620, 4943, 16034, 3084, 62, 18638, 62, 26780, 33411, 366, 1941, 1, 3268, 357, 10531, 11, 305...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9558, 750, 673, 9320, 287, 1123, 286, 262, 1708, 812, 1058, 3717, 837, 3050, 837, 290, 2813, 764, 46506, 327, 28270, 7203, 5589, 15620, 4943, 16034, 3084, 62, 18638, 62, 26780, 33411, 366, 1941, 1, 3268, 357, 10531, 11, 305...
Positive / 0 / Negative Scored Questions By Tag. Displays a count of positive, 0, and negatively scored questions by tag. Includes closed questions.
SELECT SUM(CASE WHEN p.Score > 0 THEN 1 ELSE 0 END) AS Positive, SUM(CASE WHEN p.Score = 0 THEN 1 ELSE 0 END) AS Neutral, SUM(CASE WHEN p.Score < 0 THEN 1 ELSE 0 END) AS Negative, t.TagName FROM Posts AS p INNER JOIN PostTags AS pt ON p.Id = pt.PostId INNER JOIN Tags AS t ON pt.TagId = t.Id WHERE p.PostTypeId = 1 GROUP...
[ 21604, 1800, 1220, 657, 1220, 36183, 1446, 1850, 20396, 2750, 17467, 13, 3167, 26024, 257, 954, 286, 3967, 11, 657, 11, 290, 22533, 7781, 2683, 416, 7621, 13, 29581, 4838, 2683, 13, 46506, 35683, 7, 34, 11159, 42099, 279, 13, 26595, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 21604, 1800, 1220, 657, 1220, 36183, 1446, 1850, 20396, 2750, 17467, 13, 3167, 26024, 257, 954, 286, 3967, 11, 657, 11, 290, 22533, 7781, 2683, 416, 7621, 13, 29581, 4838, 2683, 13, 46506, 35683, 7, 34, 11159, 42099, 279, 13, 26595, 1...
how many countries in this competition had more than two silver medals ?
SELECT COUNT("nation") FROM table_204_771 WHERE "silver" > 2
[ 4919, 867, 2678, 287, 428, 5449, 550, 517, 621, 734, 8465, 28057, 5633, 46506, 327, 28270, 7203, 25729, 4943, 16034, 3084, 62, 18638, 62, 46761, 33411, 366, 40503, 1, 1875, 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 ]
[ 4919, 867, 2678, 287, 428, 5449, 550, 517, 621, 734, 8465, 28057, 5633, 46506, 327, 28270, 7203, 25729, 4943, 16034, 3084, 62, 18638, 62, 46761, 33411, 366, 40503, 1, 1875, 362 ]
Name the opponent for 12 may 2008
SELECT opponent FROM table_16776312_3 WHERE date = "12 May 2008"
[ 5376, 262, 6125, 329, 1105, 743, 3648, 46506, 6125, 16034, 3084, 62, 1433, 3324, 5066, 1065, 62, 18, 33411, 3128, 796, 366, 1065, 1737, 3648, 1 ]
[ 1, 1, 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, 6125, 329, 1105, 743, 3648, 46506, 6125, 16034, 3084, 62, 1433, 3324, 5066, 1065, 62, 18, 33411, 3128, 796, 366, 1065, 1737, 3648, 1 ]