instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
When the year won is 1981, 1987, and the finish is t46, what is the lowest total?
SELECT MIN("Total") FROM table_61192 WHERE "Finish" = 't46' AND "Year(s) won" = '1981, 1987'
[ 2215, 262, 614, 1839, 318, 14745, 11, 12923, 11, 290, 262, 5461, 318, 256, 3510, 11, 644, 318, 262, 9016, 2472, 30, 46506, 20625, 7203, 14957, 4943, 16034, 3084, 62, 5333, 17477, 33411, 366, 48658, 1, 796, 705, 83, 3510, 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 ]
[ 2215, 262, 614, 1839, 318, 14745, 11, 12923, 11, 290, 262, 5461, 318, 256, 3510, 11, 644, 318, 262, 9016, 2472, 30, 46506, 20625, 7203, 14957, 4943, 16034, 3084, 62, 5333, 17477, 33411, 366, 48658, 1, 796, 705, 83, 3510, 6, 5357, 36...
Which Streak has a Game larger than 49?
SELECT "Streak" FROM table_45765 WHERE "Game" > '49'
[ 13828, 9737, 461, 468, 257, 3776, 4025, 621, 5125, 30, 46506, 366, 30611, 461, 1, 16034, 3084, 62, 2231, 29143, 33411, 366, 8777, 1, 1875, 705, 2920, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9737, 461, 468, 257, 3776, 4025, 621, 5125, 30, 46506, 366, 30611, 461, 1, 16034, 3084, 62, 2231, 29143, 33411, 366, 8777, 1, 1875, 705, 2920, 6 ]
What was Collingwood's score when they played against North Melbourne at home?
SELECT home_team AS score FROM table_name_12 WHERE away_team = "north melbourne"
[ 2061, 373, 7778, 278, 3822, 338, 4776, 618, 484, 2826, 1028, 2258, 14819, 379, 1363, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 1065, 33411, 1497, 62, 15097, 796, 366, 43588, 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 ]
[ 2061, 373, 7778, 278, 3822, 338, 4776, 618, 484, 2826, 1028, 2258, 14819, 379, 1363, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 1065, 33411, 1497, 62, 15097, 796, 366, 43588, 7758, 12544, 1 ]
What is the 2nd leg of dinamo minsk team #2?
SELECT "2nd leg" FROM table_46504 WHERE "Team #2" = 'dinamo minsk'
[ 2061, 318, 262, 362, 358, 1232, 286, 16278, 18811, 949, 8135, 1074, 1303, 17, 30, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 3510, 33580, 33411, 366, 15592, 1303, 17, 1, 796, 705, 25194, 18811, 949, 8135, 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, 362, 358, 1232, 286, 16278, 18811, 949, 8135, 1074, 1303, 17, 30, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 3510, 33580, 33411, 366, 15592, 1303, 17, 1, 796, 705, 25194, 18811, 949, 8135, 6 ]
Who is the Visitor on april 8?
SELECT visitor FROM table_name_94 WHERE date = "april 8"
[ 8241, 318, 262, 6911, 2072, 319, 46593, 346, 807, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 5824, 33411, 3128, 796, 366, 499, 22379, 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 ]
[ 8241, 318, 262, 6911, 2072, 319, 46593, 346, 807, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 5824, 33411, 3128, 796, 366, 499, 22379, 807, 1 ]
When 5 is the l what is the lowest amount of stolen ends?
SELECT MIN("Stolen Ends") FROM table_4215 WHERE "L" = '5'
[ 2215, 642, 318, 262, 300, 644, 318, 262, 9016, 2033, 286, 9909, 5645, 30, 46506, 20625, 7203, 1273, 8622, 46756, 4943, 16034, 3084, 62, 3682, 1314, 33411, 366, 43, 1, 796, 705, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 642, 318, 262, 300, 644, 318, 262, 9016, 2033, 286, 9909, 5645, 30, 46506, 20625, 7203, 1273, 8622, 46756, 4943, 16034, 3084, 62, 3682, 1314, 33411, 366, 43, 1, 796, 705, 20, 6 ]
What is Bob Charles' To par?
SELECT to_par FROM table_name_84 WHERE player = "bob charles"
[ 2061, 318, 5811, 7516, 6, 1675, 1582, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 5705, 33411, 2137, 796, 366, 65, 672, 1149, 829, 1 ]
[ 1, 1, 1, 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, 5811, 7516, 6, 1675, 1582, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 5705, 33411, 2137, 796, 366, 65, 672, 1149, 829, 1 ]
Where was the game with the attendance of 54,436?
SELECT game_site FROM table_name_99 WHERE attendance = "54,436"
[ 8496, 373, 262, 983, 351, 262, 14858, 286, 7175, 11, 43690, 30, 46506, 983, 62, 15654, 16034, 3084, 62, 3672, 62, 2079, 33411, 14858, 796, 366, 4051, 11, 43690, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 351, 262, 14858, 286, 7175, 11, 43690, 30, 46506, 983, 62, 15654, 16034, 3084, 62, 3672, 62, 2079, 33411, 14858, 796, 366, 4051, 11, 43690, 1 ]
what flights from CHICAGO to KANSAS CITY in the morning
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 = 'CHICAGO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'KANSA...
[ 10919, 13956, 422, 5870, 2149, 4760, 46, 284, 509, 15037, 1921, 27993, 287, 262, 3329, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13956, 422, 5870, 2149, 4760, 46, 284, 509, 15037, 1921, 27993, 287, 262, 3329, 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, ...
what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu?
SELECT SUM("Seats 2001") FROM table_71086 WHERE "Parties and voter communities" = 'cdu' AND "Seats 2006" > '10'
[ 10919, 318, 262, 2472, 1271, 286, 8632, 5878, 351, 8632, 4793, 517, 621, 838, 290, 10765, 5348, 286, 269, 646, 30, 46506, 35683, 7203, 4653, 1381, 5878, 4943, 16034, 3084, 62, 43147, 4521, 33411, 366, 7841, 444, 290, 10765, 5348, 1, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2472, 1271, 286, 8632, 5878, 351, 8632, 4793, 517, 621, 838, 290, 10765, 5348, 286, 269, 646, 30, 46506, 35683, 7203, 4653, 1381, 5878, 4943, 16034, 3084, 62, 43147, 4521, 33411, 366, 7841, 444, 290, 10765, 5348, 1, 7...
What was the Time in the Mina Clavero 2 Stage?
SELECT time FROM table_name_74 WHERE name = "mina clavero 2"
[ 2061, 373, 262, 3862, 287, 262, 337, 1437, 1012, 8770, 78, 362, 15371, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 4524, 33411, 1438, 796, 366, 1084, 64, 537, 8770, 78, 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, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3862, 287, 262, 337, 1437, 1012, 8770, 78, 362, 15371, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 4524, 33411, 1438, 796, 366, 1084, 64, 537, 8770, 78, 362, 1 ]
What is the current status for GM Advanced Design with more than 41 seats?
SELECT current_status FROM table_name_64 WHERE make = "gm advanced design" AND number_of_seats > 41
[ 2061, 318, 262, 1459, 3722, 329, 6951, 13435, 8495, 351, 517, 621, 6073, 8632, 30, 46506, 1459, 62, 13376, 16034, 3084, 62, 3672, 62, 2414, 33411, 787, 796, 366, 39870, 6190, 1486, 1, 5357, 1271, 62, 1659, 62, 325, 1381, 1875, 6073 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1459, 3722, 329, 6951, 13435, 8495, 351, 517, 621, 6073, 8632, 30, 46506, 1459, 62, 13376, 16034, 3084, 62, 3672, 62, 2414, 33411, 787, 796, 366, 39870, 6190, 1486, 1, 5357, 1271, 62, 1659, 62, 325, 1381, 1875, 6073 ]
show me weekday flights from MILWAUKEE to ORLANDO one way
SELECT DISTINCT flight_id FROM flight WHERE (((((((flight_days IN (SELECT DAYSalias6.days_code FROM days AS DAYSalias6 WHERE DAYSalias6.day_name = 'THURSDAY') AND flight_id IN (SELECT FLIGHT_FAREalias3.flight_id FROM flight_fare AS FLIGHT_FAREalias3 WHERE FLIGHT_FAREalias3.fare_id IN (SELECT FAREalias3.fare_id FROM far...
[ 12860, 502, 28269, 13956, 422, 31515, 15543, 15039, 6500, 284, 6375, 28182, 46, 530, 835, 46506, 360, 8808, 1268, 4177, 5474, 62, 312, 16034, 5474, 33411, 14808, 19510, 19510, 7, 22560, 62, 12545, 3268, 357, 46506, 24644, 19221, 4448, 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, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 28269, 13956, 422, 31515, 15543, 15039, 6500, 284, 6375, 28182, 46, 530, 835, 46506, 360, 8808, 1268, 4177, 5474, 62, 312, 16034, 5474, 33411, 14808, 19510, 19510, 7, 22560, 62, 12545, 3268, 357, 46506, 24644, 19221, 4448, 21,...
What is Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68?
SELECT "Name" FROM table_44758 WHERE "Team" = 'new york knicks' AND "WSU Year(s)" = '1965-68'
[ 2061, 318, 6530, 11, 618, 4816, 318, 968, 1971, 24397, 11, 290, 618, 370, 12564, 6280, 7, 82, 8, 318, 17672, 12, 3104, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2598, 38569, 33411, 366, 15592, 1, 796, 705, 3605, 331, 967, 638, 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, 1, 1, 1, 1, 1 ]
[ 2061, 318, 6530, 11, 618, 4816, 318, 968, 1971, 24397, 11, 290, 618, 370, 12564, 6280, 7, 82, 8, 318, 17672, 12, 3104, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2598, 38569, 33411, 366, 15592, 1, 796, 705, 3605, 331, 967, 638, 337...
earliest paper written by srinivasan iyer
SELECT DISTINCT paper.paperid, paper.year FROM author, paper, writes WHERE author.authorname = 'srinivasan iyer' AND paper.year = (SELECT MIN(PAPERalias1.year) FROM author AS AUTHORalias1, paper AS PAPERalias1, writes AS WRITESalias1 WHERE AUTHORalias1.authorname = 'srinivasan iyer' AND WRITESalias1.authorid = AUTHORal...
[ 451, 11318, 3348, 3194, 416, 264, 12769, 38630, 272, 1312, 9860, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 11, 3348, 13, 1941, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 82, 12769, 38630, 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...
[ 451, 11318, 3348, 3194, 416, 264, 12769, 38630, 272, 1312, 9860, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 11, 3348, 13, 1941, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 82, 12769, 38630, 2...
What was the date of the game that had a loss of Burns (0-1)?
SELECT date FROM table_name_85 WHERE loss = "burns (0-1)"
[ 2061, 373, 262, 3128, 286, 262, 983, 326, 550, 257, 2994, 286, 23592, 357, 15, 12, 16, 19427, 46506, 3128, 16034, 3084, 62, 3672, 62, 5332, 33411, 2994, 796, 366, 10899, 82, 357, 15, 12, 16, 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 ]
[ 2061, 373, 262, 3128, 286, 262, 983, 326, 550, 257, 2994, 286, 23592, 357, 15, 12, 16, 19427, 46506, 3128, 16034, 3084, 62, 3672, 62, 5332, 33411, 2994, 796, 366, 10899, 82, 357, 15, 12, 16, 16725 ]
What was the total number of weeks with a result of l 31-21?
SELECT COUNT(week) FROM table_name_33 WHERE result = "l 31-21"
[ 2061, 373, 262, 2472, 1271, 286, 2745, 351, 257, 1255, 286, 300, 3261, 12, 2481, 30, 46506, 327, 28270, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 1255, 796, 366, 75, 3261, 12, 2481, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2472, 1271, 286, 2745, 351, 257, 1255, 286, 300, 3261, 12, 2481, 30, 46506, 327, 28270, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 1255, 796, 366, 75, 3261, 12, 2481, 1 ]
What is the size of the biggest crowd for a game where Fitzroy was the away team?
SELECT MAX(crowd) FROM table_name_29 WHERE away_team = "fitzroy"
[ 2061, 318, 262, 2546, 286, 262, 4094, 4315, 329, 257, 983, 810, 16703, 3287, 373, 262, 1497, 1074, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 1497, 62, 15097, 796, 366, 69, 4224, 3287, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2546, 286, 262, 4094, 4315, 329, 257, 983, 810, 16703, 3287, 373, 262, 1497, 1074, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 1497, 62, 15097, 796, 366, 69, 4224, 3287, 1 ]
Name the rank for laps less than 130 and year of 1951
SELECT rank FROM table_name_31 WHERE laps < 130 AND year = "1951"
[ 5376, 262, 4279, 329, 24590, 1342, 621, 11323, 290, 614, 286, 27937, 46506, 4279, 16034, 3084, 62, 3672, 62, 3132, 33411, 24590, 1279, 11323, 5357, 614, 796, 366, 1129, 4349, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 4279, 329, 24590, 1342, 621, 11323, 290, 614, 286, 27937, 46506, 4279, 16034, 3084, 62, 3672, 62, 3132, 33411, 24590, 1279, 11323, 5357, 614, 796, 366, 1129, 4349, 1 ]
what are the five most commonly given lab tests for patients who have previously received external fixation device within 2 months in this year?
SELECT t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'external fixation device' AND DATETIME(treatment.tre...
[ 10919, 389, 262, 1936, 749, 8811, 1813, 2248, 5254, 329, 3871, 508, 423, 4271, 2722, 7097, 48785, 3335, 1626, 362, 1933, 287, 428, 614, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17, 13, 23912, 3672, 11, 360, 24290, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1936, 749, 8811, 1813, 2248, 5254, 329, 3871, 508, 423, 4271, 2722, 7097, 48785, 3335, 1626, 362, 1933, 287, 428, 614, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17, 13, 23912, 3672, 11, 360, 24290, ...
What are card ids, customer ids, card types, and card numbers for each customer card?, and I want to order x axis in asc order.
SELECT card_type_code, SUM(card_number) FROM Customers_Cards GROUP BY card_type_code ORDER BY card_type_code
[ 2061, 389, 2657, 220, 2340, 11, 6491, 220, 2340, 11, 2657, 3858, 11, 290, 2657, 3146, 329, 1123, 6491, 2657, 21747, 290, 314, 765, 284, 1502, 2124, 16488, 287, 10570, 1502, 13, 46506, 2657, 62, 4906, 62, 8189, 11, 35683, 7, 9517, 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, 389, 2657, 220, 2340, 11, 6491, 220, 2340, 11, 2657, 3858, 11, 290, 2657, 3146, 329, 1123, 6491, 2657, 21747, 290, 314, 765, 284, 1502, 2124, 16488, 287, 10570, 1502, 13, 46506, 2657, 62, 4906, 62, 8189, 11, 35683, 7, 9517, 62...
What is Date, when Attendance is less than 521?
SELECT "Date" FROM table_10022 WHERE "Attendance" < '521'
[ 2061, 318, 7536, 11, 618, 46502, 590, 318, 1342, 621, 642, 2481, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3064, 1828, 33411, 366, 8086, 437, 590, 1, 1279, 705, 20, 2481, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7536, 11, 618, 46502, 590, 318, 1342, 621, 642, 2481, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3064, 1828, 33411, 366, 8086, 437, 590, 1, 1279, 705, 20, 2481, 6 ]
What is the Points for number of the team with a 10 Tries against number?
SELECT points_for FROM table_name_44 WHERE tries_against = "10"
[ 2061, 318, 262, 11045, 329, 1271, 286, 262, 1074, 351, 257, 838, 309, 1678, 1028, 1271, 30, 46506, 2173, 62, 1640, 16034, 3084, 62, 3672, 62, 2598, 33411, 8404, 62, 32826, 796, 366, 940, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11045, 329, 1271, 286, 262, 1074, 351, 257, 838, 309, 1678, 1028, 1271, 30, 46506, 2173, 62, 1640, 16034, 3084, 62, 3672, 62, 2598, 33411, 8404, 62, 32826, 796, 366, 940, 1 ]
list the number of male patients born before 2098.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.dob_year < "2098"
[ 4868, 262, 1271, 286, 4257, 3871, 4642, 878, 1160, 4089, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 67, 672, 62, 1941, 1279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4868, 262, 1271, 286, 4257, 3871, 4642, 878, 1160, 4089, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 67, 672, 62, 1941, 1279, ...
In the competition in which the visiting team was the Suns, who was the leading scorer?
SELECT "Leading scorer" FROM table_56051 WHERE "Visitor" = 'suns'
[ 818, 262, 5449, 287, 543, 262, 10013, 1074, 373, 262, 29139, 11, 508, 373, 262, 3756, 30664, 30, 46506, 366, 20451, 278, 30664, 1, 16034, 3084, 62, 34135, 4349, 33411, 366, 15854, 2072, 1, 796, 705, 82, 13271, 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 ]
[ 818, 262, 5449, 287, 543, 262, 10013, 1074, 373, 262, 29139, 11, 508, 373, 262, 3756, 30664, 30, 46506, 366, 20451, 278, 30664, 1, 16034, 3084, 62, 34135, 4349, 33411, 366, 15854, 2072, 1, 796, 705, 82, 13271, 6 ]
provide the number of patients whose marital status is single and diagnoses long title is portal hypertension?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "SINGLE" AND diagnoses.long_title = "Portal hypertension"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 40567, 890, 3670, 318, 17898, 37454, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 40567, 890, 3670, 318, 17898, 37454, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177,...
which is wider ; the blackmagic pocket cinema camera or the 1/2 .7 ?
SELECT "type" FROM table_203_356 WHERE "type" IN ('blackmagic pocket cinema camera', '1/2.7"') ORDER BY "width (mm)" DESC LIMIT 1
[ 4758, 318, 10595, 2162, 262, 2042, 32707, 10000, 22041, 4676, 393, 262, 352, 14, 17, 764, 22, 5633, 46506, 366, 4906, 1, 16034, 3084, 62, 22416, 62, 32066, 33411, 366, 4906, 1, 3268, 19203, 13424, 32707, 10000, 22041, 4676, 3256, 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 ]
[ 4758, 318, 10595, 2162, 262, 2042, 32707, 10000, 22041, 4676, 393, 262, 352, 14, 17, 764, 22, 5633, 46506, 366, 4906, 1, 16034, 3084, 62, 22416, 62, 32066, 33411, 366, 4906, 1, 3268, 19203, 13424, 32707, 10000, 22041, 4676, 3256, 705, ...
how many patients are admitted in location phys referral/normal delivery and followed the procedure radiotherapeutic proc nec?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND procedures.short_title = "Radiotherapeut proc NEC"
[ 4919, 867, 3871, 389, 6848, 287, 4067, 2281, 31413, 14, 11265, 7585, 290, 3940, 262, 8771, 19772, 847, 1758, 18089, 13834, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 6848, 287, 4067, 2281, 31413, 14, 11265, 7585, 290, 3940, 262, 8771, 19772, 847, 1758, 18089, 13834, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
How many times was Sanger 3730xl $2400 usd?
SELECT COUNT(ion_torrent_pgm) FROM table_127511_1 WHERE sanger_3730xl = "$2400 USD"
[ 2437, 867, 1661, 373, 311, 2564, 5214, 1270, 87, 75, 720, 1731, 405, 514, 67, 30, 46506, 327, 28270, 7, 295, 62, 13165, 1156, 62, 6024, 76, 8, 16034, 3084, 62, 1065, 2425, 1157, 62, 16, 33411, 264, 2564, 62, 2718, 1270, 87, 75, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1661, 373, 311, 2564, 5214, 1270, 87, 75, 720, 1731, 405, 514, 67, 30, 46506, 327, 28270, 7, 295, 62, 13165, 1156, 62, 6024, 76, 8, 16034, 3084, 62, 1065, 2425, 1157, 62, 16, 33411, 264, 2564, 62, 2718, 1270, 87, 75, ...
give me the number of patients whose admission type is elective and discharge location is home health care?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.discharge_location = "HOME HEALTH CARE"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 17655, 4067, 318, 1363, 1535, 1337, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 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 ]
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 17655, 4067, 318, 1363, 1535, 1337, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62,...
What were the years for Redhill school, authority of state?
SELECT years FROM table_name_1 WHERE authority = "state" AND name = "redhill school"
[ 2061, 547, 262, 812, 329, 2297, 12639, 1524, 11, 4934, 286, 1181, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 16, 33411, 4934, 796, 366, 5219, 1, 5357, 1438, 796, 366, 445, 12639, 1524, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 547, 262, 812, 329, 2297, 12639, 1524, 11, 4934, 286, 1181, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 16, 33411, 4934, 796, 366, 5219, 1, 5357, 1438, 796, 366, 445, 12639, 1524, 1 ]
How many golds have a bronze greater than 1, a silver greater than 1, with total as the rank?
SELECT COUNT("Gold") FROM table_64827 WHERE "Bronze" > '1' AND "Silver" > '1' AND "Rank" = 'total'
[ 2437, 867, 3869, 82, 423, 257, 22101, 3744, 621, 352, 11, 257, 8465, 3744, 621, 352, 11, 351, 2472, 355, 262, 4279, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 34287, 1983, 33411, 366, 18760, 2736, 1, 1875, 705, 16, 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 ]
[ 2437, 867, 3869, 82, 423, 257, 22101, 3744, 621, 352, 11, 257, 8465, 3744, 621, 352, 11, 351, 2472, 355, 262, 4279, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 34287, 1983, 33411, 366, 18760, 2736, 1, 1875, 705, 16, 6...
what fleet is associated with the number L4?
SELECT "Fleet" FROM table_4474 WHERE "Number" = 'l4'
[ 10919, 11026, 318, 3917, 351, 262, 1271, 406, 19, 30, 46506, 366, 47669, 316, 1, 16034, 3084, 62, 2598, 4524, 33411, 366, 15057, 1, 796, 705, 75, 19, 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 ]
[ 10919, 11026, 318, 3917, 351, 262, 1271, 406, 19, 30, 46506, 366, 47669, 316, 1, 16034, 3084, 62, 2598, 4524, 33411, 366, 15057, 1, 796, 705, 75, 19, 6 ]
What is the attendance of the match on October 26?
SELECT "Attendance" FROM table_47358 WHERE "Date" = 'october 26'
[ 2061, 318, 262, 14858, 286, 262, 2872, 319, 3267, 2608, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 2857, 31128, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 2608, 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, 14858, 286, 262, 2872, 319, 3267, 2608, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 2857, 31128, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 2608, 6 ]
Which category was Gene Barry nominated in?
SELECT "Category" FROM table_57655 WHERE "Result" = 'nominated' AND "Nominee" = 'gene barry'
[ 13828, 6536, 373, 13005, 14488, 19332, 287, 30, 46506, 366, 27313, 1, 16034, 3084, 62, 3553, 35916, 33411, 366, 23004, 1, 796, 705, 26601, 3898, 6, 5357, 366, 45, 296, 500, 68, 1, 796, 705, 70, 1734, 2318, 563, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6536, 373, 13005, 14488, 19332, 287, 30, 46506, 366, 27313, 1, 16034, 3084, 62, 3553, 35916, 33411, 366, 23004, 1, 796, 705, 26601, 3898, 6, 5357, 366, 45, 296, 500, 68, 1, 796, 705, 70, 1734, 2318, 563, 6 ]
Percentile of users with location.
SELECT (SELECT COUNT(Id) FROM Users WHERE NOT Location IS NULL) * 100.0 / (SELECT COUNT(Id) FROM Users)
[ 31905, 576, 286, 2985, 351, 4067, 13, 46506, 357, 46506, 327, 28270, 7, 7390, 8, 16034, 18987, 33411, 5626, 13397, 3180, 15697, 8, 1635, 1802, 13, 15, 1220, 357, 46506, 327, 28270, 7, 7390, 8, 16034, 18987, 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 ]
[ 31905, 576, 286, 2985, 351, 4067, 13, 46506, 357, 46506, 327, 28270, 7, 7390, 8, 16034, 18987, 33411, 5626, 13397, 3180, 15697, 8, 1635, 1802, 13, 15, 1220, 357, 46506, 327, 28270, 7, 7390, 8, 16034, 18987, 8 ]
How many o-19% are where the quartier is in saint-loup?
SELECT _percentage_0_19_years FROM table_29615165_5 WHERE quartier = "Saint-Loup"
[ 2437, 867, 267, 12, 1129, 4, 389, 810, 262, 28176, 959, 318, 287, 32292, 12, 75, 10486, 30, 46506, 4808, 25067, 496, 62, 15, 62, 1129, 62, 19002, 16034, 3084, 62, 27137, 1314, 20986, 62, 20, 33411, 28176, 959, 796, 366, 48615, 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 ]
[ 2437, 867, 267, 12, 1129, 4, 389, 810, 262, 28176, 959, 318, 287, 32292, 12, 75, 10486, 30, 46506, 4808, 25067, 496, 62, 15, 62, 1129, 62, 19002, 16034, 3084, 62, 27137, 1314, 20986, 62, 20, 33411, 28176, 959, 796, 366, 48615, 12, ...
What round was on 7 January 2003?
SELECT "Round" FROM table_70892 WHERE "Date" = '7 january 2003'
[ 2061, 2835, 373, 319, 767, 3269, 5816, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 2154, 4531, 17, 33411, 366, 10430, 1, 796, 705, 22, 42897, 2838, 5816, 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 ]
[ 2061, 2835, 373, 319, 767, 3269, 5816, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 2154, 4531, 17, 33411, 366, 10430, 1, 796, 705, 22, 42897, 2838, 5816, 6 ]
hba1c 12 %
SELECT * FROM table_train_183 WHERE hemoglobin_a1c_hba1c < 12
[ 71, 7012, 16, 66, 1105, 4064, 46506, 1635, 16034, 3084, 62, 27432, 62, 24839, 33411, 16869, 49835, 62, 64, 16, 66, 62, 71, 7012, 16, 66, 1279, 1105 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 71, 7012, 16, 66, 1105, 4064, 46506, 1635, 16034, 3084, 62, 27432, 62, 24839, 33411, 16869, 49835, 62, 64, 16, 66, 62, 71, 7012, 16, 66, 1279, 1105 ]
What is Opponent, when Year is greater than 2009, and when Score is 7 5, 6 7 (6 8) , 6 1?
SELECT "Opponent" FROM table_48185 WHERE "Year" > '2009' AND "Score" = '7–5, 6–7 (6–8) , 6–1'
[ 2061, 318, 9385, 3471, 11, 618, 6280, 318, 3744, 621, 3717, 11, 290, 618, 15178, 318, 767, 642, 11, 718, 767, 357, 21, 807, 8, 837, 718, 352, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2780, 21652, 33411, 366, 17688, 1, 1875...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 9385, 3471, 11, 618, 6280, 318, 3744, 621, 3717, 11, 290, 618, 15178, 318, 767, 642, 11, 718, 767, 357, 21, 807, 8, 837, 718, 352, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2780, 21652, 33411, 366, 17688, 1, 1875...
Who was the runner-up in the Michelob Light Open at Kingsmill?
SELECT "Runner(s)-up" FROM table_11054 WHERE "Tournament" = 'michelob light open at kingsmill'
[ 8241, 373, 262, 17490, 12, 929, 287, 262, 12386, 672, 4401, 4946, 379, 10578, 17805, 30, 46506, 366, 49493, 7, 82, 13219, 929, 1, 16034, 3084, 62, 11442, 4051, 33411, 366, 51, 5138, 1, 796, 705, 9383, 2978, 672, 1657, 1280, 379, 215...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17490, 12, 929, 287, 262, 12386, 672, 4401, 4946, 379, 10578, 17805, 30, 46506, 366, 49493, 7, 82, 13219, 929, 1, 16034, 3084, 62, 11442, 4051, 33411, 366, 51, 5138, 1, 796, 705, 9383, 2978, 672, 1657, 1280, 379, 215...
List the titles of episodes written by Anne Cofell Saunders.
SELECT title FROM table_26464364_1 WHERE written_by = "Anne Cofell Saunders"
[ 8053, 262, 8714, 286, 8640, 3194, 416, 15397, 327, 1659, 695, 35896, 13, 46506, 3670, 16034, 3084, 62, 18897, 2414, 26780, 62, 16, 33411, 3194, 62, 1525, 796, 366, 43227, 327, 1659, 695, 35896, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 8714, 286, 8640, 3194, 416, 15397, 327, 1659, 695, 35896, 13, 46506, 3670, 16034, 3084, 62, 18897, 2414, 26780, 62, 16, 33411, 3194, 62, 1525, 796, 366, 43227, 327, 1659, 695, 35896, 1 ]
how many times milrinone was prescribed in the last hospital encounter for patient 15178?
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15178 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND prescriptions.drug = 'milrinone'
[ 4919, 867, 1661, 1465, 12769, 505, 373, 14798, 287, 262, 938, 4436, 8791, 329, 5827, 1315, 23188, 30, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 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...
[ 4919, 867, 1661, 1465, 12769, 505, 373, 14798, 287, 262, 938, 4436, 8791, 329, 5827, 1315, 23188, 30, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16...
What is the smallest championship when the FA Cup is 0 and the League Cup is 1?
SELECT MIN("Championship") FROM table_12164 WHERE "FA Cup" = '0' AND "League Cup" = '1'
[ 2061, 318, 262, 18197, 12184, 618, 262, 9677, 5454, 318, 657, 290, 262, 4041, 5454, 318, 352, 30, 46506, 20625, 7203, 1925, 4350, 1056, 4943, 16034, 3084, 62, 1065, 23237, 33411, 366, 7708, 5454, 1, 796, 705, 15, 6, 5357, 366, 24623, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12184, 618, 262, 9677, 5454, 318, 657, 290, 262, 4041, 5454, 318, 352, 30, 46506, 20625, 7203, 1925, 4350, 1056, 4943, 16034, 3084, 62, 1065, 23237, 33411, 366, 7708, 5454, 1, 796, 705, 15, 6, 5357, 366, 24623, ...
Name the number of district for bill shuster
SELECT COUNT("District") FROM table_27310 WHERE "Incumbent" = 'Bill Shuster'
[ 5376, 262, 1271, 286, 4783, 329, 2855, 427, 5819, 46506, 327, 28270, 7203, 44857, 4943, 16034, 3084, 62, 1983, 26717, 33411, 366, 25517, 2178, 298, 1, 796, 705, 17798, 911, 5819, 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 ]
[ 5376, 262, 1271, 286, 4783, 329, 2855, 427, 5819, 46506, 327, 28270, 7203, 44857, 4943, 16034, 3084, 62, 1983, 26717, 33411, 366, 25517, 2178, 298, 1, 796, 705, 17798, 911, 5819, 6 ]
Are undergrads taking 699 ?
SELECT DISTINCT advisory_requirement, enforced_requirement, name FROM course WHERE department = 'EECS' AND number = 699
[ 8491, 739, 2164, 5643, 2263, 718, 2079, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 11, 20326, 62, 8897, 24615, 11, 1438, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 718, 2079 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8491, 739, 2164, 5643, 2263, 718, 2079, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 11, 20326, 62, 8897, 24615, 11, 1438, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 718, 2079 ]
has patient 22756 had any diagnoses since 2102?
SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 22756) AND STRFTIME('%y', diagnoses_icd.charttime) >= '2102'
[ 10134, 5827, 30989, 3980, 550, 597, 40567, 1201, 362, 15377, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 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...
[ 10134, 5827, 30989, 3980, 550, 597, 40567, 1201, 362, 15377, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, ...
What in 2006 07 has a 2007 08 of q?
SELECT "2006\u201307" FROM table_7527 WHERE "2007\u201308" = 'q'
[ 2061, 287, 4793, 8753, 468, 257, 4343, 8487, 286, 10662, 30, 46506, 366, 13330, 59, 84, 1264, 22996, 1, 16034, 3084, 62, 2425, 1983, 33411, 366, 12726, 59, 84, 1264, 21495, 1, 796, 705, 80, 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, 287, 4793, 8753, 468, 257, 4343, 8487, 286, 10662, 30, 46506, 366, 13330, 59, 84, 1264, 22996, 1, 16034, 3084, 62, 2425, 1983, 33411, 366, 12726, 59, 84, 1264, 21495, 1, 796, 705, 80, 6 ]
Which match where Hawthorn was the away team had the largest crowd?
SELECT MAX("Crowd") FROM table_74800 WHERE "Away team" = 'hawthorn'
[ 13828, 2872, 810, 41457, 1211, 373, 262, 1497, 1074, 550, 262, 4387, 4315, 30, 46506, 25882, 7203, 34, 3986, 4943, 16034, 3084, 62, 48246, 405, 33411, 366, 32, 1014, 1074, 1, 796, 705, 26615, 400, 1211, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2872, 810, 41457, 1211, 373, 262, 1497, 1074, 550, 262, 4387, 4315, 30, 46506, 25882, 7203, 34, 3986, 4943, 16034, 3084, 62, 48246, 405, 33411, 366, 32, 1014, 1074, 1, 796, 705, 26615, 400, 1211, 6 ]
What is Lisbeth Trickett's time?
SELECT COUNT("Time") FROM table_63357 WHERE "Name" = 'lisbeth trickett'
[ 2061, 318, 28546, 65, 2788, 30028, 3087, 338, 640, 30, 46506, 327, 28270, 7203, 7575, 4943, 16034, 3084, 62, 21, 2091, 3553, 33411, 366, 5376, 1, 796, 705, 27999, 65, 2788, 6908, 3087, 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, 28546, 65, 2788, 30028, 3087, 338, 640, 30, 46506, 327, 28270, 7203, 7575, 4943, 16034, 3084, 62, 21, 2091, 3553, 33411, 366, 5376, 1, 796, 705, 27999, 65, 2788, 6908, 3087, 6 ]
What day was the attendance at the staples center 18,176?
SELECT "Date" FROM table_72463 WHERE "Location Attendance" = 'Staples Center 18,176'
[ 2061, 1110, 373, 262, 14858, 379, 262, 46413, 3641, 1248, 11, 24096, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22, 1731, 5066, 33411, 366, 14749, 46502, 590, 1, 796, 705, 1273, 28624, 3337, 1248, 11, 24096, 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, 1110, 373, 262, 14858, 379, 262, 46413, 3641, 1248, 11, 24096, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22, 1731, 5066, 33411, 366, 14749, 46502, 590, 1, 796, 705, 1273, 28624, 3337, 1248, 11, 24096, 6 ]
What are the notes during 57 bc caesar?
SELECT notes FROM table_242785_3 WHERE date_founded__founder = "57 BC Caesar"
[ 2061, 389, 262, 4710, 1141, 7632, 47125, 1275, 18964, 30, 46506, 4710, 16034, 3084, 62, 1731, 1983, 5332, 62, 18, 33411, 3128, 62, 27060, 834, 15454, 796, 366, 3553, 11843, 24088, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 4710, 1141, 7632, 47125, 1275, 18964, 30, 46506, 4710, 16034, 3084, 62, 1731, 1983, 5332, 62, 18, 33411, 3128, 62, 27060, 834, 15454, 796, 366, 3553, 11843, 24088, 1 ]
Which date featured the Boston Patriots as the opponent?
SELECT "Date" FROM table_33430 WHERE "Opponent" = 'boston patriots'
[ 13828, 3128, 8096, 262, 6182, 13104, 355, 262, 6125, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 31380, 1270, 33411, 366, 27524, 3471, 1, 796, 705, 65, 5744, 12650, 1747, 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 ]
[ 13828, 3128, 8096, 262, 6182, 13104, 355, 262, 6125, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 31380, 1270, 33411, 366, 27524, 3471, 1, 796, 705, 65, 5744, 12650, 1747, 6 ]
Bar chart x axis minister y axis how many minister
SELECT Minister, COUNT(Minister) FROM party GROUP BY Minister
[ 10374, 8262, 2124, 16488, 5342, 331, 16488, 703, 867, 5342, 46506, 4139, 11, 327, 28270, 7, 9452, 1694, 8, 16034, 2151, 44441, 11050, 4139 ]
[ 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, 2124, 16488, 5342, 331, 16488, 703, 867, 5342, 46506, 4139, 11, 327, 28270, 7, 9452, 1694, 8, 16034, 2151, 44441, 11050, 4139 ]
how many current patients are of the age 60 or above.
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.hospitaldischargetime IS NULL AND patient.age >= 60
[ 4919, 867, 1459, 3871, 389, 286, 262, 2479, 3126, 393, 2029, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 5357, 5827, 13, 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 ]
[ 4919, 867, 1459, 3871, 389, 286, 262, 2479, 3126, 393, 2029, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 5357, 5827, 13, 4...
Low views, high votes yet unanswered. A list of questions with a high score and low view count
SELECT questao.Id AS "post_link", questao.Score, questao.ViewCount, comentario.Id, comentario.Score AS socre_comentario, comentario.ViewCount AS views_comentario FROM Posts AS questao JOIN Posts AS comentario ON questao.Id = comentario.ParentId WHERE questao.Tags LIKE '%<android%' AND questao.ParentId IS NULL ORDER BY ...
[ 20535, 5009, 11, 1029, 5690, 1865, 34001, 13, 317, 1351, 286, 2683, 351, 257, 1029, 4776, 290, 1877, 1570, 954, 46506, 1235, 5488, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 1235, 5488, 13, 26595, 11, 1235, 5488, 13, 7680, 12332, 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...
[ 20535, 5009, 11, 1029, 5690, 1865, 34001, 13, 317, 1351, 286, 2683, 351, 257, 1029, 4776, 290, 1877, 1570, 954, 46506, 1235, 5488, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 1235, 5488, 13, 26595, 11, 1235, 5488, 13, 7680, 12332, 11, ...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of founder and the sum of code , and group by attribute founder, and list by the bar in descending.
SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T2.Founder DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 9119, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 9119, 11, 290, 1351, 416, 262, 2318, 287, 31491, 13, 46506, 309, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 9119, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 9119, 11, 290, 1351, 416, 262, 2318, 287, 31491, 13, 46506, 309, 1...
On what date was the game with fewer than 6650 in attendance, that finished 0:1?
SELECT date FROM table_name_30 WHERE attendance < 6650 AND score = "0:1"
[ 2202, 644, 3128, 373, 262, 983, 351, 7380, 621, 7930, 1120, 287, 14858, 11, 326, 5201, 657, 25, 16, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1270, 33411, 14858, 1279, 7930, 1120, 5357, 4776, 796, 366, 15, 25, 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 ]
[ 2202, 644, 3128, 373, 262, 983, 351, 7380, 621, 7930, 1120, 287, 14858, 11, 326, 5201, 657, 25, 16, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1270, 33411, 14858, 1279, 7930, 1120, 5357, 4776, 796, 366, 15, 25, 16, 1 ]
What was the record of the game played on January 5?
SELECT "Record" FROM table_2841 WHERE "Date" = 'January 5'
[ 2061, 373, 262, 1700, 286, 262, 983, 2826, 319, 3269, 642, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2078, 3901, 33411, 366, 10430, 1, 796, 705, 21339, 642, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1700, 286, 262, 983, 2826, 319, 3269, 642, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2078, 3901, 33411, 366, 10430, 1, 796, 705, 21339, 642, 6 ]
What was the attendance at the week 2 game?
SELECT "Attendance" FROM table_5720 WHERE "Week" = '2'
[ 2061, 373, 262, 14858, 379, 262, 1285, 362, 983, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 3553, 1238, 33411, 366, 20916, 1, 796, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14858, 379, 262, 1285, 362, 983, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 3553, 1238, 33411, 366, 20916, 1, 796, 705, 17, 6 ]
Which Position has a Player of gino pisellini?
SELECT "Position" FROM table_35289 WHERE "Player" = 'gino pisellini'
[ 13828, 23158, 468, 257, 7853, 286, 308, 2879, 279, 271, 695, 5362, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2327, 27693, 33411, 366, 14140, 1, 796, 705, 1655, 78, 279, 271, 695, 5362, 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 ]
[ 13828, 23158, 468, 257, 7853, 286, 308, 2879, 279, 271, 695, 5362, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2327, 27693, 33411, 366, 14140, 1, 796, 705, 1655, 78, 279, 271, 695, 5362, 6 ]
calculate the number of drugs until 10/2103 patient 13848 has been prescribed.
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13848) AND STRFTIME('%y-%m', prescriptions.startdate) <= '2103-10'
[ 9948, 3129, 378, 262, 1271, 286, 5010, 1566, 838, 14, 17, 15197, 5827, 21503, 2780, 468, 587, 14798, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 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...
[ 9948, 3129, 378, 262, 1271, 286, 5010, 1566, 838, 14, 17, 15197, 5827, 21503, 2780, 468, 587, 14798, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312,...
What is the result when the round is less than 3, the location is in Auckland, New Zealand, and tko is the method?
SELECT result FROM table_name_29 WHERE round < 3 AND location = "auckland, new zealand" AND method = "tko"
[ 2061, 318, 262, 1255, 618, 262, 2835, 318, 1342, 621, 513, 11, 262, 4067, 318, 287, 30422, 11, 968, 8936, 11, 290, 256, 7204, 318, 262, 2446, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1959, 33411, 2835, 1279, 513, 5357, 4067, 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 ]
[ 2061, 318, 262, 1255, 618, 262, 2835, 318, 1342, 621, 513, 11, 262, 4067, 318, 287, 30422, 11, 968, 8936, 11, 290, 256, 7204, 318, 262, 2446, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1959, 33411, 2835, 1279, 513, 5357, 4067, 796,...
What is the infinitive stem that is associated with a subjunctive present of a and a plural preterite of uo?
SELECT "Inf. Stem" FROM table_42750 WHERE "Subj. Pres." = 'a' AND "Plur. Pret." = 'uo'
[ 2061, 318, 262, 1167, 259, 1800, 10717, 326, 318, 3917, 351, 257, 850, 29741, 14070, 1944, 286, 257, 290, 257, 22801, 662, 353, 578, 286, 334, 78, 30, 46506, 366, 18943, 13, 520, 368, 1, 16034, 3084, 62, 42363, 1120, 33411, 366, 700...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1167, 259, 1800, 10717, 326, 318, 3917, 351, 257, 850, 29741, 14070, 1944, 286, 257, 290, 257, 22801, 662, 353, 578, 286, 334, 78, 30, 46506, 366, 18943, 13, 520, 368, 1, 16034, 3084, 62, 42363, 1120, 33411, 366, 700...
What was the airdate of k0120?
SELECT "Original air date" FROM table_28386 WHERE "Production code" = 'K0120'
[ 2061, 373, 262, 257, 1447, 378, 286, 479, 486, 1238, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 2078, 21734, 33411, 366, 35027, 2438, 1, 796, 705, 42, 486, 1238, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 257, 1447, 378, 286, 479, 486, 1238, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 2078, 21734, 33411, 366, 35027, 2438, 1, 796, 705, 42, 486, 1238, 6 ]
What is the duration for Count Palatine of the Rhine of charles albert, elector of bavaria?
SELECT duration FROM table_name_53 WHERE count_palatine_of_the_rhine = "charles albert, elector of bavaria"
[ 2061, 318, 262, 9478, 329, 2764, 3175, 265, 500, 286, 262, 10323, 500, 286, 1149, 829, 435, 4835, 11, 43191, 286, 275, 615, 10312, 30, 46506, 9478, 16034, 3084, 62, 3672, 62, 4310, 33411, 954, 62, 18596, 265, 500, 62, 1659, 62, 1169...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9478, 329, 2764, 3175, 265, 500, 286, 262, 10323, 500, 286, 1149, 829, 435, 4835, 11, 43191, 286, 275, 615, 10312, 30, 46506, 9478, 16034, 3084, 62, 3672, 62, 4310, 33411, 954, 62, 18596, 265, 500, 62, 1659, 62, 1169...
For what competition was the game played on 28 March 2009?
SELECT "Competition" FROM table_13580 WHERE "Date" = '28 march 2009'
[ 1890, 644, 5449, 373, 262, 983, 2826, 319, 2579, 2805, 3717, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 17059, 1795, 33411, 366, 10430, 1, 796, 705, 2078, 9960, 3717, 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 ]
[ 1890, 644, 5449, 373, 262, 983, 2826, 319, 2579, 2805, 3717, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 17059, 1795, 33411, 366, 10430, 1, 796, 705, 2078, 9960, 3717, 6 ]
What are the total enrollments of universities of each affiliation type Plot them as bar chart, rank in asc by the total number.
SELECT Affiliation, SUM(Enrollment) FROM university GROUP BY Affiliation ORDER BY SUM(Enrollment)
[ 2061, 389, 262, 2472, 14627, 902, 286, 11155, 286, 1123, 26218, 2099, 28114, 606, 355, 2318, 8262, 11, 4279, 287, 10570, 416, 262, 2472, 1271, 13, 46506, 6708, 15547, 11, 35683, 7, 4834, 48108, 8, 16034, 6403, 44441, 11050, 6708, 15547,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 14627, 902, 286, 11155, 286, 1123, 26218, 2099, 28114, 606, 355, 2318, 8262, 11, 4279, 287, 10570, 416, 262, 2472, 1271, 13, 46506, 6708, 15547, 11, 35683, 7, 4834, 48108, 8, 16034, 6403, 44441, 11050, 6708, 15547,...
What is the lowest #?
SELECT MIN("#") FROM table_17330
[ 2061, 318, 262, 9016, 1303, 30, 46506, 20625, 7203, 2, 4943, 16034, 3084, 62, 25399, 1270 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1303, 30, 46506, 20625, 7203, 2, 4943, 16034, 3084, 62, 25399, 1270 ]
what artist previous to july made blue ?
SELECT "artist" FROM table_204_420 WHERE "month" < 7 AND "song" = '"blue"'
[ 10919, 6802, 2180, 284, 474, 2062, 925, 4171, 5633, 46506, 366, 49016, 1, 16034, 3084, 62, 18638, 62, 27211, 33411, 366, 8424, 1, 1279, 767, 5357, 366, 34050, 1, 796, 705, 1, 17585, 30543 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6802, 2180, 284, 474, 2062, 925, 4171, 5633, 46506, 366, 49016, 1, 16034, 3084, 62, 18638, 62, 27211, 33411, 366, 8424, 1, 1279, 767, 5357, 366, 34050, 1, 796, 705, 1, 17585, 30543 ]
What was the official ITV1 rating in millions of the Live Final Results episode?
SELECT official_itv1_rating__millions_ FROM table_27319183_5 WHERE episode = "Live final results"
[ 2061, 373, 262, 1743, 49188, 16, 7955, 287, 5242, 286, 262, 7547, 8125, 15691, 4471, 30, 46506, 1743, 62, 270, 85, 16, 62, 8821, 834, 17805, 507, 62, 16034, 3084, 62, 27367, 1129, 24839, 62, 20, 33411, 4471, 796, 366, 18947, 2457, 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 ]
[ 2061, 373, 262, 1743, 49188, 16, 7955, 287, 5242, 286, 262, 7547, 8125, 15691, 4471, 30, 46506, 1743, 62, 270, 85, 16, 62, 8821, 834, 17805, 507, 62, 16034, 3084, 62, 27367, 1129, 24839, 62, 20, 33411, 4471, 796, 366, 18947, 2457, 2...
was there any medication prescribed to patient 14671 during this month?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14671) AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month')
[ 9776, 612, 597, 14103, 14798, 284, 5827, 1478, 46250, 1141, 428, 1227, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9776, 612, 597, 14103, 14798, 284, 5827, 1478, 46250, 1141, 428, 1227, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411,...
count the number of patients who are less than 61 years old with a brain mass;intracranial hemorrhage as their primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE" AND demographic.age < "61"
[ 9127, 262, 1271, 286, 3871, 508, 389, 1342, 621, 8454, 812, 1468, 351, 257, 3632, 2347, 26, 600, 11510, 2596, 498, 42203, 496, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 508, 389, 1342, 621, 8454, 812, 1468, 351, 257, 3632, 2347, 26, 600, 11510, 2596, 498, 42203, 496, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034...
Which Opponents in the final have a Score of 4 6, 6 4, 2 6, 4 6?
SELECT "Opponents in the final" FROM table_76941 WHERE "Score" = '4–6, 6–4, 2–6, 4–6'
[ 13828, 9385, 3906, 287, 262, 2457, 423, 257, 15178, 286, 604, 718, 11, 718, 604, 11, 362, 718, 11, 604, 718, 30, 46506, 366, 27524, 3906, 287, 262, 2457, 1, 16034, 3084, 62, 22, 3388, 3901, 33411, 366, 26595, 1, 796, 705, 19, 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, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9385, 3906, 287, 262, 2457, 423, 257, 15178, 286, 604, 718, 11, 718, 604, 11, 362, 718, 11, 604, 718, 30, 46506, 366, 27524, 3906, 287, 262, 2457, 1, 16034, 3084, 62, 22, 3388, 3901, 33411, 366, 26595, 1, 796, 705, 19, 1906...
What left office date happened in Washington?
SELECT Left AS office FROM table_name_94 WHERE location = "washington"
[ 2061, 1364, 2607, 3128, 3022, 287, 2669, 30, 46506, 9578, 7054, 2607, 16034, 3084, 62, 3672, 62, 5824, 33411, 4067, 796, 366, 86, 2542, 1 ]
[ 1, 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, 1364, 2607, 3128, 3022, 287, 2669, 30, 46506, 9578, 7054, 2607, 16034, 3084, 62, 3672, 62, 5824, 33411, 4067, 796, 366, 86, 2542, 1 ]
What is the date of the game at Commerce Bank Ballpark?
SELECT "Date" FROM table_53240 WHERE "Field" = 'commerce bank ballpark'
[ 2061, 318, 262, 3128, 286, 262, 983, 379, 16127, 5018, 6932, 20928, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4310, 16102, 33411, 366, 15878, 1, 796, 705, 27061, 3331, 40598, 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, 3128, 286, 262, 983, 379, 16127, 5018, 6932, 20928, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4310, 16102, 33411, 366, 15878, 1, 796, 705, 27061, 3331, 40598, 6 ]
Return a bar chart on what are the different ship flags, and how many ships have each?
SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag
[ 13615, 257, 2318, 8262, 319, 644, 389, 262, 1180, 4074, 9701, 11, 290, 703, 867, 7937, 423, 1123, 30, 46506, 19762, 11, 327, 28270, 7, 28104, 16034, 16656, 44441, 11050, 19762 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 319, 644, 389, 262, 1180, 4074, 9701, 11, 290, 703, 867, 7937, 423, 1123, 30, 46506, 19762, 11, 327, 28270, 7, 28104, 16034, 16656, 44441, 11050, 19762 ]
what is the name of a drug that patient 99647 was prescribed within the same hospital visit after having received a open reduct face fx nec procedure since 01/2105?
SELECT t2.drug FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 99647 AND procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_proce...
[ 10919, 318, 262, 1438, 286, 257, 2563, 326, 5827, 7388, 33981, 373, 14798, 1626, 262, 976, 4436, 3187, 706, 1719, 2722, 257, 1280, 2027, 310, 1986, 277, 87, 27576, 8771, 1201, 5534, 14, 17, 13348, 30, 46506, 256, 17, 13, 30349, 16034,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1438, 286, 257, 2563, 326, 5827, 7388, 33981, 373, 14798, 1626, 262, 976, 4436, 3187, 706, 1719, 2722, 257, 1280, 2027, 310, 1986, 277, 87, 27576, 8771, 1201, 5534, 14, 17, 13348, 30, 46506, 256, 17, 13, 30349, 16034,...
What was the highest guard picked?
SELECT MAX("Pick") FROM table_77536 WHERE "Position" = 'guard'
[ 2061, 373, 262, 4511, 4860, 6497, 30, 46506, 25882, 7203, 31686, 4943, 16034, 3084, 62, 34483, 2623, 33411, 366, 26545, 1, 796, 705, 14864, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4511, 4860, 6497, 30, 46506, 25882, 7203, 31686, 4943, 16034, 3084, 62, 34483, 2623, 33411, 366, 26545, 1, 796, 705, 14864, 6 ]
what is the difference between vladimir gadzhev and yordan miliev 's scores ?
SELECT ABS((SELECT "total" FROM table_204_784 WHERE "player" = 'vladimir gadzhev') - (SELECT "total" FROM table_204_784 WHERE "player" = 'yordan miliev'))
[ 10919, 318, 262, 3580, 1022, 410, 9435, 13057, 23793, 89, 258, 85, 290, 331, 7350, 1465, 11203, 705, 82, 8198, 5633, 46506, 29950, 19510, 46506, 366, 23350, 1, 16034, 3084, 62, 18638, 62, 37688, 33411, 366, 7829, 1, 796, 705, 85, 9435...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 3580, 1022, 410, 9435, 13057, 23793, 89, 258, 85, 290, 331, 7350, 1465, 11203, 705, 82, 8198, 5633, 46506, 29950, 19510, 46506, 366, 23350, 1, 16034, 3084, 62, 18638, 62, 37688, 33411, 366, 7829, 1, 796, 705, 85, 9435...
how many minutes below giandomenico basso did luca betti finish ?
SELECT "time" FROM table_204_538 WHERE "driver" = 'luca betti'
[ 4919, 867, 2431, 2174, 308, 72, 392, 3674, 3713, 12702, 78, 750, 17115, 64, 731, 20259, 5461, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 18638, 62, 49561, 33411, 366, 26230, 1, 796, 705, 75, 43120, 731, 20259, 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 ]
[ 4919, 867, 2431, 2174, 308, 72, 392, 3674, 3713, 12702, 78, 750, 17115, 64, 731, 20259, 5461, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 18638, 62, 49561, 33411, 366, 26230, 1, 796, 705, 75, 43120, 731, 20259, 6 ]
provide the number of patients whose age is less than 85 and diagnoses long title is neurogenic bladder nos?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "85" AND diagnoses.long_title = "Neurogenic bladder NOS"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 7600, 290, 40567, 890, 3670, 318, 7669, 38516, 34918, 43630, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 7600, 290, 40567, 890, 3670, 318, 7669, 38516, 34918, 43630, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
how many total did mitsuo kamata have ?
SELECT "total" FROM table_203_456 WHERE "player" = 'mitsuo kamata'
[ 4919, 867, 2472, 750, 285, 19831, 78, 479, 321, 1045, 423, 5633, 46506, 366, 23350, 1, 16034, 3084, 62, 22416, 62, 29228, 33411, 366, 7829, 1, 796, 705, 76, 19831, 78, 479, 321, 1045, 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 ]
[ 4919, 867, 2472, 750, 285, 19831, 78, 479, 321, 1045, 423, 5633, 46506, 366, 23350, 1, 16034, 3084, 62, 22416, 62, 29228, 33411, 366, 7829, 1, 796, 705, 76, 19831, 78, 479, 321, 1045, 6 ]
Show the name of each county along with the corresponding number of delegates from that county Plot them as bar chart, and I want to rank in asc by the bar please.
SELECT County_name, COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_Id = T2.District GROUP BY T1.County_Id ORDER BY County_name
[ 15307, 262, 1438, 286, 1123, 7968, 1863, 351, 262, 11188, 1271, 286, 15265, 422, 326, 7968, 28114, 606, 355, 2318, 8262, 11, 290, 314, 765, 284, 4279, 287, 10570, 416, 262, 2318, 3387, 13, 46506, 3418, 62, 3672, 11, 327, 28270, 7, 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...
[ 15307, 262, 1438, 286, 1123, 7968, 1863, 351, 262, 11188, 1271, 286, 15265, 422, 326, 7968, 28114, 606, 355, 2318, 8262, 11, 290, 314, 765, 284, 4279, 287, 10570, 416, 262, 2318, 3387, 13, 46506, 3418, 62, 3672, 11, 327, 28270, 7, 2...
what is the five most frequent drug that was prescribed within 2 months to the acute respiratory failure - etiology unknown female patients aged 20s after they had been diagnosed with acute respiratory failure - etiology unknown?
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 = 'acute respiratory failure - etiology unknown') AS ...
[ 10919, 318, 262, 1936, 749, 10792, 2563, 326, 373, 14798, 1626, 362, 1933, 284, 262, 14352, 22949, 5287, 532, 2123, 12371, 6439, 4048, 3871, 9722, 1160, 82, 706, 484, 550, 587, 14641, 351, 14352, 22949, 5287, 532, 2123, 12371, 6439, 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...
[ 10919, 318, 262, 1936, 749, 10792, 2563, 326, 373, 14798, 1626, 362, 1933, 284, 262, 14352, 22949, 5287, 532, 2123, 12371, 6439, 4048, 3871, 9722, 1160, 82, 706, 484, 550, 587, 14641, 351, 14352, 22949, 5287, 532, 2123, 12371, 6439, 30,...
Does PHYSIOL 545 offer a section after 16:30 P.M. ?
SELECT DISTINCT course_offering.end_time, course_offering.section_number, course_offering.start_time FROM course, course_offering, semester WHERE course_offering.start_time > '16:30' AND course.course_id = course_offering.course_id AND course.department = 'PHYSIOL' AND course.number = 545 AND semester.semester = 'WN' A...
[ 13921, 9370, 56, 11584, 3535, 642, 2231, 2897, 257, 2665, 706, 1467, 25, 1270, 350, 13, 44, 13, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, 11, 1781, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13921, 9370, 56, 11584, 3535, 642, 2231, 2897, 257, 2665, 706, 1467, 25, 1270, 350, 13, 44, 13, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, 11, 1781, ...
What player played guard for toronto in 1996-97?
SELECT "Player" FROM table_72071 WHERE "Position" = 'Guard' AND "Years in Toronto" = '1996-97'
[ 2061, 2137, 2826, 4860, 329, 7332, 5957, 287, 8235, 12, 5607, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 23906, 4869, 33411, 366, 26545, 1, 796, 705, 24502, 6, 5357, 366, 40630, 287, 6586, 1, 796, 705, 22288, 12, 5607, 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, 2137, 2826, 4860, 329, 7332, 5957, 287, 8235, 12, 5607, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 23906, 4869, 33411, 366, 26545, 1, 796, 705, 24502, 6, 5357, 366, 40630, 287, 6586, 1, 796, 705, 22288, 12, 5607, 6 ]
Which round was Robert Deciantis taken in?
SELECT round FROM table_name_43 WHERE player = "robert deciantis"
[ 13828, 2835, 373, 5199, 4280, 3014, 271, 2077, 287, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 3559, 33411, 2137, 796, 366, 305, 4835, 875, 3014, 271, 1 ]
[ 1, 1, 1, 1, 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, 2835, 373, 5199, 4280, 3014, 271, 2077, 287, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 3559, 33411, 2137, 796, 366, 305, 4835, 875, 3014, 271, 1 ]
what flights from SALT LAKE CITY to LAS VEGAS
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 = 'SALT LAKE CITY' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ...
[ 10919, 13956, 422, 311, 31429, 9131, 7336, 27993, 284, 406, 1921, 569, 7156, 1921, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13956, 422, 311, 31429, 9131, 7336, 27993, 284, 406, 1921, 569, 7156, 1921, 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, ...
how many people were in attendance to the event in the year 2000 ?
SELECT SUM("attendance") FROM table_203_794 WHERE "year" = 2000
[ 4919, 867, 661, 547, 287, 14858, 284, 262, 1785, 287, 262, 614, 4751, 5633, 46506, 35683, 7203, 1078, 437, 590, 4943, 16034, 3084, 62, 22416, 62, 50242, 33411, 366, 1941, 1, 796, 4751 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 661, 547, 287, 14858, 284, 262, 1785, 287, 262, 614, 4751, 5633, 46506, 35683, 7203, 1078, 437, 590, 4943, 16034, 3084, 62, 22416, 62, 50242, 33411, 366, 1941, 1, 796, 4751 ]
Which classrooms are used by grade 5?
SELECT DISTINCT classroom FROM list WHERE grade = 5
[ 13828, 32579, 389, 973, 416, 9559, 642, 30, 46506, 360, 8808, 1268, 4177, 15806, 16034, 1351, 33411, 9559, 796, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 32579, 389, 973, 416, 9559, 642, 30, 46506, 360, 8808, 1268, 4177, 15806, 16034, 1351, 33411, 9559, 796, 642 ]
which player was the first player to be drafted ?
SELECT "player" FROM table_203_305 WHERE id = 1
[ 4758, 2137, 373, 262, 717, 2137, 284, 307, 15937, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 22416, 62, 22515, 33411, 4686, 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 ]
[ 4758, 2137, 373, 262, 717, 2137, 284, 307, 15937, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 22416, 62, 22515, 33411, 4686, 796, 352 ]
Russian SO Users w/ Usefully Complete Profiles.
SELECT * FROM Users WHERE (LENGTH(WebsiteUrl) > 0 OR LENGTH(AboutMe) > 0) AND Id < 250000 ORDER BY Id
[ 16220, 12809, 18987, 266, 14, 5765, 2759, 13248, 4415, 2915, 13, 46506, 1635, 16034, 18987, 33411, 357, 43, 49494, 7, 33420, 28165, 8, 1875, 657, 6375, 406, 49494, 7, 8585, 5308, 8, 1875, 657, 8, 5357, 5121, 1279, 1679, 2388, 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 ]
[ 16220, 12809, 18987, 266, 14, 5765, 2759, 13248, 4415, 2915, 13, 46506, 1635, 16034, 18987, 33411, 357, 43, 49494, 7, 33420, 28165, 8, 1875, 657, 6375, 406, 49494, 7, 8585, 5308, 8, 1875, 657, 8, 5357, 5121, 1279, 1679, 2388, 38678, 1...
Are there courses in the Fall or Winter term at 300 -level ?
SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course, course_offering, semester WHERE ((semester.semester = 'FA' AND semester.year = 2016) OR (semester.semester = 'WN' AND semester.year = 2017)) AND course.course_id = course_offering.course_id AND course.department = 'department0...
[ 8491, 612, 10902, 287, 262, 7218, 393, 10633, 3381, 379, 5867, 532, 5715, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 16034, 1781, 11, 1781, 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...
[ 8491, 612, 10902, 287, 262, 7218, 393, 10633, 3381, 379, 5867, 532, 5715, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 16034, 1781, 11, 1781, 62, ...
provide me the number of patients admitted before the year 2144 who had diagnosis icd9 code 28802.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2144" AND diagnoses.icd9_code = "28802"
[ 15234, 485, 502, 262, 1271, 286, 3871, 6848, 878, 262, 614, 362, 18444, 508, 550, 13669, 14158, 67, 24, 2438, 2579, 30863, 13, 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...
[ 15234, 485, 502, 262, 1271, 286, 3871, 6848, 878, 262, 614, 362, 18444, 508, 550, 13669, 14158, 67, 24, 2438, 2579, 30863, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357,...
In the first episode of Garfield titled Robodie II, what is the title of the U.S. Acres Episode?
SELECT "U.S. Acres Episode" FROM table_22388 WHERE "Garfield Episode 1" = 'Robodie II'
[ 818, 262, 717, 4471, 286, 47218, 11946, 3851, 375, 494, 2873, 11, 644, 318, 262, 3670, 286, 262, 471, 13, 50, 13, 4013, 411, 7922, 30, 46506, 366, 52, 13, 50, 13, 4013, 411, 7922, 1, 16034, 3084, 62, 1828, 30460, 33411, 366, 27676...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 262, 717, 4471, 286, 47218, 11946, 3851, 375, 494, 2873, 11, 644, 318, 262, 3670, 286, 262, 471, 13, 50, 13, 4013, 411, 7922, 30, 46506, 366, 52, 13, 50, 13, 4013, 411, 7922, 1, 16034, 3084, 62, 1828, 30460, 33411, 366, 27676...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and code , and group by attribute founder, could you show by the x axis from low to high?
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 2438, 837, 290, 1448, 416, 11688, 9119, 11, 714, 345, 905, 416, 262, 2124, 16488, 422, 1877, 284, 1029, 30, 465...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 2438, 837, 290, 1448, 416, 11688, 9119, 11, 714, 345, 905, 416, 262, 2124, 16488, 422, 1877, 284, 1029, 30, 465...
before 1995 waht is the aveage pts for a mclaren mp4/10b chassis
SELECT AVG(pts) FROM table_name_58 WHERE chassis = "mclaren mp4/10b" AND year < 1995
[ 19052, 8735, 266, 993, 83, 318, 262, 257, 303, 496, 43344, 329, 257, 285, 565, 5757, 29034, 19, 14, 940, 65, 24587, 46506, 35224, 7, 457, 82, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 24587, 796, 366, 76, 565, 5757, 29034, 19, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19052, 8735, 266, 993, 83, 318, 262, 257, 303, 496, 43344, 329, 257, 285, 565, 5757, 29034, 19, 14, 940, 65, 24587, 46506, 35224, 7, 457, 82, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 24587, 796, 366, 76, 565, 5757, 29034, 19, 14...
What was the group d winner for modena?
SELECT group_d_winner FROM table_1137142_1 WHERE group_b_winner = "Modena"
[ 2061, 373, 262, 1448, 288, 8464, 329, 953, 8107, 30, 46506, 1448, 62, 67, 62, 39791, 16034, 3084, 62, 1157, 2718, 23726, 62, 16, 33411, 1448, 62, 65, 62, 39791, 796, 366, 5841, 8107, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1448, 288, 8464, 329, 953, 8107, 30, 46506, 1448, 62, 67, 62, 39791, 16034, 3084, 62, 1157, 2718, 23726, 62, 16, 33411, 1448, 62, 65, 62, 39791, 796, 366, 5841, 8107, 1 ]
Please list courses without labs that are at the 400 level .
SELECT DISTINCT name, number FROM course WHERE department = 'EECS' AND has_lab = 'N' AND number < 400 + 100 AND number >= 400
[ 5492, 1351, 10902, 1231, 27887, 326, 389, 379, 262, 7337, 1241, 764, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 468, 62, 23912, 796, 705, 45, 6, 5357, 1271, 1279, 7337, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5492, 1351, 10902, 1231, 27887, 326, 389, 379, 262, 7337, 1241, 764, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 468, 62, 23912, 796, 705, 45, 6, 5357, 1271, 1279, 7337, 1...