instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Who has the world record of 153kg in the clean & jerk?
SELECT 153 AS kg FROM table_name_27 WHERE world_record = "clean & jerk"
[ 8241, 468, 262, 995, 1700, 286, 24652, 10025, 287, 262, 3424, 1222, 29757, 30, 46506, 24652, 7054, 14211, 16034, 3084, 62, 3672, 62, 1983, 33411, 995, 62, 22105, 796, 366, 27773, 1222, 29757, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 262, 995, 1700, 286, 24652, 10025, 287, 262, 3424, 1222, 29757, 30, 46506, 24652, 7054, 14211, 16034, 3084, 62, 3672, 62, 1983, 33411, 995, 62, 22105, 796, 366, 27773, 1222, 29757, 1 ]
What is Mult, when Model Number is Pentium II 450?
SELECT mult FROM table_name_85 WHERE model_number = "pentium ii 450"
[ 2061, 318, 7854, 11, 618, 9104, 7913, 318, 9696, 1505, 2873, 18523, 30, 46506, 1963, 16034, 3084, 62, 3672, 62, 5332, 33411, 2746, 62, 17618, 796, 366, 16923, 1505, 21065, 18523, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 7854, 11, 618, 9104, 7913, 318, 9696, 1505, 2873, 18523, 30, 46506, 1963, 16034, 3084, 62, 3672, 62, 5332, 33411, 2746, 62, 17618, 796, 366, 16923, 1505, 21065, 18523, 1 ]
Which Rank has a Silver larger than 1 and a Total larger than 13?
SELECT rank FROM table_name_95 WHERE silver > 1 AND total > 13
[ 13828, 10916, 468, 257, 7698, 4025, 621, 352, 290, 257, 7472, 4025, 621, 1511, 30, 46506, 4279, 16034, 3084, 62, 3672, 62, 3865, 33411, 8465, 1875, 352, 5357, 2472, 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 ]
[ 13828, 10916, 468, 257, 7698, 4025, 621, 352, 290, 257, 7472, 4025, 621, 1511, 30, 46506, 4279, 16034, 3084, 62, 3672, 62, 3865, 33411, 8465, 1875, 352, 5357, 2472, 1875, 1511 ]
What is the lowest round of Ed Smith, who had a pick lower than 19?
SELECT MIN(round) FROM table_name_29 WHERE player = "ed smith" AND pick > 19
[ 2061, 318, 262, 9016, 2835, 286, 1717, 4176, 11, 508, 550, 257, 2298, 2793, 621, 678, 30, 46506, 20625, 7, 744, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 2137, 796, 366, 276, 895, 342, 1, 5357, 2298, 1875, 678 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2835, 286, 1717, 4176, 11, 508, 550, 257, 2298, 2793, 621, 678, 30, 46506, 20625, 7, 744, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 2137, 796, 366, 276, 895, 342, 1, 5357, 2298, 1875, 678 ]
what is the difference of the heart rate for patient 26195 measured at 2104-02-09 09:00:00 compared to the value measured at 2104-02-09 08:00:00?
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26195)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d_items.linksto = 'chartevents') AND chartevents.charttime = '2104-02-09 09:00:00') - (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26195)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d_items.linksto = 'chartevents') AND chartevents.charttime = '2104-02-09 08:00:00')
[ 10919, 318, 262, 3580, 286, 262, 2612, 2494, 329, 5827, 2608, 22186, 8630, 379, 362, 13464, 12, 2999, 12, 2931, 7769, 25, 405, 25, 405, 3688, 284, 262, 1988, 8630, 379, 362, 13464, 12, 2999, 12, 2931, 8487, 25, 405, 25, 405, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3580, 286, 262, 2612, 2494, 329, 5827, 2608, 22186, 8630, 379, 362, 13464, 12, 2999, 12, 2931, 7769, 25, 405, 25, 405, 3688, 284, 262, 1988, 8630, 379, 362, 13464, 12, 2999, 12, 2931, 8487, 25, 405, 25, 405, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349 ]
What was the date of appointment for incoming manager Roy Hodgson and the team is Liverpool?
SELECT "Date of appointment" FROM table_73619 WHERE "Team" = 'Liverpool' AND "Incoming manager" = 'Roy Hodgson'
[ 2061, 373, 262, 3128, 286, 12557, 329, 15619, 4706, 9817, 37480, 1559, 290, 262, 1074, 318, 11761, 30, 46506, 366, 10430, 286, 12557, 1, 16034, 3084, 62, 49150, 1129, 33411, 366, 15592, 1, 796, 705, 44232, 6, 5357, 366, 818, 4976, 4706, 1, 796, 705, 32027, 37480, 1559, 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 ]
[ 2061, 373, 262, 3128, 286, 12557, 329, 15619, 4706, 9817, 37480, 1559, 290, 262, 1074, 318, 11761, 30, 46506, 366, 10430, 286, 12557, 1, 16034, 3084, 62, 49150, 1129, 33411, 366, 15592, 1, 796, 705, 44232, 6, 5357, 366, 818, 4976, 4706, 1, 796, 705, 32027, 37480, 1559, 6 ]
What was the emission rating in Mid-Atlantic South for the vehicle that was rated 300 g/mi (186 g/km) in the Midwest?
SELECT "Mid-Atlantic South (Washington, D.C.)" FROM table_20552 WHERE "Midwest (Des Moines)" = '300 g/mi (186 g/km)'
[ 2061, 373, 262, 25592, 7955, 287, 7215, 12, 41120, 2520, 329, 262, 4038, 326, 373, 13178, 5867, 308, 14, 11632, 357, 25096, 308, 14, 13276, 8, 287, 262, 25701, 30, 46506, 366, 22622, 12, 41120, 2520, 357, 17402, 11, 360, 13, 34, 2014, 1, 16034, 3084, 62, 1238, 40427, 33411, 366, 22622, 7038, 357, 5960, 36576, 16725, 796, 705, 6200, 308, 14, 11632, 357, 25096, 308, 14, 13276, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 25592, 7955, 287, 7215, 12, 41120, 2520, 329, 262, 4038, 326, 373, 13178, 5867, 308, 14, 11632, 357, 25096, 308, 14, 13276, 8, 287, 262, 25701, 30, 46506, 366, 22622, 12, 41120, 2520, 357, 17402, 11, 360, 13, 34, 2014, 1, 16034, 3084, 62, 1238, 40427, 33411, 366, 22622, 7038, 357, 5960, 36576, 16725, 796, 705, 6200, 308, 14, 11632, 357, 25096, 308, 14, 13276, 33047 ]
What is the value for Wins when the Position is 7th?
SELECT wins FROM table_name_67 WHERE position = "7th"
[ 2061, 318, 262, 1988, 329, 24423, 618, 262, 23158, 318, 767, 400, 30, 46506, 7864, 16034, 3084, 62, 3672, 62, 3134, 33411, 2292, 796, 366, 22, 400, 1 ]
[ 1, 1, 1, 1, 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, 1988, 329, 24423, 618, 262, 23158, 318, 767, 400, 30, 46506, 7864, 16034, 3084, 62, 3672, 62, 3134, 33411, 2292, 796, 366, 22, 400, 1 ]
Who was the draft pick for Kansas City Chiefs?
SELECT player FROM table_2508633_9 WHERE nfl_team = "Kansas City Chiefs"
[ 8241, 373, 262, 4538, 2298, 329, 9470, 2254, 18733, 30, 46506, 2137, 16034, 3084, 62, 9031, 4521, 2091, 62, 24, 33411, 299, 2704, 62, 15097, 796, 366, 43451, 2254, 18733, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 4538, 2298, 329, 9470, 2254, 18733, 30, 46506, 2137, 16034, 3084, 62, 9031, 4521, 2091, 62, 24, 33411, 299, 2704, 62, 15097, 796, 366, 43451, 2254, 18733, 1 ]
What date did the episode with Andy Murray as Jamie and John's guest first broadcast?
SELECT first_broadcast FROM table_29141354_4 WHERE jamie_and_johns_guest = "Andy Murray"
[ 2061, 3128, 750, 262, 4471, 351, 12382, 12164, 355, 17826, 290, 1757, 338, 8319, 717, 7025, 30, 46506, 717, 62, 36654, 2701, 16034, 3084, 62, 1959, 1415, 1485, 4051, 62, 19, 33411, 16853, 494, 62, 392, 62, 30686, 82, 62, 5162, 395, 796, 366, 35314, 12164, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 750, 262, 4471, 351, 12382, 12164, 355, 17826, 290, 1757, 338, 8319, 717, 7025, 30, 46506, 717, 62, 36654, 2701, 16034, 3084, 62, 1959, 1415, 1485, 4051, 62, 19, 33411, 16853, 494, 62, 392, 62, 30686, 82, 62, 5162, 395, 796, 366, 35314, 12164, 1 ]
what week was the bye after ?
SELECT "week" FROM table_204_662 WHERE id = (SELECT id FROM table_204_662 WHERE "bye" = 1) - 1
[ 10919, 1285, 373, 262, 33847, 706, 5633, 46506, 366, 10464, 1, 16034, 3084, 62, 18638, 62, 39380, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 39380, 33411, 366, 16390, 1, 796, 352, 8, 532, 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 ]
[ 10919, 1285, 373, 262, 33847, 706, 5633, 46506, 366, 10464, 1, 16034, 3084, 62, 18638, 62, 39380, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 39380, 33411, 366, 16390, 1, 796, 352, 8, 532, 352 ]
What was Min Patel's bowling?
SELECT "Bowling" FROM table_71963 WHERE "Player" = 'min patel'
[ 2061, 373, 1855, 33110, 338, 33564, 30, 46506, 366, 39961, 1359, 1, 16034, 3084, 62, 22, 45192, 33411, 366, 14140, 1, 796, 705, 1084, 279, 25791, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 1855, 33110, 338, 33564, 30, 46506, 366, 39961, 1359, 1, 16034, 3084, 62, 22, 45192, 33411, 366, 14140, 1, 796, 705, 1084, 279, 25791, 6 ]
Which Mark has an Athlete of heike drechsler?
SELECT "Mark" FROM table_13120 WHERE "Athlete" = 'heike drechsler'
[ 13828, 2940, 468, 281, 13548, 5807, 286, 339, 522, 288, 260, 354, 82, 1754, 30, 46506, 366, 9704, 1, 16034, 3084, 62, 1485, 10232, 33411, 366, 32, 400, 5807, 1, 796, 705, 258, 522, 288, 260, 354, 82, 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 ]
[ 13828, 2940, 468, 281, 13548, 5807, 286, 339, 522, 288, 260, 354, 82, 1754, 30, 46506, 366, 9704, 1, 16034, 3084, 62, 1485, 10232, 33411, 366, 32, 400, 5807, 1, 796, 705, 258, 522, 288, 260, 354, 82, 1754, 6 ]
Who was the other party nominee that ran against Democratic Rick Boucher?
SELECT "Other Party" FROM table_8953 WHERE "Democratic" = 'rick boucher'
[ 8241, 373, 262, 584, 2151, 10429, 326, 4966, 1028, 4390, 8759, 14551, 2044, 30, 46506, 366, 6395, 3615, 1, 16034, 3084, 62, 23, 49649, 33411, 366, 33939, 1, 796, 705, 5557, 35833, 2044, 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 ]
[ 8241, 373, 262, 584, 2151, 10429, 326, 4966, 1028, 4390, 8759, 14551, 2044, 30, 46506, 366, 6395, 3615, 1, 16034, 3084, 62, 23, 49649, 33411, 366, 33939, 1, 796, 705, 5557, 35833, 2044, 6 ]
Who is teaching PreMajor classes in the Winter term ?
SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id WHERE program_course.category LIKE '%PreMajor%' AND semester.semester = 'Winter' AND semester.year = 2017
[ 8241, 318, 7743, 3771, 24206, 6097, 287, 262, 10633, 3381, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 24878, 6177, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7743, 3771, 24206, 6097, 287, 262, 10633, 3381, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 24878, 6177, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177 ]
Decision of parent, and a Home of philadelphia, and a Record of 20 16 7 is on what date?
SELECT "Date" FROM table_15211 WHERE "Decision" = 'parent' AND "Home" = 'philadelphia' AND "Record" = '20–16–7'
[ 10707, 1166, 286, 2560, 11, 290, 257, 5995, 286, 5206, 8273, 11, 290, 257, 13266, 286, 1160, 1467, 767, 318, 319, 644, 3128, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 17827, 1157, 33411, 366, 10707, 1166, 1, 796, 705, 8000, 6, 5357, 366, 16060, 1, 796, 705, 28864, 8273, 6, 5357, 366, 23739, 1, 796, 705, 1238, 1906, 1433, 1906, 22, 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 ]
[ 10707, 1166, 286, 2560, 11, 290, 257, 5995, 286, 5206, 8273, 11, 290, 257, 13266, 286, 1160, 1467, 767, 318, 319, 644, 3128, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 17827, 1157, 33411, 366, 10707, 1166, 1, 796, 705, 8000, 6, 5357, 366, 16060, 1, 796, 705, 28864, 8273, 6, 5357, 366, 23739, 1, 796, 705, 1238, 1906, 1433, 1906, 22, 6 ]
For the game ending in a final result of 99-90, who was the Road Team?
SELECT "Road Team" FROM table_9972 WHERE "Result" = '99-90'
[ 1890, 262, 983, 7464, 287, 257, 2457, 1255, 286, 7388, 12, 3829, 11, 508, 373, 262, 5567, 4816, 30, 46506, 366, 29197, 4816, 1, 16034, 3084, 62, 2079, 4761, 33411, 366, 23004, 1, 796, 705, 2079, 12, 3829, 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 ]
[ 1890, 262, 983, 7464, 287, 257, 2457, 1255, 286, 7388, 12, 3829, 11, 508, 373, 262, 5567, 4816, 30, 46506, 366, 29197, 4816, 1, 16034, 3084, 62, 2079, 4761, 33411, 366, 23004, 1, 796, 705, 2079, 12, 3829, 6 ]
What is the Length, when the Name is Himos?
SELECT length FROM table_name_68 WHERE name = "himos"
[ 2061, 318, 262, 22313, 11, 618, 262, 6530, 318, 10978, 418, 30, 46506, 4129, 16034, 3084, 62, 3672, 62, 3104, 33411, 1438, 796, 366, 38400, 418, 1 ]
[ 1, 1, 1, 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, 22313, 11, 618, 262, 6530, 318, 10978, 418, 30, 46506, 4129, 16034, 3084, 62, 3672, 62, 3104, 33411, 1438, 796, 366, 38400, 418, 1 ]
Tags existing as both tags and as synonyms.
SELECT TagName AS Tag FROM Tags INTERSECT SELECT SourceTagName AS Tag FROM TagSynonyms
[ 36142, 4683, 355, 1111, 15940, 290, 355, 6171, 43612, 13, 46506, 17467, 5376, 7054, 17467, 16034, 44789, 17828, 4877, 9782, 33493, 8090, 24835, 5376, 7054, 17467, 16034, 17467, 29934, 43612 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36142, 4683, 355, 1111, 15940, 290, 355, 6171, 43612, 13, 46506, 17467, 5376, 7054, 17467, 16034, 44789, 17828, 4877, 9782, 33493, 8090, 24835, 5376, 7054, 17467, 16034, 17467, 29934, 43612 ]
What is the smoke point with a total fat of 100g, and monounsaturated fat of 46g?
SELECT smoke_point FROM table_name_97 WHERE total_fat = "100g" AND monounsaturated_fat = "46g"
[ 2061, 318, 262, 7523, 966, 351, 257, 2472, 3735, 286, 1802, 70, 11, 290, 937, 977, 82, 30192, 3735, 286, 6337, 70, 30, 46506, 7523, 62, 4122, 16034, 3084, 62, 3672, 62, 5607, 33411, 2472, 62, 17359, 796, 366, 3064, 70, 1, 5357, 937, 977, 82, 30192, 62, 17359, 796, 366, 3510, 70, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7523, 966, 351, 257, 2472, 3735, 286, 1802, 70, 11, 290, 937, 977, 82, 30192, 3735, 286, 6337, 70, 30, 46506, 7523, 62, 4122, 16034, 3084, 62, 3672, 62, 5607, 33411, 2472, 62, 17359, 796, 366, 3064, 70, 1, 5357, 937, 977, 82, 30192, 62, 17359, 796, 366, 3510, 70, 1 ]
In what year was Xavier Malisse the runner-up with scores of 4 6, 6 4, [8 10]?
SELECT "Year" FROM table_41525 WHERE "Outcome" = 'runner-up' AND "Score" = '4–6, 6–4, [8–10]'
[ 818, 644, 614, 373, 30825, 4434, 20782, 262, 17490, 12, 929, 351, 8198, 286, 604, 718, 11, 718, 604, 11, 685, 23, 838, 60, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 35038, 1495, 33411, 366, 7975, 2958, 1, 796, 705, 16737, 12, 929, 6, 5357, 366, 26595, 1, 796, 705, 19, 1906, 21, 11, 718, 1906, 19, 11, 685, 23, 1906, 940, 49946 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 614, 373, 30825, 4434, 20782, 262, 17490, 12, 929, 351, 8198, 286, 604, 718, 11, 718, 604, 11, 685, 23, 838, 60, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 35038, 1495, 33411, 366, 7975, 2958, 1, 796, 705, 16737, 12, 929, 6, 5357, 366, 26595, 1, 796, 705, 19, 1906, 21, 11, 718, 1906, 19, 11, 685, 23, 1906, 940, 49946 ]
Which Season has a UFL Cup of tbd?
SELECT season FROM table_name_52 WHERE ufl_cup = "tbd"
[ 13828, 7369, 468, 257, 471, 3697, 5454, 286, 256, 17457, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 4309, 33411, 334, 2704, 62, 25244, 796, 366, 83, 17457, 1 ]
[ 1, 1, 1, 1, 1, 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, 7369, 468, 257, 471, 3697, 5454, 286, 256, 17457, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 4309, 33411, 334, 2704, 62, 25244, 796, 366, 83, 17457, 1 ]
find candidates for Revival badge with a certain tag. find questions older than 60 days which have no answers of score >= 2
SELECT Id AS "post_link", Score, ViewCount AS Views, AnswerCount AS Answers, Body, CreationDate FROM Posts WHERE PostTypeId = 1 AND CreationDate < CURRENT_TIMESTAMP() - 30 AND ClosedDate IS NULL AND Tags LIKE '%<' + LOWER(@tag) + '>%' AND NOT EXISTS(SELECT * FROM Posts AS p WHERE p.ParentId = Posts.Id AND p.Score >= 2 AND p.PostTypeId = 2) ORDER BY CreationDate DESC LIMIT 1000
[ 19796, 5871, 329, 48095, 23009, 351, 257, 1728, 7621, 13, 1064, 2683, 4697, 621, 3126, 1528, 543, 423, 645, 7429, 286, 4776, 18189, 362, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 15178, 11, 3582, 12332, 7054, 29978, 11, 23998, 12332, 7054, 42612, 11, 12290, 11, 21582, 10430, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 21582, 10430, 1279, 327, 39237, 62, 51, 3955, 6465, 23518, 3419, 532, 1542, 5357, 30550, 10430, 3180, 15697, 5357, 44789, 34178, 705, 4, 27, 6, 1343, 406, 36048, 7, 31, 12985, 8, 1343, 705, 29, 4, 6, 5357, 5626, 7788, 1797, 4694, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19796, 5871, 329, 48095, 23009, 351, 257, 1728, 7621, 13, 1064, 2683, 4697, 621, 3126, 1528, 543, 423, 645, 7429, 286, 4776, 18189, 362, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 15178, 11, 3582, 12332, 7054, 29978, 11, 23998, 12332, 7054, 42612, 11, 12290, 11, 21582, 10430, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 21582, 10430, 1279, 327, 39237, 62, 51, 3955, 6465, 23518, 3419, 532, 1542, 5357, 30550, 10430, 3180, 15697, 5357, 44789, 34178, 705, 4, 27, 6, 1343, 406, 36048, 7, 31, 12985, 8, 1343, 705, 29, 4, 6, 5357, 5626, 7788, 1797, 4694, 7 ]
Which first round has a first team of angers sco (d1)?
SELECT "1st round" FROM table_49419 WHERE "Team 1" = 'angers sco (d1)'
[ 13828, 717, 2835, 468, 257, 717, 1074, 286, 3550, 364, 629, 78, 357, 67, 16, 19427, 46506, 366, 16, 301, 2835, 1, 16034, 3084, 62, 39449, 1129, 33411, 366, 15592, 352, 1, 796, 705, 6606, 629, 78, 357, 67, 16, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 717, 2835, 468, 257, 717, 1074, 286, 3550, 364, 629, 78, 357, 67, 16, 19427, 46506, 366, 16, 301, 2835, 1, 16034, 3084, 62, 39449, 1129, 33411, 366, 15592, 352, 1, 796, 705, 6606, 629, 78, 357, 67, 16, 33047 ]
What is the distance for 5 d, 23 h, 7 m?
SELECT "Distance" FROM table_66010 WHERE "Days, hours, minutes" = '5 d, 23 h, 7 m'
[ 2061, 318, 262, 5253, 329, 642, 288, 11, 2242, 289, 11, 767, 285, 30, 46506, 366, 45767, 1, 16034, 3084, 62, 2791, 20943, 33411, 366, 38770, 11, 2250, 11, 2431, 1, 796, 705, 20, 288, 11, 2242, 289, 11, 767, 285, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5253, 329, 642, 288, 11, 2242, 289, 11, 767, 285, 30, 46506, 366, 45767, 1, 16034, 3084, 62, 2791, 20943, 33411, 366, 38770, 11, 2250, 11, 2431, 1, 796, 705, 20, 288, 11, 2242, 289, 11, 767, 285, 6 ]
What CFL team did Kelly Bates play for?
SELECT "CFL Team" FROM table_41680 WHERE "Player" = 'kelly bates'
[ 2061, 45239, 1074, 750, 9077, 35591, 711, 329, 30, 46506, 366, 34, 3697, 4816, 1, 16034, 3084, 62, 35218, 1795, 33411, 366, 14140, 1, 796, 705, 365, 12810, 275, 689, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 45239, 1074, 750, 9077, 35591, 711, 329, 30, 46506, 366, 34, 3697, 4816, 1, 16034, 3084, 62, 35218, 1795, 33411, 366, 14140, 1, 796, 705, 365, 12810, 275, 689, 6 ]
when did patient 55281 get in the hospital since 2105 for the first time?
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 55281 AND STRFTIME('%y', admissions.admittime) >= '2105' ORDER BY admissions.admittime LIMIT 1
[ 12518, 750, 5827, 5996, 30368, 651, 287, 262, 4436, 1201, 362, 13348, 329, 262, 717, 640, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 5996, 30368, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 25349, 13, 324, 20124, 524, 8, 18189, 705, 17, 13348, 6, 38678, 11050, 25349, 13, 324, 20124, 524, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 750, 5827, 5996, 30368, 651, 287, 262, 4436, 1201, 362, 13348, 329, 262, 717, 640, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 5996, 30368, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 25349, 13, 324, 20124, 524, 8, 18189, 705, 17, 13348, 6, 38678, 11050, 25349, 13, 324, 20124, 524, 27564, 2043, 352 ]
anemia ( hemoglobin < 12 )
SELECT * FROM table_train_183 WHERE anemia = 1 OR hemoglobin_a1c_hba1c < 12
[ 272, 22859, 357, 16869, 49835, 1279, 1105, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 24839, 33411, 281, 22859, 796, 352, 6375, 16869, 49835, 62, 64, 16, 66, 62, 71, 7012, 16, 66, 1279, 1105 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 272, 22859, 357, 16869, 49835, 1279, 1105, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 24839, 33411, 281, 22859, 796, 352, 6375, 16869, 49835, 62, 64, 16, 66, 62, 71, 7012, 16, 66, 1279, 1105 ]
What club does John Westin play for?
SELECT "College/junior/club team (league)" FROM table_61459 WHERE "Player" = 'john westin'
[ 2061, 3430, 857, 1757, 2688, 259, 711, 329, 30, 46506, 366, 38951, 14, 29741, 1504, 14, 18664, 1074, 357, 19316, 16725, 16034, 3084, 62, 46841, 3270, 33411, 366, 14140, 1, 796, 705, 30686, 7421, 259, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3430, 857, 1757, 2688, 259, 711, 329, 30, 46506, 366, 38951, 14, 29741, 1504, 14, 18664, 1074, 357, 19316, 16725, 16034, 3084, 62, 46841, 3270, 33411, 366, 14140, 1, 796, 705, 30686, 7421, 259, 6 ]
give the number of patients admitted before the year 2151 whose lab test fluid is other body fluid.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2151" AND lab.fluid = "Other Body Fluid"
[ 26535, 262, 1271, 286, 3871, 6848, 878, 262, 614, 22951, 16, 3025, 2248, 1332, 11711, 318, 584, 1767, 11711, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 23349, 16, 1, 5357, 2248, 13, 35522, 312, 796, 366, 6395, 12290, 1610, 27112, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3871, 6848, 878, 262, 614, 22951, 16, 3025, 2248, 1332, 11711, 318, 584, 1767, 11711, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 23349, 16, 1, 5357, 2248, 13, 35522, 312, 796, 366, 6395, 12290, 1610, 27112, 1 ]
How many calibers require the type LB/RN?
SELECT COUNT(caliber) FROM table_21538523_1 WHERE type = "LB/RN"
[ 2437, 867, 27417, 364, 2421, 262, 2099, 22199, 14, 42336, 30, 46506, 327, 28270, 7, 43288, 8, 16034, 3084, 62, 23349, 27203, 1954, 62, 16, 33411, 2099, 796, 366, 30501, 14, 42336, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27417, 364, 2421, 262, 2099, 22199, 14, 42336, 30, 46506, 327, 28270, 7, 43288, 8, 16034, 3084, 62, 23349, 27203, 1954, 62, 16, 33411, 2099, 796, 366, 30501, 14, 42336, 1 ]
which patients have diseases of tricuspid valve diagnoses?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Diseases of tricuspid valve"
[ 4758, 3871, 423, 10040, 286, 491, 291, 17723, 312, 22580, 40567, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 6511, 62, 7839, 796, 366, 35, 786, 1386, 286, 491, 291, 17723, 312, 22580, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 3871, 423, 10040, 286, 491, 291, 17723, 312, 22580, 40567, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 6511, 62, 7839, 796, 366, 35, 786, 1386, 286, 491, 291, 17723, 312, 22580, 1 ]
give me the number of patients whose language is ptun and year of death is less than or equal to 2132?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "PTUN" AND demographic.dod_year <= "2132.0"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 3303, 318, 279, 28286, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 19924, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 16129, 796, 366, 11571, 4944, 1, 5357, 16728, 13, 67, 375, 62, 1941, 19841, 366, 17, 19924, 13, 15, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 502, 262, 1271, 286, 3871, 3025, 3303, 318, 279, 28286, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 19924, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 16129, 796, 366, 11571, 4944, 1, 5357, 16728, 13, 67, 375, 62, 1941, 19841, 366, 17, 19924, 13, 15, 1 ]
give me the number of patients whose diagnoses long title is other preterm infants, 2,000-2,499 grams?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Other preterm infants, 2,000-2,499 grams"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 584, 662, 4354, 18775, 11, 362, 11, 830, 12, 17, 11, 28324, 16379, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 6511, 62, 7839, 796, 366, 6395, 662, 4354, 18775, 11, 362, 11, 830, 12, 17, 11, 28324, 16379, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40567, 890, 3670, 318, 584, 662, 4354, 18775, 11, 362, 11, 830, 12, 17, 11, 28324, 16379, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 6511, 62, 7839, 796, 366, 6395, 662, 4354, 18775, 11, 362, 11, 830, 12, 17, 11, 28324, 16379, 1 ]
Highest Accepted Percentage of Rep.
SELECT U.Id AS "user_link", (SELECT COUNT(*) FROM Posts WHERE OwnerUserId = U.Id AND PostTypeId = 2) AS "total_answers", COUNT(*) AS "accepted_answers", U.Reputation AS "user_rep", (15 * COUNT(*)) AS "accepted_rep", CAST(100.0 * (15.0 * COUNT(*) / CAST(U.Reputation AS FLOAT)) AS FLOAT(10, 3)) AS "accepted_rep_%" FROM Posts AS Q INNER JOIN Posts AS A ON A.ParentId = Q.Id INNER JOIN Users AS U ON U.Id = A.OwnerUserId WHERE A.PostTypeId = 2 AND Q.AcceptedAnswerId = A.Id AND U.Reputation > 1 GROUP BY U.Id, U.Reputation ORDER BY 'accepted_rep_%' DESC LIMIT @N
[ 36124, 3634, 21699, 276, 36013, 286, 1432, 13, 46506, 471, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 357, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 23853, 12982, 7390, 796, 471, 13, 7390, 5357, 2947, 6030, 7390, 796, 362, 8, 7054, 366, 23350, 62, 504, 86, 364, 1600, 327, 28270, 7, 28104, 7054, 366, 13635, 276, 62, 504, 86, 364, 1600, 471, 13, 6207, 7094, 7054, 366, 7220, 62, 7856, 1600, 357, 1314, 1635, 327, 28270, 46491, 4008, 7054, 366, 13635, 276, 62, 7856, 1600, 327, 11262, 7, 3064, 13, 15, 1635, 357, 1314, 13, 15, 1635, 327, 28270 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36124, 3634, 21699, 276, 36013, 286, 1432, 13, 46506, 471, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 357, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 23853, 12982, 7390, 796, 471, 13, 7390, 5357, 2947, 6030, 7390, 796, 362, 8, 7054, 366, 23350, 62, 504, 86, 364, 1600, 327, 28270, 7, 28104, 7054, 366, 13635, 276, 62, 504, 86, 364, 1600, 471, 13, 6207, 7094, 7054, 366, 7220, 62, 7856, 1600, 357, 1314, 1635, 327, 28270, 46491, 4008, 7054, 366, 13635, 276, 62, 7856, 1600, 327, 11262, 7, 3064, 13, 15, 1635, 357, 1314, 13, 15, 1635, 327, 28270 ]
what diagnosis did patient 025-53910 receive last?
SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-53910')) ORDER BY diagnosis.diagnosistime DESC LIMIT 1
[ 10919, 13669, 750, 5827, 657, 1495, 12, 20, 2670, 940, 3328, 938, 30, 46506, 13669, 13, 47356, 5958, 3672, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 36629, 12, 20, 2670, 940, 6, 4008, 38678, 11050, 13669, 13, 47356, 418, 396, 524, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 13669, 750, 5827, 657, 1495, 12, 20, 2670, 940, 3328, 938, 30, 46506, 13669, 13, 47356, 5958, 3672, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 36629, 12, 20, 2670, 940, 6, 4008, 38678, 11050, 13669, 13, 47356, 418, 396, 524, 22196, 34, 27564, 2043, 352 ]
Compute the total the total number across type as a pie chart.
SELECT Type, COUNT(*) FROM ship GROUP BY Type
[ 7293, 1133, 262, 2472, 262, 2472, 1271, 1973, 2099, 355, 257, 2508, 8262, 13, 46506, 5994, 11, 327, 28270, 7, 28104, 16034, 4074, 44441, 11050, 5994 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7293, 1133, 262, 2472, 262, 2472, 1271, 1973, 2099, 355, 257, 2508, 8262, 13, 46506, 5994, 11, 327, 28270, 7, 28104, 16034, 4074, 44441, 11050, 5994 ]
For those employees who did not have any job in the past, visualize a bar chart about the distribution of hire_date and the sum of salary bin hire_date by weekday, I want to sort in asc 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)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 28269, 11, 314, 765, 284, 3297, 287, 10570, 416, 262, 575, 12, 22704, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35683, 7, 50, 1847, 13153, 8, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8, 38678, 11050, 35683, 7, 50, 1847, 13153, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 28269, 11, 314, 765, 284, 3297, 287, 10570, 416, 262, 575, 12, 22704, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35683, 7, 50, 1847, 13153, 8, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8, 38678, 11050, 35683, 7, 50, 1847, 13153, 8 ]
was there any microbiology tests for the tissue of patient 20165 when they came to the hospital last time?
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 20165 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND microbiologyevents.spec_type_desc = 'tissue'
[ 9776, 612, 597, 24559, 1435, 5254, 329, 262, 10712, 286, 5827, 1584, 20, 618, 484, 1625, 284, 262, 4436, 938, 640, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1584, 20, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 25349, 13, 324, 20124, 524, 22196, 34, 27564, 2043, 352, 8, 5357, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 796, 705, 83, 21949, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9776, 612, 597, 24559, 1435, 5254, 329, 262, 10712, 286, 5827, 1584, 20, 618, 484, 1625, 284, 262, 4436, 938, 640, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1584, 20, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 25349, 13, 324, 20124, 524, 22196, 34, 27564, 2043, 352, 8, 5357, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 796, 705, 83, 21949, 6 ]
Which Caps is the lowest one that has a Club/province of ospreys, and a Date of Birth (Age) of 19 september 1985?
SELECT MIN("Caps") FROM table_5321 WHERE "Club/province" = 'ospreys' AND "Date of Birth (Age)" = '19 september 1985'
[ 13828, 23534, 318, 262, 9016, 530, 326, 468, 257, 6289, 14, 15234, 924, 286, 267, 2777, 46703, 11, 290, 257, 7536, 286, 17647, 357, 23396, 8, 286, 678, 384, 457, 1491, 12863, 30, 46506, 20625, 7203, 34, 1686, 4943, 16034, 3084, 62, 4310, 2481, 33411, 366, 42350, 14, 15234, 924, 1, 796, 705, 2117, 46703, 6, 5357, 366, 10430, 286, 17647, 357, 23396, 16725, 796, 705, 1129, 384, 457, 1491, 12863, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 23534, 318, 262, 9016, 530, 326, 468, 257, 6289, 14, 15234, 924, 286, 267, 2777, 46703, 11, 290, 257, 7536, 286, 17647, 357, 23396, 8, 286, 678, 384, 457, 1491, 12863, 30, 46506, 20625, 7203, 34, 1686, 4943, 16034, 3084, 62, 4310, 2481, 33411, 366, 42350, 14, 15234, 924, 1, 796, 705, 2117, 46703, 6, 5357, 366, 10430, 286, 17647, 357, 23396, 16725, 796, 705, 1129, 384, 457, 1491, 12863, 6 ]
what is the title of the episode with production code '2arg09'?
SELECT "Title" FROM table_29439 WHERE "Production code" = '2ARG09'
[ 10919, 318, 262, 3670, 286, 262, 4471, 351, 3227, 2438, 705, 17, 853, 2931, 30960, 46506, 366, 19160, 1, 16034, 3084, 62, 27696, 2670, 33411, 366, 35027, 2438, 1, 796, 705, 17, 1503, 38, 2931, 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 ]
[ 10919, 318, 262, 3670, 286, 262, 4471, 351, 3227, 2438, 705, 17, 853, 2931, 30960, 46506, 366, 19160, 1, 16034, 3084, 62, 27696, 2670, 33411, 366, 35027, 2438, 1, 796, 705, 17, 1503, 38, 2931, 6 ]
Which Pick has a Nationality of canada, and a Round of 5?
SELECT pick FROM table_name_98 WHERE nationality = "canada" AND round = 5
[ 13828, 12346, 468, 257, 2351, 414, 286, 460, 4763, 11, 290, 257, 10485, 286, 642, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 4089, 33411, 29835, 796, 366, 5171, 4763, 1, 5357, 2835, 796, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 12346, 468, 257, 2351, 414, 286, 460, 4763, 11, 290, 257, 10485, 286, 642, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 4089, 33411, 29835, 796, 366, 5171, 4763, 1, 5357, 2835, 796, 642 ]
What is the lowest market value (billion $) with a headquarter of usa , and the rank larger than 3, assets (billion$) larger than 208.34, and the company jpmorgan chase?
SELECT MIN(market_value__billion_) AS $_ FROM table_name_2 WHERE headquarters = "usa" AND rank > 3 AND assets__billion_$_ > 208.34 AND company = "jpmorgan chase"
[ 2061, 318, 262, 9016, 1910, 1988, 357, 24540, 720, 8, 351, 257, 1182, 24385, 286, 514, 64, 837, 290, 262, 4279, 4025, 621, 513, 11, 6798, 357, 24540, 3, 8, 4025, 621, 27121, 13, 2682, 11, 290, 262, 1664, 474, 4426, 9971, 15505, 30, 46506, 20625, 7, 10728, 62, 8367, 834, 24540, 62, 8, 7054, 40111, 16034, 3084, 62, 3672, 62, 17, 33411, 10043, 796, 366, 22064, 1, 5357, 4279, 1875, 513, 5357, 6798, 834, 24540, 62, 3, 62, 1875, 27121, 13, 2682, 5357, 1664, 796, 366, 73, 4426, 9971, 15505, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1910, 1988, 357, 24540, 720, 8, 351, 257, 1182, 24385, 286, 514, 64, 837, 290, 262, 4279, 4025, 621, 513, 11, 6798, 357, 24540, 3, 8, 4025, 621, 27121, 13, 2682, 11, 290, 262, 1664, 474, 4426, 9971, 15505, 30, 46506, 20625, 7, 10728, 62, 8367, 834, 24540, 62, 8, 7054, 40111, 16034, 3084, 62, 3672, 62, 17, 33411, 10043, 796, 366, 22064, 1, 5357, 4279, 1875, 513, 5357, 6798, 834, 24540, 62, 3, 62, 1875, 27121, 13, 2682, 5357, 1664, 796, 366, 73, 4426, 9971, 15505, 1 ]
How many draws does the team with 385 points for have?
SELECT "Drawn" FROM table_36633 WHERE "Points for" = '385'
[ 2437, 867, 14293, 857, 262, 1074, 351, 44826, 2173, 329, 423, 30, 46506, 366, 35, 5791, 1, 16034, 3084, 62, 32459, 2091, 33411, 366, 40710, 329, 1, 796, 705, 27203, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 14293, 857, 262, 1074, 351, 44826, 2173, 329, 423, 30, 46506, 366, 35, 5791, 1, 16034, 3084, 62, 32459, 2091, 33411, 366, 40710, 329, 1, 796, 705, 27203, 6 ]
what was the name of the drug prescribed to patient 029-19659 within the same day after having been in 04/2104 diagnosed with acute respiratory failure - etiology unknown?
SELECT t2.drugname FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '029-19659') AND diagnosis.diagnosisname = 'acute respiratory failure - etiology unknown' AND STRFTIME('%y-%m', diagnosis.diagnosistime) = '2104-04') AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '029-19659') AND STRFTIME('%y-%m', medication.drugstarttime) = '2104-04') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.drugstarttime AND DATETIME(t1.diagnosistime, 'start of day') = DATETIME(t2.drugstarttime, 'start of day')
[ 10919, 373, 262, 1438, 286, 262, 2563, 14798, 284, 5827, 657, 1959, 12, 1129, 36445, 1626, 262, 976, 1110, 706, 1719, 587, 287, 8702, 14, 17, 13464, 14641, 351, 14352, 22949, 5287, 532, 2123, 12371, 6439, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 1438, 286, 262, 2563, 14798, 284, 5827, 657, 1959, 12, 1129, 36445, 1626, 262, 976, 1110, 706, 1719, 587, 287, 8702, 14, 17, 13464, 14641, 351, 14352, 22949, 5287, 532, 2123, 12371, 6439, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827 ]
What is the newest Season in which had 0 Podiums, and having 1 total of Races, as well as total wins larger than 0?
SELECT MAX(season) FROM table_name_65 WHERE podiums = 0 AND races = 1 AND wins > 0
[ 2061, 318, 262, 15530, 7369, 287, 543, 550, 657, 350, 12664, 82, 11, 290, 1719, 352, 2472, 286, 45134, 11, 355, 880, 355, 2472, 7864, 4025, 621, 657, 30, 46506, 25882, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 27941, 82, 796, 657, 5357, 9558, 796, 352, 5357, 7864, 1875, 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, 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, 15530, 7369, 287, 543, 550, 657, 350, 12664, 82, 11, 290, 1719, 352, 2472, 286, 45134, 11, 355, 880, 355, 2472, 7864, 4025, 621, 657, 30, 46506, 25882, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 27941, 82, 796, 657, 5357, 9558, 796, 352, 5357, 7864, 1875, 657 ]
Which location has a time of 9:30pm?
SELECT location FROM table_21330550_2 WHERE time = "9:30PM"
[ 13828, 4067, 468, 257, 640, 286, 860, 25, 1270, 4426, 30, 46506, 4067, 16034, 3084, 62, 26427, 22515, 1120, 62, 17, 33411, 640, 796, 366, 24, 25, 1270, 5868, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 4067, 468, 257, 640, 286, 860, 25, 1270, 4426, 30, 46506, 4067, 16034, 3084, 62, 26427, 22515, 1120, 62, 17, 33411, 640, 796, 366, 24, 25, 1270, 5868, 1 ]
When did Charles III die?
SELECT date_of_death FROM table_name_4 WHERE name = "charles iii"
[ 2215, 750, 7516, 6711, 4656, 30, 46506, 3128, 62, 1659, 62, 22595, 16034, 3084, 62, 3672, 62, 19, 33411, 1438, 796, 366, 10641, 829, 46955, 1 ]
[ 1, 1, 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, 750, 7516, 6711, 4656, 30, 46506, 3128, 62, 1659, 62, 22595, 16034, 3084, 62, 3672, 62, 19, 33411, 1438, 796, 366, 10641, 829, 46955, 1 ]
Televoting smaller than 2 had what highest draw?
SELECT MAX(draw) FROM table_name_25 WHERE televoting < 2
[ 6767, 2768, 10720, 4833, 621, 362, 550, 644, 4511, 3197, 30, 46506, 25882, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 1495, 33411, 22884, 10720, 1279, 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 ]
[ 6767, 2768, 10720, 4833, 621, 362, 550, 644, 4511, 3197, 30, 46506, 25882, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 1495, 33411, 22884, 10720, 1279, 362 ]
who writes papers with ras bodik ?
SELECT DISTINCT AUTHOR_1.authorid FROM author AS AUTHOR_0, author AS AUTHOR_1, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.authorname = 'ras bodik' AND WRITES_0.authorid = AUTHOR_0.authorid AND WRITES_1.authorid = AUTHOR_1.authorid AND WRITES_1.paperid = WRITES_0.paperid
[ 8727, 6797, 9473, 351, 374, 292, 16429, 1134, 5633, 46506, 360, 8808, 1268, 4177, 44746, 62, 16, 13, 9800, 312, 16034, 1772, 7054, 44746, 62, 15, 11, 1772, 7054, 44746, 62, 16, 11, 6797, 7054, 11342, 2043, 1546, 62, 15, 11, 6797, 7054, 11342, 2043, 1546, 62, 16, 33411, 44746, 62, 15, 13, 18439, 1211, 480, 796, 705, 8847, 16429, 1134, 6, 5357, 11342, 2043, 1546, 62, 15, 13, 9800, 312, 796, 44746, 62, 15, 13, 9800, 312, 5357, 11342, 2043, 1546, 62, 16, 13, 9800, 312, 796, 44746, 62, 16, 13, 9800, 312, 5357, 11342, 2043, 1546, 62, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 6797, 9473, 351, 374, 292, 16429, 1134, 5633, 46506, 360, 8808, 1268, 4177, 44746, 62, 16, 13, 9800, 312, 16034, 1772, 7054, 44746, 62, 15, 11, 1772, 7054, 44746, 62, 16, 11, 6797, 7054, 11342, 2043, 1546, 62, 15, 11, 6797, 7054, 11342, 2043, 1546, 62, 16, 33411, 44746, 62, 15, 13, 18439, 1211, 480, 796, 705, 8847, 16429, 1134, 6, 5357, 11342, 2043, 1546, 62, 15, 13, 9800, 312, 796, 44746, 62, 15, 13, 9800, 312, 5357, 11342, 2043, 1546, 62, 16, 13, 9800, 312, 796, 44746, 62, 16, 13, 9800, 312, 5357, 11342, 2043, 1546, 62, 16 ]
What's the total when the gold is less than 0 and silver is less than 1?
SELECT AVG(total) FROM table_name_95 WHERE silver = 1 AND gold < 0
[ 2061, 338, 262, 2472, 618, 262, 3869, 318, 1342, 621, 657, 290, 8465, 318, 1342, 621, 352, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3865, 33411, 8465, 796, 352, 5357, 3869, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 2472, 618, 262, 3869, 318, 1342, 621, 657, 290, 8465, 318, 1342, 621, 352, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3865, 33411, 8465, 796, 352, 5357, 3869, 1279, 657 ]
Questions marked as duplicate that have been reopened at least once.
SELECT p.Id AS PostId, p.Id AS "post_link", pl.RelatedPostId, pl.RelatedPostId AS "post_link", p.ClosedDate FROM Posts AS p JOIN PostHistory AS ph1 ON p.Id = ph1.PostId JOIN PostHistory AS ph2 ON p.Id = ph2.PostId JOIN PostLinks AS pl ON p.Id = pl.PostId WHERE p.PostTypeId = 1 AND pl.LinkTypeId = 3 AND ph1.PostHistoryTypeId = 10 AND ph2.PostHistoryTypeId = 11
[ 35741, 7498, 355, 23418, 326, 423, 587, 37415, 379, 1551, 1752, 13, 46506, 279, 13, 7390, 7054, 2947, 7390, 11, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 458, 13, 9819, 6307, 7390, 11, 458, 13, 9819, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 2601, 1335, 10430, 16034, 12043, 7054, 279, 32357, 1268, 2947, 18122, 7054, 872, 16, 6177, 279, 13, 7390, 796, 872, 16, 13, 6307, 7390, 32357, 1268, 2947, 18122, 7054, 872, 17, 6177, 279, 13, 7390, 796, 872, 17, 13, 6307, 7390, 32357, 1268, 2947, 31815, 7054, 458, 6177, 279, 13, 7390, 796 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35741, 7498, 355, 23418, 326, 423, 587, 37415, 379, 1551, 1752, 13, 46506, 279, 13, 7390, 7054, 2947, 7390, 11, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 458, 13, 9819, 6307, 7390, 11, 458, 13, 9819, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 2601, 1335, 10430, 16034, 12043, 7054, 279, 32357, 1268, 2947, 18122, 7054, 872, 16, 6177, 279, 13, 7390, 796, 872, 16, 13, 6307, 7390, 32357, 1268, 2947, 18122, 7054, 872, 17, 6177, 279, 13, 7390, 796, 872, 17, 13, 6307, 7390, 32357, 1268, 2947, 31815, 7054, 458, 6177, 279, 13, 7390, 796 ]
What's the value for utah when colorado and new mexico are bush?
SELECT "Utah" FROM table_62537 WHERE "Colorado" = 'bush' AND "New Mexico" = 'bush'
[ 2061, 338, 262, 1988, 329, 3384, 993, 618, 3124, 4533, 290, 649, 502, 87, 3713, 389, 24484, 30, 46506, 366, 44350, 1, 16034, 3084, 62, 26704, 2718, 33411, 366, 41330, 1, 796, 705, 50231, 6, 5357, 366, 3791, 5828, 1, 796, 705, 50231, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 1988, 329, 3384, 993, 618, 3124, 4533, 290, 649, 502, 87, 3713, 389, 24484, 30, 46506, 366, 44350, 1, 16034, 3084, 62, 26704, 2718, 33411, 366, 41330, 1, 796, 705, 50231, 6, 5357, 366, 3791, 5828, 1, 796, 705, 50231, 6 ]
let me know the number of dead patients who had clin300l drug code.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "1" AND prescriptions.formulary_drug_cd = "CLIN300L"
[ 1616, 502, 760, 262, 1271, 286, 2636, 3871, 508, 550, 5327, 6200, 75, 2563, 2438, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 16, 1, 5357, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 5097, 1268, 6200, 43, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1616, 502, 760, 262, 1271, 286, 2636, 3871, 508, 550, 5327, 6200, 75, 2563, 2438, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 16, 1, 5357, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 5097, 1268, 6200, 43, 1 ]
what is the number of patients who have had a d50% (50g/100cc) intake?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT icustays.hadm_id FROM icustays WHERE icustays.icustay_id IN (SELECT inputevents_cv.icustay_id FROM inputevents_cv WHERE inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'd50% (50g/100cc)' AND d_items.linksto = 'inputevents_cv')))
[ 10919, 318, 262, 1271, 286, 3871, 508, 423, 550, 257, 288, 1120, 4, 357, 1120, 70, 14, 3064, 535, 8, 10337, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 18108, 76, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 3871, 508, 423, 550, 257, 288, 1120, 4, 357, 1120, 70, 14, 3064, 535, 8, 10337, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 18108, 76, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658 ]
What is the sum of the points for the player who was a rank of 61t?
SELECT SUM(points) FROM table_name_92 WHERE rank = "61t"
[ 2061, 318, 262, 2160, 286, 262, 2173, 329, 262, 2137, 508, 373, 257, 4279, 286, 8454, 83, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 5892, 33411, 4279, 796, 366, 5333, 83, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 2173, 329, 262, 2137, 508, 373, 257, 4279, 286, 8454, 83, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 5892, 33411, 4279, 796, 366, 5333, 83, 1 ]
What was the score for Groves High School when the high assist was Giovanni Riley (9)?
SELECT "Score" FROM table_47967 WHERE "Location/Attendance" = 'groves high school' AND "High assists" = 'giovanni riley (9)'
[ 2061, 373, 262, 4776, 329, 10299, 1158, 3334, 3961, 618, 262, 1029, 3342, 373, 50191, 22637, 357, 24, 19427, 46506, 366, 26595, 1, 16034, 3084, 62, 31714, 3134, 33411, 366, 14749, 14, 8086, 437, 590, 1, 796, 705, 27333, 1158, 1029, 1524, 6, 5357, 366, 11922, 13648, 1, 796, 705, 12397, 709, 31296, 374, 9618, 357, 24, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 329, 10299, 1158, 3334, 3961, 618, 262, 1029, 3342, 373, 50191, 22637, 357, 24, 19427, 46506, 366, 26595, 1, 16034, 3084, 62, 31714, 3134, 33411, 366, 14749, 14, 8086, 437, 590, 1, 796, 705, 27333, 1158, 1029, 1524, 6, 5357, 366, 11922, 13648, 1, 796, 705, 12397, 709, 31296, 374, 9618, 357, 24, 33047 ]
What is the attendance at the game where San Jose was the visitor on May 4?
SELECT "Attendance" FROM table_55876 WHERE "Visitor" = 'san jose' AND "Date" = 'may 4'
[ 2061, 318, 262, 14858, 379, 262, 983, 810, 2986, 5264, 373, 262, 21493, 319, 1737, 604, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 40486, 4304, 33411, 366, 15854, 2072, 1, 796, 705, 12807, 474, 577, 6, 5357, 366, 10430, 1, 796, 705, 11261, 604, 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 ]
[ 2061, 318, 262, 14858, 379, 262, 983, 810, 2986, 5264, 373, 262, 21493, 319, 1737, 604, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 40486, 4304, 33411, 366, 15854, 2072, 1, 796, 705, 12807, 474, 577, 6, 5357, 366, 10430, 1, 796, 705, 11261, 604, 6 ]
what is the name of the drug that patient 79348 was prescribed after the chf nos diagnosis in 08/this year, within 2 days?
SELECT t2.drug FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 79348 AND diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'chf nos') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', diagnoses_icd.charttime) = '08') AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 79348 AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', prescriptions.startdate) = '08') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.startdate AND DATETIME(t2.startdate) BETWEEN DATETIME(t1.charttime) AND DATETIME(t1.charttime, '+2 day')
[ 10919, 318, 262, 1438, 286, 262, 2563, 326, 5827, 9225, 28978, 373, 14798, 706, 262, 442, 69, 43630, 13669, 287, 8487, 14, 5661, 614, 11, 1626, 362, 1528, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 32357, 1268, 25349, 6177, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 25349, 13, 32796, 62, 312, 796, 9225, 28978, 5357, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 2563, 326, 5827, 9225, 28978, 373, 14798, 706, 262, 442, 69, 43630, 13669, 287, 8487, 14, 5661, 614, 11, 1626, 362, 1528, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 32357, 1268, 25349, 6177, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 25349, 13, 32796, 62, 312, 796, 9225, 28978, 5357, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62 ]
What time does Dustin Byfuglien have in 1st period?
SELECT "Time" FROM table_65208 WHERE "Period" = '1st' AND "Player" = 'dustin byfuglien'
[ 2061, 640, 857, 37616, 2750, 69, 1018, 75, 2013, 423, 287, 352, 301, 2278, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 2996, 21315, 33411, 366, 5990, 2101, 1, 796, 705, 16, 301, 6, 5357, 366, 14140, 1, 796, 705, 48859, 259, 416, 69, 1018, 75, 2013, 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 ]
[ 2061, 640, 857, 37616, 2750, 69, 1018, 75, 2013, 423, 287, 352, 301, 2278, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 2996, 21315, 33411, 366, 5990, 2101, 1, 796, 705, 16, 301, 6, 5357, 366, 14140, 1, 796, 705, 48859, 259, 416, 69, 1018, 75, 2013, 6 ]
who won by the most points at home ?
SELECT "club" FROM table_204_542 ORDER BY "home" DESC LIMIT 1
[ 8727, 1839, 416, 262, 749, 2173, 379, 1363, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 18638, 62, 20, 3682, 38678, 11050, 366, 11195, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 1839, 416, 262, 749, 2173, 379, 1363, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 18638, 62, 20, 3682, 38678, 11050, 366, 11195, 1, 22196, 34, 27564, 2043, 352 ]
Calculate the number of patients admitted on phys referral/normal deli who had aortic insufficiency/re-do sternotomy aortic valve replacement as their primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND demographic.diagnosis = "AORTIC INSUFFICIENCY\RE-DO STERNOTOMY; AORTIC VALVE REPLACEMENT "
[ 9771, 3129, 378, 262, 1271, 286, 3871, 6848, 319, 2281, 31413, 14, 11265, 1619, 72, 508, 550, 257, 419, 291, 1035, 1648, 19777, 14, 260, 12, 4598, 26370, 38385, 257, 419, 291, 22580, 9014, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 11909, 16309, 4526, 24302, 35296, 14, 35510, 42126, 28163, 40, 1, 5357, 16728, 13, 47356, 5958, 796, 366, 32, 9863, 2149, 3268, 12564, 5777, 2149, 40, 45155, 59, 2200, 12, 18227, 3563, 1137, 11929, 2662, 56 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3871, 6848, 319, 2281, 31413, 14, 11265, 1619, 72, 508, 550, 257, 419, 291, 1035, 1648, 19777, 14, 260, 12, 4598, 26370, 38385, 257, 419, 291, 22580, 9014, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 11909, 16309, 4526, 24302, 35296, 14, 35510, 42126, 28163, 40, 1, 5357, 16728, 13, 47356, 5958, 796, 366, 32, 9863, 2149, 3268, 12564, 5777, 2149, 40, 45155, 59, 2200, 12, 18227, 3563, 1137, 11929, 2662, 56 ]
since 57 months ago, had patient 84042 been prescribed hydromorphone p.f., fentanyl patch, or vial?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 84042) AND prescriptions.drug IN ('hydromorphone p.f.', 'fentanyl patch', 'vial') AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-57 month')
[ 20777, 7632, 1933, 2084, 11, 550, 5827, 48777, 3682, 587, 14798, 7409, 398, 273, 4862, 279, 13, 69, 1539, 47804, 8529, 11, 393, 410, 498, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 48777, 3682, 8, 5357, 34092, 13, 30349, 3268, 19203, 15511, 398, 273, 4862, 279, 13, 69, 2637, 11, 705, 69, 41455, 8529, 3256, 705, 85, 498, 11537, 5357, 360, 1404, 2767, 12789, 7, 18302, 24370, 13, 9688, 4475, 8, 18189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20777, 7632, 1933, 2084, 11, 550, 5827, 48777, 3682, 587, 14798, 7409, 398, 273, 4862, 279, 13, 69, 1539, 47804, 8529, 11, 393, 410, 498, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 48777, 3682, 8, 5357, 34092, 13, 30349, 3268, 19203, 15511, 398, 273, 4862, 279, 13, 69, 2637, 11, 705, 69, 41455, 8529, 3256, 705, 85, 498, 11537, 5357, 360, 1404, 2767, 12789, 7, 18302, 24370, 13, 9688, 4475, 8, 18189 ]
What network has lap-by-laps by Bill Flemming, and Pit reporter Chris Economaki?
SELECT "Network" FROM table_53925 WHERE "Lap-by-lap" = 'bill flemming' AND "Pit reporters" = 'chris economaki'
[ 2061, 3127, 468, 14779, 12, 1525, 12, 75, 1686, 416, 3941, 376, 10671, 2229, 11, 290, 16889, 9095, 5180, 6683, 8182, 30, 46506, 366, 26245, 1, 16034, 3084, 62, 20, 2670, 1495, 33411, 366, 43, 499, 12, 1525, 12, 37796, 1, 796, 705, 35546, 5104, 76, 2229, 6, 5357, 366, 47, 270, 7638, 1, 796, 705, 354, 2442, 1707, 8182, 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 ]
[ 2061, 3127, 468, 14779, 12, 1525, 12, 75, 1686, 416, 3941, 376, 10671, 2229, 11, 290, 16889, 9095, 5180, 6683, 8182, 30, 46506, 366, 26245, 1, 16034, 3084, 62, 20, 2670, 1495, 33411, 366, 43, 499, 12, 1525, 12, 37796, 1, 796, 705, 35546, 5104, 76, 2229, 6, 5357, 366, 47, 270, 7638, 1, 796, 705, 354, 2442, 1707, 8182, 6 ]
What was the score when the opponent was Detroit Pistons?
SELECT score FROM table_name_46 WHERE opponent = "detroit pistons"
[ 2061, 373, 262, 4776, 618, 262, 6125, 373, 8488, 36429, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3510, 33411, 6125, 796, 366, 15255, 7775, 11714, 684, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 618, 262, 6125, 373, 8488, 36429, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3510, 33411, 6125, 796, 366, 15255, 7775, 11714, 684, 1 ]
How many Novembers have a Game larger than 14, and an Opponent of minnesota wild?
SELECT COUNT("November") FROM table_36296 WHERE "Game" > '14' AND "Opponent" = 'minnesota wild'
[ 2437, 867, 399, 659, 76, 1213, 423, 257, 3776, 4025, 621, 1478, 11, 290, 281, 9385, 3471, 286, 949, 8360, 4295, 30, 46506, 327, 28270, 7203, 21159, 4943, 16034, 3084, 62, 2623, 27137, 33411, 366, 8777, 1, 1875, 705, 1415, 6, 5357, 366, 27524, 3471, 1, 796, 705, 1084, 8360, 4295, 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 ]
[ 2437, 867, 399, 659, 76, 1213, 423, 257, 3776, 4025, 621, 1478, 11, 290, 281, 9385, 3471, 286, 949, 8360, 4295, 30, 46506, 327, 28270, 7203, 21159, 4943, 16034, 3084, 62, 2623, 27137, 33411, 366, 8777, 1, 1875, 705, 1415, 6, 5357, 366, 27524, 3471, 1, 796, 705, 1084, 8360, 4295, 6 ]
For those employees who was hired before 2002-06-21, give me the comparison about the average of department_id over the job_id , and group by attribute job_id, show x-axis in descending order.
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 5011, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 905, 2124, 12, 22704, 287, 31491, 1502, 13, 46506, 449, 9864, 62, 2389, 11, 35224, 7, 7206, 30709, 10979, 62, 2389, 8, 16034, 4409, 33411, 36210, 2200, 62, 35, 6158, 1279, 705, 16942, 12, 3312, 12, 2481, 6, 44441, 11050, 449, 9864, 62, 2389, 38678, 11050, 449, 9864, 62, 2389, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 5011, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 905, 2124, 12, 22704, 287, 31491, 1502, 13, 46506, 449, 9864, 62, 2389, 11, 35224, 7, 7206, 30709, 10979, 62, 2389, 8, 16034, 4409, 33411, 36210, 2200, 62, 35, 6158, 1279, 705, 16942, 12, 3312, 12, 2481, 6, 44441, 11050, 449, 9864, 62, 2389, 38678, 11050, 449, 9864, 62, 2389, 22196, 34 ]
What was the gtc winning team when lmp winning team was #8 drayson racing?
SELECT gtc_winning_team FROM table_24037660_2 WHERE lmp_winning_team = "#8 Drayson Racing"
[ 2061, 373, 262, 308, 23047, 5442, 1074, 618, 300, 3149, 5442, 1074, 373, 1303, 23, 1553, 34907, 11717, 30, 46506, 308, 23047, 62, 14463, 62, 15097, 16034, 3084, 62, 16102, 32128, 1899, 62, 17, 33411, 300, 3149, 62, 14463, 62, 15097, 796, 25113, 23, 1583, 34907, 14954, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 308, 23047, 5442, 1074, 618, 300, 3149, 5442, 1074, 373, 1303, 23, 1553, 34907, 11717, 30, 46506, 308, 23047, 62, 14463, 62, 15097, 16034, 3084, 62, 16102, 32128, 1899, 62, 17, 33411, 300, 3149, 62, 14463, 62, 15097, 796, 25113, 23, 1583, 34907, 14954, 1 ]
i'd like to find a nonstop flight from BOSTON to ATLANTA that leaves sometime in the afternoon and arrives in ATLANTA before evening
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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.arrival_time < 1800 AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.departure_time BETWEEN 1200 AND 1800) AND flight.stops = 0
[ 72, 1549, 588, 284, 1064, 257, 1729, 11338, 5474, 422, 347, 10892, 1340, 284, 5161, 25697, 5603, 326, 5667, 17291, 287, 262, 6672, 290, 14443, 287, 5161, 25697, 5603, 878, 6180, 46506, 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, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 14808, 7, 34, 9050, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1064, 257, 1729, 11338, 5474, 422, 347, 10892, 1340, 284, 5161, 25697, 5603, 326, 5667, 17291, 287, 262, 6672, 290, 14443, 287, 5161, 25697, 5603, 878, 6180, 46506, 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, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 14808, 7, 34, 9050, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205 ]
For those dates with a max temperature greater than or equal to 80, I want to know the number of days on the day of the week interval using a bar chart, could you show from high to low by the Y?
SELECT date, COUNT(date) FROM weather WHERE max_temperature_f >= 80 ORDER BY COUNT(date) DESC
[ 1890, 883, 9667, 351, 257, 3509, 5951, 3744, 621, 393, 4961, 284, 4019, 11, 314, 765, 284, 760, 262, 1271, 286, 1528, 319, 262, 1110, 286, 262, 1285, 16654, 1262, 257, 2318, 8262, 11, 714, 345, 905, 422, 1029, 284, 1877, 416, 262, 575, 30, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 3509, 62, 11498, 21069, 62, 69, 18189, 4019, 38678, 11050, 327, 28270, 7, 4475, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 9667, 351, 257, 3509, 5951, 3744, 621, 393, 4961, 284, 4019, 11, 314, 765, 284, 760, 262, 1271, 286, 1528, 319, 262, 1110, 286, 262, 1285, 16654, 1262, 257, 2318, 8262, 11, 714, 345, 905, 422, 1029, 284, 1877, 416, 262, 575, 30, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 3509, 62, 11498, 21069, 62, 69, 18189, 4019, 38678, 11050, 327, 28270, 7, 4475, 8, 22196, 34 ]
What date has an against of pohang steelers?
SELECT "Date" FROM table_63109 WHERE "Against" = 'pohang steelers'
[ 2061, 3128, 468, 281, 1028, 286, 745, 33255, 7771, 364, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 5066, 14454, 33411, 366, 39276, 1, 796, 705, 79, 1219, 648, 7771, 364, 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, 3128, 468, 281, 1028, 286, 745, 33255, 7771, 364, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 5066, 14454, 33411, 366, 39276, 1, 796, 705, 79, 1219, 648, 7771, 364, 6 ]
What's the transit connection in Columbia City, Seattle?
SELECT "Transit Connections" FROM table_25302 WHERE "City/Neighborhood" = 'Columbia City, Seattle'
[ 2061, 338, 262, 11168, 4637, 287, 9309, 2254, 11, 7312, 30, 46506, 366, 8291, 270, 8113, 507, 1, 16034, 3084, 62, 1495, 22709, 33411, 366, 14941, 14, 46445, 2865, 2894, 1, 796, 705, 36063, 544, 2254, 11, 7312, 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, 338, 262, 11168, 4637, 287, 9309, 2254, 11, 7312, 30, 46506, 366, 8291, 270, 8113, 507, 1, 16034, 3084, 62, 1495, 22709, 33411, 366, 14941, 14, 46445, 2865, 2894, 1, 796, 705, 36063, 544, 2254, 11, 7312, 6 ]
What date was the set 1 25 23, and a Set 3 of 25 14?
SELECT "Date" FROM table_45190 WHERE "Set 1" = '25–23' AND "Set 3" = '25–14'
[ 2061, 3128, 373, 262, 900, 352, 1679, 2242, 11, 290, 257, 5345, 513, 286, 1679, 1478, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2231, 19782, 33411, 366, 7248, 352, 1, 796, 705, 1495, 1906, 1954, 6, 5357, 366, 7248, 513, 1, 796, 705, 1495, 1906, 1415, 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 ]
[ 2061, 3128, 373, 262, 900, 352, 1679, 2242, 11, 290, 257, 5345, 513, 286, 1679, 1478, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2231, 19782, 33411, 366, 7248, 352, 1, 796, 705, 1495, 1906, 1954, 6, 5357, 366, 7248, 513, 1, 796, 705, 1495, 1906, 1415, 6 ]
tell me the number of patients who were diagnosed with unspecified cerebral artery occlusion with cerebral infarction.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Crbl art ocl NOS w infrc"
[ 33331, 502, 262, 1271, 286, 3871, 508, 547, 14641, 351, 29547, 31169, 37646, 1609, 75, 4241, 351, 31169, 1167, 283, 596, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 13916, 2436, 1242, 267, 565, 399, 2640, 266, 1167, 6015, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33331, 502, 262, 1271, 286, 3871, 508, 547, 14641, 351, 29547, 31169, 37646, 1609, 75, 4241, 351, 31169, 1167, 283, 596, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 13916, 2436, 1242, 267, 565, 399, 2640, 266, 1167, 6015, 1 ]
What is the highest drawn for points over 545?
SELECT MAX(drawn) FROM table_name_81 WHERE points_for > 545
[ 2061, 318, 262, 4511, 7428, 329, 2173, 625, 642, 2231, 30, 46506, 25882, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 2173, 62, 1640, 1875, 642, 2231 ]
[ 1, 1, 1, 1, 1, 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, 7428, 329, 2173, 625, 642, 2231, 30, 46506, 25882, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 2173, 62, 1640, 1875, 642, 2231 ]
Name the result for friendly competition on 9 october 2010
SELECT "Result" FROM table_53754 WHERE "Competition" = 'friendly' AND "Date" = '9 october 2010'
[ 5376, 262, 1255, 329, 8030, 5449, 319, 860, 19318, 2023, 3050, 46506, 366, 23004, 1, 16034, 3084, 62, 4310, 41874, 33411, 366, 7293, 15620, 1, 796, 705, 13120, 6, 5357, 366, 10430, 1, 796, 705, 24, 19318, 2023, 3050, 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 ]
[ 5376, 262, 1255, 329, 8030, 5449, 319, 860, 19318, 2023, 3050, 46506, 366, 23004, 1, 16034, 3084, 62, 4310, 41874, 33411, 366, 7293, 15620, 1, 796, 705, 13120, 6, 5357, 366, 10430, 1, 796, 705, 24, 19318, 2023, 3050, 6 ]
Would HMP 643 be considered harder than most ?
SELECT COUNT(*) > 0, program_course.workload FROM course, program_course WHERE course.department = 'HMP' AND course.number = 643 AND program_course.course_id = course.course_id AND program_course.workload > 3
[ 17353, 367, 7378, 718, 3559, 307, 3177, 7069, 621, 749, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, 796, 705, 39, 7378, 6, 5357, 1781, 13, 17618, 796, 718, 3559, 5357, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 5357, 1430, 62, 17319, 13, 1818, 2220, 1875, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 17353, 367, 7378, 718, 3559, 307, 3177, 7069, 621, 749, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, 796, 705, 39, 7378, 6, 5357, 1781, 13, 17618, 796, 718, 3559, 5357, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 5357, 1430, 62, 17319, 13, 1818, 2220, 1875, 513 ]
What is Event, when Viewers is 2.4 Million, and when Rating is 1.4?
SELECT event FROM table_name_49 WHERE viewers = "2.4 million" AND rating = "1.4"
[ 2061, 318, 8558, 11, 618, 3582, 364, 318, 362, 13, 19, 23425, 11, 290, 618, 12028, 318, 352, 13, 19, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 2920, 33411, 10209, 796, 366, 17, 13, 19, 1510, 1, 5357, 7955, 796, 366, 16, 13, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8558, 11, 618, 3582, 364, 318, 362, 13, 19, 23425, 11, 290, 618, 12028, 318, 352, 13, 19, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 2920, 33411, 10209, 796, 366, 17, 13, 19, 1510, 1, 5357, 7955, 796, 366, 16, 13, 19, 1 ]
Show the headquarters that have at least two companies.
SELECT Headquarters FROM company GROUP BY Headquarters HAVING COUNT(*) >= 2
[ 15307, 262, 10043, 326, 423, 379, 1551, 734, 2706, 13, 46506, 32193, 16034, 1664, 44441, 11050, 32193, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 10043, 326, 423, 379, 1551, 734, 2706, 13, 46506, 32193, 16034, 1664, 44441, 11050, 32193, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 362 ]
What category is Matthew Barton?
SELECT category FROM table_name_35 WHERE opponent = "matthew barton"
[ 2061, 6536, 318, 9308, 32342, 30, 46506, 6536, 16034, 3084, 62, 3672, 62, 2327, 33411, 6125, 796, 366, 76, 1078, 6391, 30539, 261, 1 ]
[ 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, 6536, 318, 9308, 32342, 30, 46506, 6536, 16034, 3084, 62, 3672, 62, 2327, 33411, 6125, 796, 366, 76, 1078, 6391, 30539, 261, 1 ]
what team has a drive name emmanuel de graffenried and a position larger than 1 as well as the date of 9/1953?
SELECT team FROM table_name_46 WHERE position > 1 AND date = "9/1953" AND driver = "emmanuel de graffenried"
[ 10919, 1074, 468, 257, 3708, 1438, 795, 18713, 390, 7933, 46985, 2228, 290, 257, 2292, 4025, 621, 352, 355, 880, 355, 262, 3128, 286, 860, 14, 1129, 4310, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 3510, 33411, 2292, 1875, 352, 5357, 3128, 796, 366, 24, 14, 1129, 4310, 1, 5357, 4639, 796, 366, 368, 18713, 390, 7933, 46985, 2228, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 1074, 468, 257, 3708, 1438, 795, 18713, 390, 7933, 46985, 2228, 290, 257, 2292, 4025, 621, 352, 355, 880, 355, 262, 3128, 286, 860, 14, 1129, 4310, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 3510, 33411, 2292, 1875, 352, 5357, 3128, 796, 366, 24, 14, 1129, 4310, 1, 5357, 4639, 796, 366, 368, 18713, 390, 7933, 46985, 2228, 1 ]
Which long range AM station has the lowest frequency and includes a webcast of listen live, was licensed in the city of Monterrey, and uses the Callsign of xet?
SELECT MIN("Frequency") FROM table_36237 WHERE "Webcast" = 'listen live' AND "City of License" = 'monterrey' AND "Callsign" = 'xet'
[ 13828, 890, 2837, 3001, 4429, 468, 262, 9016, 8373, 290, 3407, 257, 3992, 2701, 286, 6004, 2107, 11, 373, 11971, 287, 262, 1748, 286, 2892, 353, 4364, 11, 290, 3544, 262, 4889, 12683, 286, 2124, 316, 30, 46506, 20625, 7203, 37, 28707, 4943, 16034, 3084, 62, 2623, 24693, 33411, 366, 13908, 2701, 1, 796, 705, 4868, 268, 2107, 6, 5357, 366, 14941, 286, 13789, 1, 796, 705, 2144, 353, 4364, 6, 5357, 366, 34, 5691, 570, 1, 796, 705, 87, 316, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 890, 2837, 3001, 4429, 468, 262, 9016, 8373, 290, 3407, 257, 3992, 2701, 286, 6004, 2107, 11, 373, 11971, 287, 262, 1748, 286, 2892, 353, 4364, 11, 290, 3544, 262, 4889, 12683, 286, 2124, 316, 30, 46506, 20625, 7203, 37, 28707, 4943, 16034, 3084, 62, 2623, 24693, 33411, 366, 13908, 2701, 1, 796, 705, 4868, 268, 2107, 6, 5357, 366, 14941, 286, 13789, 1, 796, 705, 2144, 353, 4364, 6, 5357, 366, 34, 5691, 570, 1, 796, 705, 87, 316, 6 ]
Draw a bar chart about the distribution of dept_name and the average of salary , and group by attribute dept_name.
SELECT dept_name, AVG(salary) FROM instructor GROUP BY dept_name ORDER BY salary
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 390, 457, 62, 3672, 290, 262, 2811, 286, 9588, 837, 290, 1448, 416, 11688, 390, 457, 62, 3672, 13, 46506, 390, 457, 62, 3672, 11, 35224, 7, 21680, 560, 8, 16034, 21187, 44441, 11050, 390, 457, 62, 3672, 38678, 11050, 9588 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 546, 262, 6082, 286, 390, 457, 62, 3672, 290, 262, 2811, 286, 9588, 837, 290, 1448, 416, 11688, 390, 457, 62, 3672, 13, 46506, 390, 457, 62, 3672, 11, 35224, 7, 21680, 560, 8, 16034, 21187, 44441, 11050, 390, 457, 62, 3672, 38678, 11050, 9588 ]
What are the different driver ids and nationalities of all drivers who had a laptime of more than 100000 milliseconds?
SELECT DISTINCT T1.driverid, T1.nationality FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE T2.milliseconds > 100000
[ 2061, 389, 262, 1180, 4639, 220, 2340, 290, 2260, 871, 286, 477, 6643, 508, 550, 257, 10882, 524, 286, 517, 621, 1802, 830, 38694, 30, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 26230, 312, 11, 309, 16, 13, 14648, 414, 16034, 6643, 7054, 309, 16, 32357, 1268, 10882, 999, 7054, 309, 17, 6177, 309, 16, 13, 26230, 312, 796, 309, 17, 13, 26230, 312, 33411, 309, 17, 13, 17805, 27866, 24764, 1875, 1802, 830 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1180, 4639, 220, 2340, 290, 2260, 871, 286, 477, 6643, 508, 550, 257, 10882, 524, 286, 517, 621, 1802, 830, 38694, 30, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 26230, 312, 11, 309, 16, 13, 14648, 414, 16034, 6643, 7054, 309, 16, 32357, 1268, 10882, 999, 7054, 309, 17, 6177, 309, 16, 13, 26230, 312, 796, 309, 17, 13, 26230, 312, 33411, 309, 17, 13, 17805, 27866, 24764, 1875, 1802, 830 ]
what number of patients under the age of 51 were given the drug metoprolol tartrate?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "51" AND prescriptions.drug = "Metoprolol Tartrate"
[ 10919, 1271, 286, 3871, 739, 262, 2479, 286, 6885, 547, 1813, 262, 2563, 1138, 404, 3225, 349, 35842, 4873, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 496, 1279, 366, 4349, 1, 5357, 34092, 13, 30349, 796, 366, 9171, 404, 3225, 349, 37109, 4873, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3871, 739, 262, 2479, 286, 6885, 547, 1813, 262, 2563, 1138, 404, 3225, 349, 35842, 4873, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 496, 1279, 366, 4349, 1, 5357, 34092, 13, 30349, 796, 366, 9171, 404, 3225, 349, 37109, 4873, 1 ]
list all flights from BALTIMORE to PHILADELPHIA
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILADELPHIA' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
[ 4868, 477, 13956, 422, 347, 31429, 3955, 6965, 284, 9370, 4146, 2885, 3698, 11909, 40, 11159, 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, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 33, 31429, 3955, 6965, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4868, 477, 13956, 422, 347, 31429, 3955, 6965, 284, 9370, 4146, 2885, 3698, 11909, 40, 11159, 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, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 33, 31429, 3955, 6965, 6, 5357 ]
Name the scientific linux release when delay is 28d
SELECT "Scientific Linux Release" FROM table_72632 WHERE "Delay" = '28d'
[ 5376, 262, 5654, 32639, 2650, 618, 5711, 318, 2579, 67, 46506, 366, 23010, 811, 7020, 13868, 1, 16034, 3084, 62, 22, 2075, 2624, 33411, 366, 13856, 323, 1, 796, 705, 2078, 67, 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 ]
[ 5376, 262, 5654, 32639, 2650, 618, 5711, 318, 2579, 67, 46506, 366, 23010, 811, 7020, 13868, 1, 16034, 3084, 62, 22, 2075, 2624, 33411, 366, 13856, 323, 1, 796, 705, 2078, 67, 6 ]
What is the average number of comments on my posts, by post score?. For all posts with a given score, this query shows the average number of comments.
SELECT t.Score, AVG(t.CommentCount) AS "average_#_of_comments" FROM (SELECT COUNT(c.Id) * 1.0 AS commentCount, p.Score FROM Comments AS c JOIN Posts AS p ON c.PostId = p.Id GROUP BY p.Score, p.Id) AS t GROUP BY Score ORDER BY Score DESC
[ 2061, 318, 262, 2811, 1271, 286, 3651, 319, 616, 6851, 11, 416, 1281, 4776, 30, 13, 1114, 477, 6851, 351, 257, 1813, 4776, 11, 428, 12405, 2523, 262, 2811, 1271, 286, 3651, 13, 46506, 256, 13, 26595, 11, 35224, 7, 83, 13, 21357, 12332, 8, 7054, 366, 23913, 62, 2, 62, 1659, 62, 15944, 1, 16034, 357, 46506, 327, 28270, 7, 66, 13, 7390, 8, 1635, 352, 13, 15, 7054, 2912, 12332, 11, 279, 13, 26595, 16034, 19502, 7054, 269, 32357, 1268, 12043, 7054, 279, 6177, 269, 13, 6307, 7390, 796, 279, 13, 7390, 44441, 11050, 279, 13, 26595, 11 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3651, 319, 616, 6851, 11, 416, 1281, 4776, 30, 13, 1114, 477, 6851, 351, 257, 1813, 4776, 11, 428, 12405, 2523, 262, 2811, 1271, 286, 3651, 13, 46506, 256, 13, 26595, 11, 35224, 7, 83, 13, 21357, 12332, 8, 7054, 366, 23913, 62, 2, 62, 1659, 62, 15944, 1, 16034, 357, 46506, 327, 28270, 7, 66, 13, 7390, 8, 1635, 352, 13, 15, 7054, 2912, 12332, 11, 279, 13, 26595, 16034, 19502, 7054, 269, 32357, 1268, 12043, 7054, 279, 6177, 269, 13, 6307, 7390, 796, 279, 13, 7390, 44441, 11050, 279, 13, 26595, 11 ]
what nation was the top scoring in the games ?
SELECT "nation" FROM table_204_979 ORDER BY "total" DESC LIMIT 1
[ 10919, 3277, 373, 262, 1353, 9689, 287, 262, 1830, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 18638, 62, 24, 3720, 38678, 11050, 366, 23350, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 3277, 373, 262, 1353, 9689, 287, 262, 1830, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 18638, 62, 24, 3720, 38678, 11050, 366, 23350, 1, 22196, 34, 27564, 2043, 352 ]
what is the last intersecting road ?
SELECT "intersecting road" FROM table_204_763 ORDER BY id DESC LIMIT 1
[ 10919, 318, 262, 938, 36177, 278, 2975, 5633, 46506, 366, 3849, 8831, 278, 2975, 1, 16034, 3084, 62, 18638, 62, 49641, 38678, 11050, 4686, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 938, 36177, 278, 2975, 5633, 46506, 366, 3849, 8831, 278, 2975, 1, 16034, 3084, 62, 18638, 62, 49641, 38678, 11050, 4686, 22196, 34, 27564, 2043, 352 ]
What's the Icelandic word for rain?
SELECT icelandic FROM table_name_12 WHERE english = "rain"
[ 2061, 338, 262, 41959, 1573, 329, 6290, 30, 46506, 14158, 8822, 291, 16034, 3084, 62, 3672, 62, 1065, 33411, 46932, 796, 366, 3201, 1 ]
[ 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, 41959, 1573, 329, 6290, 30, 46506, 14158, 8822, 291, 16034, 3084, 62, 3672, 62, 1065, 33411, 46932, 796, 366, 3201, 1 ]
Who was the winner with the 24-21 result?
SELECT winner FROM table_name_60 WHERE result = "24-21"
[ 8241, 373, 262, 8464, 351, 262, 1987, 12, 2481, 1255, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 1899, 33411, 1255, 796, 366, 1731, 12, 2481, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 8464, 351, 262, 1987, 12, 2481, 1255, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 1899, 33411, 1255, 796, 366, 1731, 12, 2481, 1 ]
What is the nationality of the actress ' Ellen Page ' ?
SELECT nationality FROM actor WHERE name = 'Ellen Page'
[ 2061, 318, 262, 29835, 286, 262, 14549, 705, 23811, 7873, 705, 5633, 46506, 29835, 16034, 8674, 33411, 1438, 796, 705, 30639, 268, 7873, 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 ]
[ 2061, 318, 262, 29835, 286, 262, 14549, 705, 23811, 7873, 705, 5633, 46506, 29835, 16034, 8674, 33411, 1438, 796, 705, 30639, 268, 7873, 6 ]
how many captains are in each rank?
SELECT Rank, COUNT(*) FROM captain GROUP BY Rank
[ 4919, 867, 37551, 389, 287, 1123, 4279, 30, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 10654, 44441, 11050, 10916 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 37551, 389, 287, 1123, 4279, 30, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 10654, 44441, 11050, 10916 ]
Which County has a Number of households larger than 17,741, and a Median family income of $37,072?
SELECT "County" FROM table_13015 WHERE "Number of households" > '17,741' AND "Median family income" = '$37,072'
[ 13828, 3418, 468, 257, 7913, 286, 12503, 4025, 621, 1596, 11, 22, 3901, 11, 290, 257, 26178, 1641, 3739, 286, 720, 2718, 11, 2998, 17, 30, 46506, 366, 12332, 88, 1, 16034, 3084, 62, 1485, 25150, 33411, 366, 15057, 286, 12503, 1, 1875, 705, 1558, 11, 22, 3901, 6, 5357, 366, 9921, 666, 1641, 3739, 1, 796, 705, 3, 2718, 11, 2998, 17, 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 ]
[ 13828, 3418, 468, 257, 7913, 286, 12503, 4025, 621, 1596, 11, 22, 3901, 11, 290, 257, 26178, 1641, 3739, 286, 720, 2718, 11, 2998, 17, 30, 46506, 366, 12332, 88, 1, 16034, 3084, 62, 1485, 25150, 33411, 366, 15057, 286, 12503, 1, 1875, 705, 1558, 11, 22, 3901, 6, 5357, 366, 9921, 666, 1641, 3739, 1, 796, 705, 3, 2718, 11, 2998, 17, 6 ]
Show id from each meter 500
SELECT meter_500, ID FROM swimmer
[ 15307, 4686, 422, 1123, 16430, 5323, 46506, 16430, 62, 4059, 11, 4522, 16034, 9422, 647 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 4686, 422, 1123, 16430, 5323, 46506, 16430, 62, 4059, 11, 4522, 16034, 9422, 647 ]
What is the sum of Top-5 values with events values less than 2?
SELECT SUM("Top-5") FROM table_32126 WHERE "Events" < '2'
[ 2061, 318, 262, 2160, 286, 5849, 12, 20, 3815, 351, 2995, 3815, 1342, 621, 362, 30, 46506, 35683, 7203, 9126, 12, 20, 4943, 16034, 3084, 62, 2624, 19420, 33411, 366, 37103, 1, 1279, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 5849, 12, 20, 3815, 351, 2995, 3815, 1342, 621, 362, 30, 46506, 35683, 7203, 9126, 12, 20, 4943, 16034, 3084, 62, 2624, 19420, 33411, 366, 37103, 1, 1279, 705, 17, 6 ]
what is the name of the organism that was found in the last other test of patient 031-3355 during the current hospital encounter?
SELECT microlab.organism FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355' AND patient.hospitaldischargetime IS NULL)) AND microlab.culturesite = 'other' ORDER BY microlab.culturetakentime DESC LIMIT 1
[ 10919, 318, 262, 1438, 286, 262, 26433, 326, 373, 1043, 287, 262, 938, 584, 1332, 286, 5827, 657, 3132, 12, 2091, 2816, 1141, 262, 1459, 4436, 8791, 30, 46506, 4580, 23912, 13, 9971, 1042, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 2091, 2816, 6, 5357, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 26433, 326, 373, 1043, 287, 262, 938, 584, 1332, 286, 5827, 657, 3132, 12, 2091, 2816, 1141, 262, 1459, 4436, 8791, 30, 46506, 4580, 23912, 13, 9971, 1042, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 2091, 2816, 6, 5357, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697 ]
Which Week has a TV Time of cbs 1:00pm, and an Attendance of 72,714?
SELECT "Week" FROM table_14110 WHERE "TV Time" = 'cbs 1:00pm' AND "Attendance" = '72,714'
[ 13828, 6119, 468, 257, 3195, 3862, 286, 269, 1443, 352, 25, 405, 4426, 11, 290, 281, 46502, 590, 286, 7724, 11, 45722, 30, 46506, 366, 20916, 1, 16034, 3084, 62, 1415, 11442, 33411, 366, 6849, 3862, 1, 796, 705, 66, 1443, 352, 25, 405, 4426, 6, 5357, 366, 8086, 437, 590, 1, 796, 705, 4761, 11, 45722, 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 ]
[ 13828, 6119, 468, 257, 3195, 3862, 286, 269, 1443, 352, 25, 405, 4426, 11, 290, 281, 46502, 590, 286, 7724, 11, 45722, 30, 46506, 366, 20916, 1, 16034, 3084, 62, 1415, 11442, 33411, 366, 6849, 3862, 1, 796, 705, 66, 1443, 352, 25, 405, 4426, 6, 5357, 366, 8086, 437, 590, 1, 796, 705, 4761, 11, 45722, 6 ]
What player is 2.01 m tall?
SELECT player FROM table_12962773_2 WHERE height = "2.01"
[ 2061, 2137, 318, 362, 13, 486, 285, 7331, 30, 46506, 2137, 16034, 3084, 62, 1065, 4846, 1983, 4790, 62, 17, 33411, 6001, 796, 366, 17, 13, 486, 1 ]
[ 1, 1, 1, 1, 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, 318, 362, 13, 486, 285, 7331, 30, 46506, 2137, 16034, 3084, 62, 1065, 4846, 1983, 4790, 62, 17, 33411, 6001, 796, 366, 17, 13, 486, 1 ]