instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the value for 2011 corresponding to a 2007 value of 1r?
SELECT 2011 FROM table_name_32 WHERE 2007 = "1r"
[ 2061, 318, 262, 1988, 329, 2813, 11188, 284, 257, 4343, 1988, 286, 352, 81, 30, 46506, 2813, 16034, 3084, 62, 3672, 62, 2624, 33411, 4343, 796, 366, 16, 81, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2813, 11188, 284, 257, 4343, 1988, 286, 352, 81, 30, 46506, 2813, 16034, 3084, 62, 3672, 62, 2624, 33411, 4343, 796, 366, 16, 81, 1 ]
What year was the International Cup that was won by Akron Goodyear Wingfoots and had Real Madrid as runner-up?
SELECT year FROM table_name_56 WHERE champion = "akron goodyear wingfoots" AND runner_up = "real madrid"
[ 2061, 614, 373, 262, 4037, 5454, 326, 373, 1839, 416, 45868, 4599, 1941, 13405, 5898, 82, 290, 550, 6416, 14708, 355, 17490, 12, 929, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 3980, 33411, 8783, 796, 366, 461, 1313, 922, 1941, 8539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 262, 4037, 5454, 326, 373, 1839, 416, 45868, 4599, 1941, 13405, 5898, 82, 290, 550, 6416, 14708, 355, 17490, 12, 929, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 3980, 33411, 8783, 796, 366, 461, 1313, 922, 1941, 8539, ...
I want the tsongas of may 22, 2007
SELECT tsongas__d_ FROM table_name_45 WHERE date = "may 22, 2007"
[ 40, 765, 262, 256, 34050, 292, 286, 743, 2534, 11, 4343, 46506, 256, 34050, 292, 834, 67, 62, 16034, 3084, 62, 3672, 62, 2231, 33411, 3128, 796, 366, 11261, 2534, 11, 4343, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40, 765, 262, 256, 34050, 292, 286, 743, 2534, 11, 4343, 46506, 256, 34050, 292, 834, 67, 62, 16034, 3084, 62, 3672, 62, 2231, 33411, 3128, 796, 366, 11261, 2534, 11, 4343, 1 ]
What is the average number of games played associated with a first game in 1997 and over 0 games drawn?
SELECT AVG(played) FROM table_name_48 WHERE first_game = 1997 AND drawn > 0
[ 2061, 318, 262, 2811, 1271, 286, 1830, 2826, 3917, 351, 257, 717, 983, 287, 8309, 290, 625, 657, 1830, 7428, 30, 46506, 35224, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 717, 62, 6057, 796, 8309, 5357, 7428, 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 ]
[ 2061, 318, 262, 2811, 1271, 286, 1830, 2826, 3917, 351, 257, 717, 983, 287, 8309, 290, 625, 657, 1830, 7428, 30, 46506, 35224, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 717, 62, 6057, 796, 8309, 5357, 7428, 1875, 657 ]
What is the enrollment for the Redhawks?
SELECT COUNT(enrollment) FROM table_27361255_1 WHERE team_nickname = "RedHawks"
[ 2061, 318, 262, 20753, 329, 262, 2297, 27221, 30, 46506, 327, 28270, 7, 268, 48108, 8, 16034, 3084, 62, 1983, 2623, 1065, 2816, 62, 16, 33411, 1074, 62, 17172, 3672, 796, 366, 7738, 39, 11890, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20753, 329, 262, 2297, 27221, 30, 46506, 327, 28270, 7, 268, 48108, 8, 16034, 3084, 62, 1983, 2623, 1065, 2816, 62, 16, 33411, 1074, 62, 17172, 3672, 796, 366, 7738, 39, 11890, 1 ]
Can you tell me the Result that has the Week of 5?
SELECT result FROM table_name_63 WHERE week = 5
[ 6090, 345, 1560, 502, 262, 25414, 326, 468, 262, 6119, 286, 642, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 5066, 33411, 1285, 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 ]
[ 6090, 345, 1560, 502, 262, 25414, 326, 468, 262, 6119, 286, 642, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 5066, 33411, 1285, 796, 642 ]
what's the record with result being w 52 19
SELECT "Record" FROM table_1138 WHERE "Result" = 'W 52–19'
[ 10919, 338, 262, 1700, 351, 1255, 852, 266, 6740, 678, 46506, 366, 23739, 1, 16034, 3084, 62, 1157, 2548, 33411, 366, 23004, 1, 796, 705, 54, 6740, 1906, 1129, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 1700, 351, 1255, 852, 266, 6740, 678, 46506, 366, 23739, 1, 16034, 3084, 62, 1157, 2548, 33411, 366, 23004, 1, 796, 705, 54, 6740, 1906, 1129, 6 ]
What rank does the Singapore Cup of 0 (1) have?
SELECT MAX("Rank") FROM table_44857 WHERE "Singapore Cup" = '0 (1)'
[ 2061, 4279, 857, 262, 12551, 5454, 286, 657, 357, 16, 8, 423, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 31115, 3553, 33411, 366, 29974, 11656, 5454, 1, 796, 705, 15, 357, 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 ]
[ 2061, 4279, 857, 262, 12551, 5454, 286, 657, 357, 16, 8, 423, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 31115, 3553, 33411, 366, 29974, 11656, 5454, 1, 796, 705, 15, 357, 16, 33047 ]
What was the average rank for south africa when they had more than 8 silver medals?
SELECT AVG(rank) FROM table_name_64 WHERE nation = "south africa" AND silver > 8
[ 2061, 373, 262, 2811, 4279, 329, 5366, 6580, 30997, 618, 484, 550, 517, 621, 807, 8465, 28057, 30, 46506, 35224, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2414, 33411, 3277, 796, 366, 35782, 6580, 30997, 1, 5357, 8465, 1875, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2811, 4279, 329, 5366, 6580, 30997, 618, 484, 550, 517, 621, 807, 8465, 28057, 30, 46506, 35224, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2414, 33411, 3277, 796, 366, 35782, 6580, 30997, 1, 5357, 8465, 1875, 807 ]
What is the pole position for the ferrari at the austrian grand prix?
SELECT pole_position FROM table_1132588_3 WHERE constructor = "Ferrari" AND grand_prix = "Austrian grand_prix"
[ 2061, 318, 262, 16825, 2292, 329, 262, 277, 8056, 2743, 379, 262, 38132, 4484, 4490, 1293, 87, 30, 46506, 16825, 62, 9150, 16034, 3084, 62, 16616, 1495, 3459, 62, 18, 33411, 23772, 796, 366, 37, 8056, 2743, 1, 5357, 4490, 62, 3448, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16825, 2292, 329, 262, 277, 8056, 2743, 379, 262, 38132, 4484, 4490, 1293, 87, 30, 46506, 16825, 62, 9150, 16034, 3084, 62, 16616, 1495, 3459, 62, 18, 33411, 23772, 796, 366, 37, 8056, 2743, 1, 5357, 4490, 62, 3448, ...
What is melbourne's home team score?
SELECT "Home team score" FROM table_33581 WHERE "Home team" = 'melbourne'
[ 2061, 318, 7758, 12544, 338, 1363, 1074, 4776, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 2091, 48630, 33411, 366, 16060, 1074, 1, 796, 705, 17694, 12544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7758, 12544, 338, 1363, 1074, 4776, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 2091, 48630, 33411, 366, 16060, 1074, 1, 796, 705, 17694, 12544, 6 ]
What is the Date of the Event with a Time of 2:23:47?
SELECT date FROM table_name_23 WHERE time = "2:23:47"
[ 2061, 318, 262, 7536, 286, 262, 8558, 351, 257, 3862, 286, 362, 25, 1954, 25, 2857, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1954, 33411, 640, 796, 366, 17, 25, 1954, 25, 2857, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7536, 286, 262, 8558, 351, 257, 3862, 286, 362, 25, 1954, 25, 2857, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1954, 33411, 640, 796, 366, 17, 25, 1954, 25, 2857, 1 ]
What is the Place of the Player with a Score of 68-73-66-74=281?
SELECT "Place" FROM table_43875 WHERE "Score" = '68-73-66-74=281'
[ 2061, 318, 262, 8474, 286, 262, 7853, 351, 257, 15178, 286, 8257, 12, 4790, 12, 2791, 12, 4524, 28, 30368, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 43704, 2425, 33411, 366, 26595, 1, 796, 705, 3104, 12, 4790, 12, 2791, 12, 4524, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8474, 286, 262, 7853, 351, 257, 15178, 286, 8257, 12, 4790, 12, 2791, 12, 4524, 28, 30368, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 43704, 2425, 33411, 366, 26595, 1, 796, 705, 3104, 12, 4790, 12, 2791, 12, 4524, ...
What party does clyde t. ellis represent?
SELECT party FROM table_1342256_5 WHERE incumbent = "Clyde T. Ellis"
[ 2061, 2151, 857, 269, 306, 2934, 256, 13, 30004, 271, 2380, 30, 46506, 2151, 16034, 3084, 62, 1485, 3682, 11645, 62, 20, 33411, 23526, 796, 366, 34, 306, 2934, 309, 13, 21299, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2151, 857, 269, 306, 2934, 256, 13, 30004, 271, 2380, 30, 46506, 2151, 16034, 3084, 62, 1485, 3682, 11645, 62, 20, 33411, 23526, 796, 366, 34, 306, 2934, 309, 13, 21299, 1 ]
tell me the last time that patient 031-1337 has been diagnosed with obstructive sleep apnea since 1 year ago?
SELECT diagnosis.diagnosistime FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-1337')) AND diagnosis.diagnosisname = 'obstructive sleep apne...
[ 33331, 502, 262, 938, 640, 326, 5827, 657, 3132, 12, 1485, 2718, 468, 587, 14641, 351, 26520, 425, 3993, 2471, 39718, 1201, 352, 614, 2084, 30, 46506, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 938, 640, 326, 5827, 657, 3132, 12, 1485, 2718, 468, 587, 14641, 351, 26520, 425, 3993, 2471, 39718, 1201, 352, 614, 2084, 30, 46506, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712,...
How many athletes had a Swimming Time (pts) of 2:20.93 (1232)?
SELECT COUNT("Total") FROM table_57143 WHERE "Swimming Time (pts)" = '2:20.93 (1232)'
[ 2437, 867, 10856, 550, 257, 2451, 27428, 3862, 357, 457, 82, 8, 286, 362, 25, 1238, 13, 6052, 357, 1065, 2624, 19427, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 3553, 21139, 33411, 366, 10462, 27428, 3862, 357, 457, 82, 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 ]
[ 2437, 867, 10856, 550, 257, 2451, 27428, 3862, 357, 457, 82, 8, 286, 362, 25, 1238, 13, 6052, 357, 1065, 2624, 19427, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 3553, 21139, 33411, 366, 10462, 27428, 3862, 357, 457, 82, 16...
What is Class Pos., when Year is before 2013, and when Laps is greater than 175?
SELECT "Class Pos." FROM table_77296 WHERE "Year" < '2013' AND "Laps" > '175'
[ 2061, 318, 5016, 18574, 1539, 618, 6280, 318, 878, 2211, 11, 290, 618, 406, 1686, 318, 3744, 621, 19038, 30, 46506, 366, 9487, 18574, 526, 16034, 3084, 62, 3324, 27137, 33411, 366, 17688, 1, 1279, 705, 6390, 6, 5357, 366, 43, 1686, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5016, 18574, 1539, 618, 6280, 318, 878, 2211, 11, 290, 618, 406, 1686, 318, 3744, 621, 19038, 30, 46506, 366, 9487, 18574, 526, 16034, 3084, 62, 3324, 27137, 33411, 366, 17688, 1, 1279, 705, 6390, 6, 5357, 366, 43, 1686, ...
What is the lowest total points Karine Tr cy has with less than 4 draws?
SELECT MIN("Total Points") FROM table_51320 WHERE "Draw" < '4' AND "Artist" = 'karine trécy'
[ 2061, 318, 262, 9016, 2472, 2173, 9375, 500, 833, 3075, 468, 351, 1342, 621, 604, 14293, 30, 46506, 20625, 7203, 14957, 11045, 4943, 16034, 3084, 62, 48645, 1238, 33411, 366, 25302, 1, 1279, 705, 19, 6, 5357, 366, 43020, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 2472, 2173, 9375, 500, 833, 3075, 468, 351, 1342, 621, 604, 14293, 30, 46506, 20625, 7203, 14957, 11045, 4943, 16034, 3084, 62, 48645, 1238, 33411, 366, 25302, 1, 1279, 705, 19, 6, 5357, 366, 43020, 1, 796, 705, ...
Provide the number of patients that survived and had an admission location of emergency room admit.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.admission_location = "EMERGENCY ROOM ADMIT"
[ 15946, 485, 262, 1271, 286, 3871, 326, 11803, 290, 550, 281, 13938, 4067, 286, 6334, 2119, 9159, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1069, 5111, 62, 32109, 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 ]
[ 15946, 485, 262, 1271, 286, 3871, 326, 11803, 290, 550, 281, 13938, 4067, 286, 6334, 2119, 9159, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1069, 5111, 62, 32109, 796,...
What is the sum of bronzes having silvers over 5 and golds under 20?
SELECT SUM("Bronze") FROM table_75696 WHERE "Silver" > '5' AND "Gold" < '20'
[ 2061, 318, 262, 2160, 286, 18443, 12271, 1719, 3313, 690, 625, 642, 290, 3869, 82, 739, 1160, 30, 46506, 35683, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2425, 38205, 33411, 366, 26766, 1, 1875, 705, 20, 6, 5357, 366, 13306, 1, 1279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 18443, 12271, 1719, 3313, 690, 625, 642, 290, 3869, 82, 739, 1160, 30, 46506, 35683, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2425, 38205, 33411, 366, 26766, 1, 1875, 705, 20, 6, 5357, 366, 13306, 1, 1279, ...
provide the number of patients whose days of hospital stay is greater than 2 and procedure long title is ventriculopuncture through previously implanted catheter?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "2" AND procedures.long_title = "Ventriculopuncture through previously implanted catheter"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 362, 290, 8771, 890, 3670, 318, 7435, 1173, 377, 404, 39187, 832, 4271, 40740, 3797, 43332, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 3279...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 362, 290, 8771, 890, 3670, 318, 7435, 1173, 377, 404, 39187, 832, 4271, 40740, 3797, 43332, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 3279...
what is the difference of heart rate of patient 25668 measured at 2100-07-31 16:00:00 compared to the value measured at 2100-07-31 15: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 = 25668)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'h...
[ 10919, 318, 262, 3580, 286, 2612, 2494, 286, 5827, 1679, 35809, 8630, 379, 38123, 12, 2998, 12, 3132, 1467, 25, 405, 25, 405, 3688, 284, 262, 1988, 8630, 379, 38123, 12, 2998, 12, 3132, 1315, 25, 405, 25, 405, 13, 46506, 357, 46506,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 3580, 286, 2612, 2494, 286, 5827, 1679, 35809, 8630, 379, 38123, 12, 2998, 12, 3132, 1467, 25, 405, 25, 405, 3688, 284, 262, 1988, 8630, 379, 38123, 12, 2998, 12, 3132, 1315, 25, 405, 25, 405, 13, 46506, 357, 46506,...
The courses that are offered this semester are ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016 ORDER BY course.department
[ 464, 10902, 326, 389, 4438, 428, 24878, 389, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 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...
[ 464, 10902, 326, 389, 4438, 428, 24878, 389, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, ...
How many years did Peter Lorimer play?
SELECT COUNT("NASL years") FROM table_2935 WHERE "Player" = 'Peter Lorimer'
[ 2437, 867, 812, 750, 5613, 26068, 22723, 711, 30, 46506, 327, 28270, 7203, 18293, 43, 812, 4943, 16034, 3084, 62, 1959, 2327, 33411, 366, 14140, 1, 796, 705, 19727, 26068, 22723, 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 ]
[ 2437, 867, 812, 750, 5613, 26068, 22723, 711, 30, 46506, 327, 28270, 7203, 18293, 43, 812, 4943, 16034, 3084, 62, 1959, 2327, 33411, 366, 14140, 1, 796, 705, 19727, 26068, 22723, 6 ]
What was the most extra points?
SELECT MAX(extra_points) FROM table_14342210_12
[ 2061, 373, 262, 749, 3131, 2173, 30, 46506, 25882, 7, 26086, 62, 13033, 8, 16034, 3084, 62, 1415, 2682, 1828, 940, 62, 1065 ]
[ 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, 749, 3131, 2173, 30, 46506, 25882, 7, 26086, 62, 13033, 8, 16034, 3084, 62, 1415, 2682, 1828, 940, 62, 1065 ]
Can you tell me the lowest Chapter that has the Pinyin of dehua, and the Articles smaller than 16?
SELECT MIN(chapter) FROM table_name_54 WHERE pinyin = "dehua" AND articles < 16
[ 6090, 345, 1560, 502, 262, 9016, 7006, 326, 468, 262, 350, 3541, 259, 286, 390, 33061, 11, 290, 262, 22698, 4833, 621, 1467, 30, 46506, 20625, 7, 43582, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 279, 3541, 259, 796, 366, 2934, 3306...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 6090, 345, 1560, 502, 262, 9016, 7006, 326, 468, 262, 350, 3541, 259, 286, 390, 33061, 11, 290, 262, 22698, 4833, 621, 1467, 30, 46506, 20625, 7, 43582, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 279, 3541, 259, 796, 366, 2934, 3306...
what is the number of patients whose diagnosis is chr syst/diastl hrt fail and drug route is iv bolus?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Chr syst/diastl hrt fail" AND prescriptions.route = "IV BOLUS"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13669, 318, 442, 81, 827, 301, 14, 10989, 459, 75, 289, 17034, 2038, 290, 2563, 6339, 318, 21628, 11572, 385, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 1603...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13669, 318, 442, 81, 827, 301, 14, 10989, 459, 75, 289, 17034, 2038, 290, 2563, 6339, 318, 21628, 11572, 385, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 1603...
what is minimum days of hospital stay of patients whose primary disease is coronary artery disease\coronary artery bypass graft with mvr; ? maze?
SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT WITH MVR; ? MAZE"
[ 10919, 318, 5288, 1528, 286, 4436, 2652, 286, 3871, 3025, 4165, 4369, 318, 37151, 37646, 4369, 59, 10215, 261, 560, 37646, 17286, 38455, 351, 285, 37020, 26, 5633, 31237, 30, 46506, 20625, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 5288, 1528, 286, 4436, 2652, 286, 3871, 3025, 4165, 4369, 318, 37151, 37646, 4369, 59, 10215, 261, 560, 37646, 17286, 38455, 351, 285, 37020, 26, 5633, 31237, 30, 46506, 20625, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, ...
When did an event take place in the City of Copenhagen?
SELECT "Date" FROM table_70222 WHERE "City" = 'copenhagen'
[ 2215, 750, 281, 1785, 1011, 1295, 287, 262, 2254, 286, 31104, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2154, 23148, 33411, 366, 14941, 1, 796, 705, 66, 9654, 71, 11286, 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 ]
[ 2215, 750, 281, 1785, 1011, 1295, 287, 262, 2254, 286, 31104, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2154, 23148, 33411, 366, 14941, 1, 796, 705, 66, 9654, 71, 11286, 6 ]
What date was the match against adri n men ndez-maceiras?
SELECT "Date" FROM table_60686 WHERE "Opponent" = 'adrián menéndez-maceiras'
[ 2061, 3128, 373, 262, 2872, 1028, 512, 380, 299, 1450, 299, 2934, 89, 12, 76, 558, 343, 292, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1899, 33808, 33411, 366, 27524, 3471, 1, 796, 705, 324, 380, 21162, 1450, 2634, 358, 8471, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2872, 1028, 512, 380, 299, 1450, 299, 2934, 89, 12, 76, 558, 343, 292, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1899, 33808, 33411, 366, 27524, 3471, 1, 796, 705, 324, 380, 21162, 1450, 2634, 358, 8471, 12, ...
provide the number of patients whose days of hospital stay is greater than 5 and diagnoses icd9 code is 30400?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "5" AND diagnoses.icd9_code = "30400"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 642, 290, 40567, 14158, 67, 24, 2438, 318, 1542, 7029, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 642, 290, 40567, 14158, 67, 24, 2438, 318, 1542, 7029, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
What is the Elmers End with a 09:54 Bingham Road?
SELECT "Elmers End" FROM table_40594 WHERE "Bingham Road" = '09:54'
[ 2061, 318, 262, 2574, 11056, 5268, 351, 257, 7769, 25, 4051, 21631, 2763, 5567, 30, 46506, 366, 9527, 11056, 5268, 1, 16034, 3084, 62, 1821, 46438, 33411, 366, 33, 25875, 5567, 1, 796, 705, 2931, 25, 4051, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2574, 11056, 5268, 351, 257, 7769, 25, 4051, 21631, 2763, 5567, 30, 46506, 366, 9527, 11056, 5268, 1, 16034, 3084, 62, 1821, 46438, 33411, 366, 33, 25875, 5567, 1, 796, 705, 2931, 25, 4051, 6 ]
Show me acc_percent by all road in a histogram, and show by the Y in asc.
SELECT All_Road, ACC_Percent FROM basketball_match ORDER BY ACC_Percent
[ 15307, 502, 697, 62, 25067, 416, 477, 2975, 287, 257, 1554, 21857, 11, 290, 905, 416, 262, 575, 287, 10570, 13, 46506, 1439, 62, 29197, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 38678, 11050, 15859, 62, 31905 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 697, 62, 25067, 416, 477, 2975, 287, 257, 1554, 21857, 11, 290, 905, 416, 262, 575, 287, 10570, 13, 46506, 1439, 62, 29197, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 38678, 11050, 15859, 62, 31905 ]
For those employees who did not have any job in the past, show me about the distribution of hire_date and the sum of manager_id bin hire_date by time in a bar chart, and order from low to high by the Y-axis please.
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(MANAGER_ID)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 4706, 62, 312, 9874, 11078, 62, 4475, 416, 640, 287, 257, 2318, 8262, 11, 290, 1502, 422, 187...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 4706, 62, 312, 9874, 11078, 62, 4475, 416, 640, 287, 257, 2318, 8262, 11, 290, 1502, 422, 187...
What was the surface tye during the match with the opponent of richard fromberg?
SELECT "Surface" FROM table_9054 WHERE "Opponent" = 'richard fromberg'
[ 2061, 373, 262, 4417, 1259, 68, 1141, 262, 2872, 351, 262, 6125, 286, 5527, 446, 422, 3900, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 44928, 19, 33411, 366, 27524, 3471, 1, 796, 705, 7527, 446, 422, 3900, 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 ]
[ 2061, 373, 262, 4417, 1259, 68, 1141, 262, 2872, 351, 262, 6125, 286, 5527, 446, 422, 3900, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 44928, 19, 33411, 366, 27524, 3471, 1, 796, 705, 7527, 446, 422, 3900, 6 ]
What was the score when Mark parterned with lorenzo manta?
SELECT "Score" FROM table_32527 WHERE "Partner" = 'lorenzo manta'
[ 2061, 373, 262, 4776, 618, 2940, 1582, 759, 276, 351, 24044, 77, 10872, 285, 4910, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 26582, 1983, 33411, 366, 7841, 1008, 1, 796, 705, 75, 29578, 10872, 285, 4910, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 618, 2940, 1582, 759, 276, 351, 24044, 77, 10872, 285, 4910, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 26582, 1983, 33411, 366, 7841, 1008, 1, 796, 705, 75, 29578, 10872, 285, 4910, 6 ]
Find the first names of all professors in the Accounting department who is teaching some course and the class room.
SELECT T2.emp_fname, T1.class_room FROM class AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Accounting'
[ 16742, 262, 717, 3891, 286, 477, 20339, 287, 262, 40964, 5011, 508, 318, 7743, 617, 1781, 290, 262, 1398, 2119, 13, 46506, 309, 17, 13, 45787, 62, 69, 3672, 11, 309, 16, 13, 4871, 62, 3823, 16034, 1398, 7054, 309, 16, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 717, 3891, 286, 477, 20339, 287, 262, 40964, 5011, 508, 318, 7743, 617, 1781, 290, 262, 1398, 2119, 13, 46506, 309, 17, 13, 45787, 62, 69, 3672, 11, 309, 16, 13, 4871, 62, 3823, 16034, 1398, 7054, 309, 16, 32357, 1268, ...
please list the flights from BALTIMORE to SAN FRANCISCO on FRIDAY
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, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND days.day_name = 'FRIDAY' AND flight.flight_days = days.days_code...
[ 29688, 1351, 262, 13956, 422, 347, 31429, 3955, 6965, 284, 37376, 8782, 20940, 1797, 8220, 319, 8782, 2389, 4792, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 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...
[ 29688, 1351, 262, 13956, 422, 347, 31429, 3955, 6965, 284, 37376, 8782, 20940, 1797, 8220, 319, 8782, 2389, 4792, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, ...
what was the first tv series that gauri tejwani appeared in ?
SELECT "show" FROM table_203_485 ORDER BY "year" LIMIT 1
[ 10919, 373, 262, 717, 31557, 2168, 326, 308, 35190, 573, 73, 86, 3216, 4120, 287, 5633, 46506, 366, 12860, 1, 16034, 3084, 62, 22416, 62, 32642, 38678, 11050, 366, 1941, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 717, 31557, 2168, 326, 308, 35190, 573, 73, 86, 3216, 4120, 287, 5633, 46506, 366, 12860, 1, 16034, 3084, 62, 22416, 62, 32642, 38678, 11050, 366, 1941, 1, 27564, 2043, 352 ]
What is the total number of To Par, when Player is 'Julius Boros', and when Total is greater than 295?
SELECT COUNT(to_par) FROM table_name_28 WHERE player = "julius boros" AND total > 295
[ 2061, 318, 262, 2472, 1271, 286, 1675, 2547, 11, 618, 7853, 318, 705, 16980, 3754, 12182, 418, 3256, 290, 618, 7472, 318, 3744, 621, 34772, 30, 46506, 327, 28270, 7, 1462, 62, 1845, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 2137, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 1675, 2547, 11, 618, 7853, 318, 705, 16980, 3754, 12182, 418, 3256, 290, 618, 7472, 318, 3744, 621, 34772, 30, 46506, 327, 28270, 7, 1462, 62, 1845, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 2137, 7...
How many different provinces is Baghaberd the center of?
SELECT COUNT(province__ashkharh_) FROM table_23887174_1 WHERE center = "Baghaberd"
[ 2437, 867, 1180, 17812, 318, 20127, 5976, 45744, 262, 3641, 286, 30, 46506, 327, 28270, 7, 15234, 924, 834, 1077, 74, 9869, 71, 62, 8, 16034, 3084, 62, 1954, 46660, 22985, 62, 16, 33411, 3641, 796, 366, 33, 363, 5976, 45744, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 17812, 318, 20127, 5976, 45744, 262, 3641, 286, 30, 46506, 327, 28270, 7, 15234, 924, 834, 1077, 74, 9869, 71, 62, 8, 16034, 3084, 62, 1954, 46660, 22985, 62, 16, 33411, 3641, 796, 366, 33, 363, 5976, 45744, 1 ]
how many patients have been admitted into a hospital since 2101?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE STRFTIME('%y', admissions.admittime) >= '2101'
[ 4919, 867, 3871, 423, 587, 6848, 656, 257, 4436, 1201, 2310, 486, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 25349, 13, 324, 20124, 524, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 423, 587, 6848, 656, 257, 4436, 1201, 2310, 486, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 25349, 13, 324, 20124, 524, ...
What was the date for Colorado?
SELECT "Date" FROM table_67454 WHERE "State" = 'colorado'
[ 2061, 373, 262, 3128, 329, 7492, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3134, 34229, 33411, 366, 9012, 1, 796, 705, 8043, 4533, 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 ]
[ 2061, 373, 262, 3128, 329, 7492, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3134, 34229, 33411, 366, 9012, 1, 796, 705, 8043, 4533, 6 ]
what is the country for rank 6?
SELECT "Country" FROM table_66136 WHERE "Rank" = '6'
[ 10919, 318, 262, 1499, 329, 4279, 718, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2791, 20809, 33411, 366, 27520, 1, 796, 705, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1499, 329, 4279, 718, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2791, 20809, 33411, 366, 27520, 1, 796, 705, 21, 6 ]
What is the average enrollment that has hot dogs as the mascot, with a year joined later than 1926?
SELECT AVG(enrollment) FROM table_name_38 WHERE mascot = "hot dogs" AND year_joined > 1926
[ 2061, 318, 262, 2811, 20753, 326, 468, 3024, 6844, 355, 262, 37358, 11, 351, 257, 614, 5399, 1568, 621, 38525, 30, 46506, 35224, 7, 268, 48108, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 37358, 796, 366, 8940, 6844, 1, 5357, 614, 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 ]
[ 2061, 318, 262, 2811, 20753, 326, 468, 3024, 6844, 355, 262, 37358, 11, 351, 257, 614, 5399, 1568, 621, 38525, 30, 46506, 35224, 7, 268, 48108, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 37358, 796, 366, 8940, 6844, 1, 5357, 614, 62...
how many black/african american patients were hospitalized for more than 2 days?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.days_stay > "2"
[ 4919, 867, 2042, 14, 1878, 37189, 45630, 272, 3871, 547, 31736, 329, 517, 621, 362, 1528, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 9148, 8120, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 2042, 14, 1878, 37189, 45630, 272, 3871, 547, 31736, 329, 517, 621, 362, 1528, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 9148, 8120, ...
What college did Calvin McCarty play at?
SELECT college FROM table_10812403_4 WHERE player = "Calvin McCarty"
[ 2061, 4152, 750, 25017, 5108, 25494, 711, 379, 30, 46506, 4152, 16034, 3084, 62, 15711, 1065, 31552, 62, 19, 33411, 2137, 796, 366, 9771, 7114, 5108, 25494, 1 ]
[ 1, 1, 1, 1, 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, 4152, 750, 25017, 5108, 25494, 711, 379, 30, 46506, 4152, 16034, 3084, 62, 15711, 1065, 31552, 62, 19, 33411, 2137, 796, 366, 9771, 7114, 5108, 25494, 1 ]
Visualize a scatter chart about the correlation between address_id and monthly_rental .
SELECT address_id, monthly_rental FROM Student_Addresses ORDER BY monthly_rental DESC
[ 36259, 1096, 257, 41058, 8262, 546, 262, 16096, 1022, 2209, 62, 312, 290, 9651, 62, 1156, 282, 764, 46506, 2209, 62, 312, 11, 9651, 62, 1156, 282, 16034, 13613, 62, 4550, 16746, 38678, 11050, 9651, 62, 1156, 282, 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 ]
[ 36259, 1096, 257, 41058, 8262, 546, 262, 16096, 1022, 2209, 62, 312, 290, 9651, 62, 1156, 282, 764, 46506, 2209, 62, 312, 11, 9651, 62, 1156, 282, 16034, 13613, 62, 4550, 16746, 38678, 11050, 9651, 62, 1156, 282, 22196, 34 ]
Is there any lab for 533 ?
SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 533
[ 3792, 612, 597, 2248, 329, 642, 2091, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 468, 62, 23912, 796, 705, 56, 6, 5357, 1271, 796, 642, 2091 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3792, 612, 597, 2248, 329, 642, 2091, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 468, 62, 23912, 796, 705, 56, 6, 5357, 1271, 796, 642, 2091 ]
Who is the october playmate with February playmate Cristy Thom?
SELECT "October" FROM table_14371 WHERE "February" = 'cristy thom'
[ 8241, 318, 262, 19318, 2023, 711, 9830, 351, 3945, 711, 9830, 24568, 88, 4323, 30, 46506, 366, 18517, 1, 16034, 3084, 62, 1415, 38056, 33411, 366, 21816, 1, 796, 705, 66, 1585, 88, 294, 296, 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 ]
[ 8241, 318, 262, 19318, 2023, 711, 9830, 351, 3945, 711, 9830, 24568, 88, 4323, 30, 46506, 366, 18517, 1, 16034, 3084, 62, 1415, 38056, 33411, 366, 21816, 1, 796, 705, 66, 1585, 88, 294, 296, 6 ]
what is days of hospital stay and admission time of subject name paul edwards?
SELECT demographic.days_stay, demographic.admittime FROM demographic WHERE demographic.name = "Paul Edwards"
[ 10919, 318, 1528, 286, 4436, 2652, 290, 13938, 640, 286, 2426, 1438, 279, 2518, 1225, 2017, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 12041, 17381, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 286, 4436, 2652, 290, 13938, 640, 286, 2426, 1438, 279, 2518, 1225, 2017, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 12041, 17381, 1 ]
How many drivers are there?
SELECT COUNT(*) FROM driver
[ 2437, 867, 6643, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 4639 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 6643, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 4639 ]
Which college's cfl team is the hamilton tiger-cats?
SELECT "College" FROM table_43133 WHERE "CFL Team" = 'hamilton tiger-cats'
[ 13828, 4152, 338, 269, 2704, 1074, 318, 262, 8891, 9044, 26241, 12, 24619, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 3559, 16945, 33411, 366, 34, 3697, 4816, 1, 796, 705, 2763, 9044, 26241, 12, 24619, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4152, 338, 269, 2704, 1074, 318, 262, 8891, 9044, 26241, 12, 24619, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 3559, 16945, 33411, 366, 34, 3697, 4816, 1, 796, 705, 2763, 9044, 26241, 12, 24619, 6 ]
what are patient 015-59871's gender?
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '015-59871'
[ 10919, 389, 5827, 5534, 20, 12, 41292, 4869, 338, 5279, 30, 46506, 360, 8808, 1268, 4177, 5827, 13, 8388, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 25150, 12, 41292, 4869, 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 ]
[ 10919, 389, 5827, 5534, 20, 12, 41292, 4869, 338, 5279, 30, 46506, 360, 8808, 1268, 4177, 5827, 13, 8388, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 25150, 12, 41292, 4869, 6 ]
Find the last name of the staff whose email address contains 'wrau'.
SELECT last_name FROM staff WHERE email_address LIKE "%wrau%"
[ 16742, 262, 938, 1438, 286, 262, 3085, 3025, 3053, 2209, 4909, 705, 29988, 84, 4458, 46506, 938, 62, 3672, 16034, 3085, 33411, 3053, 62, 21975, 34178, 36521, 29988, 84, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 938, 1438, 286, 262, 3085, 3025, 3053, 2209, 4909, 705, 29988, 84, 4458, 46506, 938, 62, 3672, 16034, 3085, 33411, 3053, 62, 21975, 34178, 36521, 29988, 84, 39658 ]
Which highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53?
SELECT MAX("Goals against") FROM table_53525 WHERE "Wins" = '19' AND "Goals for" > '53'
[ 13828, 4511, 705, 2188, 874, 1028, 6, 1271, 550, 7864, 286, 678, 290, 257, 705, 2188, 874, 329, 6, 1271, 326, 373, 5749, 621, 7192, 30, 46506, 25882, 7203, 5247, 874, 1028, 4943, 16034, 3084, 62, 44465, 1495, 33411, 366, 54, 1040, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4511, 705, 2188, 874, 1028, 6, 1271, 550, 7864, 286, 678, 290, 257, 705, 2188, 874, 329, 6, 1271, 326, 373, 5749, 621, 7192, 30, 46506, 25882, 7203, 5247, 874, 1028, 4943, 16034, 3084, 62, 44465, 1495, 33411, 366, 54, 1040, 1...
Tell me the % of wt 2nd for bp 3rd comp of 98.4
SELECT _percentage_wt_2nd FROM table_name_77 WHERE bp_3rd_comp__˚c_ = "98.4"
[ 24446, 502, 262, 4064, 286, 266, 83, 362, 358, 329, 275, 79, 513, 4372, 552, 286, 9661, 13, 19, 46506, 4808, 25067, 496, 62, 46569, 62, 17, 358, 16034, 3084, 62, 3672, 62, 3324, 33411, 275, 79, 62, 18, 4372, 62, 5589, 834, 135, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 4064, 286, 266, 83, 362, 358, 329, 275, 79, 513, 4372, 552, 286, 9661, 13, 19, 46506, 4808, 25067, 496, 62, 46569, 62, 17, 358, 16034, 3084, 62, 3672, 62, 3324, 33411, 275, 79, 62, 18, 4372, 62, 5589, 834, 135, ...
Which team drafted Ron Annear?
SELECT "NHL team" FROM table_30555 WHERE "Player" = 'Ron Annear'
[ 13828, 1074, 15937, 6575, 5506, 451, 30, 46506, 366, 45, 6581, 1074, 1, 16034, 3084, 62, 1270, 31046, 33411, 366, 14140, 1, 796, 705, 23672, 5506, 451, 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 ]
[ 13828, 1074, 15937, 6575, 5506, 451, 30, 46506, 366, 45, 6581, 1074, 1, 16034, 3084, 62, 1270, 31046, 33411, 366, 14140, 1, 796, 705, 23672, 5506, 451, 6 ]
Are there any courses which require taking RESTORA 746 first ?
SELECT DISTINCT COURSE_1.department, COURSE_1.name, COURSE_1.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND COURSE_0.department = 'RESTORA' AND COURSE_0.number = 746 AND COURSE_1.course_id = course_prerequisite.course_id
[ 8491, 612, 597, 10902, 543, 2421, 2263, 30617, 1581, 32, 767, 3510, 717, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 16, 13, 10378, 1823, 11, 37384, 5188, 62, 16, 13, 3672, 11, 37384, 5188, 62, 16, 13, 17618, 16034, 1781, 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...
[ 8491, 612, 597, 10902, 543, 2421, 2263, 30617, 1581, 32, 767, 3510, 717, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 16, 13, 10378, 1823, 11, 37384, 5188, 62, 16, 13, 3672, 11, 37384, 5188, 62, 16, 13, 17618, 16034, 1781, 7...
What are the THTREMUS 3 -credit courses ?
SELECT DISTINCT name, number FROM course WHERE department = 'THTREMUS' AND credits = 3
[ 2061, 389, 262, 2320, 51, 40726, 2937, 513, 532, 43082, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 5011, 796, 705, 4221, 51, 40726, 2937, 6, 5357, 10824, 796, 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 ]
[ 2061, 389, 262, 2320, 51, 40726, 2937, 513, 532, 43082, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 5011, 796, 705, 4221, 51, 40726, 2937, 6, 5357, 10824, 796, 513 ]
How many people attended the game with a record of 86-56
SELECT COUNT(attendance) FROM table_name_39 WHERE record = "86-56"
[ 2437, 867, 661, 9141, 262, 983, 351, 257, 1700, 286, 9849, 12, 3980, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2670, 33411, 1700, 796, 366, 4521, 12, 3980, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 9141, 262, 983, 351, 257, 1700, 286, 9849, 12, 3980, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2670, 33411, 1700, 796, 366, 4521, 12, 3980, 1 ]
which ethnic background does the patient with patient id 6983 belong to?
SELECT demographic.ethnicity FROM demographic WHERE demographic.subject_id = "6983"
[ 4758, 9450, 4469, 857, 262, 5827, 351, 5827, 4686, 39861, 18, 5594, 284, 30, 46506, 16728, 13, 38546, 414, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 3388, 5999, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 9450, 4469, 857, 262, 5827, 351, 5827, 4686, 39861, 18, 5594, 284, 30, 46506, 16728, 13, 38546, 414, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 3388, 5999, 1 ]
For how many players from UTEP can one calculate how many years they've played for Jazz?
SELECT COUNT(years_for_jazz) FROM table_11545282_6 WHERE school_club_team = "UTEP"
[ 1890, 703, 867, 1938, 422, 19255, 8905, 460, 530, 15284, 703, 867, 812, 484, 1053, 2826, 329, 21406, 30, 46506, 327, 28270, 7, 19002, 62, 1640, 62, 73, 8101, 8, 16034, 3084, 62, 15363, 2231, 32568, 62, 21, 33411, 1524, 62, 18664, 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 ]
[ 1890, 703, 867, 1938, 422, 19255, 8905, 460, 530, 15284, 703, 867, 812, 484, 1053, 2826, 329, 21406, 30, 46506, 327, 28270, 7, 19002, 62, 1640, 62, 73, 8101, 8, 16034, 3084, 62, 15363, 2231, 32568, 62, 21, 33411, 1524, 62, 18664, 62...
Find the name and id of the team that won the most times in 2008 postseason.
SELECT T2.name, T1.team_id_winner FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T1.year = 2008 GROUP BY T1.team_id_winner ORDER BY COUNT(*) DESC LIMIT 1
[ 16742, 262, 1438, 290, 4686, 286, 262, 1074, 326, 1839, 262, 749, 1661, 287, 3648, 22905, 13, 46506, 309, 17, 13, 3672, 11, 309, 16, 13, 15097, 62, 312, 62, 39791, 16034, 22905, 7054, 309, 16, 32357, 1268, 1074, 7054, 309, 17, 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...
[ 16742, 262, 1438, 290, 4686, 286, 262, 1074, 326, 1839, 262, 749, 1661, 287, 3648, 22905, 13, 46506, 309, 17, 13, 3672, 11, 309, 16, 13, 15097, 62, 312, 62, 39791, 16034, 22905, 7054, 309, 16, 32357, 1268, 1074, 7054, 309, 17, 6177,...
Which party is Madeleine Plamondon a member of?
SELECT party FROM table_name_94 WHERE name = "madeleine plamondon"
[ 13828, 2151, 318, 14446, 293, 500, 1345, 321, 3391, 257, 2888, 286, 30, 46506, 2151, 16034, 3084, 62, 3672, 62, 5824, 33411, 1438, 796, 366, 9727, 293, 500, 458, 321, 3391, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2151, 318, 14446, 293, 500, 1345, 321, 3391, 257, 2888, 286, 30, 46506, 2151, 16034, 3084, 62, 3672, 62, 5824, 33411, 1438, 796, 366, 9727, 293, 500, 458, 321, 3391, 1 ]
For those records from the products and each product's manufacturer, what is the relationship between code and price ?
SELECT T1.Code, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 644, 318, 262, 2776, 1022, 2438, 290, 2756, 5633, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 18124, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 644, 318, 262, 2776, 1022, 2438, 290, 2756, 5633, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 18124, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, ...
What is Round, when Opponent Team is Slovakia, when Outcome is Loser, and when Edition is greater than 2010?
SELECT round FROM table_name_7 WHERE opponent_team = "slovakia" AND outcome = "loser" AND edition > 2010
[ 2061, 318, 10485, 11, 618, 9385, 3471, 4816, 318, 36839, 11, 618, 3806, 2958, 318, 5401, 263, 11, 290, 618, 5061, 318, 3744, 621, 3050, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 22, 33411, 6125, 62, 15097, 796, 366, 6649, 709, 218...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10485, 11, 618, 9385, 3471, 4816, 318, 36839, 11, 618, 3806, 2958, 318, 5401, 263, 11, 290, 618, 5061, 318, 3744, 621, 3050, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 22, 33411, 6125, 62, 15097, 796, 366, 6649, 709, 218...
What were the reasons that venues closed in the 1990s?
SELECT reason FROM table_name_59 WHERE closed = "1990s"
[ 2061, 547, 262, 3840, 326, 22276, 4838, 287, 262, 6303, 82, 30, 46506, 1738, 16034, 3084, 62, 3672, 62, 3270, 33411, 4838, 796, 366, 19891, 82, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 547, 262, 3840, 326, 22276, 4838, 287, 262, 6303, 82, 30, 46506, 1738, 16034, 3084, 62, 3672, 62, 3270, 33411, 4838, 796, 366, 19891, 82, 1 ]
how much did the hospital bill of patient 22204 until 2104 amount to?
SELECT SUM(cost.cost) FROM cost WHERE cost.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 22204) AND STRFTIME('%y', cost.chargetime) <= '2104'
[ 4919, 881, 750, 262, 4436, 2855, 286, 5827, 2534, 18638, 1566, 362, 13464, 2033, 284, 30, 46506, 35683, 7, 15805, 13, 15805, 8, 16034, 1575, 33411, 1575, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 881, 750, 262, 4436, 2855, 286, 5827, 2534, 18638, 1566, 362, 13464, 2033, 284, 30, 46506, 35683, 7, 15805, 13, 15805, 8, 16034, 1575, 33411, 1575, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, ...
How many people attended the game where the away team scored 16.7 (103) points?
SELECT COUNT("Crowd") FROM table_55485 WHERE "Away team score" = '16.7 (103)'
[ 2437, 867, 661, 9141, 262, 983, 810, 262, 1497, 1074, 7781, 1467, 13, 22, 357, 15197, 8, 2173, 30, 46506, 327, 28270, 7203, 34, 3986, 4943, 16034, 3084, 62, 2816, 32642, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1433, 13, 22, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 9141, 262, 983, 810, 262, 1497, 1074, 7781, 1467, 13, 22, 357, 15197, 8, 2173, 30, 46506, 327, 28270, 7203, 34, 3986, 4943, 16034, 3084, 62, 2816, 32642, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1433, 13, 22, ...
Which Bronze has a Nation of argentina, and a Silver smaller than 0?
SELECT AVG(bronze) FROM table_name_28 WHERE nation = "argentina" AND silver < 0
[ 13828, 19461, 468, 257, 8741, 286, 1822, 298, 1437, 11, 290, 257, 7698, 4833, 621, 657, 30, 46506, 35224, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 3277, 796, 366, 853, 298, 1437, 1, 5357, 8465, 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, 1, 1, 1, 1, 1 ]
[ 13828, 19461, 468, 257, 8741, 286, 1822, 298, 1437, 11, 290, 257, 7698, 4833, 621, 657, 30, 46506, 35224, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 3277, 796, 366, 853, 298, 1437, 1, 5357, 8465, 1279, 657 ]
Where was the competition on August 15, 2012?
SELECT "Venue" FROM table_54536 WHERE "Date" = 'august 15, 2012'
[ 8496, 373, 262, 5449, 319, 2932, 1315, 11, 2321, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 45326, 2623, 33411, 366, 10430, 1, 796, 705, 7493, 436, 1315, 11, 2321, 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 ]
[ 8496, 373, 262, 5449, 319, 2932, 1315, 11, 2321, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 45326, 2623, 33411, 366, 10430, 1, 796, 705, 7493, 436, 1315, 11, 2321, 6 ]
What is on the reverse side of the 500 coin?
SELECT reverse FROM table_298883_5 WHERE value = "₩500"
[ 2061, 318, 319, 262, 9575, 1735, 286, 262, 5323, 10752, 30, 46506, 9575, 16034, 3084, 62, 1959, 3459, 5999, 62, 20, 33411, 1988, 796, 366, 158, 224, 102, 4059, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 319, 262, 9575, 1735, 286, 262, 5323, 10752, 30, 46506, 9575, 16034, 3084, 62, 1959, 3459, 5999, 62, 20, 33411, 1988, 796, 366, 158, 224, 102, 4059, 1 ]
What is henry transfer fee at fcbarcelona.cat in fra?
SELECT transfer_fee FROM table_name_41 WHERE source = "fcbarcelona.cat" AND country = "fra" AND name = "henry"
[ 2061, 318, 30963, 563, 4351, 6838, 379, 277, 66, 5657, 14308, 13, 9246, 287, 5306, 30, 46506, 4351, 62, 39071, 16034, 3084, 62, 3672, 62, 3901, 33411, 2723, 796, 366, 16072, 5657, 14308, 13, 9246, 1, 5357, 1499, 796, 366, 69, 430, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30963, 563, 4351, 6838, 379, 277, 66, 5657, 14308, 13, 9246, 287, 5306, 30, 46506, 4351, 62, 39071, 16034, 3084, 62, 3672, 62, 3901, 33411, 2723, 796, 366, 16072, 5657, 14308, 13, 9246, 1, 5357, 1499, 796, 366, 69, 430, 1...
provide the number of patients whose ethnicity is white and diagnoses long title is hypertensive chronic kidney disease, unspecified, with chronic kidney disease stage v or end stage renal disease?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.long_title = "Hypertensive chronic kidney disease, unspecified, with chronic kidney disease stage V or end stage renal disease"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 2330, 290, 40567, 890, 3670, 318, 32608, 2021, 10726, 21919, 4369, 11, 29547, 11, 351, 10726, 21919, 4369, 3800, 410, 393, 886, 3800, 44375, 4369, 30, 46506, 327, 28270, 7, 35, 8808, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 2330, 290, 40567, 890, 3670, 318, 32608, 2021, 10726, 21919, 4369, 11, 29547, 11, 351, 10726, 21919, 4369, 3800, 410, 393, 886, 3800, 44375, 4369, 30, 46506, 327, 28270, 7, 35, 8808, ...
What is the score when away team is Crystal Palace?
SELECT "Score" FROM table_8013 WHERE "Away team" = 'crystal palace'
[ 2061, 318, 262, 4776, 618, 1497, 1074, 318, 12969, 15301, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 23, 30273, 33411, 366, 32, 1014, 1074, 1, 796, 705, 20470, 7757, 20562, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 618, 1497, 1074, 318, 12969, 15301, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 23, 30273, 33411, 366, 32, 1014, 1074, 1, 796, 705, 20470, 7757, 20562, 6 ]
Which class for the Core requirement is the easiest ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%Core%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_co...
[ 13828, 1398, 329, 262, 7231, 9079, 318, 262, 16638, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 1398, 329, 262, 7231, 9079, 318, 262, 16638, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, ...
count the number of patients whose admission location is clinic referral/premature and procedure icd9 code is 4233?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND procedures.icd9_code = "4233"
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 8771, 14158, 67, 24, 2438, 318, 604, 25429, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 8771, 14158, 67, 24, 2438, 318, 604, 25429, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
What is Team, when Rank is greater than 2, and when Points are greater than 259?
SELECT "Team" FROM table_42022 WHERE "Rank" > '2' AND "Points" > '259'
[ 2061, 318, 4816, 11, 618, 10916, 318, 3744, 621, 362, 11, 290, 618, 11045, 389, 3744, 621, 37831, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 27211, 1828, 33411, 366, 27520, 1, 1875, 705, 17, 6, 5357, 366, 40710, 1, 1875, 705, 25191,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 4816, 11, 618, 10916, 318, 3744, 621, 362, 11, 290, 618, 11045, 389, 3744, 621, 37831, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 27211, 1828, 33411, 366, 27520, 1, 1875, 705, 17, 6, 5357, 366, 40710, 1, 1875, 705, 25191,...
What type of institution is San Diego Christian college?
SELECT "Type" FROM table_27842 WHERE "Institution" = 'San Diego Christian College'
[ 2061, 2099, 286, 9901, 318, 2986, 9500, 4302, 4152, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 25870, 3682, 33411, 366, 6310, 2738, 1, 796, 705, 15017, 9500, 4302, 5535, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2099, 286, 9901, 318, 2986, 9500, 4302, 4152, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 25870, 3682, 33411, 366, 6310, 2738, 1, 796, 705, 15017, 9500, 4302, 5535, 6 ]
tell me the drug that was prescribed to patient 029-7028 for the last time in their first hospital encounter?
SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '029-7028' AND NOT patient.hospitaldischargetime IS NULL ORDER BY pa...
[ 33331, 502, 262, 2563, 326, 373, 14798, 284, 5827, 657, 1959, 12, 2154, 2078, 329, 262, 938, 640, 287, 511, 717, 4436, 8791, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 2563, 326, 373, 14798, 284, 5827, 657, 1959, 12, 2154, 2078, 329, 262, 938, 640, 287, 511, 717, 4436, 8791, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, ...
What place did the Sake Tuyas come in when the Denim Demons were 4th?
SELECT "Sake Tuyas" FROM table_31268 WHERE "Denim Demons" = '4th'
[ 2061, 1295, 750, 262, 311, 539, 309, 4669, 292, 1282, 287, 618, 262, 5601, 320, 38539, 547, 604, 400, 30, 46506, 366, 50, 539, 309, 4669, 292, 1, 16034, 3084, 62, 27970, 3104, 33411, 366, 21306, 320, 38539, 1, 796, 705, 19, 400, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1295, 750, 262, 311, 539, 309, 4669, 292, 1282, 287, 618, 262, 5601, 320, 38539, 547, 604, 400, 30, 46506, 366, 50, 539, 309, 4669, 292, 1, 16034, 3084, 62, 27970, 3104, 33411, 366, 21306, 320, 38539, 1, 796, 705, 19, 400, 6...
What is the number of Goals For for Games Played more than 8?
SELECT SUM("Goals For") FROM table_11774 WHERE "Games Played" > '8'
[ 2061, 318, 262, 1271, 286, 28510, 1114, 329, 5776, 33101, 517, 621, 807, 30, 46506, 35683, 7203, 5247, 874, 1114, 4943, 16034, 3084, 62, 1157, 47582, 33411, 366, 24474, 33101, 1, 1875, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 28510, 1114, 329, 5776, 33101, 517, 621, 807, 30, 46506, 35683, 7203, 5247, 874, 1114, 4943, 16034, 3084, 62, 1157, 47582, 33411, 366, 24474, 33101, 1, 1875, 705, 23, 6 ]
hypertension > 180 mmhg systolic, > 110 mmhg diastolic office blood pressure
SELECT * FROM table_dev_46 WHERE hypertension = 1 OR (systolic_blood_pressure_sbp > 180 OR diastolic_blood_pressure_dbp > 110)
[ 12114, 11766, 3004, 1875, 11546, 8085, 71, 70, 827, 301, 4160, 11, 1875, 9796, 8085, 71, 70, 2566, 459, 4160, 2607, 2910, 3833, 46506, 1635, 16034, 3084, 62, 7959, 62, 3510, 33411, 37454, 796, 352, 6375, 357, 1837, 301, 4160, 62, 1804...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12114, 11766, 3004, 1875, 11546, 8085, 71, 70, 827, 301, 4160, 11, 1875, 9796, 8085, 71, 70, 2566, 459, 4160, 2607, 2910, 3833, 46506, 1635, 16034, 3084, 62, 7959, 62, 3510, 33411, 37454, 796, 352, 6375, 357, 1837, 301, 4160, 62, 1804...
What is the Tournament in the Year of 1986?
SELECT "Tournament" FROM table_66716 WHERE "Year" = '1986'
[ 2061, 318, 262, 9595, 287, 262, 6280, 286, 12113, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 28933, 1433, 33411, 366, 17688, 1, 796, 705, 28054, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9595, 287, 262, 6280, 286, 12113, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 28933, 1433, 33411, 366, 17688, 1, 796, 705, 28054, 6 ]
How many wins are there when the draws are less than 0?
SELECT SUM("Wins") FROM table_63528 WHERE "Draws" < '0'
[ 2437, 867, 7864, 389, 612, 618, 262, 14293, 389, 1342, 621, 657, 30, 46506, 35683, 7203, 54, 1040, 4943, 16034, 3084, 62, 48250, 2078, 33411, 366, 25302, 82, 1, 1279, 705, 15, 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 ]
[ 2437, 867, 7864, 389, 612, 618, 262, 14293, 389, 1342, 621, 657, 30, 46506, 35683, 7203, 54, 1040, 4943, 16034, 3084, 62, 48250, 2078, 33411, 366, 25302, 82, 1, 1279, 705, 15, 6 ]
For those employees who was hired before 2002-06-21, return a line chart about the change of commission_pct over hire_date , and order by the x-axis from high to low please.
SELECT HIRE_DATE, COMMISSION_PCT FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE DESC
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1441, 257, 1627, 8262, 546, 262, 1487, 286, 5810, 62, 79, 310, 625, 11078, 62, 4475, 837, 290, 1502, 416, 262, 2124, 12, 22704, 422, 1029, 284, 1877, 3387, 13, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1441, 257, 1627, 8262, 546, 262, 1487, 286, 5810, 62, 79, 310, 625, 11078, 62, 4475, 837, 290, 1502, 416, 262, 2124, 12, 22704, 422, 1029, 284, 1877, 3387, 13, 46...
who is the driver that has laps more than 35 and the constructor is ferrari?
SELECT driver FROM table_name_51 WHERE laps > 35 AND constructor = "ferrari"
[ 8727, 318, 262, 4639, 326, 468, 24590, 517, 621, 3439, 290, 262, 23772, 318, 277, 8056, 2743, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 4349, 33411, 24590, 1875, 3439, 5357, 23772, 796, 366, 2232, 81, 2743, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 4639, 326, 468, 24590, 517, 621, 3439, 290, 262, 23772, 318, 277, 8056, 2743, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 4349, 33411, 24590, 1875, 3439, 5357, 23772, 796, 366, 2232, 81, 2743, 1 ]
Name the state class for iowa admitted to the union december 28, 1846
SELECT state__class_ FROM table_225205_3 WHERE reason_for_change = "Iowa admitted to the Union December 28, 1846"
[ 5376, 262, 1181, 1398, 329, 1312, 8455, 6848, 284, 262, 6441, 390, 3273, 2579, 11, 1248, 3510, 46506, 1181, 834, 4871, 62, 16034, 3084, 62, 18182, 21261, 62, 18, 33411, 1738, 62, 1640, 62, 3803, 796, 366, 45186, 6848, 284, 262, 4479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1181, 1398, 329, 1312, 8455, 6848, 284, 262, 6441, 390, 3273, 2579, 11, 1248, 3510, 46506, 1181, 834, 4871, 62, 16034, 3084, 62, 18182, 21261, 62, 18, 33411, 1738, 62, 1640, 62, 3803, 796, 366, 45186, 6848, 284, 262, 4479, ...
count the number of patients with procedure icd9 code 5732 who were hospitalized for more than 4 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "4" AND procedures.icd9_code = "5732"
[ 9127, 262, 1271, 286, 3871, 351, 8771, 14158, 67, 24, 2438, 7632, 2624, 508, 547, 31736, 329, 517, 621, 604, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 351, 8771, 14158, 67, 24, 2438, 7632, 2624, 508, 547, 31736, 329, 517, 621, 604, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
What was the airdate of the episode with a UK viewership of 6.02 million?
SELECT original_air_date FROM table_29063233_1 WHERE uk_viewers__million_ = "6.02"
[ 2061, 373, 262, 257, 1447, 378, 286, 262, 4471, 351, 257, 3482, 48347, 286, 718, 13, 2999, 1510, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1959, 3312, 18, 25429, 62, 16, 33411, 334, 74, 62, 1177, 364, 834, 14100, 62, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 257, 1447, 378, 286, 262, 4471, 351, 257, 3482, 48347, 286, 718, 13, 2999, 1510, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1959, 3312, 18, 25429, 62, 16, 33411, 334, 74, 62, 1177, 364, 834, 14100, 62, 79...
which clubs did not score more than 50 points ?
SELECT "club" FROM table_203_322 WHERE "points" <= 50
[ 4758, 9784, 750, 407, 4776, 517, 621, 2026, 2173, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 22416, 62, 37283, 33411, 366, 13033, 1, 19841, 2026 ]
[ 1, 1, 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, 9784, 750, 407, 4776, 517, 621, 2026, 2173, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 22416, 62, 37283, 33411, 366, 13033, 1, 19841, 2026 ]
What is Points, when Name is Ondrej Starosta?
SELECT points FROM table_name_81 WHERE name = "ondrej starosta"
[ 2061, 318, 11045, 11, 618, 6530, 318, 440, 358, 260, 73, 2907, 39818, 30, 46506, 2173, 16034, 3084, 62, 3672, 62, 6659, 33411, 1438, 796, 366, 623, 260, 73, 3491, 39818, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 11045, 11, 618, 6530, 318, 440, 358, 260, 73, 2907, 39818, 30, 46506, 2173, 16034, 3084, 62, 3672, 62, 6659, 33411, 1438, 796, 366, 623, 260, 73, 3491, 39818, 1 ]
Users with most answers in a given tag.
SELECT a.OwnerUserId AS "user_link", a.OwnerDisplayName, COUNT(a.Id) AS "question_count", SUM(a.Score) AS "total_score" FROM Posts AS a INNER JOIN Posts AS q ON a.ParentId = q.Id WHERE (a.PostTypeId = 2) AND (q.PostTypeId = 1) AND (q.Tags LIKE '%<##tagName?data-explorer##>%') GROUP BY a.OwnerUserId, a.OwnerDisplayName ...
[ 14490, 351, 749, 7429, 287, 257, 1813, 7621, 13, 46506, 257, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 257, 13, 42419, 23114, 5376, 11, 327, 28270, 7, 64, 13, 7390, 8, 7054, 366, 25652, 62, 9127, 1600, 35683, 7, 64, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14490, 351, 749, 7429, 287, 257, 1813, 7621, 13, 46506, 257, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 257, 13, 42419, 23114, 5376, 11, 327, 28270, 7, 64, 13, 7390, 8, 7054, 366, 25652, 62, 9127, 1600, 35683, 7, 64, ...
Tell me the eastern #1 for week of 5
SELECT "EASTERN #1" FROM table_56897 WHERE "Week" = '5'
[ 24446, 502, 262, 10183, 1303, 16, 329, 1285, 286, 642, 46506, 366, 36, 1921, 31800, 1303, 16, 1, 16034, 3084, 62, 49211, 5607, 33411, 366, 20916, 1, 796, 705, 20, 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 ]
[ 24446, 502, 262, 10183, 1303, 16, 329, 1285, 286, 642, 46506, 366, 36, 1921, 31800, 1303, 16, 1, 16034, 3084, 62, 49211, 5607, 33411, 366, 20916, 1, 796, 705, 20, 6 ]
Who was the opponent at the competition held at Jeonju?
SELECT opponent FROM table_name_20 WHERE venue = "jeonju"
[ 8241, 373, 262, 6125, 379, 262, 5449, 2714, 379, 3852, 261, 14396, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1238, 33411, 14359, 796, 366, 18015, 261, 14396, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 6125, 379, 262, 5449, 2714, 379, 3852, 261, 14396, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1238, 33411, 14359, 796, 366, 18015, 261, 14396, 1 ]
What is the week with a date of October 9, 1983, and attendance smaller than 40,492?
SELECT COUNT(week) FROM table_name_27 WHERE date = "october 9, 1983" AND attendance < 40 OFFSET 492
[ 2061, 318, 262, 1285, 351, 257, 3128, 286, 3267, 860, 11, 13540, 11, 290, 14858, 4833, 621, 2319, 11, 40256, 30, 46506, 327, 28270, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 3128, 796, 366, 38441, 2023, 860, 11, 13540, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1285, 351, 257, 3128, 286, 3267, 860, 11, 13540, 11, 290, 14858, 4833, 621, 2319, 11, 40256, 30, 46506, 327, 28270, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 3128, 796, 366, 38441, 2023, 860, 11, 13540, 1,...
Which player is the centre for the Detroit Red Wings?
SELECT player FROM table_2897457_4 WHERE position = "Centre" AND nhl_team = "Detroit Red Wings"
[ 13828, 2137, 318, 262, 7372, 329, 262, 8488, 2297, 17330, 30, 46506, 2137, 16034, 3084, 62, 2078, 5607, 33032, 62, 19, 33411, 2292, 796, 366, 19085, 260, 1, 5357, 299, 18519, 62, 15097, 796, 366, 40404, 2297, 17330, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2137, 318, 262, 7372, 329, 262, 8488, 2297, 17330, 30, 46506, 2137, 16034, 3084, 62, 2078, 5607, 33032, 62, 19, 33411, 2292, 796, 366, 19085, 260, 1, 5357, 299, 18519, 62, 15097, 796, 366, 40404, 2297, 17330, 1 ]
Who did the high rebounds for the team Minnesota?
SELECT "High rebounds" FROM table_29893 WHERE "Team" = 'Minnesota'
[ 8241, 750, 262, 1029, 18841, 329, 262, 1074, 8919, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 1959, 49682, 33411, 366, 15592, 1, 796, 705, 45670, 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 ]
[ 8241, 750, 262, 1029, 18841, 329, 262, 1074, 8919, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 1959, 49682, 33411, 366, 15592, 1, 796, 705, 45670, 6 ]
What is the order number for the song choice 'detalles'?
SELECT "Order #" FROM table_454 WHERE "Song choice" = 'Detalles'
[ 2061, 318, 262, 1502, 1271, 329, 262, 3496, 3572, 705, 15255, 439, 274, 30960, 46506, 366, 18743, 1303, 1, 16034, 3084, 62, 34229, 33411, 366, 44241, 3572, 1, 796, 705, 11242, 439, 274, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1502, 1271, 329, 262, 3496, 3572, 705, 15255, 439, 274, 30960, 46506, 366, 18743, 1303, 1, 16034, 3084, 62, 34229, 33411, 366, 44241, 3572, 1, 796, 705, 11242, 439, 274, 6 ]