instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Which lava domes erupted or had a growth episode during the Holocene period?
SELECT name_of_lava_dome FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "Holocene"
[ 13828, 28856, 2401, 274, 23681, 393, 550, 257, 3349, 4471, 1141, 262, 6479, 34973, 2278, 30, 46506, 1438, 62, 1659, 62, 75, 4170, 62, 67, 462, 16034, 3084, 62, 15711, 1065, 2327, 62, 16, 33411, 938, 62, 263, 84, 1159, 62, 273, 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 ]
[ 13828, 28856, 2401, 274, 23681, 393, 550, 257, 3349, 4471, 1141, 262, 6479, 34973, 2278, 30, 46506, 1438, 62, 1659, 62, 75, 4170, 62, 67, 462, 16034, 3084, 62, 15711, 1065, 2327, 62, 16, 33411, 938, 62, 263, 84, 1159, 62, 273, 62, ...
How many episodes in history have a running time of 24:06?
SELECT COUNT(archive) FROM table_1498589_1 WHERE run_time = "24:06"
[ 2437, 867, 8640, 287, 2106, 423, 257, 2491, 640, 286, 1987, 25, 3312, 30, 46506, 327, 28270, 7, 17474, 8, 16034, 3084, 62, 1415, 4089, 44169, 62, 16, 33411, 1057, 62, 2435, 796, 366, 1731, 25, 3312, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 8640, 287, 2106, 423, 257, 2491, 640, 286, 1987, 25, 3312, 30, 46506, 327, 28270, 7, 17474, 8, 16034, 3084, 62, 1415, 4089, 44169, 62, 16, 33411, 1057, 62, 2435, 796, 366, 1731, 25, 3312, 1 ]
What was the altitude of the event on 1962-07-09?
SELECT altitude__km_ FROM table_148578_1 WHERE date = "1962-07-09"
[ 2061, 373, 262, 20334, 286, 262, 1785, 319, 20033, 12, 2998, 12, 2931, 30, 46506, 20334, 834, 13276, 62, 16034, 3084, 62, 18294, 38907, 62, 16, 33411, 3128, 796, 366, 1129, 5237, 12, 2998, 12, 2931, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20334, 286, 262, 1785, 319, 20033, 12, 2998, 12, 2931, 30, 46506, 20334, 834, 13276, 62, 16034, 3084, 62, 18294, 38907, 62, 16, 33411, 3128, 796, 366, 1129, 5237, 12, 2998, 12, 2931, 1 ]
Who is the champion of the title previously held by Lash?
SELECT "Champion(s)" FROM table_68148 WHERE "Previous champion(s)" = 'lash'
[ 8241, 318, 262, 8783, 286, 262, 3670, 4271, 2714, 416, 47137, 30, 46506, 366, 1925, 6734, 7, 82, 16725, 16034, 3084, 62, 3104, 18294, 33411, 366, 21448, 8783, 7, 82, 16725, 796, 705, 17055, 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 ]
[ 8241, 318, 262, 8783, 286, 262, 3670, 4271, 2714, 416, 47137, 30, 46506, 366, 1925, 6734, 7, 82, 16725, 16034, 3084, 62, 3104, 18294, 33411, 366, 21448, 8783, 7, 82, 16725, 796, 705, 17055, 6 ]
what about a RENTAL CAR in DENVER
SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'DENVER' AND ground_service.city_code = city.city_code AND ground_service.transport_type = 'RENTAL CAR'
[ 10919, 546, 257, 371, 3525, 1847, 17368, 287, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 41819, 5959, 6, 5357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 546, 257, 371, 3525, 1847, 17368, 287, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 41819, 5959, 6, 5357...
What Round has the Track Winton?
SELECT round FROM table_name_30 WHERE track = "winton"
[ 2061, 10485, 468, 262, 17762, 370, 2371, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 1270, 33411, 2610, 796, 366, 86, 2371, 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, 10485, 468, 262, 17762, 370, 2371, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 1270, 33411, 2610, 796, 366, 86, 2371, 1 ]
What is the engine configuration of the 1.2 mpi engine?
SELECT engine_configuration FROM table_name_80 WHERE engine_name = "1.2 mpi"
[ 2061, 318, 262, 3113, 8398, 286, 262, 352, 13, 17, 285, 14415, 3113, 30, 46506, 3113, 62, 11250, 3924, 16034, 3084, 62, 3672, 62, 1795, 33411, 3113, 62, 3672, 796, 366, 16, 13, 17, 285, 14415, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3113, 8398, 286, 262, 352, 13, 17, 285, 14415, 3113, 30, 46506, 3113, 62, 11250, 3924, 16034, 3084, 62, 3672, 62, 1795, 33411, 3113, 62, 3672, 796, 366, 16, 13, 17, 285, 14415, 1 ]
With a Division II of Portsmouth, what is the Division IV?
SELECT division_iV FROM table_name_35 WHERE division_iII = portsmouth
[ 3152, 257, 7458, 2873, 286, 48823, 11, 644, 318, 262, 7458, 8363, 30, 46506, 7297, 62, 72, 53, 16034, 3084, 62, 3672, 62, 2327, 33411, 7297, 62, 72, 3978, 796, 14090, 14775 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3152, 257, 7458, 2873, 286, 48823, 11, 644, 318, 262, 7458, 8363, 30, 46506, 7297, 62, 72, 53, 16034, 3084, 62, 3672, 62, 2327, 33411, 7297, 62, 72, 3978, 796, 14090, 14775 ]
calculate the total amount of patient 1372's impact w/fiber intake until 03/26/2103.
SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1372)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.labe...
[ 9948, 3129, 378, 262, 2472, 2033, 286, 5827, 1511, 4761, 338, 2928, 266, 14, 69, 1856, 10337, 1566, 7643, 14, 2075, 14, 17, 15197, 13, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9948, 3129, 378, 262, 2472, 2033, 286, 5827, 1511, 4761, 338, 2928, 266, 14, 69, 1856, 10337, 1566, 7643, 14, 2075, 14, 17, 15197, 13, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658...
what's party with district being pennsylvania 21
SELECT "Party" FROM table_18253 WHERE "District" = 'Pennsylvania 21'
[ 10919, 338, 2151, 351, 4783, 852, 22429, 9270, 2310, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 28592, 33411, 366, 44857, 1, 796, 705, 39899, 9270, 2310, 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 ]
[ 10919, 338, 2151, 351, 4783, 852, 22429, 9270, 2310, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 28592, 33411, 366, 44857, 1, 796, 705, 39899, 9270, 2310, 6 ]
What shows as Content for the Television service of nickelodeon +1?
SELECT content FROM table_name_75 WHERE television_service = "nickelodeon +1"
[ 2061, 2523, 355, 14041, 329, 262, 21516, 2139, 286, 30666, 1098, 261, 1343, 16, 30, 46506, 2695, 16034, 3084, 62, 3672, 62, 2425, 33411, 5581, 62, 15271, 796, 366, 6988, 7750, 1098, 261, 1343, 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, 2523, 355, 14041, 329, 262, 21516, 2139, 286, 30666, 1098, 261, 1343, 16, 30, 46506, 2695, 16034, 3084, 62, 3672, 62, 2425, 33411, 5581, 62, 15271, 796, 366, 6988, 7750, 1098, 261, 1343, 16, 1 ]
What team finished 19th in serie a in 2011/2012?
SELECT "Team" FROM table_11524 WHERE "2011-12 season" = '19th in serie a'
[ 2061, 1074, 5201, 678, 400, 287, 1055, 494, 257, 287, 2813, 14, 6999, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 15363, 1731, 33411, 366, 9804, 12, 1065, 1622, 1, 796, 705, 1129, 400, 287, 1055, 494, 257, 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, 1074, 5201, 678, 400, 287, 1055, 494, 257, 287, 2813, 14, 6999, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 15363, 1731, 33411, 366, 9804, 12, 1065, 1622, 1, 796, 705, 1129, 400, 287, 1055, 494, 257, 6 ]
What is the name of Eric C. Kerrigan 's Liquid Automatica paper ?
SELECT DISTINCT paper.title FROM author, keyphrase, paper, paperkeyphrase, venue, writes WHERE author.authorname LIKE 'Eric C. Kerrigan' AND keyphrase.keyphrasename = 'Liquid' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND venue.venueid = paper.venueid AND venue.venuename = 'Automatica' AND writes.authorid ...
[ 2061, 318, 262, 1438, 286, 7651, 327, 13, 17337, 35631, 705, 82, 21020, 30199, 64, 3348, 5633, 46506, 360, 8808, 1268, 4177, 3348, 13, 7839, 16034, 1772, 11, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 14359, 11, 6797, 33411, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7651, 327, 13, 17337, 35631, 705, 82, 21020, 30199, 64, 3348, 5633, 46506, 360, 8808, 1268, 4177, 3348, 13, 7839, 16034, 1772, 11, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 14359, 11, 6797, 33411, 17...
What is the 2005 value with a q2 in 2011, a q1 in 2012, and 1r in 2003?
SELECT "2005" FROM table_50263 WHERE "2011" = 'q2' AND "2012" = 'q1' AND "2003" = '1r'
[ 2061, 318, 262, 5075, 1988, 351, 257, 10662, 17, 287, 2813, 11, 257, 10662, 16, 287, 2321, 11, 290, 352, 81, 287, 5816, 30, 46506, 366, 14315, 1, 16034, 3084, 62, 1120, 29558, 33411, 366, 9804, 1, 796, 705, 80, 17, 6, 5357, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5075, 1988, 351, 257, 10662, 17, 287, 2813, 11, 257, 10662, 16, 287, 2321, 11, 290, 352, 81, 287, 5816, 30, 46506, 366, 14315, 1, 16034, 3084, 62, 1120, 29558, 33411, 366, 9804, 1, 796, 705, 80, 17, 6, 5357, 366, ...
When was erskine college founded
SELECT "Founded" FROM table_16990 WHERE "Institution" = 'Erskine College'
[ 2215, 373, 220, 364, 74, 500, 4152, 9393, 46506, 366, 37, 6302, 1, 16034, 3084, 62, 1433, 34155, 33411, 366, 6310, 2738, 1, 796, 705, 36, 3808, 74, 500, 5535, 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 ]
[ 2215, 373, 220, 364, 74, 500, 4152, 9393, 46506, 366, 37, 6302, 1, 16034, 3084, 62, 1433, 34155, 33411, 366, 6310, 2738, 1, 796, 705, 36, 3808, 74, 500, 5535, 6 ]
What are the payment dates for any payments that have an amount greater than 10 or were handled by a staff member with the first name Elsa, and count them by a bar chart
SELECT payment_date, COUNT(payment_date) FROM payment WHERE amount > 10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = 'Elsa'
[ 2061, 389, 262, 6074, 9667, 329, 597, 7524, 326, 423, 281, 2033, 3744, 621, 838, 393, 547, 12118, 416, 257, 3085, 2888, 351, 262, 717, 1438, 19226, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 6074, 62, 4475, 11, 327, 28270, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 6074, 9667, 329, 597, 7524, 326, 423, 281, 2033, 3744, 621, 838, 393, 547, 12118, 416, 257, 3085, 2888, 351, 262, 717, 1438, 19226, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 6074, 62, 4475, 11, 327, 28270, 7, ...
what percentile of a -monos is at 13.0 among a patient at the same age as patient 027-136480 in the current hospital encounter?
SELECT DISTINCT t1.c1 FROM (SELECT lab.labresult, PERCENT_RANK() OVER (ORDER BY lab.labresult) AS c1 FROM lab WHERE lab.labname = '-monos' AND lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age = (SELECT patient.age FROM patient WHERE patient.uniquepid = '027-136480' AND patient.h...
[ 10919, 37894, 286, 257, 532, 2144, 418, 318, 379, 1511, 13, 15, 1871, 257, 5827, 379, 262, 976, 2479, 355, 5827, 657, 1983, 12, 1485, 2414, 1795, 287, 262, 1459, 4436, 8791, 30, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 66, 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, 1...
[ 10919, 37894, 286, 257, 532, 2144, 418, 318, 379, 1511, 13, 15, 1871, 257, 5827, 379, 262, 976, 2479, 355, 5827, 657, 1983, 12, 1485, 2414, 1795, 287, 262, 1459, 4436, 8791, 30, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 66, 16, 1...
With an original artist names Bette Midler, what is the order number?
SELECT COUNT("Order #") FROM table_24429 WHERE "Original artist" = 'Bette Midler'
[ 3152, 281, 2656, 6802, 3891, 5147, 660, 7215, 1754, 11, 644, 318, 262, 1502, 1271, 30, 46506, 327, 28270, 7203, 18743, 1303, 4943, 16034, 3084, 62, 1731, 11785, 33411, 366, 20556, 6802, 1, 796, 705, 33, 5857, 7215, 1754, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3152, 281, 2656, 6802, 3891, 5147, 660, 7215, 1754, 11, 644, 318, 262, 1502, 1271, 30, 46506, 327, 28270, 7203, 18743, 1303, 4943, 16034, 3084, 62, 1731, 11785, 33411, 366, 20556, 6802, 1, 796, 705, 33, 5857, 7215, 1754, 6 ]
Which loss has Attendance more than 47,712, an Opponent of white sox, and a Record of 57 36?
SELECT "Loss" FROM table_67772 WHERE "Attendance" > '47,712' AND "Opponent" = 'white sox' AND "Record" = '57–36'
[ 13828, 2994, 468, 46502, 590, 517, 621, 6298, 11, 49517, 11, 281, 9385, 3471, 286, 2330, 523, 87, 11, 290, 257, 13266, 286, 7632, 4570, 30, 46506, 366, 43, 793, 1, 16034, 3084, 62, 3134, 43571, 33411, 366, 8086, 437, 590, 1, 1875, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2994, 468, 46502, 590, 517, 621, 6298, 11, 49517, 11, 281, 9385, 3471, 286, 2330, 523, 87, 11, 290, 257, 13266, 286, 7632, 4570, 30, 46506, 366, 43, 793, 1, 16034, 3084, 62, 3134, 43571, 33411, 366, 8086, 437, 590, 1, 1875, ...
What is the lowest number played with 2 losses and more than 13 points?
SELECT MIN(played) FROM table_name_30 WHERE lost = 2 AND points > 13
[ 2061, 318, 262, 9016, 1271, 2826, 351, 362, 9089, 290, 517, 621, 1511, 2173, 30, 46506, 20625, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 2626, 796, 362, 5357, 2173, 1875, 1511 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1271, 2826, 351, 362, 9089, 290, 517, 621, 1511, 2173, 30, 46506, 20625, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 2626, 796, 362, 5357, 2173, 1875, 1511 ]
What is the first name of each student who is not allergic to any type of food? Count them in a bar chart, sort from high to low by the x axis.
SELECT Fname, COUNT(Fname) FROM Student WHERE NOT StuID IN (SELECT T1.StuID FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.AllergyType = "food") GROUP BY Fname ORDER BY Fname DESC
[ 2061, 318, 262, 717, 1438, 286, 1123, 3710, 508, 318, 407, 31856, 284, 597, 2099, 286, 2057, 30, 2764, 606, 287, 257, 2318, 8262, 11, 3297, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 13, 46506, 376, 3672, 11, 327, 28270, 7, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 717, 1438, 286, 1123, 3710, 508, 318, 407, 31856, 284, 597, 2099, 286, 2057, 30, 2764, 606, 287, 257, 2318, 8262, 11, 3297, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, ...
what is patient 033-22108's monthly average level of ionized calcium this year?
SELECT AVG(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-22108')) AND lab.labname = 'ionized calcium' AND DATETIME(lab.labresulttime, '...
[ 10919, 318, 5827, 657, 2091, 12, 1828, 15711, 338, 9651, 2811, 1241, 286, 22088, 1143, 19700, 428, 614, 30, 46506, 35224, 7, 23912, 13, 23912, 20274, 8, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 5827, 657, 2091, 12, 1828, 15711, 338, 9651, 2811, 1241, 286, 22088, 1143, 19700, 428, 614, 30, 46506, 35224, 7, 23912, 13, 23912, 20274, 8, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13,...
Name the lost for % won of 55.37
SELECT lost FROM table_name_46 WHERE _percentage_won = "55.37"
[ 5376, 262, 2626, 329, 4064, 1839, 286, 5996, 13, 2718, 46506, 2626, 16034, 3084, 62, 3672, 62, 3510, 33411, 4808, 25067, 496, 62, 26502, 796, 366, 2816, 13, 2718, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2626, 329, 4064, 1839, 286, 5996, 13, 2718, 46506, 2626, 16034, 3084, 62, 3672, 62, 3510, 33411, 4808, 25067, 496, 62, 26502, 796, 366, 2816, 13, 2718, 1 ]
heart rate > 100 / minute
SELECT * FROM table_test_10 WHERE heart_rate > 100
[ 11499, 2494, 1875, 1802, 1220, 5664, 46506, 1635, 16034, 3084, 62, 9288, 62, 940, 33411, 2612, 62, 4873, 1875, 1802 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 11499, 2494, 1875, 1802, 1220, 5664, 46506, 1635, 16034, 3084, 62, 9288, 62, 940, 33411, 2612, 62, 4873, 1875, 1802 ]
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and the average of revenue , and group by attribute name, display in asc by the total number.
SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T2.Revenue
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 3359, 287, 10570, 416, 262, 2472, 1271, 13, 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, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 3359, 287, 10570, 416, 262, 2472, 1271, 13, 46506, ...
What is the result F-A with an H/A of h and more than 31,727 attending?
SELECT result_f___a FROM table_name_11 WHERE h___a = "h" AND attendance > 31 OFFSET 727
[ 2061, 318, 262, 1255, 376, 12, 32, 351, 281, 367, 14, 32, 286, 289, 290, 517, 621, 3261, 11, 47760, 11969, 30, 46506, 1255, 62, 69, 17569, 64, 16034, 3084, 62, 3672, 62, 1157, 33411, 289, 17569, 64, 796, 366, 71, 1, 5357, 14858, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 376, 12, 32, 351, 281, 367, 14, 32, 286, 289, 290, 517, 621, 3261, 11, 47760, 11969, 30, 46506, 1255, 62, 69, 17569, 64, 16034, 3084, 62, 3672, 62, 1157, 33411, 289, 17569, 64, 796, 366, 71, 1, 5357, 14858, ...
What are names for top three branches with most number of membership?
SELECT name FROM branch ORDER BY membership_amount DESC LIMIT 3
[ 2061, 389, 3891, 329, 1353, 1115, 13737, 351, 749, 1271, 286, 9931, 30, 46506, 1438, 16034, 8478, 38678, 11050, 9931, 62, 17287, 22196, 34, 27564, 2043, 513 ]
[ 1, 1, 1, 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, 3891, 329, 1353, 1115, 13737, 351, 749, 1271, 286, 9931, 30, 46506, 1438, 16034, 8478, 38678, 11050, 9931, 62, 17287, 22196, 34, 27564, 2043, 513 ]
What Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metastases imaging?
SELECT name FROM table_name_61 WHERE route_of_administration = "oral or iv" AND investigation = "thyroid imaging thyroid metastases imaging"
[ 2061, 6530, 318, 17169, 416, 12886, 393, 21628, 11, 290, 318, 852, 12565, 329, 30523, 19560, 30523, 44678, 1386, 19560, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 5333, 33411, 6339, 62, 1659, 62, 39081, 1358, 796, 366, 6864, 393, 21628...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6530, 318, 17169, 416, 12886, 393, 21628, 11, 290, 318, 852, 12565, 329, 30523, 19560, 30523, 44678, 1386, 19560, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 5333, 33411, 6339, 62, 1659, 62, 39081, 1358, 796, 366, 6864, 393, 21628...
What year was the Competition of World Junior Championships with a 20th (qf) position?
SELECT AVG("Year") FROM table_51831 WHERE "Competition" = 'world junior championships' AND "Position" = '20th (qf)'
[ 2061, 614, 373, 262, 27348, 286, 2159, 20000, 24782, 351, 257, 1160, 400, 357, 80, 69, 8, 2292, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 44085, 3132, 33411, 366, 7293, 15620, 1, 796, 705, 6894, 13430, 27459, 6, 5357, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 262, 27348, 286, 2159, 20000, 24782, 351, 257, 1160, 400, 357, 80, 69, 8, 2292, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 44085, 3132, 33411, 366, 7293, 15620, 1, 796, 705, 6894, 13430, 27459, 6, 5357, 366,...
How many points associated with a Best time of 01:46.367?
SELECT AVG("Points") FROM table_57101 WHERE "Best time" = '01:46.367'
[ 2437, 867, 2173, 3917, 351, 257, 6705, 640, 286, 5534, 25, 3510, 13, 27824, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 3553, 8784, 33411, 366, 13014, 640, 1, 796, 705, 486, 25, 3510, 13, 27824, 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, 2173, 3917, 351, 257, 6705, 640, 286, 5534, 25, 3510, 13, 27824, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 3553, 8784, 33411, 366, 13014, 640, 1, 796, 705, 486, 25, 3510, 13, 27824, 6 ]
During the Apple Bowl having 0 championships, what was the established year?
SELECT MAX("Established") FROM table_36872 WHERE "Championships" = '0' AND "Venue" = 'apple bowl'
[ 7191, 262, 4196, 8693, 1719, 657, 27459, 11, 644, 373, 262, 4920, 614, 30, 46506, 25882, 7203, 22362, 22555, 4943, 16034, 3084, 62, 27412, 4761, 33411, 366, 1925, 4350, 5748, 1, 796, 705, 15, 6, 5357, 366, 37522, 518, 1, 796, 705, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7191, 262, 4196, 8693, 1719, 657, 27459, 11, 644, 373, 262, 4920, 614, 30, 46506, 25882, 7203, 22362, 22555, 4943, 16034, 3084, 62, 27412, 4761, 33411, 366, 1925, 4350, 5748, 1, 796, 705, 15, 6, 5357, 366, 37522, 518, 1, 796, 705, 1...
count the number of patients who received a infectious disease consultation treatment within the same hospital visit after they were diagnosed with multiple myeloma during the last year.
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'multiple myeloma' AND DATETIME(diagnosis.diagnosistime, 'start of year') ...
[ 9127, 262, 1271, 286, 3871, 508, 2722, 257, 25246, 4369, 18103, 3513, 1626, 262, 976, 4436, 3187, 706, 484, 547, 14641, 351, 3294, 616, 417, 6086, 1141, 262, 938, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 2722, 257, 25246, 4369, 18103, 3513, 1626, 262, 976, 4436, 3187, 706, 484, 547, 14641, 351, 3294, 616, 417, 6086, 1141, 262, 938, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403...
When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there?
SELECT COUNT("Early Chalcolithic") FROM table_26151 WHERE "Ubaid period in Mesopotamia" = 'Second Intermediate Period of Egypt'
[ 2215, 262, 1218, 19898, 2278, 286, 304, 6022, 318, 262, 20967, 1698, 2278, 287, 18842, 43372, 49442, 703, 867, 1903, 2386, 4033, 342, 873, 389, 612, 30, 46506, 327, 28270, 7203, 20457, 30529, 4033, 342, 291, 4943, 16034, 3084, 62, 2075,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1218, 19898, 2278, 286, 304, 6022, 318, 262, 20967, 1698, 2278, 287, 18842, 43372, 49442, 703, 867, 1903, 2386, 4033, 342, 873, 389, 612, 30, 46506, 327, 28270, 7203, 20457, 30529, 4033, 342, 291, 4943, 16034, 3084, 62, 2075,...
Who was the opponent during the biggest defeat?
SELECT "Opponent" FROM table_17641 WHERE "Record" = 'Biggest defeat'
[ 8241, 373, 262, 6125, 1141, 262, 4094, 7433, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 1558, 42759, 33411, 366, 23739, 1, 796, 705, 12804, 3495, 7433, 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 ]
[ 8241, 373, 262, 6125, 1141, 262, 4094, 7433, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 1558, 42759, 33411, 366, 23739, 1, 796, 705, 12804, 3495, 7433, 6 ]
count how many patients have been released from the hospital until 2104.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE NOT admissions.dischtime IS NULL AND STRFTIME('%y', admissions.dischtime) <= '2104'
[ 9127, 703, 867, 3871, 423, 587, 2716, 422, 262, 4436, 1566, 362, 13464, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 5357, 19269, 979...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 703, 867, 3871, 423, 587, 2716, 422, 262, 4436, 1566, 362, 13464, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 5357, 19269, 979...
Find the id of the appointment with the most recent start date?
SELECT appointmentid FROM appointment ORDER BY start DESC LIMIT 1
[ 16742, 262, 4686, 286, 262, 12557, 351, 262, 749, 2274, 923, 3128, 30, 46506, 12557, 312, 16034, 12557, 38678, 11050, 923, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 4686, 286, 262, 12557, 351, 262, 749, 2274, 923, 3128, 30, 46506, 12557, 312, 16034, 12557, 38678, 11050, 923, 22196, 34, 27564, 2043, 352 ]
Give me a histogram for what are the naems of all the projects, and how many scientists were assigned to each of them?, and sort by the Y from low to high.
SELECT Name, COUNT(*) FROM Projects AS T1 JOIN AssignedTo AS T2 ON T1.Code = T2.Project GROUP BY T1.Name ORDER BY COUNT(*)
[ 23318, 502, 257, 1554, 21857, 329, 644, 389, 262, 12385, 5232, 286, 477, 262, 4493, 11, 290, 703, 867, 5519, 547, 8686, 284, 1123, 286, 606, 21747, 290, 3297, 416, 262, 575, 422, 1877, 284, 1029, 13, 46506, 6530, 11, 327, 28270, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23318, 502, 257, 1554, 21857, 329, 644, 389, 262, 12385, 5232, 286, 477, 262, 4493, 11, 290, 703, 867, 5519, 547, 8686, 284, 1123, 286, 606, 21747, 290, 3297, 416, 262, 575, 422, 1877, 284, 1029, 13, 46506, 6530, 11, 327, 28270, 7, ...
how many patients were diagnosed with heart valve transplant in 2103 they did not come to the hospital within 2 months?
SELECT (SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'heart valv...
[ 4919, 867, 3871, 547, 14641, 351, 2612, 22580, 23319, 287, 362, 15197, 484, 750, 407, 1282, 284, 262, 4436, 1626, 362, 1933, 30, 46506, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 465...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 547, 14641, 351, 2612, 22580, 23319, 287, 362, 15197, 484, 750, 407, 1282, 284, 262, 4436, 1626, 362, 1933, 30, 46506, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 465...
What is the lowest density of a town with a 13,708 2011 population census ?
SELECT MIN("Density") FROM table_37863 WHERE "Population 2011 census" = '13,708'
[ 2061, 318, 262, 9016, 12109, 286, 257, 3240, 351, 257, 1511, 11, 32583, 2813, 3265, 21649, 5633, 46506, 20625, 7203, 35, 6377, 4943, 16034, 3084, 62, 2718, 4521, 18, 33411, 366, 45251, 2813, 21649, 1, 796, 705, 1485, 11, 32583, 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 ]
[ 2061, 318, 262, 9016, 12109, 286, 257, 3240, 351, 257, 1511, 11, 32583, 2813, 3265, 21649, 5633, 46506, 20625, 7203, 35, 6377, 4943, 16034, 3084, 62, 2718, 4521, 18, 33411, 366, 45251, 2813, 21649, 1, 796, 705, 1485, 11, 32583, 6 ]
give me the number of patients with copd exacerbation primary disease who have been discharged to skilled nursing facility.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SNF" AND demographic.diagnosis = "COPD EXACERBATION"
[ 26535, 502, 262, 1271, 286, 3871, 351, 2243, 67, 22907, 341, 4165, 4369, 508, 423, 587, 26476, 284, 14297, 19167, 6841, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 2243, 67, 22907, 341, 4165, 4369, 508, 423, 587, 26476, 284, 14297, 19167, 6841, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381...
For those employees who was hired before 2002-06-21, show me about the change of salary over hire_date in a line chart, and rank in descending by the x axis.
SELECT HIRE_DATE, SALARY FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE DESC
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 905, 502, 546, 262, 1487, 286, 9588, 625, 11078, 62, 4475, 287, 257, 1627, 8262, 11, 290, 4279, 287, 31491, 416, 262, 2124, 16488, 13, 46506, 36210, 2200, 62, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 905, 502, 546, 262, 1487, 286, 9588, 625, 11078, 62, 4475, 287, 257, 1627, 8262, 11, 290, 4279, 287, 31491, 416, 262, 2124, 16488, 13, 46506, 36210, 2200, 62, 35, ...
How many of the points difference lost equal 10?
SELECT "Points difference" FROM table_23887 WHERE "Lost" = '10'
[ 2437, 867, 286, 262, 2173, 3580, 2626, 4961, 838, 30, 46506, 366, 40710, 3580, 1, 16034, 3084, 62, 1954, 46660, 33411, 366, 31042, 1, 796, 705, 940, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 286, 262, 2173, 3580, 2626, 4961, 838, 30, 46506, 366, 40710, 3580, 1, 16034, 3084, 62, 1954, 46660, 33411, 366, 31042, 1, 796, 705, 940, 6 ]
What's the result for the game held on December 27, 2004 with a week greater than 2?
SELECT "Result" FROM table_32707 WHERE "Week" > '2' AND "Date" = 'december 27, 2004'
[ 2061, 338, 262, 1255, 329, 262, 983, 2714, 319, 3426, 2681, 11, 5472, 351, 257, 1285, 3744, 621, 362, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 34159, 2998, 33411, 366, 20916, 1, 1875, 705, 17, 6, 5357, 366, 10430, 1, 796, 705, 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 ]
[ 2061, 338, 262, 1255, 329, 262, 983, 2714, 319, 3426, 2681, 11, 5472, 351, 257, 1285, 3744, 621, 362, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 34159, 2998, 33411, 366, 20916, 1, 1875, 705, 17, 6, 5357, 366, 10430, 1, 796, 705, 2...
A bar chart about the number of faults for different fault status of all the faults recoreded in the logs, sort by the Y-axis in desc.
SELECT fault_status, COUNT(fault_status) FROM Fault_Log AS T1 JOIN Fault_Log_Parts AS T2 ON T1.fault_log_entry_id = T2.fault_log_entry_id GROUP BY fault_status ORDER BY COUNT(fault_status) DESC
[ 32, 2318, 8262, 546, 262, 1271, 286, 31025, 329, 1180, 8046, 3722, 286, 477, 262, 31025, 664, 1850, 276, 287, 262, 17259, 11, 3297, 416, 262, 575, 12, 22704, 287, 1715, 13, 46506, 8046, 62, 13376, 11, 327, 28270, 7, 69, 1721, 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...
[ 32, 2318, 8262, 546, 262, 1271, 286, 31025, 329, 1180, 8046, 3722, 286, 477, 262, 31025, 664, 1850, 276, 287, 262, 17259, 11, 3297, 416, 262, 575, 12, 22704, 287, 1715, 13, 46506, 8046, 62, 13376, 11, 327, 28270, 7, 69, 1721, 62, ...
what is marital status and death status of subject id 52118?
SELECT demographic.marital_status, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "52118"
[ 10919, 318, 29555, 3722, 290, 1918, 3722, 286, 2426, 4686, 6740, 16817, 30, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 4309, 16817, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29555, 3722, 290, 1918, 3722, 286, 2426, 4686, 6740, 16817, 30, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 4309, 16817, 1 ]
Prof. Jonathan Freedman has taught which courses ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course_offering.semester < (SELECT SEMESTERalias0.semester_id FROM semester AS SEMESTERalias0 WHERE SEMESTERalias0.semester = 'WN' AND SEMESTERalias0.year = 2016) AND course.course_id = cour...
[ 15404, 13, 11232, 38728, 805, 468, 7817, 543, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15404, 13, 11232, 38728, 805, 468, 7817, 543, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, ...
get me the number of patients admitted before 2203 who had coronary artery primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE" AND demographic.admityear < "2203"
[ 1136, 502, 262, 1271, 286, 3871, 6848, 878, 15629, 18, 508, 550, 37151, 37646, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 44879, 134...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1136, 502, 262, 1271, 286, 3871, 6848, 878, 15629, 18, 508, 550, 37151, 37646, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 44879, 134...
When galaxy angel aa was the title was the us release date?
SELECT "US Release Date" FROM table_1628 WHERE "Title" = 'Galaxy Angel AA'
[ 2215, 16161, 18304, 257, 64, 373, 262, 3670, 373, 262, 514, 2650, 3128, 30, 46506, 366, 2937, 13868, 7536, 1, 16034, 3084, 62, 1433, 2078, 33411, 366, 19160, 1, 796, 705, 26552, 6969, 3905, 15923, 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 ]
[ 2215, 16161, 18304, 257, 64, 373, 262, 3670, 373, 262, 514, 2650, 3128, 30, 46506, 366, 2937, 13868, 7536, 1, 16034, 3084, 62, 1433, 2078, 33411, 366, 19160, 1, 796, 705, 26552, 6969, 3905, 15923, 6 ]
what the was the final in which frank w. boykin was running
SELECT "Result" FROM table_18572 WHERE "Incumbent" = 'Frank W. Boykin'
[ 10919, 262, 373, 262, 2457, 287, 543, 14346, 266, 13, 2933, 5116, 373, 2491, 46506, 366, 23004, 1, 16034, 3084, 62, 1507, 48724, 33411, 366, 25517, 2178, 298, 1, 796, 705, 17439, 370, 13, 6387, 5116, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 262, 373, 262, 2457, 287, 543, 14346, 266, 13, 2933, 5116, 373, 2491, 46506, 366, 23004, 1, 16034, 3084, 62, 1507, 48724, 33411, 366, 25517, 2178, 298, 1, 796, 705, 17439, 370, 13, 6387, 5116, 6 ]
How many electorates are there with Hedmark as a constituency?
SELECT COUNT("Electorate") FROM table_17862 WHERE "Constituency" = 'Hedmark'
[ 2437, 867, 43191, 689, 389, 612, 351, 30920, 4102, 355, 257, 28280, 30, 46506, 327, 28270, 7203, 19453, 16262, 4943, 16034, 3084, 62, 1558, 4521, 17, 33411, 366, 34184, 34272, 1387, 1, 796, 705, 39, 276, 4102, 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, 43191, 689, 389, 612, 351, 30920, 4102, 355, 257, 28280, 30, 46506, 327, 28270, 7203, 19453, 16262, 4943, 16034, 3084, 62, 1558, 4521, 17, 33411, 366, 34184, 34272, 1387, 1, 796, 705, 39, 276, 4102, 6 ]
What is the main span in feet from a year of 2009 or more recent with a rank less than 94 and 1,310 main span metres?
SELECT main_span_feet FROM table_name_69 WHERE year_opened > 2009 AND rank < 94 AND main_span_metres = "1,310"
[ 2061, 318, 262, 1388, 11506, 287, 3625, 422, 257, 614, 286, 3717, 393, 517, 2274, 351, 257, 4279, 1342, 621, 10048, 290, 352, 11, 26717, 1388, 11506, 18985, 30, 46506, 1388, 62, 12626, 62, 39690, 16034, 3084, 62, 3672, 62, 3388, 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...
[ 2061, 318, 262, 1388, 11506, 287, 3625, 422, 257, 614, 286, 3717, 393, 517, 2274, 351, 257, 4279, 1342, 621, 10048, 290, 352, 11, 26717, 1388, 11506, 18985, 30, 46506, 1388, 62, 12626, 62, 39690, 16034, 3084, 62, 3672, 62, 3388, 33411...
Name the drivetrain for 1ur-fse for usf41
SELECT drivetrain FROM table_21530474_1 WHERE engine_code = "1UR-FSE" AND chassis_code = "USF41"
[ 5376, 262, 3708, 27432, 329, 352, 333, 12, 69, 325, 329, 514, 69, 3901, 46506, 3708, 27432, 16034, 3084, 62, 23349, 1270, 38652, 62, 16, 33411, 3113, 62, 8189, 796, 366, 16, 4261, 12, 37, 5188, 1, 5357, 24587, 62, 8189, 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 ]
[ 5376, 262, 3708, 27432, 329, 352, 333, 12, 69, 325, 329, 514, 69, 3901, 46506, 3708, 27432, 16034, 3084, 62, 23349, 1270, 38652, 62, 16, 33411, 3113, 62, 8189, 796, 366, 16, 4261, 12, 37, 5188, 1, 5357, 24587, 62, 8189, 796, 366, ...
Name the total number of date for 10
SELECT COUNT(date) FROM table_2446333_2 WHERE round = 10
[ 5376, 262, 2472, 1271, 286, 3128, 329, 838, 46506, 327, 28270, 7, 4475, 8, 16034, 3084, 62, 1731, 3510, 20370, 62, 17, 33411, 2835, 796, 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 ]
[ 5376, 262, 2472, 1271, 286, 3128, 329, 838, 46506, 327, 28270, 7, 4475, 8, 16034, 3084, 62, 1731, 3510, 20370, 62, 17, 33411, 2835, 796, 838 ]
show me the last flight on wednesday from ATLANTA to DENVER
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 ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND date_day.day_number = 23 AND date_day.month_number = 4 AND d...
[ 12860, 502, 262, 938, 5474, 319, 29445, 3462, 422, 5161, 25697, 5603, 284, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 262, 938, 5474, 319, 29445, 3462, 422, 5161, 25697, 5603, 284, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 1...
How many states or District of Columbia have 65.4% overweight or obese adults?
SELECT COUNT("State and District of Columbia") FROM table_22733 WHERE "Overweight (incl. obese) adults" = '65.4%'
[ 2437, 867, 2585, 393, 5665, 286, 9309, 423, 6135, 13, 19, 4, 22652, 393, 20779, 6490, 30, 46506, 327, 28270, 7203, 9012, 290, 5665, 286, 9309, 4943, 16034, 3084, 62, 24403, 2091, 33411, 366, 5886, 6551, 357, 259, 565, 13, 20779, 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 ]
[ 2437, 867, 2585, 393, 5665, 286, 9309, 423, 6135, 13, 19, 4, 22652, 393, 20779, 6490, 30, 46506, 327, 28270, 7203, 9012, 290, 5665, 286, 9309, 4943, 16034, 3084, 62, 24403, 2091, 33411, 366, 5886, 6551, 357, 259, 565, 13, 20779, 8, ...
What is the city containing the KDKA-TV station?
SELECT city_of_license__market FROM table_name_61 WHERE station = "kdka-tv"
[ 2061, 318, 262, 1748, 7268, 262, 43943, 25123, 12, 6849, 4429, 30, 46506, 1748, 62, 1659, 62, 43085, 834, 10728, 16034, 3084, 62, 3672, 62, 5333, 33411, 4429, 796, 366, 74, 67, 4914, 12, 14981, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1748, 7268, 262, 43943, 25123, 12, 6849, 4429, 30, 46506, 1748, 62, 1659, 62, 43085, 834, 10728, 16034, 3084, 62, 3672, 62, 5333, 33411, 4429, 796, 366, 74, 67, 4914, 12, 14981, 1 ]
Who was the home team when Manchester City was the away team?
SELECT "Home team" FROM table_47601 WHERE "Away team" = 'manchester city'
[ 8241, 373, 262, 1363, 1074, 618, 9502, 2254, 373, 262, 1497, 1074, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 35435, 486, 33411, 366, 32, 1014, 1074, 1, 796, 705, 805, 35983, 1748, 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 ]
[ 8241, 373, 262, 1363, 1074, 618, 9502, 2254, 373, 262, 1497, 1074, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 35435, 486, 33411, 366, 32, 1014, 1074, 1, 796, 705, 805, 35983, 1748, 6 ]
What is the average of all Heats of competitors with a Time of 59.11 and a lane higher than 3?
SELECT AVG(heat) FROM table_name_43 WHERE time = "59.11" AND lane > 3
[ 2061, 318, 262, 2811, 286, 477, 679, 1381, 286, 13861, 351, 257, 3862, 286, 7863, 13, 1157, 290, 257, 11193, 2440, 621, 513, 30, 46506, 35224, 7, 25080, 8, 16034, 3084, 62, 3672, 62, 3559, 33411, 640, 796, 366, 3270, 13, 1157, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 477, 679, 1381, 286, 13861, 351, 257, 3862, 286, 7863, 13, 1157, 290, 257, 11193, 2440, 621, 513, 30, 46506, 35224, 7, 25080, 8, 16034, 3084, 62, 3672, 62, 3559, 33411, 640, 796, 366, 3270, 13, 1157, 1, ...
What is the sum of completions that led to completion percentages of 65.4 and attempts under 451?
SELECT SUM("Comp.") FROM table_40631 WHERE "Comp%" = '65.4' AND "Att." < '451'
[ 2061, 318, 262, 2160, 286, 1224, 45240, 326, 2957, 284, 11939, 28071, 286, 6135, 13, 19, 290, 6370, 739, 49356, 30, 46506, 35683, 7203, 7293, 19570, 16034, 3084, 62, 29703, 3132, 33411, 366, 7293, 39658, 796, 705, 2996, 13, 19, 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 ]
[ 2061, 318, 262, 2160, 286, 1224, 45240, 326, 2957, 284, 11939, 28071, 286, 6135, 13, 19, 290, 6370, 739, 49356, 30, 46506, 35683, 7203, 7293, 19570, 16034, 3084, 62, 29703, 3132, 33411, 366, 7293, 39658, 796, 705, 2996, 13, 19, 6, 535...
What is the average of the top-25 of those with less than 35 events in the Open Championship?
SELECT AVG(top_25) FROM table_name_32 WHERE events < 35 AND tournament = "the open championship"
[ 2061, 318, 262, 2811, 286, 262, 1353, 12, 1495, 286, 883, 351, 1342, 621, 3439, 2995, 287, 262, 4946, 10749, 30, 46506, 35224, 7, 4852, 62, 1495, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 2995, 1279, 3439, 5357, 7756, 796, 366, 116...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 1353, 12, 1495, 286, 883, 351, 1342, 621, 3439, 2995, 287, 262, 4946, 10749, 30, 46506, 35224, 7, 4852, 62, 1495, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 2995, 1279, 3439, 5357, 7756, 796, 366, 116...
What is the date of game 23?
SELECT date FROM table_name_27 WHERE game = 23
[ 2061, 318, 262, 3128, 286, 983, 2242, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1983, 33411, 983, 796, 2242 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 286, 983, 2242, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1983, 33411, 983, 796, 2242 ]
What is the rank of Point Hyllie?
SELECT "Rank" FROM table_11546 WHERE "Name" = 'point hyllie'
[ 2061, 318, 262, 4279, 286, 6252, 6707, 297, 494, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 15363, 3510, 33411, 366, 5376, 1, 796, 705, 4122, 2537, 297, 494, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4279, 286, 6252, 6707, 297, 494, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 15363, 3510, 33411, 366, 5376, 1, 796, 705, 4122, 2537, 297, 494, 6 ]
What shows for Winners when it shows 3rd place of [[|]] (21 pts), and a Runner-up of united states (23 pts)?
SELECT "Winners" FROM table_69013 WHERE "3rd place" = '[[|]] (21 pts)' AND "Runner-up" = 'united states (23 pts)'
[ 2061, 2523, 329, 42754, 618, 340, 2523, 513, 4372, 1295, 286, 16410, 91, 11907, 357, 2481, 43344, 828, 290, 257, 21529, 12, 929, 286, 16503, 2585, 357, 1954, 43344, 19427, 46506, 366, 16643, 2741, 1, 16034, 3084, 62, 3388, 30273, 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...
[ 2061, 2523, 329, 42754, 618, 340, 2523, 513, 4372, 1295, 286, 16410, 91, 11907, 357, 2481, 43344, 828, 290, 257, 21529, 12, 929, 286, 16503, 2585, 357, 1954, 43344, 19427, 46506, 366, 16643, 2741, 1, 16034, 3084, 62, 3388, 30273, 33411,...
Willy Sagnol with a type as career end had what has the transfer fee?
SELECT transfer_fee FROM table_name_34 WHERE type = "career end" AND name = "willy sagnol"
[ 54, 6548, 311, 4660, 349, 351, 257, 2099, 355, 3451, 886, 550, 644, 468, 262, 4351, 6838, 30, 46506, 4351, 62, 39071, 16034, 3084, 62, 3672, 62, 2682, 33411, 2099, 796, 366, 6651, 263, 886, 1, 5357, 1438, 796, 366, 86, 6548, 264, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 54, 6548, 311, 4660, 349, 351, 257, 2099, 355, 3451, 886, 550, 644, 468, 262, 4351, 6838, 30, 46506, 4351, 62, 39071, 16034, 3084, 62, 3672, 62, 2682, 33411, 2099, 796, 366, 6651, 263, 886, 1, 5357, 1438, 796, 366, 86, 6548, 264, ...
What is the inductioin for 1975 1976?
SELECT "Induction" FROM table_57942 WHERE "Years" = '1975–1976'
[ 2061, 318, 262, 28948, 952, 259, 329, 15231, 15408, 30, 46506, 366, 5497, 8110, 1, 16034, 3084, 62, 41734, 3682, 33411, 366, 40630, 1, 796, 705, 38449, 1906, 38108, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 28948, 952, 259, 329, 15231, 15408, 30, 46506, 366, 5497, 8110, 1, 16034, 3084, 62, 41734, 3682, 33411, 366, 40630, 1, 796, 705, 38449, 1906, 38108, 6 ]
Who were the assistant and main principals of Kat Hughes?
SELECT Assistant AS principal__2013_2014_ FROM table_name_97 WHERE principal__2013_2014_ = "kat hughes"
[ 8241, 547, 262, 8796, 290, 1388, 44998, 286, 8595, 19712, 30, 46506, 15286, 7054, 10033, 834, 6390, 62, 4967, 62, 16034, 3084, 62, 3672, 62, 5607, 33411, 10033, 834, 6390, 62, 4967, 62, 796, 366, 41826, 16225, 956, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8796, 290, 1388, 44998, 286, 8595, 19712, 30, 46506, 15286, 7054, 10033, 834, 6390, 62, 4967, 62, 16034, 3084, 62, 3672, 62, 5607, 33411, 10033, 834, 6390, 62, 4967, 62, 796, 366, 41826, 16225, 956, 1 ]
mmse score of < 1 or > 12 .
SELECT * FROM table_train_86 WHERE mini_mental_state_examination_mmse < 1 OR mini_mental_state_examination_mmse > 12
[ 3020, 325, 4776, 286, 1279, 352, 393, 1875, 1105, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 4521, 33411, 9927, 62, 37098, 62, 5219, 62, 47779, 62, 3020, 325, 1279, 352, 6375, 9927, 62, 37098, 62, 5219, 62, 47779, 62, 3020, 325, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3020, 325, 4776, 286, 1279, 352, 393, 1875, 1105, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 4521, 33411, 9927, 62, 37098, 62, 5219, 62, 47779, 62, 3020, 325, 1279, 352, 6375, 9927, 62, 37098, 62, 5219, 62, 47779, 62, 3020, 325, ...
what are the four most commonly conducted specimen tests since 5 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(), '-5 year') GROUP BY microbiologyevents.spec_type_desc) AS t1 WHERE t1.c1 <= 4
[ 10919, 389, 262, 1440, 749, 8811, 5952, 31674, 5254, 1201, 642, 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, 1440, 749, 8811, 5952, 31674, 5254, 1201, 642, 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 is the origin of the one with a number larger than 161?
SELECT origin FROM table_name_66 WHERE number > 161
[ 2061, 318, 262, 8159, 286, 262, 530, 351, 257, 1271, 4025, 621, 27829, 30, 46506, 8159, 16034, 3084, 62, 3672, 62, 2791, 33411, 1271, 1875, 27829 ]
[ 1, 1, 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, 8159, 286, 262, 530, 351, 257, 1271, 4025, 621, 27829, 30, 46506, 8159, 16034, 3084, 62, 3672, 62, 2791, 33411, 1271, 1875, 27829 ]
What was the attendance for the week before 10 with a result of L 12-15
SELECT attendance FROM table_name_86 WHERE week < 10 AND result = "l 12-15"
[ 2061, 373, 262, 14858, 329, 262, 1285, 878, 838, 351, 257, 1255, 286, 406, 1105, 12, 1314, 46506, 14858, 16034, 3084, 62, 3672, 62, 4521, 33411, 1285, 1279, 838, 5357, 1255, 796, 366, 75, 1105, 12, 1314, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 329, 262, 1285, 878, 838, 351, 257, 1255, 286, 406, 1105, 12, 1314, 46506, 14858, 16034, 3084, 62, 3672, 62, 4521, 33411, 1285, 1279, 838, 5357, 1255, 796, 366, 75, 1105, 12, 1314, 1 ]
For those employees who did not have any job in the past, show me about the correlation between employee_id and manager_id in a scatter chart.
SELECT EMPLOYEE_ID, MANAGER_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 16096, 1022, 6538, 62, 312, 290, 4706, 62, 312, 287, 257, 41058, 8262, 13, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 17254, 4760, 1137, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 16096, 1022, 6538, 62, 312, 290, 4706, 62, 312, 287, 257, 41058, 8262, 13, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 17254, 4760, 1137, 62,...
What is the position for the years 1998-99
SELECT position FROM table_11545282_11 WHERE years_for_jazz = "1998-99"
[ 2061, 318, 262, 2292, 329, 262, 812, 7795, 12, 2079, 46506, 2292, 16034, 3084, 62, 15363, 2231, 32568, 62, 1157, 33411, 812, 62, 1640, 62, 73, 8101, 796, 366, 21113, 12, 2079, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2292, 329, 262, 812, 7795, 12, 2079, 46506, 2292, 16034, 3084, 62, 15363, 2231, 32568, 62, 1157, 33411, 812, 62, 1640, 62, 73, 8101, 796, 366, 21113, 12, 2079, 1 ]
Answers by the given user with the given phrase in the title (case, accent insensitive).
SELECT a.Id AS "post_link", a.Score, q.Tags FROM Posts AS a INNER JOIN Posts AS q ON a.ParentId = q.Id WHERE (a.OwnerUserId = '##userid?25510##') AND (q.Title LIKE '%##word?urgent##%' COLLATE Latin1_General_CI_AI) ORDER BY a.Id
[ 2025, 37848, 416, 262, 1813, 2836, 351, 262, 1813, 9546, 287, 262, 3670, 357, 7442, 11, 18702, 41246, 737, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 26595, 11, 10662, 13, 36142, 16034, 12043, 7054, 257, 3268, 214...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2025, 37848, 416, 262, 1813, 2836, 351, 262, 1813, 9546, 287, 262, 3670, 357, 7442, 11, 18702, 41246, 737, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 26595, 11, 10662, 13, 36142, 16034, 12043, 7054, 257, 3268, 214...
What's the points for count for the club with 41 points and 8 won games?
SELECT points_for FROM table_12886178_4 WHERE points = "41" AND won = "8"
[ 2061, 338, 262, 2173, 329, 954, 329, 262, 3430, 351, 6073, 2173, 290, 807, 1839, 1830, 30, 46506, 2173, 62, 1640, 16034, 3084, 62, 1065, 44980, 23188, 62, 19, 33411, 2173, 796, 366, 3901, 1, 5357, 1839, 796, 366, 23, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2173, 329, 954, 329, 262, 3430, 351, 6073, 2173, 290, 807, 1839, 1830, 30, 46506, 2173, 62, 1640, 16034, 3084, 62, 1065, 44980, 23188, 62, 19, 33411, 2173, 796, 366, 3901, 1, 5357, 1839, 796, 366, 23, 1 ]
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by time, list from low to high by the y axis please.
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(DEPARTMENT_ID)
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 5011, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 1351, 422, 1877, 284, 1029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 5011, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 1351, 422, 1877, 284, 1029, ...
What's listed for the Turnout % with a Ngilu of 3,429?
SELECT turnout__percentage FROM table_name_11 WHERE ngilu = "3,429"
[ 2061, 338, 5610, 329, 262, 6756, 448, 4064, 351, 257, 34786, 346, 84, 286, 513, 11, 11785, 30, 46506, 21666, 834, 25067, 496, 16034, 3084, 62, 3672, 62, 1157, 33411, 23370, 346, 84, 796, 366, 18, 11, 11785, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5610, 329, 262, 6756, 448, 4064, 351, 257, 34786, 346, 84, 286, 513, 11, 11785, 30, 46506, 21666, 834, 25067, 496, 16034, 3084, 62, 3672, 62, 1157, 33411, 23370, 346, 84, 796, 366, 18, 11, 11785, 1 ]
Active people from Greece before 2019.
SELECT COUNT(*) FROM Users WHERE LastAccessDate >= '2018-01-01' AND CreationDate <= '2019-01-01' AND Location LIKE '%greece%' COLLATE Latin1_General_CI_AI_KS_WS
[ 13739, 661, 422, 10315, 878, 13130, 13, 46506, 327, 28270, 7, 28104, 16034, 18987, 33411, 4586, 15457, 10430, 18189, 705, 7908, 12, 486, 12, 486, 6, 5357, 21582, 10430, 19841, 705, 23344, 12, 486, 12, 486, 6, 5357, 13397, 34178, 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 ]
[ 13739, 661, 422, 10315, 878, 13130, 13, 46506, 327, 28270, 7, 28104, 16034, 18987, 33411, 4586, 15457, 10430, 18189, 705, 7908, 12, 486, 12, 486, 6, 5357, 21582, 10430, 19841, 705, 23344, 12, 486, 12, 486, 6, 5357, 13397, 34178, 705, ...
How many points in 87/88 for racing de c rdoba?
SELECT 1987 AS _88 FROM table_14460085_3 WHERE team = "Racing de Córdoba"
[ 2437, 867, 2173, 287, 10083, 14, 3459, 329, 11717, 390, 269, 374, 67, 19981, 30, 46506, 12923, 7054, 4808, 3459, 16034, 3084, 62, 1415, 3510, 405, 5332, 62, 18, 33411, 1074, 796, 366, 49, 4092, 390, 327, 10205, 4372, 19981, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2173, 287, 10083, 14, 3459, 329, 11717, 390, 269, 374, 67, 19981, 30, 46506, 12923, 7054, 4808, 3459, 16034, 3084, 62, 1415, 3510, 405, 5332, 62, 18, 33411, 1074, 796, 366, 49, 4092, 390, 327, 10205, 4372, 19981, 1 ]
Which Artist has a Percentage of 11.32%?
SELECT artist FROM table_name_79 WHERE percentage = "11.32%"
[ 13828, 18902, 468, 257, 36013, 286, 1367, 13, 2624, 4, 30, 46506, 6802, 16034, 3084, 62, 3672, 62, 3720, 33411, 5873, 796, 366, 1157, 13, 2624, 39658 ]
[ 1, 1, 1, 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, 18902, 468, 257, 36013, 286, 1367, 13, 2624, 4, 30, 46506, 6802, 16034, 3084, 62, 3672, 62, 3720, 33411, 5873, 796, 366, 1157, 13, 2624, 39658 ]
What are the names of wines made from red grapes?
SELECT DISTINCT T2.name FROM grapes AS T1 JOIN wine AS T2 ON T1.grape = T2.grape WHERE T1.color = "Red"
[ 2061, 389, 262, 3891, 286, 30680, 925, 422, 2266, 36656, 30, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 3672, 16034, 36656, 7054, 309, 16, 32357, 1268, 8237, 7054, 309, 17, 6177, 309, 16, 13, 70, 13484, 796, 309, 17, 13, 70, 13484, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3891, 286, 30680, 925, 422, 2266, 36656, 30, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 3672, 16034, 36656, 7054, 309, 16, 32357, 1268, 8237, 7054, 309, 17, 6177, 309, 16, 13, 70, 13484, 796, 309, 17, 13, 70, 13484, ...
Show names of technicians who are assigned to repair machines with value point more than 70.
SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID WHERE T2.value_points > 70
[ 15307, 3891, 286, 33519, 508, 389, 8686, 284, 9185, 8217, 351, 1988, 966, 517, 621, 4317, 13, 46506, 309, 18, 13, 5376, 16034, 9185, 62, 562, 16747, 7054, 309, 16, 32357, 1268, 4572, 7054, 309, 17, 6177, 309, 16, 13, 30243, 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, 1, 1, 1...
[ 15307, 3891, 286, 33519, 508, 389, 8686, 284, 9185, 8217, 351, 1988, 966, 517, 621, 4317, 13, 46506, 309, 18, 13, 5376, 16034, 9185, 62, 562, 16747, 7054, 309, 16, 32357, 1268, 4572, 7054, 309, 17, 6177, 309, 16, 13, 30243, 62, 312,...
give the number of black /african american patients whose hospital stay is more than 1 day.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.days_stay > "1"
[ 26535, 262, 1271, 286, 2042, 1220, 1878, 37189, 45630, 272, 3871, 3025, 4436, 2652, 318, 517, 621, 352, 1110, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 262, 1271, 286, 2042, 1220, 1878, 37189, 45630, 272, 3871, 3025, 4436, 2652, 318, 517, 621, 352, 1110, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 79...
what was patient 31854's first intake time a day before.
SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31854)) AND DATETIME(inputevents_cv.charttime, 'start of day') = DATETIME(CURRENT_TIME(), 's...
[ 10919, 373, 5827, 39320, 4051, 338, 717, 10337, 640, 257, 1110, 878, 13, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 39320, 4051, 338, 717, 10337, 640, 257, 1110, 878, 13, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, ...
What opponnent has a record of 82-68?
SELECT "Opponent" FROM table_75161 WHERE "Record" = '82-68'
[ 2061, 1269, 261, 77, 298, 468, 257, 1700, 286, 9415, 12, 3104, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2425, 25948, 33411, 366, 23739, 1, 796, 705, 6469, 12, 3104, 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, 1269, 261, 77, 298, 468, 257, 1700, 286, 9415, 12, 3104, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2425, 25948, 33411, 366, 23739, 1, 796, 705, 6469, 12, 3104, 6 ]
Reputa o ganha com o altera o do 'valor' do voto por pergunta.
SELECT U.Id, DisplayName, SUM(P.Score * 5) FROM Users AS U INNER JOIN Posts AS P ON U.Id = P.OwnerUserId WHERE PostTypeId = 1 AND DeletionDate IS NULL GROUP BY U.Id, U.DisplayName ORDER BY SUM(Score * 5) DESC
[ 6207, 29822, 267, 308, 272, 3099, 401, 267, 8343, 64, 267, 466, 705, 2100, 273, 6, 466, 1993, 78, 16964, 583, 70, 44424, 13, 46506, 471, 13, 7390, 11, 16531, 5376, 11, 35683, 7, 47, 13, 26595, 1635, 642, 8, 16034, 18987, 7054, 471...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6207, 29822, 267, 308, 272, 3099, 401, 267, 8343, 64, 267, 466, 705, 2100, 273, 6, 466, 1993, 78, 16964, 583, 70, 44424, 13, 46506, 471, 13, 7390, 11, 16531, 5376, 11, 35683, 7, 47, 13, 26595, 1635, 642, 8, 16034, 18987, 7054, 471...
what is the time/retired when the laps is 55?
SELECT "Time/Retired" FROM table_48560 WHERE "Laps" = '55'
[ 10919, 318, 262, 640, 14, 1186, 1202, 618, 262, 24590, 318, 5996, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 32642, 1899, 33411, 366, 43, 1686, 1, 796, 705, 2816, 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, 640, 14, 1186, 1202, 618, 262, 24590, 318, 5996, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 32642, 1899, 33411, 366, 43, 1686, 1, 796, 705, 2816, 6 ]
Which Position in 2000 has a Capacity larger than 10,080, and a Venue of central, rechytsa?
SELECT "Position in 2000" FROM table_36240 WHERE "Capacity" > '10,080' AND "Venue" = 'central, rechytsa'
[ 13828, 23158, 287, 4751, 468, 257, 29765, 4025, 621, 838, 11, 33057, 11, 290, 257, 9932, 518, 286, 4318, 11, 302, 29658, 912, 64, 30, 46506, 366, 26545, 287, 4751, 1, 16034, 3084, 62, 2623, 16102, 33411, 366, 15610, 4355, 1, 1875, 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 ]
[ 13828, 23158, 287, 4751, 468, 257, 29765, 4025, 621, 838, 11, 33057, 11, 290, 257, 9932, 518, 286, 4318, 11, 302, 29658, 912, 64, 30, 46506, 366, 26545, 287, 4751, 1, 16034, 3084, 62, 2623, 16102, 33411, 366, 15610, 4355, 1, 1875, 7...
what is the highest amount of silver when gold is 0 for soviet union?
SELECT MAX(silver) FROM table_name_50 WHERE gold = 0 AND nation = "soviet union"
[ 10919, 318, 262, 4511, 2033, 286, 8465, 618, 3869, 318, 657, 329, 523, 85, 1155, 6441, 30, 46506, 25882, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 3869, 796, 657, 5357, 3277, 796, 366, 47272, 1155, 6441, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4511, 2033, 286, 8465, 618, 3869, 318, 657, 329, 523, 85, 1155, 6441, 30, 46506, 25882, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 3869, 796, 657, 5357, 3277, 796, 366, 47272, 1155, 6441, 1 ]
What was the latest year that the Atlanta Braves won and the St. Louis Cardinals lost?
SELECT MAX("Year") FROM table_40440 WHERE "Winning team" = 'atlanta braves' AND "Losing team" = 'st. louis cardinals'
[ 2061, 373, 262, 3452, 614, 326, 262, 9371, 29374, 1839, 290, 262, 520, 13, 5593, 18071, 2626, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 1821, 25644, 33411, 366, 16643, 768, 1074, 1, 796, 705, 25864, 4910, 8290, 1158, 6, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3452, 614, 326, 262, 9371, 29374, 1839, 290, 262, 520, 13, 5593, 18071, 2626, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 1821, 25644, 33411, 366, 16643, 768, 1074, 1, 796, 705, 25864, 4910, 8290, 1158, 6, 53...
What is the highest pick number for a pick drafted by the denver broncos?
SELECT MAX("Pick") FROM table_66421 WHERE "Team" = 'denver broncos'
[ 2061, 318, 262, 4511, 2298, 1271, 329, 257, 2298, 15937, 416, 262, 2853, 332, 18443, 6966, 30, 46506, 25882, 7203, 31686, 4943, 16034, 3084, 62, 21, 2414, 2481, 33411, 366, 15592, 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, 1, 1 ]
[ 2061, 318, 262, 4511, 2298, 1271, 329, 257, 2298, 15937, 416, 262, 2853, 332, 18443, 6966, 30, 46506, 25882, 7203, 31686, 4943, 16034, 3084, 62, 21, 2414, 2481, 33411, 366, 15592, 1, 796, 705, 6559, 332, 18443, 6966, 6 ]
Who is the team at vikings stadium?
SELECT "Team" FROM table_53073 WHERE "Stadium" = 'vikings stadium'
[ 8241, 318, 262, 1074, 379, 410, 1134, 654, 10308, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 38612, 4790, 33411, 366, 1273, 6271, 1, 796, 705, 28930, 654, 10308, 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 ]
[ 8241, 318, 262, 1074, 379, 410, 1134, 654, 10308, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 38612, 4790, 33411, 366, 1273, 6271, 1, 796, 705, 28930, 654, 10308, 6 ]
how much is the abscess drainage procedure?
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'treatment' AND cost.eventid IN (SELECT treatment.treatmentid FROM treatment WHERE treatment.treatmentname = 'abscess drainage procedure')
[ 4919, 881, 318, 262, 2352, 919, 37664, 8771, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 42487, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 3513, 13, 42487, 312, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 881, 318, 262, 2352, 919, 37664, 8771, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 42487, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 3513, 13, 42487, 312, 16034, ...
What was the distance when the weight was 6.11?
SELECT "Distance" FROM table_76970 WHERE "Weight" = '6.11'
[ 2061, 373, 262, 5253, 618, 262, 3463, 373, 718, 13, 1157, 30, 46506, 366, 45767, 1, 16034, 3084, 62, 22, 3388, 2154, 33411, 366, 25844, 1, 796, 705, 21, 13, 1157, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 5253, 618, 262, 3463, 373, 718, 13, 1157, 30, 46506, 366, 45767, 1, 16034, 3084, 62, 22, 3388, 2154, 33411, 366, 25844, 1, 796, 705, 21, 13, 1157, 6 ]
Who is the edition/publisher for Xavier Herbert?
SELECT edition_publisher FROM table_name_9 WHERE author = "xavier herbert"
[ 8241, 318, 262, 8313, 14, 12984, 8191, 329, 30825, 28648, 30, 46506, 8313, 62, 12984, 8191, 16034, 3084, 62, 3672, 62, 24, 33411, 1772, 796, 366, 87, 19492, 607, 4835, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 8313, 14, 12984, 8191, 329, 30825, 28648, 30, 46506, 8313, 62, 12984, 8191, 16034, 3084, 62, 3672, 62, 24, 33411, 1772, 796, 366, 87, 19492, 607, 4835, 1 ]
among patients diagnosed with malnutrition mod degree, show me the three year survival probability.
SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.charttime) > 3 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id...
[ 35131, 3871, 14641, 351, 49290, 953, 4922, 11, 905, 502, 262, 1115, 614, 9441, 12867, 13, 46506, 35683, 7, 34, 11159, 42099, 3871, 13, 67, 375, 3180, 15697, 42243, 352, 42099, 19269, 9792, 12789, 10786, 4, 73, 3256, 3871, 13, 67, 375,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35131, 3871, 14641, 351, 49290, 953, 4922, 11, 905, 502, 262, 1115, 614, 9441, 12867, 13, 46506, 35683, 7, 34, 11159, 42099, 3871, 13, 67, 375, 3180, 15697, 42243, 352, 42099, 19269, 9792, 12789, 10786, 4, 73, 3256, 3871, 13, 67, 375,...
fly from DALLAS to BALTIMORE
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMO...
[ 12254, 422, 360, 7036, 1921, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12254, 422, 360, 7036, 1921, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, ...
What is the latest year?
SELECT MAX(year) FROM table_2199290_1
[ 2061, 318, 262, 3452, 614, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 17, 19104, 24369, 62, 16 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3452, 614, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 17, 19104, 24369, 62, 16 ]
Which Player has a Position of number 8, and a Club/province of scarlets?
SELECT player FROM table_name_92 WHERE position = "number 8" AND club_province = "scarlets"
[ 13828, 7853, 468, 257, 23158, 286, 1271, 807, 11, 290, 257, 6289, 14, 15234, 924, 286, 10153, 5289, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5892, 33411, 2292, 796, 366, 17618, 807, 1, 5357, 3430, 62, 15234, 924, 796, 366, 13034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7853, 468, 257, 23158, 286, 1271, 807, 11, 290, 257, 6289, 14, 15234, 924, 286, 10153, 5289, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5892, 33411, 2292, 796, 366, 17618, 807, 1, 5357, 3430, 62, 15234, 924, 796, 366, 13034, ...
Who wrote the episode with the production code of 3t7255?
SELECT written_by FROM table_27116696_1 WHERE production_code = "3T7255"
[ 8241, 2630, 262, 4471, 351, 262, 3227, 2438, 286, 513, 83, 22, 13381, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 1983, 1157, 2791, 4846, 62, 16, 33411, 3227, 62, 8189, 796, 366, 18, 51, 22, 13381, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2630, 262, 4471, 351, 262, 3227, 2438, 286, 513, 83, 22, 13381, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 1983, 1157, 2791, 4846, 62, 16, 33411, 3227, 62, 8189, 796, 366, 18, 51, 22, 13381, 1 ]
what is the last performance of leon varkas category:articles with hcards
SELECT "Last performance" FROM table_22884 WHERE "Performer" = 'Leon Varkas Category:Articles with hCards'
[ 10919, 318, 262, 938, 2854, 286, 443, 261, 410, 668, 292, 6536, 25, 26845, 351, 289, 27761, 46506, 366, 5956, 2854, 1, 16034, 3084, 62, 1828, 40353, 33411, 366, 5990, 16354, 1, 796, 705, 36185, 569, 668, 292, 21743, 25, 8001, 2983, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 2854, 286, 443, 261, 410, 668, 292, 6536, 25, 26845, 351, 289, 27761, 46506, 366, 5956, 2854, 1, 16034, 3084, 62, 1828, 40353, 33411, 366, 5990, 16354, 1, 796, 705, 36185, 569, 668, 292, 21743, 25, 8001, 2983, ...