instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
How many were first elected in the Arkansas 4 district?
SELECT COUNT(first_elected) FROM table_1342233_5 WHERE district = "Arkansas 4"
[ 2437, 867, 547, 717, 7018, 287, 262, 14538, 604, 4783, 30, 46506, 327, 28270, 7, 11085, 62, 28604, 8, 16034, 3084, 62, 19880, 1828, 2091, 62, 20, 33411, 4783, 796, 366, 42007, 6618, 604, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 717, 7018, 287, 262, 14538, 604, 4783, 30, 46506, 327, 28270, 7, 11085, 62, 28604, 8, 16034, 3084, 62, 19880, 1828, 2091, 62, 20, 33411, 4783, 796, 366, 42007, 6618, 604, 1 ]
Which date has a competition type of British home championship?
SELECT date FROM table_name_81 WHERE competition = "british home championship"
[ 13828, 3128, 468, 257, 5449, 2099, 286, 3517, 1363, 12184, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 6659, 33411, 5449, 796, 366, 65, 799, 680, 1363, 12184, 1 ]
[ 1, 1, 1, 1, 1, 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, 3128, 468, 257, 5449, 2099, 286, 3517, 1363, 12184, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 6659, 33411, 5449, 796, 366, 65, 799, 680, 1363, 12184, 1 ]
What are the album titles for albums containing both 'Reggae' and 'Rock' genre tracks?
SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Rock'
[ 2061, 389, 262, 5062, 8714, 329, 16788, 7268, 1111, 705, 3041, 1130, 3609, 6, 290, 705, 19665, 6, 12121, 8339, 30, 46506, 309, 16, 13, 19160, 16034, 23999, 7054, 309, 16, 32357, 1268, 17762, 7054, 309, 17, 6177, 309, 16, 13, 2348, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 5062, 8714, 329, 16788, 7268, 1111, 705, 3041, 1130, 3609, 6, 290, 705, 19665, 6, 12121, 8339, 30, 46506, 309, 16, 13, 19160, 16034, 23999, 7054, 309, 16, 32357, 1268, 17762, 7054, 309, 17, 6177, 309, 16, 13, 2348, 4...
Among patients tested for clinical chemistry, calculate the number of those who were admitted for more than 3 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "3" AND lab."CATEGORY" = "Chemistry"
[ 14311, 3871, 6789, 329, 8668, 16585, 11, 15284, 262, 1271, 286, 883, 508, 547, 6848, 329, 517, 621, 513, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14311, 3871, 6789, 329, 8668, 16585, 11, 15284, 262, 1271, 286, 883, 508, 547, 6848, 329, 517, 621, 513, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248,...
What is the average Games Played for Bo Oshoniyi, who had more than 1170 minutes and 10 loses?
SELECT AVG(games_played) FROM table_name_5 WHERE loses = 10 AND player = "bo oshoniyi" AND minutes > 1170
[ 2061, 318, 262, 2811, 5776, 33101, 329, 3248, 46614, 261, 7745, 72, 11, 508, 550, 517, 621, 1367, 2154, 2431, 290, 838, 14754, 30, 46506, 35224, 7, 19966, 62, 21542, 8, 16034, 3084, 62, 3672, 62, 20, 33411, 14754, 796, 838, 5357, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 5776, 33101, 329, 3248, 46614, 261, 7745, 72, 11, 508, 550, 517, 621, 1367, 2154, 2431, 290, 838, 14754, 30, 46506, 35224, 7, 19966, 62, 21542, 8, 16034, 3084, 62, 3672, 62, 20, 33411, 14754, 796, 838, 5357, 21...
What is the control type which was founded in 1991?
SELECT control FROM table_2076608_3 WHERE founded = "1991"
[ 2061, 318, 262, 1630, 2099, 543, 373, 9393, 287, 10249, 30, 46506, 1630, 16034, 3084, 62, 1238, 4304, 28688, 62, 18, 33411, 9393, 796, 366, 24529, 1 ]
[ 1, 1, 1, 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, 1630, 2099, 543, 373, 9393, 287, 10249, 30, 46506, 1630, 16034, 3084, 62, 1238, 4304, 28688, 62, 18, 33411, 9393, 796, 366, 24529, 1 ]
Visualize a bar chart about the distribution of Time and meter_100 , and sort Y-axis from high to low order please.
SELECT Time, meter_100 FROM swimmer ORDER BY meter_100 DESC
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 3862, 290, 16430, 62, 3064, 837, 290, 3297, 575, 12, 22704, 422, 1029, 284, 1877, 1502, 3387, 13, 46506, 3862, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064, 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 ]
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 3862, 290, 16430, 62, 3064, 837, 290, 3297, 575, 12, 22704, 422, 1029, 284, 1877, 1502, 3387, 13, 46506, 3862, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064, 22...
What is the host city of the Singapore Indoor Stadium venue and a Valentine's Day theme?
SELECT "Host city" FROM table_38860 WHERE "Venue" = 'singapore indoor stadium' AND "Theme" = 'valentine''s day'
[ 2061, 318, 262, 2583, 1748, 286, 262, 12551, 1423, 2675, 10499, 14359, 290, 257, 23078, 338, 3596, 7505, 30, 46506, 366, 17932, 1748, 1, 16034, 3084, 62, 30460, 1899, 33411, 366, 37522, 518, 1, 796, 705, 12215, 11656, 22639, 10308, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2583, 1748, 286, 262, 12551, 1423, 2675, 10499, 14359, 290, 257, 23078, 338, 3596, 7505, 30, 46506, 366, 17932, 1748, 1, 16034, 3084, 62, 30460, 1899, 33411, 366, 37522, 518, 1, 796, 705, 12215, 11656, 22639, 10308, 6, ...
specify the lab test fluid of patient paul edwards
SELECT lab.fluid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Paul Edwards"
[ 16684, 1958, 262, 2248, 1332, 11711, 286, 5827, 279, 2518, 1225, 2017, 46506, 2248, 13, 35522, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16684, 1958, 262, 2248, 1332, 11711, 286, 5827, 279, 2518, 1225, 2017, 46506, 2248, 13, 35522, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, ...
What is Fitzroy's Home team Crowd?
SELECT SUM("Crowd") FROM table_77752 WHERE "Home team" = 'fitzroy'
[ 2061, 318, 16703, 3287, 338, 5995, 1074, 29452, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 3324, 43665, 33411, 366, 16060, 1074, 1, 796, 705, 69, 4224, 3287, 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, 318, 16703, 3287, 338, 5995, 1074, 29452, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 3324, 43665, 33411, 366, 16060, 1074, 1, 796, 705, 69, 4224, 3287, 6 ]
how many points have the away teams scored all together ?
SELECT SUM("score") FROM table_203_184
[ 4919, 867, 2173, 423, 262, 1497, 3466, 7781, 477, 1978, 5633, 46506, 35683, 7203, 26675, 4943, 16034, 3084, 62, 22416, 62, 22883 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 2173, 423, 262, 1497, 3466, 7781, 477, 1978, 5633, 46506, 35683, 7203, 26675, 4943, 16034, 3084, 62, 22416, 62, 22883 ]
A bar chart for showing the number of the musical nominee with award 'Bob Fosse' or 'Cleavant Derricks'.
SELECT Nominee, COUNT(Nominee) FROM musical WHERE Award = "Tony Award" OR Award = "Cleavant Derricks" GROUP BY Nominee
[ 32, 2318, 8262, 329, 4478, 262, 1271, 286, 262, 10530, 10429, 351, 5764, 705, 18861, 376, 418, 325, 6, 393, 705, 34349, 615, 415, 9626, 23706, 4458, 46506, 21198, 500, 68, 11, 327, 28270, 7, 45, 296, 500, 68, 8, 16034, 10530, 33411,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32, 2318, 8262, 329, 4478, 262, 1271, 286, 262, 10530, 10429, 351, 5764, 705, 18861, 376, 418, 325, 6, 393, 705, 34349, 615, 415, 9626, 23706, 4458, 46506, 21198, 500, 68, 11, 327, 28270, 7, 45, 296, 500, 68, 8, 16034, 10530, 33411,...
Which Rank is the highest one that has Points of 248, and a 1st (m) larger than 123.5?
SELECT MAX("Rank") FROM table_5025 WHERE "Points" = '248' AND "1st (m)" > '123.5'
[ 13828, 10916, 318, 262, 4511, 530, 326, 468, 11045, 286, 32996, 11, 290, 257, 352, 301, 357, 76, 8, 4025, 621, 17031, 13, 20, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 1120, 1495, 33411, 366, 40710, 1, 796, 705, 23045, 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 ]
[ 13828, 10916, 318, 262, 4511, 530, 326, 468, 11045, 286, 32996, 11, 290, 257, 352, 301, 357, 76, 8, 4025, 621, 17031, 13, 20, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 1120, 1495, 33411, 366, 40710, 1, 796, 705, 23045, 6...
What is the area of the place that has a population density of 331.4?
SELECT MAX(area__km²_) FROM table_1067441_1 WHERE density = "331.4"
[ 2061, 318, 262, 1989, 286, 262, 1295, 326, 468, 257, 3265, 12109, 286, 43722, 13, 19, 30, 46506, 25882, 7, 20337, 834, 13276, 31185, 62, 8, 16034, 3084, 62, 940, 3134, 39710, 62, 16, 33411, 12109, 796, 366, 31697, 13, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1989, 286, 262, 1295, 326, 468, 257, 3265, 12109, 286, 43722, 13, 19, 30, 46506, 25882, 7, 20337, 834, 13276, 31185, 62, 8, 16034, 3084, 62, 940, 3134, 39710, 62, 16, 33411, 12109, 796, 366, 31697, 13, 19, 1 ]
Tell me the lowest # of bids for win percent of .667
SELECT MIN(_number_of_bids) FROM table_name_38 WHERE win__percentage = ".667"
[ 24446, 502, 262, 9016, 1303, 286, 27837, 329, 1592, 1411, 286, 764, 28933, 46506, 20625, 28264, 17618, 62, 1659, 62, 65, 2340, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 1592, 834, 25067, 496, 796, 27071, 28933, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 1303, 286, 27837, 329, 1592, 1411, 286, 764, 28933, 46506, 20625, 28264, 17618, 62, 1659, 62, 65, 2340, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 1592, 834, 25067, 496, 796, 27071, 28933, 1 ]
What is the title of the episode that had 9.76 million U.S. viewers?
SELECT "Title" FROM table_24834 WHERE "U.S. viewers (millions)" = '9.76'
[ 2061, 318, 262, 3670, 286, 262, 4471, 326, 550, 860, 13, 4304, 1510, 471, 13, 50, 13, 10209, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 23045, 2682, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 24, 13, 4304...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3670, 286, 262, 4471, 326, 550, 860, 13, 4304, 1510, 471, 13, 50, 13, 10209, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 23045, 2682, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 24, 13, 4304...
What is the Result of the Competition at MBPJ Stadium with a Score of 4 0?
SELECT result FROM table_name_95 WHERE score = "4–0" AND venue = "mbpj stadium"
[ 2061, 318, 262, 25414, 286, 262, 27348, 379, 10771, 47, 41, 10499, 351, 257, 15178, 286, 604, 657, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3865, 33411, 4776, 796, 366, 19, 1906, 15, 1, 5357, 14359, 796, 366, 2022, 79, 73, 10308,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25414, 286, 262, 27348, 379, 10771, 47, 41, 10499, 351, 257, 15178, 286, 604, 657, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3865, 33411, 4776, 796, 366, 19, 1906, 15, 1, 5357, 14359, 796, 366, 2022, 79, 73, 10308,...
What's the participle when the verbal noun is i-bil-tze?
SELECT "Participle" FROM table_556 WHERE "Verbal noun" = 'i-bil-tze'
[ 2061, 338, 262, 1344, 2480, 618, 262, 17755, 23227, 318, 1312, 12, 33473, 12, 83, 2736, 30, 46506, 366, 7841, 291, 2480, 1, 16034, 3084, 62, 37864, 33411, 366, 13414, 6893, 23227, 1, 796, 705, 72, 12, 33473, 12, 83, 2736, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 1344, 2480, 618, 262, 17755, 23227, 318, 1312, 12, 33473, 12, 83, 2736, 30, 46506, 366, 7841, 291, 2480, 1, 16034, 3084, 62, 37864, 33411, 366, 13414, 6893, 23227, 1, 796, 705, 72, 12, 33473, 12, 83, 2736, 6 ]
please show me airlines with service from BOSTON to DENVER
SELECT DISTINCT airline.airline_code FROM airline, 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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_na...
[ 29688, 905, 502, 26225, 351, 2139, 422, 347, 10892, 1340, 284, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 905, 502, 26225, 351, 2139, 422, 347, 10892, 1340, 284, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
How many episodes were seen by 0.67 million US viewers on their original air dates?
SELECT COUNT("Original air date") FROM table_662 WHERE "U.S. viewers (million)" = '0.67'
[ 2437, 867, 8640, 547, 1775, 416, 657, 13, 3134, 1510, 1294, 10209, 319, 511, 2656, 1633, 9667, 30, 46506, 327, 28270, 7203, 20556, 1633, 3128, 4943, 16034, 3084, 62, 39380, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 8640, 547, 1775, 416, 657, 13, 3134, 1510, 1294, 10209, 319, 511, 2656, 1633, 9667, 30, 46506, 327, 28270, 7203, 20556, 1633, 3128, 4943, 16034, 3084, 62, 39380, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 70...
Find the names of items whose rank is higher than 3 and whose average rating is above 5.
SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rank > 3 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id HAVING AVG(T2.rating) > 5
[ 16742, 262, 3891, 286, 3709, 3025, 4279, 318, 2440, 621, 513, 290, 3025, 2811, 7955, 318, 2029, 642, 13, 46506, 309, 16, 13, 7839, 16034, 2378, 7054, 309, 16, 32357, 1268, 2423, 7054, 309, 17, 6177, 309, 16, 13, 72, 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...
[ 16742, 262, 3891, 286, 3709, 3025, 4279, 318, 2440, 621, 513, 290, 3025, 2811, 7955, 318, 2029, 642, 13, 46506, 309, 16, 13, 7839, 16034, 2378, 7054, 309, 16, 32357, 1268, 2423, 7054, 309, 17, 6177, 309, 16, 13, 72, 62, 312, 796, ...
Return a bar chart about the distribution of All_Neutral and ACC_Percent , I want to display from high to low by the total number.
SELECT All_Neutral, ACC_Percent FROM basketball_match ORDER BY ACC_Percent DESC
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 8199, 6815, 290, 15859, 62, 31905, 837, 314, 765, 284, 3359, 422, 1029, 284, 1877, 416, 262, 2472, 1271, 13, 46506, 1439, 62, 8199, 6815, 11, 15859, 62, 31905, 16034, 9669, 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 ]
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 8199, 6815, 290, 15859, 62, 31905, 837, 314, 765, 284, 3359, 422, 1029, 284, 1877, 416, 262, 2472, 1271, 13, 46506, 1439, 62, 8199, 6815, 11, 15859, 62, 31905, 16034, 9669, 62, ...
Find all actors born in ' Los Angeles
SELECT name FROM actor WHERE birth_city = 'Los Angeles'
[ 16742, 477, 10544, 4642, 287, 705, 5401, 5652, 46506, 1438, 16034, 8674, 33411, 4082, 62, 19205, 796, 705, 28903, 5652, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 477, 10544, 4642, 287, 705, 5401, 5652, 46506, 1438, 16034, 8674, 33411, 4082, 62, 19205, 796, 705, 28903, 5652, 6 ]
On what surface was the opponent Michael Berrer?
SELECT "Surface" FROM table_6381 WHERE "Opponent" = 'michael berrer'
[ 2202, 644, 4417, 373, 262, 6125, 3899, 4312, 11751, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 21, 36626, 33411, 366, 27524, 3471, 1, 796, 705, 76, 40302, 18157, 11751, 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 ]
[ 2202, 644, 4417, 373, 262, 6125, 3899, 4312, 11751, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 21, 36626, 33411, 366, 27524, 3471, 1, 796, 705, 76, 40302, 18157, 11751, 6 ]
What is the largest ethnic group in (hungarian: kispiac)?
SELECT largest_ethnic_group__2002_ FROM table_2562572_33 WHERE cyrillic_name_other_names = "Мале Пијаце (Hungarian: Kispiac)"
[ 2061, 318, 262, 4387, 9450, 1448, 287, 357, 43274, 3699, 25, 479, 8802, 9607, 19427, 46506, 4387, 62, 38546, 62, 8094, 834, 16942, 62, 16034, 3084, 62, 11645, 1495, 4761, 62, 2091, 33411, 269, 2417, 359, 291, 62, 3672, 62, 847, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 4387, 9450, 1448, 287, 357, 43274, 3699, 25, 479, 8802, 9607, 19427, 46506, 4387, 62, 38546, 62, 8094, 834, 16942, 62, 16034, 3084, 62, 11645, 1495, 4761, 62, 2091, 33411, 269, 2417, 359, 291, 62, 3672, 62, 847, 62, ...
Which county has a membership of 1, a franchise type of corporation and a borough of Ennis?
SELECT county FROM table_24329520_8 WHERE members = 1 AND franchise_type = "Corporation" AND borough = "Ennis"
[ 13828, 7968, 468, 257, 9931, 286, 352, 11, 257, 8663, 2099, 286, 12017, 290, 257, 33534, 286, 2039, 21361, 30, 46506, 7968, 16034, 3084, 62, 26660, 25710, 1238, 62, 23, 33411, 1866, 796, 352, 5357, 8663, 62, 4906, 796, 366, 10606, 181...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7968, 468, 257, 9931, 286, 352, 11, 257, 8663, 2099, 286, 12017, 290, 257, 33534, 286, 2039, 21361, 30, 46506, 7968, 16034, 3084, 62, 26660, 25710, 1238, 62, 23, 33411, 1866, 796, 352, 5357, 8663, 62, 4906, 796, 366, 10606, 181...
Name the lowest round for when pole position and winning driver is michael schumacher
SELECT MIN(round) FROM table_name_27 WHERE fastest_lap = "michael schumacher" AND winning_driver = "michael schumacher" AND pole_position = "michael schumacher"
[ 5376, 262, 9016, 2835, 329, 618, 16825, 2292, 290, 5442, 4639, 318, 285, 40302, 5513, 388, 3493, 46506, 20625, 7, 744, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 14162, 62, 37796, 796, 366, 76, 40302, 5513, 388, 3493, 1, 5357, 5442, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 2835, 329, 618, 16825, 2292, 290, 5442, 4639, 318, 285, 40302, 5513, 388, 3493, 46506, 20625, 7, 744, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 14162, 62, 37796, 796, 366, 76, 40302, 5513, 388, 3493, 1, 5357, 5442, ...
What is the average To Par, when Score is '72-67-71-72=282'?
SELECT AVG(to_par) FROM table_name_40 WHERE score = 72 - 67 - 71 - 72 = 282
[ 2061, 318, 262, 2811, 1675, 2547, 11, 618, 15178, 318, 705, 4761, 12, 3134, 12, 4869, 12, 4761, 28, 32568, 30960, 46506, 35224, 7, 1462, 62, 1845, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 4776, 796, 7724, 532, 8275, 532, 9166, 532...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1675, 2547, 11, 618, 15178, 318, 705, 4761, 12, 3134, 12, 4869, 12, 4761, 28, 32568, 30960, 46506, 35224, 7, 1462, 62, 1845, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 4776, 796, 7724, 532, 8275, 532, 9166, 532...
Find the first names of the faculty members who participate in Canoeing and Kayaking.
SELECT T1.lname FROM faculty AS T1 JOIN faculty_participates_in AS T2 ON T1.facid = T2.facid JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' INTERSECT SELECT T1.lname FROM faculty AS T1 JOIN faculty_participates_in AS T2 ON T1.facid = T2.facid JOIN activity AS T3 ON T2.actid = T2.actid WH...
[ 16742, 262, 717, 3891, 286, 262, 12829, 1866, 508, 8277, 287, 1680, 2577, 278, 290, 17356, 868, 13, 46506, 309, 16, 13, 75, 3672, 16034, 12829, 7054, 309, 16, 32357, 1268, 12829, 62, 48013, 689, 62, 259, 7054, 309, 17, 6177, 309, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 717, 3891, 286, 262, 12829, 1866, 508, 8277, 287, 1680, 2577, 278, 290, 17356, 868, 13, 46506, 309, 16, 13, 75, 3672, 16034, 12829, 7054, 309, 16, 32357, 1268, 12829, 62, 48013, 689, 62, 259, 7054, 309, 17, 6177, 309, 16...
List all high rebound entries from May 11.
SELECT high_rebounds FROM table_22654073_13 WHERE date = "May 11"
[ 8053, 477, 1029, 23623, 12784, 422, 1737, 1367, 13, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 1828, 2996, 1821, 4790, 62, 1485, 33411, 3128, 796, 366, 6747, 1367, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 1029, 23623, 12784, 422, 1737, 1367, 13, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 1828, 2996, 1821, 4790, 62, 1485, 33411, 3128, 796, 366, 6747, 1367, 1 ]
Which Inhabitants have a Party of democratic party, and a Municipality of florence, and an Election smaller than 2009?
SELECT MIN(inhabitants) FROM table_name_99 WHERE party = "democratic party" AND municipality = "florence" AND election < 2009
[ 13828, 554, 5976, 270, 1187, 423, 257, 3615, 286, 10518, 2151, 11, 290, 257, 27338, 1483, 286, 781, 382, 1198, 11, 290, 281, 14219, 4833, 621, 3717, 30, 46506, 20625, 7, 259, 5976, 270, 1187, 8, 16034, 3084, 62, 3672, 62, 2079, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 554, 5976, 270, 1187, 423, 257, 3615, 286, 10518, 2151, 11, 290, 257, 27338, 1483, 286, 781, 382, 1198, 11, 290, 281, 14219, 4833, 621, 3717, 30, 46506, 20625, 7, 259, 5976, 270, 1187, 8, 16034, 3084, 62, 3672, 62, 2079, 3341...
Got the most badges on the same day.
WITH Raw AS (SELECT UserId, DATEFROMPARTS(TIME_TO_STR(Date, '%Y'), TIME_TO_STR(Date, '%M'), TIME_TO_STR(Date, '%-d')) AS Date FROM Badges) SELECT UserId, UserId AS "user_link", Date, COUNT(*) AS N FROM Raw GROUP BY UserId, Date ORDER BY N DESC, UserId LIMIT 100
[ 30074, 262, 749, 37583, 319, 262, 976, 1110, 13, 54, 10554, 16089, 7054, 357, 46506, 11787, 7390, 11, 360, 6158, 10913, 2662, 27082, 4694, 7, 34694, 62, 10468, 62, 18601, 7, 10430, 11, 705, 4, 56, 33809, 20460, 62, 10468, 62, 18601, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 30074, 262, 749, 37583, 319, 262, 976, 1110, 13, 54, 10554, 16089, 7054, 357, 46506, 11787, 7390, 11, 360, 6158, 10913, 2662, 27082, 4694, 7, 34694, 62, 10468, 62, 18601, 7, 10430, 11, 705, 4, 56, 33809, 20460, 62, 10468, 62, 18601, ...
What South Dakota has Bush of Oklahoma?
SELECT "South Dakota" FROM table_9951 WHERE "Oklahoma" = 'bush'
[ 2061, 2520, 13336, 468, 5511, 286, 10433, 30, 46506, 366, 14942, 13336, 1, 16034, 3084, 62, 2079, 4349, 33411, 366, 18690, 9802, 1, 796, 705, 50231, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2520, 13336, 468, 5511, 286, 10433, 30, 46506, 366, 14942, 13336, 1, 16034, 3084, 62, 2079, 4349, 33411, 366, 18690, 9802, 1, 796, 705, 50231, 6 ]
how many patients whose ethnicity is unknown/not specified and primary disease is left femur fracture?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "UNKNOWN/NOT SPECIFIED" AND demographic.diagnosis = "LEFT FEMUR FRACTURE"
[ 4919, 867, 3871, 3025, 26289, 318, 6439, 14, 1662, 7368, 290, 4165, 4369, 318, 1364, 2796, 333, 31846, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 26289, 318, 6439, 14, 1662, 7368, 290, 4165, 4369, 318, 1364, 2796, 333, 31846, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366,...
For what tournament was Bubba Watson the runner-up?
SELECT "Tournament" FROM table_15461 WHERE "Runner(s)-up" = 'bubba watson'
[ 1890, 644, 7756, 373, 19645, 7012, 14959, 262, 17490, 12, 929, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 1314, 40652, 33411, 366, 49493, 7, 82, 13219, 929, 1, 796, 705, 46176, 7012, 266, 13506, 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 ]
[ 1890, 644, 7756, 373, 19645, 7012, 14959, 262, 17490, 12, 929, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 1314, 40652, 33411, 366, 49493, 7, 82, 13219, 929, 1, 796, 705, 46176, 7012, 266, 13506, 6 ]
Where was the game that the attendance was 24,694?
SELECT MIN("Game") FROM table_10508 WHERE "Attendance" = '24,694'
[ 8496, 373, 262, 983, 326, 262, 14858, 373, 1987, 11, 45214, 30, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 940, 33042, 33411, 366, 8086, 437, 590, 1, 796, 705, 1731, 11, 45214, 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 ]
[ 8496, 373, 262, 983, 326, 262, 14858, 373, 1987, 11, 45214, 30, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 940, 33042, 33411, 366, 8086, 437, 590, 1, 796, 705, 1731, 11, 45214, 6 ]
Find the first name of students who are living in the Smith Hall.
SELECT T1.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'
[ 16742, 262, 717, 1438, 286, 2444, 508, 389, 2877, 287, 262, 4176, 4789, 13, 46506, 309, 16, 13, 69, 3672, 16034, 3710, 7054, 309, 16, 32357, 1268, 3160, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 301, 27112, 796, 309, 17, 13, 301,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 2444, 508, 389, 2877, 287, 262, 4176, 4789, 13, 46506, 309, 16, 13, 69, 3672, 16034, 3710, 7054, 309, 16, 32357, 1268, 3160, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 301, 27112, 796, 309, 17, 13, 301,...
Who is the home team who plays at Glenferrie Oval?
SELECT "Home team" FROM table_52437 WHERE "Venue" = 'glenferrie oval'
[ 8241, 318, 262, 1363, 1074, 508, 5341, 379, 20716, 2232, 5034, 25165, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 48057, 2718, 33411, 366, 37522, 518, 1, 796, 705, 4743, 268, 2232, 5034, 41186, 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, 1363, 1074, 508, 5341, 379, 20716, 2232, 5034, 25165, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 48057, 2718, 33411, 366, 37522, 518, 1, 796, 705, 4743, 268, 2232, 5034, 41186, 6 ]
what is the number of ties listed ?
SELECT COUNT(*) FROM table_204_475 WHERE "score" = "score"
[ 10919, 318, 262, 1271, 286, 8470, 5610, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 32576, 33411, 366, 26675, 1, 796, 366, 26675, 1 ]
[ 1, 1, 1, 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, 8470, 5610, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 32576, 33411, 366, 26675, 1, 796, 366, 26675, 1 ]
Show the number of heads of departments born in each state with a bar chart, and order in desc by the total number.
SELECT born_state, COUNT(born_state) FROM head GROUP BY born_state ORDER BY COUNT(born_state) DESC
[ 15307, 262, 1271, 286, 6665, 286, 13346, 4642, 287, 1123, 1181, 351, 257, 2318, 8262, 11, 290, 1502, 287, 1715, 416, 262, 2472, 1271, 13, 46506, 4642, 62, 5219, 11, 327, 28270, 7, 6286, 62, 5219, 8, 16034, 1182, 44441, 11050, 4642, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1271, 286, 6665, 286, 13346, 4642, 287, 1123, 1181, 351, 257, 2318, 8262, 11, 290, 1502, 287, 1715, 416, 262, 2472, 1271, 13, 46506, 4642, 62, 5219, 11, 327, 28270, 7, 6286, 62, 5219, 8, 16034, 1182, 44441, 11050, 4642, ...
What was the score of the game when the high rebounds Jeff Foster (10)?
SELECT score FROM table_17326036_6 WHERE high_rebounds = "Jeff Foster (10)"
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 262, 1029, 18841, 5502, 18489, 357, 940, 19427, 46506, 4776, 16034, 3084, 62, 1558, 2624, 1899, 2623, 62, 21, 33411, 1029, 62, 34806, 3733, 796, 366, 19139, 18489, 357, 940, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 618, 262, 1029, 18841, 5502, 18489, 357, 940, 19427, 46506, 4776, 16034, 3084, 62, 1558, 2624, 1899, 2623, 62, 21, 33411, 1029, 62, 34806, 3733, 796, 366, 19139, 18489, 357, 940, 16725 ]
had any organism found in the last sputum, tracheal specimen microbiology test of patient 031-9128 until 2104?
SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-9128')) AND microlab.culturesite = 'sputum, tracheal specimen' AND STRFTIM...
[ 18108, 597, 26433, 1043, 287, 262, 938, 599, 315, 388, 11, 491, 4891, 282, 31674, 24559, 1435, 1332, 286, 5827, 657, 3132, 12, 24, 12762, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 597, 26433, 1043, 287, 262, 938, 599, 315, 388, 11, 491, 4891, 282, 31674, 24559, 1435, 1332, 286, 5827, 657, 3132, 12, 24, 12762, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 2...
Which Variant id has the GenBank id of nm_005411.4?
SELECT "Variant id" FROM table_5219 WHERE "GenBank id" = 'nm_005411.4'
[ 13828, 38215, 4686, 468, 262, 5215, 28650, 4686, 286, 28642, 62, 405, 4051, 1157, 13, 19, 30, 46506, 366, 23907, 415, 4686, 1, 16034, 3084, 62, 4309, 1129, 33411, 366, 13746, 28650, 4686, 1, 796, 705, 21533, 62, 405, 4051, 1157, 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 ]
[ 13828, 38215, 4686, 468, 262, 5215, 28650, 4686, 286, 28642, 62, 405, 4051, 1157, 13, 19, 30, 46506, 366, 23907, 415, 4686, 1, 16034, 3084, 62, 4309, 1129, 33411, 366, 13746, 28650, 4686, 1, 796, 705, 21533, 62, 405, 4051, 1157, 13, ...
What was the date of the game for the HartlePool United team?
SELECT "Date" FROM table_63723 WHERE "Home team" = 'hartlepool united'
[ 2061, 373, 262, 3128, 286, 262, 983, 329, 262, 11345, 293, 27201, 1578, 1074, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 21, 2718, 1954, 33411, 366, 16060, 1074, 1, 796, 705, 18647, 293, 7742, 16503, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 286, 262, 983, 329, 262, 11345, 293, 27201, 1578, 1074, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 21, 2718, 1954, 33411, 366, 16060, 1074, 1, 796, 705, 18647, 293, 7742, 16503, 6 ]
Tell me the club with a replacement of alberto malesani
SELECT club FROM table_name_8 WHERE replacement = "alberto malesani"
[ 24446, 502, 262, 3430, 351, 257, 9014, 286, 435, 32371, 10835, 3216, 46506, 3430, 16034, 3084, 62, 3672, 62, 23, 33411, 9014, 796, 366, 282, 32371, 10835, 3216, 1 ]
[ 1, 1, 1, 1, 1, 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, 3430, 351, 257, 9014, 286, 435, 32371, 10835, 3216, 46506, 3430, 16034, 3084, 62, 3672, 62, 23, 33411, 9014, 796, 366, 282, 32371, 10835, 3216, 1 ]
What is the lowest against score for Twickenham, London with the status of Five Nations against Ireland?
SELECT MIN(against) FROM table_name_16 WHERE venue = "twickenham, london" AND status = "five nations" AND opposing_teams = "ireland"
[ 2061, 318, 262, 9016, 1028, 4776, 329, 1815, 5973, 2763, 11, 3576, 351, 262, 3722, 286, 10579, 7973, 1028, 7517, 30, 46506, 20625, 7, 32826, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 14359, 796, 366, 4246, 5973, 2763, 11, 300, 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, 1, 1, 1, 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, 1028, 4776, 329, 1815, 5973, 2763, 11, 3576, 351, 262, 3722, 286, 10579, 7973, 1028, 7517, 30, 46506, 20625, 7, 32826, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 14359, 796, 366, 4246, 5973, 2763, 11, 300, 3391, ...
What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335?
SELECT MIN("DCSF number") FROM table_33921 WHERE "Name" = 'aycliffe drive' AND "Ofsted number" < '117335'
[ 2061, 338, 262, 9016, 6257, 20802, 1271, 287, 13709, 33783, 9974, 475, 281, 3226, 30679, 1271, 4833, 621, 19048, 27326, 30, 46506, 20625, 7203, 49513, 37, 1271, 4943, 16034, 3084, 62, 29626, 2481, 33411, 366, 5376, 1, 796, 705, 323, 337...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 9016, 6257, 20802, 1271, 287, 13709, 33783, 9974, 475, 281, 3226, 30679, 1271, 4833, 621, 19048, 27326, 30, 46506, 20625, 7203, 49513, 37, 1271, 4943, 16034, 3084, 62, 29626, 2481, 33411, 366, 5376, 1, 796, 705, 323, 337...
Name the number of year for 6 3, 6 2 hard surface
SELECT COUNT(year) FROM table_23235767_4 WHERE score_in_the_final = "6–3, 6–2" AND surface = "Hard"
[ 5376, 262, 1271, 286, 614, 329, 718, 513, 11, 718, 362, 1327, 4417, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 1954, 1954, 3553, 3134, 62, 19, 33411, 4776, 62, 259, 62, 1169, 62, 20311, 796, 366, 21, 1906, 18, 11, 718, 1906, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 329, 718, 513, 11, 718, 362, 1327, 4417, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 1954, 1954, 3553, 3134, 62, 19, 33411, 4776, 62, 259, 62, 1169, 62, 20311, 796, 366, 21, 1906, 18, 11, 718, 1906, ...
Find the ids of reviewers who didn't only give 4 star.
SELECT rID FROM Rating WHERE stars <> 4
[ 16742, 262, 220, 2340, 286, 30702, 508, 1422, 470, 691, 1577, 604, 3491, 13, 46506, 374, 2389, 16034, 12028, 33411, 5788, 1279, 29, 604 ]
[ 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, 220, 2340, 286, 30702, 508, 1422, 470, 691, 1577, 604, 3491, 13, 46506, 374, 2389, 16034, 12028, 33411, 5788, 1279, 29, 604 ]
Name the constituted for labor and scullin ministry
SELECT constituted FROM table_name_86 WHERE party = "labor" AND name = "scullin ministry"
[ 5376, 262, 27276, 329, 4827, 290, 629, 724, 259, 11957, 46506, 27276, 16034, 3084, 62, 3672, 62, 4521, 33411, 2151, 796, 366, 75, 4820, 1, 5357, 1438, 796, 366, 1416, 724, 259, 11957, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27276, 329, 4827, 290, 629, 724, 259, 11957, 46506, 27276, 16034, 3084, 62, 3672, 62, 4521, 33411, 2151, 796, 366, 75, 4820, 1, 5357, 1438, 796, 366, 1416, 724, 259, 11957, 1 ]
alcohol abuse
SELECT * FROM table_dev_10 WHERE alcohol_abuse = 1
[ 42142, 5076, 46506, 1635, 16034, 3084, 62, 7959, 62, 940, 33411, 5548, 62, 47158, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 42142, 5076, 46506, 1635, 16034, 3084, 62, 7959, 62, 940, 33411, 5548, 62, 47158, 796, 352 ]
provide the number of patients whose diagnoses short title is long-term use of aspirin 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 = "Long-term use of aspirin" AND prescriptions.route = "IV BOLUS"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 890, 12, 4354, 779, 286, 49550, 290, 2563, 6339, 318, 21628, 11572, 385, 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, 40567, 1790, 3670, 318, 890, 12, 4354, 779, 286, 49550, 290, 2563, 6339, 318, 21628, 11572, 385, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268,...
what is the number of patients whose age is less than 20 and days of hospital stay is greater than 14?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "20" AND demographic.days_stay > "14"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 1160, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 1478, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 496, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 318, 1342, 621, 1160, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 1478, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 496, ...
MOSTRAR TODOS LOS USUARIOS MAYORES DE EDAD.
SELECT * FROM Users
[ 44, 10892, 49, 1503, 16926, 2640, 406, 2640, 1294, 52, 33604, 2640, 26720, 1581, 1546, 5550, 8392, 2885, 13, 46506, 1635, 16034, 18987 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 44, 10892, 49, 1503, 16926, 2640, 406, 2640, 1294, 52, 33604, 2640, 26720, 1581, 1546, 5550, 8392, 2885, 13, 46506, 1635, 16034, 18987 ]
what is the number of patients whose age is less than 79 and lab test name is alanine aminotransferase (alt)?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "79" AND lab.label = "Alanine Aminotransferase (ALT)"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 9225, 290, 2248, 1332, 1438, 318, 435, 272, 500, 716, 259, 313, 26084, 2232, 589, 357, 2501, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 9225, 290, 2248, 1332, 1438, 318, 435, 272, 500, 716, 259, 313, 26084, 2232, 589, 357, 2501, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, ...
When Cementarnica is team 2 what is the aggregate score?
SELECT agg FROM table_name_65 WHERE team_2 = "cementarnica"
[ 2215, 327, 972, 1501, 3970, 318, 1074, 362, 644, 318, 262, 19406, 4776, 30, 46506, 4194, 16034, 3084, 62, 3672, 62, 2996, 33411, 1074, 62, 17, 796, 366, 344, 434, 1501, 3970, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 327, 972, 1501, 3970, 318, 1074, 362, 644, 318, 262, 19406, 4776, 30, 46506, 4194, 16034, 3084, 62, 3672, 62, 2996, 33411, 1074, 62, 17, 796, 366, 344, 434, 1501, 3970, 1 ]
List all manufacturer names and ids ordered by their opening year.
SELECT name, manufacturer_id FROM manufacturer ORDER BY open_year
[ 8053, 477, 11554, 3891, 290, 220, 2340, 6149, 416, 511, 4756, 614, 13, 46506, 1438, 11, 11554, 62, 312, 16034, 11554, 38678, 11050, 1280, 62, 1941 ]
[ 1, 1, 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, 11554, 3891, 290, 220, 2340, 6149, 416, 511, 4756, 614, 13, 46506, 1438, 11, 11554, 62, 312, 16034, 11554, 38678, 11050, 1280, 62, 1941 ]
What are the different classes of races, and how many races correspond to each Show bar chart, could you list y-axis in desc order?
SELECT Class, COUNT(*) FROM race GROUP BY Class ORDER BY COUNT(*) DESC
[ 2061, 389, 262, 1180, 6097, 286, 9558, 11, 290, 703, 867, 9558, 6053, 284, 1123, 5438, 2318, 8262, 11, 714, 345, 1351, 331, 12, 22704, 287, 1715, 1502, 30, 46506, 5016, 11, 327, 28270, 7, 28104, 16034, 3234, 44441, 11050, 5016, 38678,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1180, 6097, 286, 9558, 11, 290, 703, 867, 9558, 6053, 284, 1123, 5438, 2318, 8262, 11, 714, 345, 1351, 331, 12, 22704, 287, 1715, 1502, 30, 46506, 5016, 11, 327, 28270, 7, 28104, 16034, 3234, 44441, 11050, 5016, 38678,...
Which Series has a Game larger than 1, and a Date of april 18?
SELECT "Series" FROM table_5100 WHERE "Game" > '1' AND "Date" = 'april 18'
[ 13828, 7171, 468, 257, 3776, 4025, 621, 352, 11, 290, 257, 7536, 286, 46593, 346, 1248, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 20, 3064, 33411, 366, 8777, 1, 1875, 705, 16, 6, 5357, 366, 10430, 1, 796, 705, 499, 22379, 1248, 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 ]
[ 13828, 7171, 468, 257, 3776, 4025, 621, 352, 11, 290, 257, 7536, 286, 46593, 346, 1248, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 20, 3064, 33411, 366, 8777, 1, 1875, 705, 16, 6, 5357, 366, 10430, 1, 796, 705, 499, 22379, 1248, 6...
What publishers produce product number SLUS-20265?
SELECT publisher FROM table_10875694_11 WHERE product_no = "SLUS-20265"
[ 2061, 17604, 4439, 1720, 1271, 12419, 2937, 12, 1238, 22980, 30, 46506, 9991, 16034, 3084, 62, 15711, 2425, 45214, 62, 1157, 33411, 1720, 62, 3919, 796, 366, 8634, 2937, 12, 1238, 22980, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17604, 4439, 1720, 1271, 12419, 2937, 12, 1238, 22980, 30, 46506, 9991, 16034, 3084, 62, 15711, 2425, 45214, 62, 1157, 33411, 1720, 62, 3919, 796, 366, 8634, 2937, 12, 1238, 22980, 1 ]
WHAT COUNTRY HAS A TO PAR OF +1, WITH WOODY AUSTIN?
SELECT country FROM table_name_68 WHERE to_par = "+1" AND player = "woody austin"
[ 32971, 31404, 40405, 33930, 317, 5390, 29463, 3963, 1343, 16, 11, 13315, 370, 22808, 56, 317, 7759, 1268, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3104, 33411, 284, 62, 1845, 796, 43825, 16, 1, 5357, 2137, 796, 366, 3822, 88, 38132...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31404, 40405, 33930, 317, 5390, 29463, 3963, 1343, 16, 11, 13315, 370, 22808, 56, 317, 7759, 1268, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3104, 33411, 284, 62, 1845, 796, 43825, 16, 1, 5357, 2137, 796, 366, 3822, 88, 38132...
when was the last time patient 005-46456 was prescribed medication via arterial route in 11/last year?
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-46456')) AND medication.routeadmin = 'arterial' AND DATETI...
[ 12518, 373, 262, 938, 640, 5827, 3571, 20, 12, 3510, 29228, 373, 14798, 14103, 2884, 30675, 498, 6339, 287, 1367, 14, 12957, 614, 30, 46506, 14103, 13, 30349, 9688, 2435, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 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...
[ 12518, 373, 262, 938, 640, 5827, 3571, 20, 12, 3510, 29228, 373, 14798, 14103, 2884, 30675, 498, 6339, 287, 1367, 14, 12957, 614, 30, 46506, 14103, 13, 30349, 9688, 2435, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 3...
Draw a bar chart about the distribution of other_details and the sum of monthly_rental , and group by attribute other_details.
SELECT other_details, SUM(monthly_rental) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 584, 62, 36604, 290, 262, 2160, 286, 9651, 62, 1156, 282, 837, 290, 1448, 416, 11688, 584, 62, 36604, 13, 46506, 584, 62, 36604, 11, 35683, 7, 8424, 306, 62, 1156, 282, 8, 16034, 13613, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 584, 62, 36604, 290, 262, 2160, 286, 9651, 62, 1156, 282, 837, 290, 1448, 416, 11688, 584, 62, 36604, 13, 46506, 584, 62, 36604, 11, 35683, 7, 8424, 306, 62, 1156, 282, 8, 16034, 13613, ...
What is the tournament with A in 2011?
SELECT tournament FROM table_name_77 WHERE 2011 = "a"
[ 2061, 318, 262, 7756, 351, 317, 287, 2813, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 3324, 33411, 2813, 796, 366, 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 ]
[ 2061, 318, 262, 7756, 351, 317, 287, 2813, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 3324, 33411, 2813, 796, 366, 64, 1 ]
What years have 10 (0) in the finals?
SELECT years FROM table_name_33 WHERE finals = "10 (0)"
[ 2061, 812, 423, 838, 357, 15, 8, 287, 262, 18576, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 2091, 33411, 18576, 796, 366, 940, 357, 15, 16725 ]
[ 1, 1, 1, 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, 812, 423, 838, 357, 15, 8, 287, 262, 18576, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 2091, 33411, 18576, 796, 366, 940, 357, 15, 16725 ]
Bar chart of the number of hometown from each hometown, and I want to display total number in descending order.
SELECT Hometown, COUNT(Hometown) FROM member GROUP BY Hometown ORDER BY COUNT(Hometown) DESC
[ 10374, 8262, 286, 262, 1271, 286, 20994, 422, 1123, 20994, 11, 290, 314, 765, 284, 3359, 2472, 1271, 287, 31491, 1502, 13, 46506, 367, 19191, 11, 327, 28270, 7, 39, 19191, 8, 16034, 2888, 44441, 11050, 367, 19191, 38678, 11050, 327, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 286, 262, 1271, 286, 20994, 422, 1123, 20994, 11, 290, 314, 765, 284, 3359, 2472, 1271, 287, 31491, 1502, 13, 46506, 367, 19191, 11, 327, 28270, 7, 39, 19191, 8, 16034, 2888, 44441, 11050, 367, 19191, 38678, 11050, 327, 2...
What is the lowest total that has 1992 as the year (s) won?
SELECT MIN("Total") FROM table_51093 WHERE "Year(s) won" = '1992'
[ 2061, 318, 262, 9016, 2472, 326, 468, 9768, 355, 262, 614, 357, 82, 8, 1839, 30, 46506, 20625, 7203, 14957, 4943, 16034, 3084, 62, 33690, 6052, 33411, 366, 17688, 7, 82, 8, 1839, 1, 796, 705, 23847, 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, 2472, 326, 468, 9768, 355, 262, 614, 357, 82, 8, 1839, 30, 46506, 20625, 7203, 14957, 4943, 16034, 3084, 62, 33690, 6052, 33411, 366, 17688, 7, 82, 8, 1839, 1, 796, 705, 23847, 6 ]
please list all flights between BOSTON and ATLANTA
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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA...
[ 29688, 1351, 477, 13956, 1022, 347, 10892, 1340, 290, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29688, 1351, 477, 13956, 1022, 347, 10892, 1340, 290, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15...
What is the lowest position of the club with 53 goals against, 26 points, and a -11 goal difference?
SELECT MIN("Position") FROM table_12152 WHERE "Goals against" = '53' AND "Points" = '26' AND "Goal Difference" > '-11'
[ 2061, 318, 262, 9016, 2292, 286, 262, 3430, 351, 7192, 4661, 1028, 11, 2608, 2173, 11, 290, 257, 532, 1157, 3061, 3580, 30, 46506, 20625, 7203, 26545, 4943, 16034, 3084, 62, 1065, 17827, 33411, 366, 5247, 874, 1028, 1, 796, 705, 4310,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2292, 286, 262, 3430, 351, 7192, 4661, 1028, 11, 2608, 2173, 11, 290, 257, 532, 1157, 3061, 3580, 30, 46506, 20625, 7203, 26545, 4943, 16034, 3084, 62, 1065, 17827, 33411, 366, 5247, 874, 1028, 1, 796, 705, 4310,...
for the rank of 8 and lane less than 3 what is the name?
SELECT name FROM table_name_99 WHERE lane < 3 AND rank = 8
[ 1640, 262, 4279, 286, 807, 290, 11193, 1342, 621, 513, 644, 318, 262, 1438, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2079, 33411, 11193, 1279, 513, 5357, 4279, 796, 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 ]
[ 1640, 262, 4279, 286, 807, 290, 11193, 1342, 621, 513, 644, 318, 262, 1438, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2079, 33411, 11193, 1279, 513, 5357, 4279, 796, 807 ]
what is the total d5w w/20gm cagluc intake until 752 days ago that patient 16879 has received?
SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 16879)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.lab...
[ 10919, 318, 262, 2472, 288, 20, 86, 266, 14, 1238, 39870, 269, 363, 75, 1229, 10337, 1566, 767, 4309, 1528, 2084, 326, 5827, 23378, 3720, 468, 2722, 30, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 288, 20, 86, 266, 14, 1238, 39870, 269, 363, 75, 1229, 10337, 1566, 767, 4309, 1528, 2084, 326, 5827, 23378, 3720, 468, 2722, 30, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, ...
What is the Equatorial diameter of the Body: ceres?
SELECT equatorial_diameter FROM table_name_33 WHERE body = "ceres"
[ 2061, 318, 262, 7889, 21592, 14753, 286, 262, 12290, 25, 2906, 411, 30, 46506, 1602, 21592, 62, 67, 13173, 16034, 3084, 62, 3672, 62, 2091, 33411, 1767, 796, 366, 344, 411, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 7889, 21592, 14753, 286, 262, 12290, 25, 2906, 411, 30, 46506, 1602, 21592, 62, 67, 13173, 16034, 3084, 62, 3672, 62, 2091, 33411, 1767, 796, 366, 344, 411, 1 ]
Name the object type with an NGC number more than 6638 and right ascensions being 18h25m37.8s
SELECT "Object type" FROM table_11365 WHERE "NGC number" > '6638' AND "Right ascension ( J2000 )" = '18h25m37.8s'
[ 5376, 262, 2134, 2099, 351, 281, 399, 15916, 1271, 517, 621, 7930, 2548, 290, 826, 10570, 5736, 852, 1248, 71, 1495, 76, 2718, 13, 23, 82, 46506, 366, 10267, 2099, 1, 16034, 3084, 62, 1157, 24760, 33411, 366, 10503, 34, 1271, 1, 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...
[ 5376, 262, 2134, 2099, 351, 281, 399, 15916, 1271, 517, 621, 7930, 2548, 290, 826, 10570, 5736, 852, 1248, 71, 1495, 76, 2718, 13, 23, 82, 46506, 366, 10267, 2099, 1, 16034, 3084, 62, 1157, 24760, 33411, 366, 10503, 34, 1271, 1, 187...
what airlines fly from DALLAS to BALTIMORE
SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_na...
[ 10919, 26225, 6129, 422, 360, 7036, 1921, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 26225, 6129, 422, 360, 7036, 1921, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, ...
How many seasons have a sacks of 39?
SELECT COUNT("Season") FROM table_29557 WHERE "Sacks" = '39'
[ 2437, 867, 7028, 423, 257, 23249, 286, 5014, 30, 46506, 327, 28270, 7203, 18960, 4943, 16034, 3084, 62, 1959, 41948, 33411, 366, 50, 4595, 1, 796, 705, 2670, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7028, 423, 257, 23249, 286, 5014, 30, 46506, 327, 28270, 7203, 18960, 4943, 16034, 3084, 62, 1959, 41948, 33411, 366, 50, 4595, 1, 796, 705, 2670, 6 ]
How many total wins does Ballarat FL of East point have when the against is greater than 1000?
SELECT COUNT("Wins") FROM table_7309 WHERE "Ballarat FL" = 'east point' AND "Against" > '1000'
[ 2437, 867, 2472, 7864, 857, 6932, 34174, 9977, 286, 3687, 966, 423, 618, 262, 1028, 318, 3744, 621, 8576, 30, 46506, 327, 28270, 7203, 54, 1040, 4943, 16034, 3084, 62, 22, 26895, 33411, 366, 23410, 34174, 9977, 1, 796, 705, 23316, 966...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 7864, 857, 6932, 34174, 9977, 286, 3687, 966, 423, 618, 262, 1028, 318, 3744, 621, 8576, 30, 46506, 327, 28270, 7203, 54, 1040, 4943, 16034, 3084, 62, 22, 26895, 33411, 366, 23410, 34174, 9977, 1, 796, 705, 23316, 966...
Rust questions asked before 1.0.
SELECT Posts.Id AS "post_link", Tags, CreationDate FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON PostTags.TagId = Tags.Id WHERE CreationDate <= '2015-05-15' AND TagName = 'rust' ORDER BY CreationDate
[ 49444, 2683, 1965, 878, 352, 13, 15, 13, 46506, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 44789, 11, 21582, 10430, 16034, 12043, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 6307, 7390, 796, 12043, 13, 7390, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 49444, 2683, 1965, 878, 352, 13, 15, 13, 46506, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 44789, 11, 21582, 10430, 16034, 12043, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 6307, 7390, 796, 12043, 13, 7390, 326...
What was the date of the home Detroit game with a decision of Joseph and a record of 27 13 5 2?
SELECT "Date" FROM table_70738 WHERE "Decision" = 'joseph' AND "Home" = 'detroit' AND "Record" = '27–13–5–2'
[ 2061, 373, 262, 3128, 286, 262, 1363, 8488, 983, 351, 257, 2551, 286, 7212, 290, 257, 1700, 286, 2681, 1511, 642, 362, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 24038, 2548, 33411, 366, 10707, 1166, 1, 796, 705, 73, 577, 746, 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...
[ 2061, 373, 262, 3128, 286, 262, 1363, 8488, 983, 351, 257, 2551, 286, 7212, 290, 257, 1700, 286, 2681, 1511, 642, 362, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 24038, 2548, 33411, 366, 10707, 1166, 1, 796, 705, 73, 577, 746, 6, ...
Calculate the total number of patients admitted before the year 2110 who had a blood test by lab
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2110" AND lab.fluid = "Blood"
[ 9771, 3129, 378, 262, 2472, 1271, 286, 3871, 6848, 878, 262, 614, 2310, 940, 508, 550, 257, 2910, 1332, 416, 2248, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9771, 3129, 378, 262, 2472, 1271, 286, 3871, 6848, 878, 262, 614, 2310, 940, 508, 550, 257, 2910, 1332, 416, 2248, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248,...
What are the grades served at Manchester Junior-Senior High School?
SELECT "Grades" FROM table_23356 WHERE "School" = 'Manchester Junior-Senior High School'
[ 2061, 389, 262, 19051, 4983, 379, 9502, 20000, 12, 31224, 3334, 3961, 30, 46506, 366, 8642, 2367, 1, 16034, 3084, 62, 1954, 32066, 33411, 366, 26130, 1, 796, 705, 40744, 20000, 12, 31224, 3334, 3961, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 19051, 4983, 379, 9502, 20000, 12, 31224, 3334, 3961, 30, 46506, 366, 8642, 2367, 1, 16034, 3084, 62, 1954, 32066, 33411, 366, 26130, 1, 796, 705, 40744, 20000, 12, 31224, 3334, 3961, 6 ]
give me the number of patients whose diagnoses long title is benign neoplasm of spinal meninges?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Benign neoplasm of spinal meninges"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 32293, 497, 20106, 8597, 286, 26234, 1450, 26792, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 32293, 497, 20106, 8597, 286, 26234, 1450, 26792, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567...
Who was the high point scorer in game number 68?
SELECT "High points" FROM table_20357 WHERE "Game" = '68'
[ 8241, 373, 262, 1029, 966, 30664, 287, 983, 1271, 8257, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 1238, 27277, 33411, 366, 8777, 1, 796, 705, 3104, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 1029, 966, 30664, 287, 983, 1271, 8257, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 1238, 27277, 33411, 366, 8777, 1, 796, 705, 3104, 6 ]
what number of patients have received a packed cell transfusion within 2 months after having been diagnosed with chr ischemic hrt dis nec?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'chr ischemic hrt d...
[ 10919, 1271, 286, 3871, 423, 2722, 257, 11856, 2685, 13501, 4241, 1626, 362, 1933, 706, 1719, 587, 14641, 351, 442, 81, 318, 2395, 9383, 289, 17034, 595, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 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...
[ 10919, 1271, 286, 3871, 423, 2722, 257, 11856, 2685, 13501, 4241, 1626, 362, 1933, 706, 1719, 587, 14641, 351, 442, 81, 318, 2395, 9383, 289, 17034, 595, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, ...
Find All_Games and School_ID , and visualize them by a bar chart, could you list by the bars in desc?
SELECT All_Games, School_ID FROM basketball_match ORDER BY All_Games DESC
[ 16742, 1439, 62, 24474, 290, 3961, 62, 2389, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 714, 345, 1351, 416, 262, 9210, 287, 1715, 30, 46506, 1439, 62, 24474, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 1439, 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 ]
[ 16742, 1439, 62, 24474, 290, 3961, 62, 2389, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 714, 345, 1351, 416, 262, 9210, 287, 1715, 30, 46506, 1439, 62, 24474, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 1439, 62, ...
Which pick played the Defensive End position?
SELECT pick FROM table_name_3 WHERE position = "defensive end"
[ 13828, 2298, 2826, 262, 24784, 5268, 2292, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 18, 33411, 2292, 796, 366, 4299, 2021, 886, 1 ]
[ 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, 2298, 2826, 262, 24784, 5268, 2292, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 18, 33411, 2292, 796, 366, 4299, 2021, 886, 1 ]
list SATURDAY flights from WASHINGTON to BOSTON
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 = 'BOSTON' AND days.day_name = 'SATURDAY' AND flight.flight_days = days.days_code AND ...
[ 4868, 29020, 4261, 26442, 13956, 422, 370, 19436, 284, 347, 10892, 1340, 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, 154...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4868, 29020, 4261, 26442, 13956, 422, 370, 19436, 284, 347, 10892, 1340, 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, 154...
show me one way flights from MILWAUKEE to ORLANDO
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, fare, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ORLANDO' AND fare.round_trip_required = 'NO' AND flight_fare.fare_id =...
[ 12860, 502, 530, 835, 13956, 422, 31515, 15543, 15039, 6500, 284, 6375, 28182, 14058, 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, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 530, 835, 13956, 422, 31515, 15543, 15039, 6500, 284, 6375, 28182, 14058, 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, 705...
Name the high assists for l 103 104 (ot)
SELECT high_assists FROM table_27723526_12 WHERE score = "L 103–104 (OT)"
[ 5376, 262, 1029, 13648, 329, 300, 15349, 14436, 357, 313, 8, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 27019, 22370, 2075, 62, 1065, 33411, 4776, 796, 366, 43, 15349, 1906, 13464, 357, 2394, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13648, 329, 300, 15349, 14436, 357, 313, 8, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 27019, 22370, 2075, 62, 1065, 33411, 4776, 796, 366, 43, 15349, 1906, 13464, 357, 2394, 16725 ]
what are the prices of the drug dexamethasone?
SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'prescriptions' AND cost.event_id IN (SELECT prescriptions.row_id FROM prescriptions WHERE prescriptions.drug = 'dexamethasone')
[ 10919, 389, 262, 4536, 286, 262, 2563, 36017, 321, 2788, 292, 505, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 18302, 24370, 6, 5357, 1575, 13, 15596, 62, 312, 3268, 357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4536, 286, 262, 2563, 36017, 321, 2788, 292, 505, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 18302, 24370, 6, 5357, 1575, 13, 15596, 62, 312, 3268, 357,...
Find the names of the items that did not receive any review.
SELECT title FROM item WHERE NOT i_id IN (SELECT i_id FROM review)
[ 16742, 262, 3891, 286, 262, 3709, 326, 750, 407, 3328, 597, 2423, 13, 46506, 3670, 16034, 2378, 33411, 5626, 1312, 62, 312, 3268, 357, 46506, 1312, 62, 312, 16034, 2423, 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 ]
[ 16742, 262, 3891, 286, 262, 3709, 326, 750, 407, 3328, 597, 2423, 13, 46506, 3670, 16034, 2378, 33411, 5626, 1312, 62, 312, 3268, 357, 46506, 1312, 62, 312, 16034, 2423, 8 ]
What is the average 5432 value with a 11502 larger than 1163, a 15122 less than 15122, and a 3620 less than 624?
SELECT AVG(5432) FROM table_name_12 WHERE 11502 > 1163 AND 15122 < 15122 AND 3620 < 624
[ 2061, 318, 262, 2811, 7175, 2624, 1988, 351, 257, 1367, 35126, 4025, 621, 1367, 5066, 11, 257, 1315, 18376, 1342, 621, 1315, 18376, 11, 290, 257, 4570, 1238, 1342, 621, 718, 1731, 30, 46506, 35224, 7, 4051, 2624, 8, 16034, 3084, 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 ]
[ 2061, 318, 262, 2811, 7175, 2624, 1988, 351, 257, 1367, 35126, 4025, 621, 1367, 5066, 11, 257, 1315, 18376, 1342, 621, 1315, 18376, 11, 290, 257, 4570, 1238, 1342, 621, 718, 1731, 30, 46506, 35224, 7, 4051, 2624, 8, 16034, 3084, 62, ...
How many people attended on december 26, 1982?
SELECT attendance FROM table_name_78 WHERE date = "december 26, 1982"
[ 2437, 867, 661, 9141, 319, 390, 3273, 2608, 11, 14489, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 3695, 33411, 3128, 796, 366, 2934, 3273, 2608, 11, 14489, 1 ]
[ 1, 1, 1, 1, 1, 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, 319, 390, 3273, 2608, 11, 14489, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 3695, 33411, 3128, 796, 366, 2934, 3273, 2608, 11, 14489, 1 ]
Resolution time for Apache Isis.
SELECT questions.Id, questions.Tags, questions.CreationDate, answers.CreationDate AS AnswerDate, (answers.CreationDate - questions.CreationDate) AS Duration FROM Posts AS questions LEFT JOIN Posts AS answers ON questions.AcceptedAnswerId = answers.Id WHERE questions.Tags LIKE '%isis%'
[ 4965, 2122, 640, 329, 24843, 16530, 13, 46506, 2683, 13, 7390, 11, 2683, 13, 36142, 11, 2683, 13, 12443, 341, 10430, 11, 7429, 13, 12443, 341, 10430, 7054, 23998, 10430, 11, 357, 504, 86, 364, 13, 12443, 341, 10430, 532, 2683, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4965, 2122, 640, 329, 24843, 16530, 13, 46506, 2683, 13, 7390, 11, 2683, 13, 36142, 11, 2683, 13, 12443, 341, 10430, 11, 7429, 13, 12443, 341, 10430, 7054, 23998, 10430, 11, 357, 504, 86, 364, 13, 12443, 341, 10430, 532, 2683, 13, 1...
what is minimum age of patients whose admission type is emergency and year of death is less than 2154?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.dod_year < "2154.0"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 614, 286, 1918, 318, 1342, 621, 362, 21526, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 614, 286, 1918, 318, 1342, 621, 362, 21526, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837,...
What was the result of the race that had a group of G1 at Moonee Valley?
SELECT result FROM table_name_20 WHERE group = "g1" AND venue = "moonee valley"
[ 2061, 373, 262, 1255, 286, 262, 3234, 326, 550, 257, 1448, 286, 402, 16, 379, 4270, 505, 68, 6916, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1238, 33411, 1448, 796, 366, 70, 16, 1, 5357, 14359, 796, 366, 5908, 505, 68, 19272, 1 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 286, 262, 3234, 326, 550, 257, 1448, 286, 402, 16, 379, 4270, 505, 68, 6916, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1238, 33411, 1448, 796, 366, 70, 16, 1, 5357, 14359, 796, 366, 5908, 505, 68, 19272, 1 ...
For those records from the products and each product's manufacturer, show me about the distribution of name and price , and group by attribute headquarter in a bar chart, and could you sort in desc by the Y?
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Price DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 1438, 290, 2756, 837, 290, 1448, 416, 11688, 1182, 24385, 287, 257, 2318, 8262, 11, 290, 714, 345, 3297, 287, 1715, 416, 262, 575, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 905, 502, 546, 262, 6082, 286, 1438, 290, 2756, 837, 290, 1448, 416, 11688, 1182, 24385, 287, 257, 2318, 8262, 11, 290, 714, 345, 3297, 287, 1715, 416, 262, 575, 30, ...
Which ground's round was 33?
SELECT "Ground" FROM table_53595 WHERE "Round" = '33'
[ 13828, 2323, 338, 2835, 373, 4747, 30, 46506, 366, 35539, 1, 16034, 3084, 62, 44465, 3865, 33411, 366, 22685, 1, 796, 705, 2091, 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 ]
[ 13828, 2323, 338, 2835, 373, 4747, 30, 46506, 366, 35539, 1, 16034, 3084, 62, 44465, 3865, 33411, 366, 22685, 1, 796, 705, 2091, 6 ]
What is the Opponent with a Round with 3, and a Venue of home?
SELECT opponent FROM table_name_24 WHERE round = "3" AND venue = "home"
[ 2061, 318, 262, 9385, 3471, 351, 257, 10485, 351, 513, 11, 290, 257, 9932, 518, 286, 1363, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1731, 33411, 2835, 796, 366, 18, 1, 5357, 14359, 796, 366, 11195, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9385, 3471, 351, 257, 10485, 351, 513, 11, 290, 257, 9932, 518, 286, 1363, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1731, 33411, 2835, 796, 366, 18, 1, 5357, 14359, 796, 366, 11195, 1 ]
Which launch date involved the Driade?
SELECT launched FROM table_13537940_1 WHERE name = "Driade"
[ 13828, 4219, 3128, 2950, 262, 5809, 671, 30, 46506, 5611, 16034, 3084, 62, 17059, 29088, 1821, 62, 16, 33411, 1438, 796, 366, 20564, 671, 1 ]
[ 1, 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, 4219, 3128, 2950, 262, 5809, 671, 30, 46506, 5611, 16034, 3084, 62, 17059, 29088, 1821, 62, 16, 33411, 1438, 796, 366, 20564, 671, 1 ]
a fasting glucose 100 _ 125 mg / dl, or a hba1c measurement of 5.7 _ 6.4 % , or a diagnosis of prediabetes or impaired fasting glucose in the past 6 months
SELECT * FROM table_dev_36 WHERE (fasting_glucose >= 100 AND fasting_glucose <= 125) OR (hemoglobin_a1c_hba1c >= 5.7 AND hemoglobin_a1c_hba1c <= 6.4) OR (prediabetes = 1 OR impaired_fasting_glucose = 1)
[ 64, 24845, 15701, 1802, 4808, 13151, 10527, 1220, 288, 75, 11, 393, 257, 289, 7012, 16, 66, 15558, 286, 642, 13, 22, 4808, 718, 13, 19, 4064, 837, 393, 257, 13669, 286, 2747, 72, 11064, 393, 22753, 24845, 15701, 287, 262, 1613, 718,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 64, 24845, 15701, 1802, 4808, 13151, 10527, 1220, 288, 75, 11, 393, 257, 289, 7012, 16, 66, 15558, 286, 642, 13, 22, 4808, 718, 13, 19, 4064, 837, 393, 257, 13669, 286, 2747, 72, 11064, 393, 22753, 24845, 15701, 287, 262, 1613, 718,...