instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
count how many medications patient 032-1755 has been prescribed during this year.
SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-1755')) AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME...
[ 9127, 703, 867, 17638, 5827, 657, 2624, 12, 1558, 2816, 468, 587, 14798, 1141, 428, 614, 13, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 703, 867, 17638, 5827, 657, 2624, 12, 1558, 2816, 468, 587, 14798, 1141, 428, 614, 13, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16...
Find meter_400 and meter_100 , and visualize them by a bar chart, and could you display by the y axis in asc?
SELECT meter_400, meter_100 FROM swimmer ORDER BY meter_100
[ 16742, 16430, 62, 7029, 290, 16430, 62, 3064, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 714, 345, 3359, 416, 262, 331, 16488, 287, 10570, 30, 46506, 16430, 62, 7029, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 1643...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16430, 62, 7029, 290, 16430, 62, 3064, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 714, 345, 3359, 416, 262, 331, 16488, 287, 10570, 30, 46506, 16430, 62, 7029, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 1643...
What year did Shelley Winters win?
SELECT year FROM table_name_13 WHERE actress = "shelley winters"
[ 2061, 614, 750, 46854, 7178, 1010, 1592, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 1485, 33411, 14549, 796, 366, 82, 2978, 1636, 45764, 1 ]
[ 1, 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, 750, 46854, 7178, 1010, 1592, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 1485, 33411, 14549, 796, 366, 82, 2978, 1636, 45764, 1 ]
which three weapons have the highest caliber ?
SELECT "weapon name" FROM table_202_82 ORDER BY "caliber (mm)" DESC LIMIT 3
[ 4758, 1115, 3777, 423, 262, 4511, 28139, 5633, 46506, 366, 28741, 1438, 1, 16034, 3084, 62, 19004, 62, 6469, 38678, 11050, 366, 43288, 357, 3020, 16725, 22196, 34, 27564, 2043, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 1115, 3777, 423, 262, 4511, 28139, 5633, 46506, 366, 28741, 1438, 1, 16034, 3084, 62, 19004, 62, 6469, 38678, 11050, 366, 43288, 357, 3020, 16725, 22196, 34, 27564, 2043, 513 ]
How many figures for wickets when the strike rate is 54.0?
SELECT COUNT("Wickets") FROM table_23149 WHERE "Strike Rate" = '54.0'
[ 2437, 867, 5538, 329, 266, 15970, 618, 262, 5587, 2494, 318, 7175, 13, 15, 30, 46506, 327, 28270, 7203, 54, 15970, 4943, 16034, 3084, 62, 1954, 19442, 33411, 366, 31584, 14806, 1, 796, 705, 4051, 13, 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, 1, 1, 1, 1, 1 ]
[ 2437, 867, 5538, 329, 266, 15970, 618, 262, 5587, 2494, 318, 7175, 13, 15, 30, 46506, 327, 28270, 7203, 54, 15970, 4943, 16034, 3084, 62, 1954, 19442, 33411, 366, 31584, 14806, 1, 796, 705, 4051, 13, 15, 6 ]
What is the result of the hypo-meeting before 2010?
SELECT "Result" FROM table_10953 WHERE "Year" < '2010' AND "Tournament" = 'hypo-meeting'
[ 2061, 318, 262, 1255, 286, 262, 5328, 78, 12, 1326, 13629, 878, 3050, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 940, 49649, 33411, 366, 17688, 1, 1279, 705, 10333, 6, 5357, 366, 51, 5138, 1, 796, 705, 36362, 78, 12, 1326, 13629, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1255, 286, 262, 5328, 78, 12, 1326, 13629, 878, 3050, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 940, 49649, 33411, 366, 17688, 1, 1279, 705, 10333, 6, 5357, 366, 51, 5138, 1, 796, 705, 36362, 78, 12, 1326, 13629, ...
Plot how many party by grouped by party as a bar graph, could you rank by the total number from low to high?
SELECT Party, COUNT(Party) FROM representative GROUP BY Party ORDER BY COUNT(Party)
[ 43328, 703, 867, 2151, 416, 32824, 416, 2151, 355, 257, 2318, 4823, 11, 714, 345, 4279, 416, 262, 2472, 1271, 422, 1877, 284, 1029, 30, 46506, 3615, 11, 327, 28270, 7, 33553, 8, 16034, 8852, 44441, 11050, 3615, 38678, 11050, 327, 2827...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 43328, 703, 867, 2151, 416, 32824, 416, 2151, 355, 257, 2318, 4823, 11, 714, 345, 4279, 416, 262, 2472, 1271, 422, 1877, 284, 1029, 30, 46506, 3615, 11, 327, 28270, 7, 33553, 8, 16034, 8852, 44441, 11050, 3615, 38678, 11050, 327, 2827...
Who was the leader at the summit for the race in 2005?
SELECT "Leader at the summit" FROM table_52966 WHERE "Year" = '2005'
[ 8241, 373, 262, 3554, 379, 262, 14237, 329, 262, 3234, 287, 5075, 30, 46506, 366, 45009, 379, 262, 14237, 1, 16034, 3084, 62, 49721, 2791, 33411, 366, 17688, 1, 796, 705, 14315, 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 ]
[ 8241, 373, 262, 3554, 379, 262, 14237, 329, 262, 3234, 287, 5075, 30, 46506, 366, 45009, 379, 262, 14237, 1, 16034, 3084, 62, 49721, 2791, 33411, 366, 17688, 1, 796, 705, 14315, 6 ]
How many results were there for the Stan Fox Stakes race?
SELECT COUNT("Result") FROM table_827 WHERE "Race" = 'Stan Fox Stakes'
[ 2437, 867, 2482, 547, 612, 329, 262, 7299, 5426, 520, 1124, 3234, 30, 46506, 327, 28270, 7203, 23004, 4943, 16034, 3084, 62, 23, 1983, 33411, 366, 35157, 1, 796, 705, 32140, 5426, 520, 1124, 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 ]
[ 2437, 867, 2482, 547, 612, 329, 262, 7299, 5426, 520, 1124, 3234, 30, 46506, 327, 28270, 7203, 23004, 4943, 16034, 3084, 62, 23, 1983, 33411, 366, 35157, 1, 796, 705, 32140, 5426, 520, 1124, 6 ]
How much power was used when the callsign was DZYT?
SELECT power__kw_ FROM table_12547903_3 WHERE callsign = "DZYT"
[ 2437, 881, 1176, 373, 973, 618, 262, 3848, 570, 373, 360, 57, 56, 51, 30, 46506, 1176, 834, 46265, 62, 16034, 3084, 62, 11623, 31714, 3070, 62, 18, 33411, 3848, 570, 796, 366, 35, 57, 56, 51, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 1176, 373, 973, 618, 262, 3848, 570, 373, 360, 57, 56, 51, 30, 46506, 1176, 834, 46265, 62, 16034, 3084, 62, 11623, 31714, 3070, 62, 18, 33411, 3848, 570, 796, 366, 35, 57, 56, 51, 1 ]
What is the episode title that had a US viewership of 8.16?
SELECT "Title" FROM table_27183 WHERE "U.S. viewers (millions)" = '8.16'
[ 2061, 318, 262, 4471, 3670, 326, 550, 257, 1294, 48347, 286, 807, 13, 1433, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 1983, 24839, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 23, 13, 1433, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4471, 3670, 326, 550, 257, 1294, 48347, 286, 807, 13, 1433, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 1983, 24839, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 23, 13, 1433, 6 ]
Which Set 2 has a Set 1 of 25 15, and a Score of 3 0?
SELECT "Set 2" FROM table_37920 WHERE "Set 1" = '25–15' AND "Score" = '3–0'
[ 13828, 5345, 362, 468, 257, 5345, 352, 286, 1679, 1315, 11, 290, 257, 15178, 286, 513, 657, 30, 46506, 366, 7248, 362, 1, 16034, 3084, 62, 29088, 1238, 33411, 366, 7248, 352, 1, 796, 705, 1495, 1906, 1314, 6, 5357, 366, 26595, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 5345, 362, 468, 257, 5345, 352, 286, 1679, 1315, 11, 290, 257, 15178, 286, 513, 657, 30, 46506, 366, 7248, 362, 1, 16034, 3084, 62, 29088, 1238, 33411, 366, 7248, 352, 1, 796, 705, 1495, 1906, 1314, 6, 5357, 366, 26595, 1, ...
What is Albany, when Buffalo is Oatka Creek Shale, and when Syracuse is Cardiff Dark Gray Shale?
SELECT albany FROM table_name_18 WHERE buffalo = "oatka creek shale" AND syracuse = "cardiff dark gray shale"
[ 2061, 318, 29285, 11, 618, 14905, 318, 440, 265, 4914, 13509, 911, 1000, 11, 290, 618, 29141, 318, 34910, 3801, 12723, 911, 1000, 30, 46506, 435, 65, 1092, 16034, 3084, 62, 3672, 62, 1507, 33411, 45019, 796, 366, 15073, 4914, 39459, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 29285, 11, 618, 14905, 318, 440, 265, 4914, 13509, 911, 1000, 11, 290, 618, 29141, 318, 34910, 3801, 12723, 911, 1000, 30, 46506, 435, 65, 1092, 16034, 3084, 62, 3672, 62, 1507, 33411, 45019, 796, 366, 15073, 4914, 39459, 3...
how many senators are from baton rouge ?
SELECT COUNT(*) FROM table_204_293 WHERE "district office" = 'baton rouge'
[ 4919, 867, 15469, 389, 422, 7365, 261, 13805, 469, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 31675, 33411, 366, 17080, 2012, 2607, 1, 796, 705, 8664, 261, 13805, 469, 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 ]
[ 4919, 867, 15469, 389, 422, 7365, 261, 13805, 469, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 31675, 33411, 366, 17080, 2012, 2607, 1, 796, 705, 8664, 261, 13805, 469, 6 ]
serum potassium > 5 mmol / l
SELECT * FROM table_test_5 WHERE serum_potassium > 5
[ 2655, 388, 33156, 1875, 642, 47340, 1220, 300, 46506, 1635, 16034, 3084, 62, 9288, 62, 20, 33411, 20502, 62, 13059, 26663, 1875, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2655, 388, 33156, 1875, 642, 47340, 1220, 300, 46506, 1635, 16034, 3084, 62, 9288, 62, 20, 33411, 20502, 62, 13059, 26663, 1875, 642 ]
What competition has a score greater than 30, a draw less than 5, and a loss larger than 10?
SELECT competition FROM table_name_88 WHERE points > 30 AND draw < 5 AND lost > 10
[ 2061, 5449, 468, 257, 4776, 3744, 621, 1542, 11, 257, 3197, 1342, 621, 642, 11, 290, 257, 2994, 4025, 621, 838, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 3459, 33411, 2173, 1875, 1542, 5357, 3197, 1279, 642, 5357, 2626, 1875, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5449, 468, 257, 4776, 3744, 621, 1542, 11, 257, 3197, 1342, 621, 642, 11, 290, 257, 2994, 4025, 621, 838, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 3459, 33411, 2173, 1875, 1542, 5357, 3197, 1279, 642, 5357, 2626, 1875, 838 ]
What is the mark from April 2, 1994 with a wind number of 2.0?
SELECT "Mark" FROM table_59433 WHERE "Wind*" = '2.0' AND "Date" = 'april 2, 1994'
[ 2061, 318, 262, 1317, 422, 3035, 362, 11, 9162, 351, 257, 2344, 1271, 286, 362, 13, 15, 30, 46506, 366, 9704, 1, 16034, 3084, 62, 3270, 42117, 33411, 366, 8731, 9, 1, 796, 705, 17, 13, 15, 6, 5357, 366, 10430, 1, 796, 705, 499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1317, 422, 3035, 362, 11, 9162, 351, 257, 2344, 1271, 286, 362, 13, 15, 30, 46506, 366, 9704, 1, 16034, 3084, 62, 3270, 42117, 33411, 366, 8731, 9, 1, 796, 705, 17, 13, 15, 6, 5357, 366, 10430, 1, 796, 705, 499, ...
What is the lowest rank with poland as the nationality and a time greater than 55.34?
SELECT MIN(rank) FROM table_name_73 WHERE nationality = "poland" AND time > 55.34
[ 2061, 318, 262, 9016, 4279, 351, 755, 392, 355, 262, 29835, 290, 257, 640, 3744, 621, 5996, 13, 2682, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 29835, 796, 366, 16104, 392, 1, 5357, 640, 1875, 5996, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 4279, 351, 755, 392, 355, 262, 29835, 290, 257, 640, 3744, 621, 5996, 13, 2682, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 29835, 796, 366, 16104, 392, 1, 5357, 640, 1875, 5996, 13, ...
What date was the visiting team of Los Angeles Rams, earlier than 1958?
SELECT "Date" FROM table_12593 WHERE "Visiting Team" = 'los angeles rams' AND "Year" < '1958'
[ 2061, 3128, 373, 262, 10013, 1074, 286, 5401, 5652, 16077, 11, 2961, 621, 24648, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1065, 49051, 33411, 366, 15854, 1780, 4816, 1, 796, 705, 33280, 18304, 274, 374, 4105, 6, 5357, 366, 17688, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10013, 1074, 286, 5401, 5652, 16077, 11, 2961, 621, 24648, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1065, 49051, 33411, 366, 15854, 1780, 4816, 1, 796, 705, 33280, 18304, 274, 374, 4105, 6, 5357, 366, 17688, 1,...
From what series was Tokio Jokio, directed by Norm McCabe?
SELECT "Series" FROM table_64288 WHERE "Director" = 'norm mccabe' AND "Title" = 'tokio jokio'
[ 4863, 644, 2168, 373, 9453, 952, 449, 482, 952, 11, 7924, 416, 11220, 45395, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 2414, 25270, 33411, 366, 28702, 1, 796, 705, 27237, 285, 535, 11231, 6, 5357, 366, 19160, 1, 796, 705, 83, 482, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4863, 644, 2168, 373, 9453, 952, 449, 482, 952, 11, 7924, 416, 11220, 45395, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 2414, 25270, 33411, 366, 28702, 1, 796, 705, 27237, 285, 535, 11231, 6, 5357, 366, 19160, 1, 796, 705, 83, 482, ...
What are the Runner(s)-up of the 1972 Championship?
SELECT "Runner(s)-up" FROM table_44719 WHERE "Year" = '1972'
[ 2061, 389, 262, 21529, 7, 82, 13219, 929, 286, 262, 16101, 10749, 30, 46506, 366, 49493, 7, 82, 13219, 929, 1, 16034, 3084, 62, 34825, 1129, 33411, 366, 17688, 1, 796, 705, 41023, 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, 389, 262, 21529, 7, 82, 13219, 929, 286, 262, 16101, 10749, 30, 46506, 366, 49493, 7, 82, 13219, 929, 1, 16034, 3084, 62, 34825, 1129, 33411, 366, 17688, 1, 796, 705, 41023, 6 ]
what is primary disease of subject name kelly gallardo?
SELECT demographic.diagnosis FROM demographic WHERE demographic.name = "Kelly Gallardo"
[ 10919, 318, 4165, 4369, 286, 2426, 1438, 885, 12810, 7976, 13109, 30, 46506, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 34831, 7096, 13109, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 4165, 4369, 286, 2426, 1438, 885, 12810, 7976, 13109, 30, 46506, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 34831, 7096, 13109, 1 ]
What was the class when part 4 was *r danaz?
SELECT "Class" FROM table_49396 WHERE "Part 4" = '*rādanaz'
[ 2061, 373, 262, 1398, 618, 636, 604, 373, 1635, 81, 46078, 1031, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 2920, 34107, 33411, 366, 7841, 604, 1, 796, 705, 9, 81, 10235, 25604, 1031, 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, 373, 262, 1398, 618, 636, 604, 373, 1635, 81, 46078, 1031, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 2920, 34107, 33411, 366, 7841, 604, 1, 796, 705, 9, 81, 10235, 25604, 1031, 6 ]
What is the sum on wins with an against ratio of 0.83, and more than 1 loss?
SELECT SUM("Wins") FROM table_62878 WHERE "For & Against Ratio" = '0.83' AND "Losses" > '1'
[ 2061, 318, 262, 2160, 319, 7864, 351, 281, 1028, 8064, 286, 657, 13, 5999, 11, 290, 517, 621, 352, 2994, 30, 46506, 35683, 7203, 54, 1040, 4943, 16034, 3084, 62, 48200, 3695, 33411, 366, 1890, 1222, 12914, 33956, 1, 796, 705, 15, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 319, 7864, 351, 281, 1028, 8064, 286, 657, 13, 5999, 11, 290, 517, 621, 352, 2994, 30, 46506, 35683, 7203, 54, 1040, 4943, 16034, 3084, 62, 48200, 3695, 33411, 366, 1890, 1222, 12914, 33956, 1, 796, 705, 15, 13...
Compare the number of items in each color scheme using a bar chart.
SELECT color, COUNT(color) FROM photos GROUP BY color
[ 41488, 262, 1271, 286, 3709, 287, 1123, 3124, 7791, 1262, 257, 2318, 8262, 13, 46506, 3124, 11, 327, 28270, 7, 8043, 8, 16034, 5205, 44441, 11050, 3124 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 41488, 262, 1271, 286, 3709, 287, 1123, 3124, 7791, 1262, 257, 2318, 8262, 13, 46506, 3124, 11, 327, 28270, 7, 8043, 8, 16034, 5205, 44441, 11050, 3124 ]
who is the team 2 when the 1st leg is 2-2?
SELECT "Team 2" FROM table_53842 WHERE "1st leg" = '2-2'
[ 8727, 318, 262, 1074, 362, 618, 262, 352, 301, 1232, 318, 362, 12, 17, 30, 46506, 366, 15592, 362, 1, 16034, 3084, 62, 49561, 3682, 33411, 366, 16, 301, 1232, 1, 796, 705, 17, 12, 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 ]
[ 8727, 318, 262, 1074, 362, 618, 262, 352, 301, 1232, 318, 362, 12, 17, 30, 46506, 366, 15592, 362, 1, 16034, 3084, 62, 49561, 3682, 33411, 366, 16, 301, 1232, 1, 796, 705, 17, 12, 17, 6 ]
Who was the winner in the game that had Teikyo as the runner-up?
SELECT "Winner" FROM table_34613 WHERE "Runner-up" = 'teikyo'
[ 8241, 373, 262, 8464, 287, 262, 983, 326, 550, 1665, 1134, 8226, 355, 262, 17490, 12, 929, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 30557, 1485, 33411, 366, 49493, 12, 929, 1, 796, 705, 660, 1134, 8226, 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 ]
[ 8241, 373, 262, 8464, 287, 262, 983, 326, 550, 1665, 1134, 8226, 355, 262, 17490, 12, 929, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 30557, 1485, 33411, 366, 49493, 12, 929, 1, 796, 705, 660, 1134, 8226, 6 ]
What is the lowest number of people attending the game where Colorado was the home team?
SELECT MIN("Attendance") FROM table_37709 WHERE "Home" = 'colorado'
[ 2061, 318, 262, 9016, 1271, 286, 661, 11969, 262, 983, 810, 7492, 373, 262, 1363, 1074, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2718, 31495, 33411, 366, 16060, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1271, 286, 661, 11969, 262, 983, 810, 7492, 373, 262, 1363, 1074, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2718, 31495, 33411, 366, 16060, 1, 796, 705, 8043, 4533, 6 ]
What was the role for Challenge TV?
SELECT role FROM table_name_55 WHERE broadcaster = "challenge tv"
[ 2061, 373, 262, 2597, 329, 13879, 3195, 30, 46506, 2597, 16034, 3084, 62, 3672, 62, 2816, 33411, 26661, 796, 366, 36747, 3540, 31557, 1 ]
[ 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, 2597, 329, 13879, 3195, 30, 46506, 2597, 16034, 3084, 62, 3672, 62, 2816, 33411, 26661, 796, 366, 36747, 3540, 31557, 1 ]
Find the names of all instructors in Comp. Sci. department with salary > 80000.
SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.' AND salary > 80000
[ 16742, 262, 3891, 286, 477, 33667, 287, 3082, 13, 10286, 13, 5011, 351, 9588, 1875, 807, 2388, 13, 46506, 1438, 16034, 21187, 33411, 390, 457, 62, 3672, 796, 705, 7293, 13, 10286, 2637, 5357, 9588, 1875, 807, 2388 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 286, 477, 33667, 287, 3082, 13, 10286, 13, 5011, 351, 9588, 1875, 807, 2388, 13, 46506, 1438, 16034, 21187, 33411, 390, 457, 62, 3672, 796, 705, 7293, 13, 10286, 2637, 5357, 9588, 1875, 807, 2388 ]
List all the distinct stations from which a trip of duration below 100 started.
SELECT DISTINCT start_station_name FROM trip WHERE duration < 100
[ 8053, 477, 262, 7310, 8985, 422, 543, 257, 5296, 286, 9478, 2174, 1802, 2067, 13, 46506, 360, 8808, 1268, 4177, 923, 62, 17529, 62, 3672, 16034, 5296, 33411, 9478, 1279, 1802 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 477, 262, 7310, 8985, 422, 543, 257, 5296, 286, 9478, 2174, 1802, 2067, 13, 46506, 360, 8808, 1268, 4177, 923, 62, 17529, 62, 3672, 16034, 5296, 33411, 9478, 1279, 1802 ]
which team did the rangers play first in november of 1992 in the uefa champions league ?
SELECT "opponent" FROM table_204_691 WHERE "date" = 11 AND "date" = 1992 ORDER BY "date" LIMIT 1
[ 4758, 1074, 750, 262, 374, 6606, 711, 717, 287, 645, 303, 1916, 286, 9768, 287, 262, 334, 891, 64, 7827, 4652, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 18638, 62, 49541, 33411, 366, 4475, 1, 796, 1367, 5357, 366, 4475, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 750, 262, 374, 6606, 711, 717, 287, 645, 303, 1916, 286, 9768, 287, 262, 334, 891, 64, 7827, 4652, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 18638, 62, 49541, 33411, 366, 4475, 1, 796, 1367, 5357, 366, 4475, 1, ...
Which League Goals have FA Cup Apps of 2, and Total Goals smaller than 0?
SELECT AVG(league_goals) FROM table_name_80 WHERE fa_cup_apps = "2" AND total_goals < 0
[ 13828, 4041, 28510, 423, 9677, 5454, 27710, 286, 362, 11, 290, 7472, 28510, 4833, 621, 657, 30, 46506, 35224, 7, 19316, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 1795, 33411, 24685, 62, 25244, 62, 18211, 796, 366, 17, 1, 5357, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4041, 28510, 423, 9677, 5454, 27710, 286, 362, 11, 290, 7472, 28510, 4833, 621, 657, 30, 46506, 35224, 7, 19316, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 1795, 33411, 24685, 62, 25244, 62, 18211, 796, 366, 17, 1, 5357, 24...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, visualize the relationship between commission_pct and department_id .
SELECT COMMISSION_PCT, DEPARTMENT_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 38350, 262, 2776, 1022, 5810, 62, 79, 310, 290, 5011, 62, 312, 764, 46506, 2224...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 38350, 262, 2776, 1022, 5810, 62, 79, 310, 290, 5011, 62, 312, 764, 46506, 2224...
What nation is Marion Buisson playing for?
SELECT nationality FROM table_name_49 WHERE name = "marion buisson"
[ 2061, 3277, 318, 32473, 9842, 30927, 2712, 329, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 2920, 33411, 1438, 796, 366, 3876, 295, 809, 30927, 1 ]
[ 1, 1, 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, 3277, 318, 32473, 9842, 30927, 2712, 329, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 2920, 33411, 1438, 796, 366, 3876, 295, 809, 30927, 1 ]
What was the location and attendance for game 2?
SELECT location_attendance FROM table_27700530_15 WHERE game = 2
[ 2061, 373, 262, 4067, 290, 14858, 329, 983, 362, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 1983, 9879, 38612, 62, 1314, 33411, 983, 796, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4067, 290, 14858, 329, 983, 362, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 1983, 9879, 38612, 62, 1314, 33411, 983, 796, 362 ]
Draw a scatterplot of team id vs school_id where team id is on the x-axis and points are colored by ACC_Road
SELECT Team_ID, School_ID FROM basketball_match GROUP BY ACC_Road
[ 25302, 257, 41058, 29487, 286, 1074, 4686, 3691, 1524, 62, 312, 810, 1074, 4686, 318, 319, 262, 2124, 12, 22704, 290, 2173, 389, 16396, 416, 15859, 62, 29197, 46506, 4816, 62, 2389, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 44441, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 41058, 29487, 286, 1074, 4686, 3691, 1524, 62, 312, 810, 1074, 4686, 318, 319, 262, 2124, 12, 22704, 290, 2173, 389, 16396, 416, 15859, 62, 29197, 46506, 4816, 62, 2389, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 44441, 1...
What was the away team score when the home team score was 11.18 (84)?
SELECT "Away team score" FROM table_52109 WHERE "Home team score" = '11.18 (84)'
[ 2061, 373, 262, 1497, 1074, 4776, 618, 262, 1363, 1074, 4776, 373, 1367, 13, 1507, 357, 5705, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 4309, 14454, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1157, 13, 1507, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1497, 1074, 4776, 618, 262, 1363, 1074, 4776, 373, 1367, 13, 1507, 357, 5705, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 4309, 14454, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1157, 13, 1507, 357, ...
what was the drug which during the first hospital encounter had been prescribed to patient 95235 two times?
SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 95235 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) GROUP BY prescriptions.drug) A...
[ 10919, 373, 262, 2563, 543, 1141, 262, 717, 4436, 8791, 550, 587, 14798, 284, 5827, 6957, 22370, 734, 1661, 30, 46506, 256, 16, 13, 30349, 16034, 357, 46506, 34092, 13, 30349, 11, 327, 28270, 7, 18302, 24370, 13, 9688, 4475, 8, 7054, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 543, 1141, 262, 717, 4436, 8791, 550, 587, 14798, 284, 5827, 6957, 22370, 734, 1661, 30, 46506, 256, 16, 13, 30349, 16034, 357, 46506, 34092, 13, 30349, 11, 327, 28270, 7, 18302, 24370, 13, 9688, 4475, 8, 7054, ...
What is the IHSAA Class for a school in Munster with an enrollment of 1,206?
SELECT "IHSAA Class" FROM table_14077 WHERE "Enrollment" > '1,206' AND "Location" = 'munster'
[ 2061, 318, 262, 314, 7998, 3838, 5016, 329, 257, 1524, 287, 12107, 1706, 351, 281, 20753, 286, 352, 11, 22136, 30, 46506, 366, 40, 7998, 3838, 5016, 1, 16034, 3084, 62, 1415, 2998, 22, 33411, 366, 4834, 48108, 1, 1875, 705, 16, 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 ]
[ 2061, 318, 262, 314, 7998, 3838, 5016, 329, 257, 1524, 287, 12107, 1706, 351, 281, 20753, 286, 352, 11, 22136, 30, 46506, 366, 40, 7998, 3838, 5016, 1, 16034, 3084, 62, 1415, 2998, 22, 33411, 366, 4834, 48108, 1, 1875, 705, 16, 11, ...
How many wins has a podiums greater than 1 and 9 as the races with a season after 1984?
SELECT COUNT(wins) FROM table_name_13 WHERE podiums > 1 AND races = 9 AND season > 1984
[ 2437, 867, 7864, 468, 257, 27941, 82, 3744, 621, 352, 290, 860, 355, 262, 9558, 351, 257, 1622, 706, 12844, 30, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 27941, 82, 1875, 352, 5357, 9558, 796, 860, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7864, 468, 257, 27941, 82, 3744, 621, 352, 290, 860, 355, 262, 9558, 351, 257, 1622, 706, 12844, 30, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 27941, 82, 1875, 352, 5357, 9558, 796, 860, ...
Give the neames of wines with prices below 50 and with appelations in Monterey county, and count them by a bar chart, show in asc by the Y.
SELECT Name, COUNT(Name) FROM appellations AS T1 JOIN wine AS T2 ON T1.Appelation = T2.Appelation WHERE T1.County = "Monterey" AND T2.Price < 50 GROUP BY Name ORDER BY COUNT(Name)
[ 23318, 262, 497, 1047, 286, 30680, 351, 4536, 2174, 2026, 290, 351, 598, 417, 602, 287, 5575, 48023, 7968, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 905, 287, 10570, 416, 262, 575, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 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...
[ 23318, 262, 497, 1047, 286, 30680, 351, 4536, 2174, 2026, 290, 351, 598, 417, 602, 287, 5575, 48023, 7968, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 905, 287, 10570, 416, 262, 575, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 1...
What is the tenure for the Tritons team?
SELECT tenure FROM table_name_28 WHERE team_nickname = "tritons"
[ 2061, 318, 262, 17081, 329, 262, 309, 799, 684, 1074, 30, 46506, 17081, 16034, 3084, 62, 3672, 62, 2078, 33411, 1074, 62, 17172, 3672, 796, 366, 83, 799, 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, 1, 1 ]
[ 2061, 318, 262, 17081, 329, 262, 309, 799, 684, 1074, 30, 46506, 17081, 16034, 3084, 62, 3672, 62, 2078, 33411, 1074, 62, 17172, 3672, 796, 366, 83, 799, 684, 1 ]
What is the PSIP Short name for the Channel that is less than 51.6?
SELECT psip_short_name FROM table_name_70 WHERE channel < 51.6
[ 2061, 318, 262, 6599, 4061, 10073, 1438, 329, 262, 11102, 326, 318, 1342, 621, 6885, 13, 21, 30, 46506, 26692, 541, 62, 19509, 62, 3672, 16034, 3084, 62, 3672, 62, 2154, 33411, 6518, 1279, 6885, 13, 21 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6599, 4061, 10073, 1438, 329, 262, 11102, 326, 318, 1342, 621, 6885, 13, 21, 30, 46506, 26692, 541, 62, 19509, 62, 3672, 16034, 3084, 62, 3672, 62, 2154, 33411, 6518, 1279, 6885, 13, 21 ]
Show the id and star rating of each hotel, ordered by its price from low to high by a scatter chart.
SELECT hotel_id, star_rating_code FROM Hotels ORDER BY price_range
[ 15307, 262, 4686, 290, 3491, 7955, 286, 1123, 7541, 11, 6149, 416, 663, 2756, 422, 1877, 284, 1029, 416, 257, 41058, 8262, 13, 46506, 7541, 62, 312, 11, 3491, 62, 8821, 62, 8189, 16034, 6964, 1424, 38678, 11050, 2756, 62, 9521 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4686, 290, 3491, 7955, 286, 1123, 7541, 11, 6149, 416, 663, 2756, 422, 1877, 284, 1029, 416, 257, 41058, 8262, 13, 46506, 7541, 62, 312, 11, 3491, 62, 8821, 62, 8189, 16034, 6964, 1424, 38678, 11050, 2756, 62, 9521 ]
How many draws were there in played games?
SELECT drawn FROM table_17941032_2 WHERE "played" = "played"
[ 2437, 867, 14293, 547, 612, 287, 2826, 1830, 30, 46506, 7428, 16034, 3084, 62, 1558, 5824, 940, 2624, 62, 17, 33411, 366, 21542, 1, 796, 366, 21542, 1 ]
[ 1, 1, 1, 1, 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, 547, 612, 287, 2826, 1830, 30, 46506, 7428, 16034, 3084, 62, 1558, 5824, 940, 2624, 62, 17, 33411, 366, 21542, 1, 796, 366, 21542, 1 ]
WHAT CHAMPION HAD RICHMOND RIVER COURSE ON JUNE 13?
SELECT champion FROM table_name_39 WHERE course = "richmond river" AND date = "june 13"
[ 32971, 5870, 23518, 2849, 367, 2885, 371, 20739, 44, 18672, 371, 38757, 37384, 5188, 6177, 449, 41884, 1511, 30, 46506, 8783, 16034, 3084, 62, 3672, 62, 2670, 33411, 1781, 796, 366, 7527, 6327, 7850, 1, 5357, 3128, 796, 366, 73, 1726, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 5870, 23518, 2849, 367, 2885, 371, 20739, 44, 18672, 371, 38757, 37384, 5188, 6177, 449, 41884, 1511, 30, 46506, 8783, 16034, 3084, 62, 3672, 62, 2670, 33411, 1781, 796, 366, 7527, 6327, 7850, 1, 5357, 3128, 796, 366, 73, 1726, ...
when was the first time for patient 23969 procedure in this year?
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23969) AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY procedures_icd.charttime LIMIT 1
[ 12518, 373, 262, 717, 640, 329, 5827, 32817, 3388, 8771, 287, 428, 614, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 262, 717, 640, 329, 5827, 32817, 3388, 8771, 287, 428, 614, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, ...
what were the four most commonly ordered procedures for patients of the age of 20s?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age B...
[ 10919, 547, 262, 1440, 749, 8811, 6149, 9021, 329, 3871, 286, 262, 2479, 286, 1160, 82, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 1440, 749, 8811, 6149, 9021, 329, 3871, 286, 262, 2479, 286, 1160, 82, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, ...
Top 500 users from Morocco.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%morocco%' ORDER BY Reputation DESC LIMIT 500
[ 9126, 5323, 2985, 422, 29638, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9126, 5323, 2985, 422, 29638, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36048, ...
What chassis has smaller than 9 points by Equipe Rosier?
SELECT chassis FROM table_name_92 WHERE points < 9 AND entrant = "equipe rosier"
[ 2061, 24587, 468, 4833, 621, 860, 2173, 416, 7889, 3757, 10018, 959, 30, 46506, 24587, 16034, 3084, 62, 3672, 62, 5892, 33411, 2173, 1279, 860, 5357, 920, 5250, 796, 366, 4853, 3757, 686, 82, 959, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24587, 468, 4833, 621, 860, 2173, 416, 7889, 3757, 10018, 959, 30, 46506, 24587, 16034, 3084, 62, 3672, 62, 5892, 33411, 2173, 1279, 860, 5357, 920, 5250, 796, 366, 4853, 3757, 686, 82, 959, 1 ]
count the number of patients who were discharged at home.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "HOME"
[ 9127, 262, 1271, 286, 3871, 508, 547, 26476, 379, 1363, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 39069, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 3871, 508, 547, 26476, 379, 1363, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 39069, 1 ]
i'm interested in flights from DENVER to PITTSBURGH
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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBU...
[ 72, 1101, 4609, 287, 13956, 422, 37692, 5959, 284, 49040, 4694, 38926, 17511, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1101, 4609, 287, 13956, 422, 37692, 5959, 284, 49040, 4694, 38926, 17511, 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...
What club is R. H. C. Human who has a right arm medium pace bowling style a member of?
SELECT club FROM table_name_41 WHERE bowling_style = "right arm medium pace" AND name = "r. h. c. human"
[ 2061, 3430, 318, 371, 13, 367, 13, 327, 13, 5524, 508, 468, 257, 826, 3211, 7090, 8761, 33564, 3918, 257, 2888, 286, 30, 46506, 3430, 16034, 3084, 62, 3672, 62, 3901, 33411, 33564, 62, 7635, 796, 366, 3506, 3211, 7090, 8761, 1, 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 ]
[ 2061, 3430, 318, 371, 13, 367, 13, 327, 13, 5524, 508, 468, 257, 826, 3211, 7090, 8761, 33564, 3918, 257, 2888, 286, 30, 46506, 3430, 16034, 3084, 62, 3672, 62, 3901, 33411, 33564, 62, 7635, 796, 366, 3506, 3211, 7090, 8761, 1, 5357...
answers including old MATLAB docs links. Find answers containing old links to MATLAB docs, which are likely broken. See: http://undocumentedmatlab.com/blog/changes-in-the-online-doc-urls
SELECT p.Id, p.Id AS "post_link", pt.Name AS "type", p.Score, p.CreationDate, p.Tags FROM Posts AS p INNER JOIN PostTypes AS pt ON pt.Id = p.PostTypeId WHERE p.Body LIKE '%helpdesk%' AND p.OwnerUserId = @UserId AND p.PostTypeId = 2 ORDER BY p.CreationDate DESC LIMIT 100
[ 504, 86, 364, 1390, 1468, 36775, 48780, 34165, 6117, 13, 9938, 7429, 7268, 1468, 6117, 284, 36775, 48780, 34165, 11, 543, 389, 1884, 5445, 13, 201, 198, 6214, 25, 2638, 1378, 917, 17664, 6759, 23912, 13, 785, 14, 14036, 14, 36653, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 504, 86, 364, 1390, 1468, 36775, 48780, 34165, 6117, 13, 9938, 7429, 7268, 1468, 6117, 284, 36775, 48780, 34165, 11, 543, 389, 1884, 5445, 13, 201, 198, 6214, 25, 2638, 1378, 917, 17664, 6759, 23912, 13, 785, 14, 14036, 14, 36653, 12,...
immune disorder ( such as hiv / aids )
SELECT * FROM table_train_259 WHERE immune_deficiency_disorder = 1 OR hiv_infection = 1
[ 38345, 8967, 357, 884, 355, 289, 452, 1220, 31378, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 25191, 33411, 10900, 62, 4299, 19777, 62, 6381, 2875, 796, 352, 6375, 289, 452, 62, 27816, 295, 796, 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 ]
[ 38345, 8967, 357, 884, 355, 289, 452, 1220, 31378, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 25191, 33411, 10900, 62, 4299, 19777, 62, 6381, 2875, 796, 352, 6375, 289, 452, 62, 27816, 295, 796, 352 ]
What is the home record for the Maccabi Tel-Aviv club?
SELECT "Home" FROM table_62614 WHERE "Club" = 'maccabi tel-aviv'
[ 2061, 318, 262, 1363, 1700, 329, 262, 4100, 66, 17914, 12088, 12, 7355, 452, 3430, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 45191, 1415, 33411, 366, 42350, 1, 796, 705, 76, 4134, 17914, 13632, 12, 615, 452, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1363, 1700, 329, 262, 4100, 66, 17914, 12088, 12, 7355, 452, 3430, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 45191, 1415, 33411, 366, 42350, 1, 796, 705, 76, 4134, 17914, 13632, 12, 615, 452, 6 ]
show me the flights on DL that go through ATLANTA
SELECT DISTINCT flight.flight_id FROM airport_service, city, flight, flight_stop WHERE city.city_code = airport_service.city_code AND city.city_name = 'ATLANTA' AND flight_stop.stop_airport = airport_service.airport_code AND flight.airline_code = 'DL' AND flight.flight_id = flight_stop.flight_id
[ 12860, 502, 262, 13956, 319, 23641, 326, 467, 832, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 11, 5474, 62, 11338, 33411, 1748, 13, 19205, 62, 8189, 796, 900...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 262, 13956, 319, 23641, 326, 467, 832, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 11, 5474, 62, 11338, 33411, 1748, 13, 19205, 62, 8189, 796, 900...
SELECT Id, Body, Title, Tags FROM posts WHERE Id < 5000.
SELECT Id, Body, Title, Tags FROM Posts WHERE Id < 5000
[ 46506, 5121, 11, 12290, 11, 11851, 11, 44789, 16034, 6851, 33411, 5121, 1279, 23336, 13, 46506, 5121, 11, 12290, 11, 11851, 11, 44789, 16034, 12043, 33411, 5121, 1279, 23336 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 46506, 5121, 11, 12290, 11, 11851, 11, 44789, 16034, 6851, 33411, 5121, 1279, 23336, 13, 46506, 5121, 11, 12290, 11, 11851, 11, 44789, 16034, 12043, 33411, 5121, 1279, 23336 ]
What was the score in a place of t5 in the United States?
SELECT score FROM table_name_25 WHERE place = "t5" AND nation = "united states"
[ 2061, 373, 262, 4776, 287, 257, 1295, 286, 256, 20, 287, 262, 1578, 1829, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1495, 33411, 1295, 796, 366, 83, 20, 1, 5357, 3277, 796, 366, 41187, 2585, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 287, 257, 1295, 286, 256, 20, 287, 262, 1578, 1829, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1495, 33411, 1295, 796, 366, 83, 20, 1, 5357, 3277, 796, 366, 41187, 2585, 1 ]
Which TV Time has a Result of w 24 17?
SELECT tv_time FROM table_name_93 WHERE result = "w 24–17"
[ 13828, 3195, 3862, 468, 257, 25414, 286, 266, 1987, 1596, 30, 46506, 31557, 62, 2435, 16034, 3084, 62, 3672, 62, 6052, 33411, 1255, 796, 366, 86, 1987, 1906, 1558, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 3195, 3862, 468, 257, 25414, 286, 266, 1987, 1596, 30, 46506, 31557, 62, 2435, 16034, 3084, 62, 3672, 62, 6052, 33411, 1255, 796, 366, 86, 1987, 1906, 1558, 1 ]
What is the number of patients who had procedure icd9 code 3950 and died in or before 2133?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dod_year <= "2133.0" AND procedures.icd9_code = "3950"
[ 2061, 318, 262, 1271, 286, 3871, 508, 550, 8771, 14158, 67, 24, 2438, 5014, 1120, 290, 3724, 287, 393, 878, 362, 16945, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 1271, 286, 3871, 508, 550, 8771, 14158, 67, 24, 2438, 5014, 1120, 290, 3724, 287, 393, 878, 362, 16945, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
how many patients have undergone a circumcision within the same hospital visit after having been diagnosed with personal history of fall, last year?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title =...
[ 4919, 867, 3871, 423, 29900, 257, 25513, 1626, 262, 976, 4436, 3187, 706, 1719, 587, 14641, 351, 2614, 2106, 286, 2121, 11, 938, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 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...
[ 4919, 867, 3871, 423, 29900, 257, 25513, 1626, 262, 976, 4436, 3187, 706, 1719, 587, 14641, 351, 2614, 2106, 286, 2121, 11, 938, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506,...
Name the slope length for 1966 groundstation
SELECT COUNT(slope_length) FROM table_17814458_1 WHERE elevation_groundstation = 1966
[ 5376, 262, 22638, 4129, 329, 19322, 2323, 17529, 46506, 327, 28270, 7, 6649, 3008, 62, 13664, 8, 16034, 3084, 62, 23188, 1415, 29334, 62, 16, 33411, 22910, 62, 2833, 17529, 796, 19322 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 22638, 4129, 329, 19322, 2323, 17529, 46506, 327, 28270, 7, 6649, 3008, 62, 13664, 8, 16034, 3084, 62, 23188, 1415, 29334, 62, 16, 33411, 22910, 62, 2833, 17529, 796, 19322 ]
Name the high rebounds for american airlines center
SELECT "High rebounds" FROM table_25490 WHERE "Location Attendance" = 'American Airlines Center'
[ 5376, 262, 1029, 18841, 329, 45630, 272, 26225, 3641, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 1495, 31503, 33411, 366, 14749, 46502, 590, 1, 796, 705, 7437, 16712, 3337, 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 ]
[ 5376, 262, 1029, 18841, 329, 45630, 272, 26225, 3641, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 1495, 31503, 33411, 366, 14749, 46502, 590, 1, 796, 705, 7437, 16712, 3337, 6 ]
Thanks' comments on accepted answers.
SELECT Id AS "comment_link" FROM Comments WHERE (Text LIKE 'thank you%' COLLATE SQL_Latin1_General_CP1_CI_AS OR Text LIKE 'thanks%' COLLATE SQL_Latin1_General_CP1_CI_AS) AND EXISTS(SELECT * FROM Votes WHERE VoteTypeId = 1 AND PostId = Comments.PostId) ORDER BY LENGTH(Text), CreationDate LIMIT @NumComments
[ 9690, 6, 3651, 319, 6292, 7429, 13, 46506, 5121, 7054, 366, 23893, 62, 8726, 1, 16034, 19502, 33411, 357, 8206, 34178, 705, 40716, 345, 4, 6, 7375, 3069, 6158, 16363, 62, 49022, 16, 62, 12218, 62, 8697, 16, 62, 25690, 62, 1921, 6375...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9690, 6, 3651, 319, 6292, 7429, 13, 46506, 5121, 7054, 366, 23893, 62, 8726, 1, 16034, 19502, 33411, 357, 8206, 34178, 705, 40716, 345, 4, 6, 7375, 3069, 6158, 16363, 62, 49022, 16, 62, 12218, 62, 8697, 16, 62, 25690, 62, 1921, 6375...
Name the Prominence of the Mountain Peak of matchless mountain pb?
SELECT "Prominence" FROM table_78854 WHERE "Mountain Peak" = 'matchless mountain pb'
[ 5376, 262, 10335, 18386, 286, 262, 9638, 23974, 286, 2872, 1203, 8598, 279, 65, 30, 46506, 366, 24129, 18386, 1, 16034, 3084, 62, 22, 3459, 4051, 33411, 366, 44, 18635, 23974, 1, 796, 705, 15699, 1203, 8598, 279, 65, 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, 10335, 18386, 286, 262, 9638, 23974, 286, 2872, 1203, 8598, 279, 65, 30, 46506, 366, 24129, 18386, 1, 16034, 3084, 62, 22, 3459, 4051, 33411, 366, 44, 18635, 23974, 1, 796, 705, 15699, 1203, 8598, 279, 65, 6 ]
What are the ids of the faculty members who do not advise any student.
SELECT facid FROM faculty EXCEPT SELECT advisor FROM student
[ 2061, 389, 262, 220, 2340, 286, 262, 12829, 1866, 508, 466, 407, 18595, 597, 3710, 13, 46506, 1777, 312, 16034, 12829, 7788, 42006, 33493, 20685, 16034, 3710 ]
[ 1, 1, 1, 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, 220, 2340, 286, 262, 12829, 1866, 508, 466, 407, 18595, 597, 3710, 13, 46506, 1777, 312, 16034, 12829, 7788, 42006, 33493, 20685, 16034, 3710 ]
Which Genre has a Year larger than 1999, and a Game of tony hawk's pro skater 2?
SELECT "Genre" FROM table_79587 WHERE "Year" > '1999' AND "Game" = 'tony hawk''s pro skater 2'
[ 13828, 5215, 260, 468, 257, 6280, 4025, 621, 7358, 11, 290, 257, 3776, 286, 256, 1647, 48710, 338, 386, 1341, 729, 362, 30, 46506, 366, 13746, 260, 1, 16034, 3084, 62, 3720, 44617, 33411, 366, 17688, 1, 1875, 705, 18946, 6, 5357, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5215, 260, 468, 257, 6280, 4025, 621, 7358, 11, 290, 257, 3776, 286, 256, 1647, 48710, 338, 386, 1341, 729, 362, 30, 46506, 366, 13746, 260, 1, 16034, 3084, 62, 3720, 44617, 33411, 366, 17688, 1, 1875, 705, 18946, 6, 5357, 36...
what were the three most common medications prescribed to pancreatitis - chronic male patients in the 40s within the same month after they had been diagnosed with pancreatitis - chronic until 2 years ago?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'pancreatitis - chronic' AND DATETIME(diagnosis.dia...
[ 10919, 547, 262, 1115, 749, 2219, 17638, 14798, 284, 47767, 11815, 532, 10726, 4257, 3871, 287, 262, 2319, 82, 1626, 262, 976, 1227, 706, 484, 550, 587, 14641, 351, 47767, 11815, 532, 10726, 1566, 362, 812, 2084, 30, 46506, 256, 18, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 1115, 749, 2219, 17638, 14798, 284, 47767, 11815, 532, 10726, 4257, 3871, 287, 262, 2319, 82, 1626, 262, 976, 1227, 706, 484, 550, 587, 14641, 351, 47767, 11815, 532, 10726, 1566, 362, 812, 2084, 30, 46506, 256, 18, 1...
how did patient 027-100528 last be admitted during the previous year to the hospital?
SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '027-100528' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY patient.hospitaladmittime DESC LIMIT 1
[ 4919, 750, 5827, 657, 1983, 12, 3064, 49351, 938, 307, 6848, 1141, 262, 2180, 614, 284, 262, 4436, 30, 46506, 5827, 13, 49257, 324, 24883, 1668, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44698, 12, 3064, 49351, 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...
[ 4919, 750, 5827, 657, 1983, 12, 3064, 49351, 938, 307, 6848, 1141, 262, 2180, 614, 284, 262, 4436, 30, 46506, 5827, 13, 49257, 324, 24883, 1668, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44698, 12, 3064, 49351, 6, ...
What was the crowd size in the match South Melbourne played at home?
SELECT crowd FROM table_name_28 WHERE home_team = "south melbourne"
[ 2061, 373, 262, 4315, 2546, 287, 262, 2872, 2520, 14819, 2826, 379, 1363, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 2078, 33411, 1363, 62, 15097, 796, 366, 35782, 7758, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 4315, 2546, 287, 262, 2872, 2520, 14819, 2826, 379, 1363, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 2078, 33411, 1363, 62, 15097, 796, 366, 35782, 7758, 12544, 1 ]
what are the top five most frequent lab tests ordered for patients in the same hospital encounter after the diagnosis of cellulitis - extremity.
SELECT t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'cellulitis - extr...
[ 10919, 389, 262, 1353, 1936, 749, 10792, 2248, 5254, 6149, 329, 3871, 287, 262, 976, 4436, 8791, 706, 262, 13669, 286, 47354, 11815, 532, 8963, 414, 13, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17, 13, 23912, 3672, 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...
[ 10919, 389, 262, 1353, 1936, 749, 10792, 2248, 5254, 6149, 329, 3871, 287, 262, 976, 4436, 8791, 706, 262, 13669, 286, 47354, 11815, 532, 8963, 414, 13, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17, 13, 23912, 3672, 11,...
Who was the opponent when the Phillies played on April 28?
SELECT opponent FROM table_name_77 WHERE date = "april 28"
[ 8241, 373, 262, 6125, 618, 262, 36552, 2826, 319, 3035, 2579, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 3324, 33411, 3128, 796, 366, 499, 22379, 2579, 1 ]
[ 1, 1, 1, 1, 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, 618, 262, 36552, 2826, 319, 3035, 2579, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 3324, 33411, 3128, 796, 366, 499, 22379, 2579, 1 ]
What isthe minor (South) winners total number is the primary (South) winners is Mendip Gate?
SELECT COUNT("Minor (South) Winners") FROM table_25635 WHERE "Primary (South) Winners" = 'Mendip Gate'
[ 2061, 318, 1169, 4159, 357, 14942, 8, 14591, 2472, 1271, 318, 262, 4165, 357, 14942, 8, 14591, 318, 20442, 541, 12816, 30, 46506, 327, 28270, 7203, 39825, 357, 14942, 8, 42754, 4943, 16034, 3084, 62, 11645, 2327, 33411, 366, 35170, 357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1169, 4159, 357, 14942, 8, 14591, 2472, 1271, 318, 262, 4165, 357, 14942, 8, 14591, 318, 20442, 541, 12816, 30, 46506, 327, 28270, 7203, 39825, 357, 14942, 8, 42754, 4943, 16034, 3084, 62, 11645, 2327, 33411, 366, 35170, 357,...
What was the home score when the away team scored 5.9 (39)?
SELECT "Home team" FROM table_57839 WHERE "Away team score" = '5.9 (39)'
[ 2061, 373, 262, 1363, 4776, 618, 262, 1497, 1074, 7781, 642, 13, 24, 357, 2670, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 38907, 2670, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 20, 13, 24, 357, 2670, 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 ]
[ 2061, 373, 262, 1363, 4776, 618, 262, 1497, 1074, 7781, 642, 13, 24, 357, 2670, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 38907, 2670, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 20, 13, 24, 357, 2670, 33047 ]
Which Particle has a Makeup of d s s and a Spin (Parity) J P of 3 2 +?
SELECT "Particle" FROM table_56576 WHERE "Makeup" = 'd s s' AND "Spin ( Parity ) J P" = '3⁄2 +'
[ 13828, 2142, 1548, 468, 257, 6889, 929, 286, 288, 264, 264, 290, 257, 28002, 357, 47, 6806, 8, 449, 350, 286, 513, 362, 1343, 30, 46506, 366, 7841, 1548, 1, 16034, 3084, 62, 47372, 4304, 33411, 366, 12050, 929, 1, 796, 705, 67, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2142, 1548, 468, 257, 6889, 929, 286, 288, 264, 264, 290, 257, 28002, 357, 47, 6806, 8, 449, 350, 286, 513, 362, 1343, 30, 46506, 366, 7841, 1548, 1, 16034, 3084, 62, 47372, 4304, 33411, 366, 12050, 929, 1, 796, 705, 67, 26...
What is the smallest number of points for a match less than 12?
SELECT MIN("Points") FROM table_7457 WHERE "Match" < '12'
[ 2061, 318, 262, 18197, 1271, 286, 2173, 329, 257, 2872, 1342, 621, 1105, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 22, 33032, 33411, 366, 23850, 1, 1279, 705, 1065, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18197, 1271, 286, 2173, 329, 257, 2872, 1342, 621, 1105, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 22, 33032, 33411, 366, 23850, 1, 1279, 705, 1065, 6 ]
What is the attendance when Pittsburgh is the home team?
SELECT AVG("Attendance") FROM table_45981 WHERE "Home" = 'pittsburgh'
[ 2061, 318, 262, 14858, 618, 12767, 318, 262, 1363, 1074, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2231, 4089, 16, 33411, 366, 16060, 1, 796, 705, 79, 715, 11931, 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, 14858, 618, 12767, 318, 262, 1363, 1074, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2231, 4089, 16, 33411, 366, 16060, 1, 796, 705, 79, 715, 11931, 6 ]
what is the last flight to ATLANTA from BALTIMORE
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATL...
[ 10919, 318, 262, 938, 5474, 284, 5161, 25697, 5603, 422, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5474, 284, 5161, 25697, 5603, 422, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, ...
Which Poll source has Pat Toomey of 23%?
SELECT poll_source FROM table_name_5 WHERE pat_toomey = "23%"
[ 13828, 12868, 2723, 468, 3208, 1675, 462, 88, 286, 2242, 4, 30, 46506, 3278, 62, 10459, 16034, 3084, 62, 3672, 62, 20, 33411, 1458, 62, 1462, 462, 88, 796, 366, 1954, 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, 1, 1 ]
[ 13828, 12868, 2723, 468, 3208, 1675, 462, 88, 286, 2242, 4, 30, 46506, 3278, 62, 10459, 16034, 3084, 62, 3672, 62, 20, 33411, 1458, 62, 1462, 462, 88, 796, 366, 1954, 39658 ]
Answers to Duplicate Questions by User.
SELECT 'post_link' = p.Id, a.Score, Answer = CASE WHEN p.AcceptedAnswerId = a.Id THEN 1 ELSE 0 END FROM Posts AS p INNER JOIN Posts AS a ON a.ParentId = p.Id WHERE EXISTS(SELECT 1 FROM PostLinks AS pl WHERE pl.PostId = p.Id AND pl.LinkTypeId = 3)
[ 2025, 37848, 284, 49821, 5344, 20396, 416, 11787, 13, 46506, 705, 7353, 62, 8726, 6, 796, 279, 13, 7390, 11, 257, 13, 26595, 11, 23998, 796, 42001, 42099, 279, 13, 38855, 276, 33706, 7390, 796, 257, 13, 7390, 42243, 352, 17852, 5188, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2025, 37848, 284, 49821, 5344, 20396, 416, 11787, 13, 46506, 705, 7353, 62, 8726, 6, 796, 279, 13, 7390, 11, 257, 13, 26595, 11, 23998, 796, 42001, 42099, 279, 13, 38855, 276, 33706, 7390, 796, 257, 13, 7390, 42243, 352, 17852, 5188, ...
What are the number of the first names of all students in Smith Hall?, list by the bar in ascending please.
SELECT Fname, COUNT(Fname) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' GROUP BY Fname ORDER BY Fname
[ 2061, 389, 262, 1271, 286, 262, 717, 3891, 286, 477, 2444, 287, 4176, 4789, 21747, 1351, 416, 262, 2318, 287, 41988, 3387, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 8, 16034, 13613, 7054, 309, 16, 32357, 1268, 18965, 62, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1271, 286, 262, 717, 3891, 286, 477, 2444, 287, 4176, 4789, 21747, 1351, 416, 262, 2318, 287, 41988, 3387, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 8, 16034, 13613, 7054, 309, 16, 32357, 1268, 18965, 62, 25...
What s the most common cause of the fire (code) in the database?
SELECT stat_cause_code FROM fires GROUP BY stat_cause_code ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 264, 262, 749, 2219, 2728, 286, 262, 2046, 357, 8189, 8, 287, 262, 6831, 30, 46506, 1185, 62, 25587, 62, 8189, 16034, 12252, 44441, 11050, 1185, 62, 25587, 62, 8189, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 264, 262, 749, 2219, 2728, 286, 262, 2046, 357, 8189, 8, 287, 262, 6831, 30, 46506, 1185, 62, 25587, 62, 8189, 16034, 12252, 44441, 11050, 1185, 62, 25587, 62, 8189, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 35...
Before the year 1988, what is the lowest number of points that entrant Coloni SpA scored?
SELECT MIN(points) FROM table_name_84 WHERE entrant = "coloni spa" AND year < 1988
[ 8421, 262, 614, 12122, 11, 644, 318, 262, 9016, 1271, 286, 2173, 326, 920, 5250, 14049, 72, 1338, 32, 7781, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 920, 5250, 796, 366, 4033, 14651, 41900, 1, 5357, 614...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8421, 262, 614, 12122, 11, 644, 318, 262, 9016, 1271, 286, 2173, 326, 920, 5250, 14049, 72, 1338, 32, 7781, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 920, 5250, 796, 366, 4033, 14651, 41900, 1, 5357, 614...
Which Gold Coast has Auckland no, Adelaide yes, and Melbourne no?
SELECT gold_coast FROM table_name_24 WHERE auckland = "no" AND adelaide = "yes" AND melbourne = "no"
[ 13828, 3561, 8545, 468, 30422, 645, 11, 27139, 3763, 11, 290, 14819, 645, 30, 46506, 3869, 62, 1073, 459, 16034, 3084, 62, 3672, 62, 1731, 33411, 257, 28789, 796, 366, 3919, 1, 5357, 512, 25078, 796, 366, 8505, 1, 5357, 7758, 12544, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3561, 8545, 468, 30422, 645, 11, 27139, 3763, 11, 290, 14819, 645, 30, 46506, 3869, 62, 1073, 459, 16034, 3084, 62, 3672, 62, 1731, 33411, 257, 28789, 796, 366, 3919, 1, 5357, 512, 25078, 796, 366, 8505, 1, 5357, 7758, 12544, ...
Can you show me Anthropological Archaeology courses of 11 credits ?
SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Anthropological Archaeology%' OR name LIKE '%Anthropological Archaeology%') AND credits = 11
[ 6090, 345, 905, 502, 32898, 2770, 32187, 1435, 10902, 286, 1367, 10824, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 2025, 11360, 2770, 32187, 1435, 4, 6, 6375, 1438, 34178...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 905, 502, 32898, 2770, 32187, 1435, 10902, 286, 1367, 10824, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 2025, 11360, 2770, 32187, 1435, 4, 6, 6375, 1438, 34178...
immune suppression ( cytostatic chemotherapy, steroid therapy, aids )
SELECT * FROM table_train_23 WHERE immune_suppression = 1 OR chemotherapy = 1 OR steroid_therapy = 1 OR hiv_infection = 1
[ 38345, 22711, 357, 27104, 455, 1512, 34696, 11, 40762, 9102, 11, 31378, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 1954, 33411, 10900, 62, 18608, 2234, 796, 352, 6375, 34696, 796, 352, 6375, 40762, 62, 490, 12826, 796, 352, 6375, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 38345, 22711, 357, 27104, 455, 1512, 34696, 11, 40762, 9102, 11, 31378, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 1954, 33411, 10900, 62, 18608, 2234, 796, 352, 6375, 34696, 796, 352, 6375, 40762, 62, 490, 12826, 796, 352, 6375, 28...
Name the number of episodes for sam snape
SELECT COUNT(episode) FROM table_27208817_1 WHERE writer = "Sam Snape"
[ 5376, 262, 1271, 286, 8640, 329, 6072, 3013, 1758, 46506, 327, 28270, 7, 38668, 8, 16034, 3084, 62, 1983, 1238, 3459, 1558, 62, 16, 33411, 6260, 796, 366, 16305, 31008, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 8640, 329, 6072, 3013, 1758, 46506, 327, 28270, 7, 38668, 8, 16034, 3084, 62, 1983, 1238, 3459, 1558, 62, 16, 33411, 6260, 796, 366, 16305, 31008, 1 ]
Tell me the iata for icao of tjrv
SELECT iata FROM table_name_2 WHERE icao = "tjrv"
[ 24446, 502, 262, 1312, 1045, 329, 220, 3970, 78, 286, 256, 73, 81, 85, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 17, 33411, 220, 3970, 78, 796, 366, 83, 73, 81, 85, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1312, 1045, 329, 220, 3970, 78, 286, 256, 73, 81, 85, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 17, 33411, 220, 3970, 78, 796, 366, 83, 73, 81, 85, 1 ]
What date has new england patriots as the opponent?
SELECT date FROM table_name_26 WHERE opponent = "new england patriots"
[ 2061, 3128, 468, 649, 1786, 1044, 12650, 1747, 355, 262, 6125, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2075, 33411, 6125, 796, 366, 3605, 1786, 1044, 12650, 1747, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 649, 1786, 1044, 12650, 1747, 355, 262, 6125, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2075, 33411, 6125, 796, 366, 3605, 1786, 1044, 12650, 1747, 1 ]
What is the Launched which is on 3 may 2001?
SELECT launched FROM table_name_31 WHERE date_of_commission = "3 may 2001"
[ 2061, 318, 262, 19826, 1740, 543, 318, 319, 513, 743, 5878, 30, 46506, 5611, 16034, 3084, 62, 3672, 62, 3132, 33411, 3128, 62, 1659, 62, 785, 3411, 796, 366, 18, 743, 5878, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19826, 1740, 543, 318, 319, 513, 743, 5878, 30, 46506, 5611, 16034, 3084, 62, 3672, 62, 3132, 33411, 3128, 62, 1659, 62, 785, 3411, 796, 366, 18, 743, 5878, 1 ]
What was the score of the game against the Braves with a record of 41 27?
SELECT "Score" FROM table_75593 WHERE "Opponent" = 'braves' AND "Record" = '41–27'
[ 2061, 373, 262, 4776, 286, 262, 983, 1028, 262, 29374, 351, 257, 1700, 286, 6073, 2681, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2425, 49051, 33411, 366, 27524, 3471, 1, 796, 705, 16057, 1158, 6, 5357, 366, 23739, 1, 796, 705, 390...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 1028, 262, 29374, 351, 257, 1700, 286, 6073, 2681, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2425, 49051, 33411, 366, 27524, 3471, 1, 796, 705, 16057, 1158, 6, 5357, 366, 23739, 1, 796, 705, 390...
What is the average Area (km ) that shows Excised from shire of cook and a Population smaller than 463 for the community of wujal wujal (bloomfield river)?
SELECT AVG("Area (km\u00b2)") FROM table_5396 WHERE "Excised from" = 'shire of cook' AND "Population" < '463' AND "Name of community" = 'wujal wujal (bloomfield river)'
[ 2061, 318, 262, 2811, 9498, 357, 13276, 1267, 326, 2523, 25268, 1417, 422, 427, 557, 286, 4255, 290, 257, 20133, 4833, 621, 604, 5066, 329, 262, 2055, 286, 266, 23577, 282, 266, 23577, 282, 357, 2436, 4207, 3245, 7850, 19427, 46506, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2811, 9498, 357, 13276, 1267, 326, 2523, 25268, 1417, 422, 427, 557, 286, 4255, 290, 257, 20133, 4833, 621, 604, 5066, 329, 262, 2055, 286, 266, 23577, 282, 266, 23577, 282, 357, 2436, 4207, 3245, 7850, 19427, 46506, 3...
Who were the victims of the US ship that sank in the Mississippi River near Memphis?
SELECT principal_victims FROM table_name_35 WHERE nat = "us" AND where_sunk = "mississippi river near memphis"
[ 8241, 547, 262, 4970, 286, 262, 1294, 4074, 326, 30895, 287, 262, 13797, 5866, 1474, 20522, 30, 46506, 10033, 62, 32433, 12078, 16034, 3084, 62, 3672, 62, 2327, 33411, 34664, 796, 366, 385, 1, 5357, 810, 62, 82, 2954, 796, 366, 3927, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 547, 262, 4970, 286, 262, 1294, 4074, 326, 30895, 287, 262, 13797, 5866, 1474, 20522, 30, 46506, 10033, 62, 32433, 12078, 16034, 3084, 62, 3672, 62, 2327, 33411, 34664, 796, 366, 385, 1, 5357, 810, 62, 82, 2954, 796, 366, 3927, ...
What Type of museum is the Valdez museum?
SELECT type FROM table_name_73 WHERE name = "valdez museum"
[ 2061, 5994, 286, 13257, 318, 262, 38552, 8471, 13257, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 4790, 33411, 1438, 796, 366, 85, 1940, 8471, 13257, 1 ]
[ 1, 1, 1, 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, 5994, 286, 13257, 318, 262, 38552, 8471, 13257, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 4790, 33411, 1438, 796, 366, 85, 1940, 8471, 13257, 1 ]
what province is the town of temagami ?
SELECT "province" FROM table_204_944 WHERE "town" = 'temagami'
[ 10919, 8473, 318, 262, 3240, 286, 2169, 363, 6277, 5633, 46506, 366, 15234, 924, 1, 16034, 3084, 62, 18638, 62, 24, 2598, 33411, 366, 12735, 1, 796, 705, 11498, 363, 6277, 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 ]
[ 10919, 8473, 318, 262, 3240, 286, 2169, 363, 6277, 5633, 46506, 366, 15234, 924, 1, 16034, 3084, 62, 18638, 62, 24, 2598, 33411, 366, 12735, 1, 796, 705, 11498, 363, 6277, 6 ]
count the number of patients whose insurance is private and procedure long title is single internal mammary-coronary artery bypass?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.long_title = "Single internal mammary-coronary artery bypass"
[ 9127, 262, 1271, 286, 3871, 3025, 5096, 318, 2839, 290, 8771, 890, 3670, 318, 2060, 5387, 13418, 560, 12, 10215, 261, 560, 37646, 17286, 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...
[ 9127, 262, 1271, 286, 3871, 3025, 5096, 318, 2839, 290, 8771, 890, 3670, 318, 2060, 5387, 13418, 560, 12, 10215, 261, 560, 37646, 17286, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268,...
Questions I haven't answer in a tag set.
WITH answered_by_me AS (SELECT q.Id AS PostId FROM Posts AS q JOIN Posts AS a ON q.Id = a.ParentId WHERE q.Tags LIKE '%##tags##%' AND a.OwnerUserId = '##UserId##') SELECT Id AS "post_link", Tags FROM answered_by_me RIGHT OUTER JOIN Posts ON Id = PostId WHERE Tags LIKE '%##tags##%' AND PostId IS NULL
[ 35741, 314, 4398, 470, 3280, 287, 257, 7621, 900, 13, 54, 10554, 9373, 62, 1525, 62, 1326, 7054, 357, 46506, 10662, 13, 7390, 7054, 2947, 7390, 16034, 12043, 7054, 10662, 32357, 1268, 12043, 7054, 257, 6177, 10662, 13, 7390, 796, 257, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 314, 4398, 470, 3280, 287, 257, 7621, 900, 13, 54, 10554, 9373, 62, 1525, 62, 1326, 7054, 357, 46506, 10662, 13, 7390, 7054, 2947, 7390, 16034, 12043, 7054, 10662, 32357, 1268, 12043, 7054, 257, 6177, 10662, 13, 7390, 796, 257, ...
Who won stage 16?
SELECT winner FROM table_name_87 WHERE stage = "16"
[ 8241, 1839, 3800, 1467, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 5774, 33411, 3800, 796, 366, 1433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1839, 3800, 1467, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 5774, 33411, 3800, 796, 366, 1433, 1 ]