instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
count the number of patients whose ethnicity is white - russian and procedure short title is oth uni salpingo-oophor?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND procedures.short_title = "Oth uni salpingo-oophor"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 2330, 532, 374, 31562, 290, 8771, 1790, 3670, 318, 267, 400, 555, 72, 3664, 13886, 78, 12, 78, 2522, 273, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 2330, 532, 374, 31562, 290, 8771, 1790, 3670, 318, 267, 400, 555, 72, 3664, 13886, 78, 12, 78, 2522, 273, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
Duplicate link score of answers for a specific user.
SELECT PL.RelatedPostId AS "post_link", COUNT(*) AS LinkScore FROM PostLinks AS PL INNER JOIN Posts AS PS ON PS.Id = PL.PostId INNER JOIN Posts AS PT ON PT.ParentId = PL.RelatedPostId WHERE PL.LinkTypeId = 3 AND PT.OwnerUserId = '##UserId?2751851##' GROUP BY PL.RelatedPostId ORDER BY LinkScore DESC
[ 35660, 489, 5344, 2792, 4776, 286, 7429, 329, 257, 2176, 2836, 13, 46506, 9297, 13, 9819, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 7502, 26595, 16034, 2947, 31815, 7054, 9297, 3268, 21479, 32357, 1268, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35660, 489, 5344, 2792, 4776, 286, 7429, 329, 257, 2176, 2836, 13, 46506, 9297, 13, 9819, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 7502, 26595, 16034, 2947, 31815, 7054, 9297, 3268, 21479, 32357, 1268, 12...
Name the gs for points being 12.1
SELECT "GS" FROM table_21496 WHERE "Points" = '12.1'
[ 5376, 262, 308, 82, 329, 2173, 852, 1105, 13, 16, 46506, 366, 14313, 1, 16034, 3084, 62, 22291, 4846, 33411, 366, 40710, 1, 796, 705, 1065, 13, 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 ]
[ 5376, 262, 308, 82, 329, 2173, 852, 1105, 13, 16, 46506, 366, 14313, 1, 16034, 3084, 62, 22291, 4846, 33411, 366, 40710, 1, 796, 705, 1065, 13, 16, 6 ]
Return a pie chart about the proportion of All_Games and ACC_Percent.
SELECT All_Games, ACC_Percent FROM basketball_match
[ 13615, 257, 2508, 8262, 546, 262, 9823, 286, 1439, 62, 24474, 290, 15859, 62, 31905, 13, 46506, 1439, 62, 24474, 11, 15859, 62, 31905, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 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, 2508, 8262, 546, 262, 9823, 286, 1439, 62, 24474, 290, 15859, 62, 31905, 13, 46506, 1439, 62, 24474, 11, 15859, 62, 31905, 16034, 9669, 62, 15699 ]
What was the AB team's position in table?
SELECT position_in_table FROM table_27782699_3 WHERE team = "AB"
[ 2061, 373, 262, 9564, 1074, 338, 2292, 287, 3084, 30, 46506, 2292, 62, 259, 62, 11487, 16034, 3084, 62, 1983, 3695, 2075, 2079, 62, 18, 33411, 1074, 796, 366, 6242, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 9564, 1074, 338, 2292, 287, 3084, 30, 46506, 2292, 62, 259, 62, 11487, 16034, 3084, 62, 1983, 3695, 2075, 2079, 62, 18, 33411, 1074, 796, 366, 6242, 1 ]
What is the zan 1 that has 11 as the nor 1?
SELECT "ZAN 1" FROM table_41635 WHERE "NOR 1" = '11'
[ 2061, 318, 262, 1976, 272, 352, 326, 468, 1367, 355, 262, 4249, 352, 30, 46506, 366, 57, 1565, 352, 1, 16034, 3084, 62, 35218, 2327, 33411, 366, 35510, 352, 1, 796, 705, 1157, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1976, 272, 352, 326, 468, 1367, 355, 262, 4249, 352, 30, 46506, 366, 57, 1565, 352, 1, 16034, 3084, 62, 35218, 2327, 33411, 366, 35510, 352, 1, 796, 705, 1157, 6 ]
What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm?
SELECT tv_network_s_ FROM table_18821196_1 WHERE weekly_schedule = "Monday to Thursday @ 11:00 pm"
[ 2061, 318, 790, 3195, 3127, 351, 257, 10273, 7269, 286, 3321, 284, 3635, 2488, 1367, 25, 405, 9114, 30, 46506, 31557, 62, 27349, 62, 82, 62, 16034, 3084, 62, 20356, 2481, 25272, 62, 16, 33411, 10273, 62, 15952, 5950, 796, 366, 23810, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 790, 3195, 3127, 351, 257, 10273, 7269, 286, 3321, 284, 3635, 2488, 1367, 25, 405, 9114, 30, 46506, 31557, 62, 27349, 62, 82, 62, 16034, 3084, 62, 20356, 2481, 25272, 62, 16, 33411, 10273, 62, 15952, 5950, 796, 366, 23810, ...
how much does it cost to get downtown from the ATLANTA airport by LIMOUSINE
SELECT DISTINCT ground_service.ground_fare FROM airport, airport_service, city, ground_service WHERE airport.airport_code = airport_service.airport_code AND city.city_code = airport_service.city_code AND city.city_name = 'ATLANTA' AND ground_service.airport_code = airport.airport_code AND ground_service.transport_type ...
[ 4919, 881, 857, 340, 1575, 284, 651, 9436, 422, 262, 5161, 25697, 5603, 9003, 416, 27564, 20958, 1268, 33635, 16779, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 2833, 62, 9496, 16034, 9003, 11, 9003, 62, 15271, 11, 1748, 11, 2323, 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...
[ 4919, 881, 857, 340, 1575, 284, 651, 9436, 422, 262, 5161, 25697, 5603, 9003, 416, 27564, 20958, 1268, 33635, 16779, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 2833, 62, 9496, 16034, 9003, 11, 9003, 62, 15271, 11, 1748, 11, 2323, 62,...
What is the max speed of the unit with an 8+4 quantity built before 1971?
SELECT SUM(max_speed__km_h_) FROM table_name_22 WHERE quantity_built = "8+4" AND year_built < 1971
[ 2061, 318, 262, 3509, 2866, 286, 262, 4326, 351, 281, 807, 10, 19, 12040, 3170, 878, 16382, 30, 46506, 35683, 7, 9806, 62, 12287, 834, 13276, 62, 71, 62, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 12040, 62, 18780, 796, 366, 23, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3509, 2866, 286, 262, 4326, 351, 281, 807, 10, 19, 12040, 3170, 878, 16382, 30, 46506, 35683, 7, 9806, 62, 12287, 834, 13276, 62, 71, 62, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 12040, 62, 18780, 796, 366, 23, 1...
What position does Denard Walker play?
SELECT "Position" FROM table_43313 WHERE "Player" = 'denard walker'
[ 2061, 2292, 857, 5601, 446, 10120, 711, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 42117, 1485, 33411, 366, 14140, 1, 796, 705, 6559, 446, 2513, 263, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2292, 857, 5601, 446, 10120, 711, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 42117, 1485, 33411, 366, 14140, 1, 796, 705, 6559, 446, 2513, 263, 6 ]
what name is listed at the top ?
SELECT "name" FROM table_204_832 WHERE id = 1
[ 10919, 1438, 318, 5610, 379, 262, 1353, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 23, 2624, 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 ]
[ 10919, 1438, 318, 5610, 379, 262, 1353, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 23, 2624, 33411, 4686, 796, 352 ]
when did patient 99135 have a last procedure during their first hospital visit?
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 99135 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) ORDER BY procedures_icd.charttime DESC LIMIT 1
[ 12518, 750, 5827, 7388, 17059, 423, 257, 938, 8771, 1141, 511, 717, 4436, 3187, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 7388, 17059, 423, 257, 938, 8771, 1141, 511, 717, 4436, 3187, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, ...
What is year that has points larger than 46, and a rank of 6th?
SELECT SUM("Year") FROM table_6514 WHERE "Points" > '46' AND "Rank" = '6th'
[ 2061, 318, 614, 326, 468, 2173, 4025, 621, 6337, 11, 290, 257, 4279, 286, 718, 400, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 2996, 1415, 33411, 366, 40710, 1, 1875, 705, 3510, 6, 5357, 366, 27520, 1, 796, 705, 21, 400, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 614, 326, 468, 2173, 4025, 621, 6337, 11, 290, 257, 4279, 286, 718, 400, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 2996, 1415, 33411, 366, 40710, 1, 1875, 705, 3510, 6, 5357, 366, 27520, 1, 796, 705, 21, 400, ...
What country had a Time of 6:14.84?
SELECT country FROM table_name_14 WHERE time = "6:14.84"
[ 2061, 1499, 550, 257, 3862, 286, 718, 25, 1415, 13, 5705, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1415, 33411, 640, 796, 366, 21, 25, 1415, 13, 5705, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 1499, 550, 257, 3862, 286, 718, 25, 1415, 13, 5705, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1415, 33411, 640, 796, 366, 21, 25, 1415, 13, 5705, 1 ]
Would built the winning car in the IV J.C.C. Jersey Road Race?
SELECT "Constructor" FROM table_232 WHERE "Race Name" = 'IV J.C.C. Jersey Road Race'
[ 17353, 3170, 262, 5442, 1097, 287, 262, 8363, 449, 13, 34, 13, 34, 13, 8221, 5567, 12588, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 24339, 33411, 366, 35157, 6530, 1, 796, 705, 3824, 449, 13, 34, 13, 34, 13, 8221, 5567, 1258...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 17353, 3170, 262, 5442, 1097, 287, 262, 8363, 449, 13, 34, 13, 34, 13, 8221, 5567, 12588, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 24339, 33411, 366, 35157, 6530, 1, 796, 705, 3824, 449, 13, 34, 13, 34, 13, 8221, 5567, 1258...
Return the number of music festivals of each category, I want to rank by the x-axis in asc.
SELECT Category, COUNT(*) FROM music_festival GROUP BY Category ORDER BY Category
[ 13615, 262, 1271, 286, 2647, 25575, 286, 1123, 6536, 11, 314, 765, 284, 4279, 416, 262, 2124, 12, 22704, 287, 10570, 13, 46506, 21743, 11, 327, 28270, 7, 28104, 16034, 2647, 62, 69, 6743, 44441, 11050, 21743, 38678, 11050, 21743 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 1271, 286, 2647, 25575, 286, 1123, 6536, 11, 314, 765, 284, 4279, 416, 262, 2124, 12, 22704, 287, 10570, 13, 46506, 21743, 11, 327, 28270, 7, 28104, 16034, 2647, 62, 69, 6743, 44441, 11050, 21743, 38678, 11050, 21743 ]
What is the average crowd size for Brunswick street oval?
SELECT AVG(crowd) FROM table_name_32 WHERE venue = "brunswick street oval"
[ 2061, 318, 262, 2811, 4315, 2546, 329, 32211, 4675, 41186, 30, 46506, 35224, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 14359, 796, 366, 1671, 403, 30961, 4675, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4315, 2546, 329, 32211, 4675, 41186, 30, 46506, 35224, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 14359, 796, 366, 1671, 403, 30961, 4675, 41186, 1 ]
Which Giant Slalom has a Slalom of 45?
SELECT Giant AS slalom FROM table_name_26 WHERE slalom = "45"
[ 13828, 17384, 3454, 282, 296, 468, 257, 3454, 282, 296, 286, 4153, 30, 46506, 17384, 7054, 1017, 282, 296, 16034, 3084, 62, 3672, 62, 2075, 33411, 1017, 282, 296, 796, 366, 2231, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 17384, 3454, 282, 296, 468, 257, 3454, 282, 296, 286, 4153, 30, 46506, 17384, 7054, 1017, 282, 296, 16034, 3084, 62, 3672, 62, 2075, 33411, 1017, 282, 296, 796, 366, 2231, 1 ]
what is the number of patients whose days of hospital stay is greater than 9 and procedure short title is allo hem stem ct w/o pur?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "9" AND procedures.short_title = "Allo hem stem ct w/o pur"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 860, 290, 8771, 1790, 3670, 318, 477, 78, 16869, 10717, 269, 83, 266, 14, 78, 1308, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 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, 318, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 860, 290, 8771, 1790, 3670, 318, 477, 78, 16869, 10717, 269, 83, 266, 14, 78, 1308, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62,...
Who was the player from the United States in T10 place with a score of 67-77=144?
SELECT player FROM table_name_1 WHERE country = "united states" AND place = "t10" AND score = 67 - 77 = 144
[ 8241, 373, 262, 2137, 422, 262, 1578, 1829, 287, 309, 940, 1295, 351, 257, 4776, 286, 8275, 12, 3324, 28, 18444, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 16, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 1295, 796, 366, 83, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 2137, 422, 262, 1578, 1829, 287, 309, 940, 1295, 351, 257, 4776, 286, 8275, 12, 3324, 28, 18444, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 16, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 1295, 796, 366, 83, 940, ...
What is the total number of Season(s), when Original Airdate is January 24, 1999, and when Year is less than 1999?
SELECT COUNT(season) FROM table_name_67 WHERE original_airdate = "january 24, 1999" AND year < 1999
[ 2061, 318, 262, 2472, 1271, 286, 7369, 7, 82, 828, 618, 13745, 317, 1447, 378, 318, 3269, 1987, 11, 7358, 11, 290, 618, 6280, 318, 1342, 621, 7358, 30, 46506, 327, 28270, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 2656, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 7369, 7, 82, 828, 618, 13745, 317, 1447, 378, 318, 3269, 1987, 11, 7358, 11, 290, 618, 6280, 318, 1342, 621, 7358, 30, 46506, 327, 28270, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 2656, 6...
Which physicians are in charge of more than one patient? Give me their names.
SELECT T1.name FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid = T2.pcp GROUP BY T1.employeeid HAVING COUNT(*) > 1
[ 13828, 17206, 389, 287, 3877, 286, 517, 621, 530, 5827, 30, 13786, 502, 511, 3891, 13, 46506, 309, 16, 13, 3672, 16034, 14325, 7054, 309, 16, 32357, 1268, 5827, 7054, 309, 17, 6177, 309, 16, 13, 7033, 1453, 312, 796, 309, 17, 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 ]
[ 13828, 17206, 389, 287, 3877, 286, 517, 621, 530, 5827, 30, 13786, 502, 511, 3891, 13, 46506, 309, 16, 13, 3672, 16034, 14325, 7054, 309, 16, 32357, 1268, 5827, 7054, 309, 17, 6177, 309, 16, 13, 7033, 1453, 312, 796, 309, 17, 13, ...
Name the location attendance april 5
SELECT "Location Attendance" FROM table_74169 WHERE "Date" = 'April 5'
[ 5376, 262, 4067, 14858, 46593, 346, 642, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 4524, 22172, 33411, 366, 10430, 1, 796, 705, 16784, 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 ]
[ 5376, 262, 4067, 14858, 46593, 346, 642, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 4524, 22172, 33411, 366, 10430, 1, 796, 705, 16784, 642, 6 ]
What is the total where there are 4 MLS Cups and more US Open Cups than 1?
SELECT COUNT("Total") FROM table_58991 WHERE "MLS Cup" = '4' AND "U.S. Open Cup" > '1'
[ 2061, 318, 262, 2472, 810, 612, 389, 604, 13981, 41611, 290, 517, 1294, 4946, 41611, 621, 352, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 3365, 2079, 16, 33411, 366, 5805, 50, 5454, 1, 796, 705, 19, 6, 5357, 366, 52,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 810, 612, 389, 604, 13981, 41611, 290, 517, 1294, 4946, 41611, 621, 352, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 3365, 2079, 16, 33411, 366, 5805, 50, 5454, 1, 796, 705, 19, 6, 5357, 366, 52,...
What is the height of the Tides with less than 34 floors?
SELECT "Height feet / m" FROM table_79913 WHERE "Floors" < '34' AND "Name" = 'the tides'
[ 2061, 318, 262, 6001, 286, 262, 309, 1460, 351, 1342, 621, 4974, 18570, 30, 46506, 366, 23106, 3625, 1220, 285, 1, 16034, 3084, 62, 45455, 1485, 33411, 366, 33574, 669, 1, 1279, 705, 2682, 6, 5357, 366, 5376, 1, 796, 705, 1169, 4612...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6001, 286, 262, 309, 1460, 351, 1342, 621, 4974, 18570, 30, 46506, 366, 23106, 3625, 1220, 285, 1, 16034, 3084, 62, 45455, 1485, 33411, 366, 33574, 669, 1, 1279, 705, 2682, 6, 5357, 366, 5376, 1, 796, 705, 1169, 4612...
What is the average Gold when silver is more than 2, and bronze is more than 1
SELECT AVG("Gold") FROM table_33940 WHERE "Silver" > '2' AND "Bronze" > '1'
[ 2061, 318, 262, 2811, 3561, 618, 8465, 318, 517, 621, 362, 11, 290, 22101, 318, 517, 621, 352, 46506, 35224, 7203, 13306, 4943, 16034, 3084, 62, 29626, 1821, 33411, 366, 26766, 1, 1875, 705, 17, 6, 5357, 366, 18760, 2736, 1, 1875, 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 ]
[ 2061, 318, 262, 2811, 3561, 618, 8465, 318, 517, 621, 362, 11, 290, 22101, 318, 517, 621, 352, 46506, 35224, 7203, 13306, 4943, 16034, 3084, 62, 29626, 1821, 33411, 366, 26766, 1, 1875, 705, 17, 6, 5357, 366, 18760, 2736, 1, 1875, 7...
What is the upstream speed of the network that costs 39 tl?
SELECT upstream FROM table_17304621_14 WHERE price_tl = "39 TL"
[ 2061, 318, 262, 28717, 2866, 286, 262, 3127, 326, 3484, 5014, 256, 75, 30, 46506, 28717, 16034, 3084, 62, 1558, 1270, 3510, 2481, 62, 1415, 33411, 2756, 62, 28781, 796, 366, 2670, 24811, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28717, 2866, 286, 262, 3127, 326, 3484, 5014, 256, 75, 30, 46506, 28717, 16034, 3084, 62, 1558, 1270, 3510, 2481, 62, 1415, 33411, 2756, 62, 28781, 796, 366, 2670, 24811, 1 ]
what is the four of the most common output events during this year?
SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT outputevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM outputevents WHERE DATETIME(outputevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY outputevents.itemid) AS...
[ 10919, 318, 262, 1440, 286, 262, 749, 2219, 5072, 2995, 1141, 428, 614, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 16, 13, 9186, 312, 16034, 357, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1440, 286, 262, 749, 2219, 5072, 2995, 1141, 428, 614, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 16, 13, 9186, 312, 16034, 357, 46506, ...
Who was No. 9 when No. 5 Mason and No. 3 Aiden?
SELECT "No. 9" FROM table_9099 WHERE "No. 5" = 'mason' AND "No. 3" = 'aiden'
[ 8241, 373, 1400, 13, 860, 618, 1400, 13, 642, 14737, 290, 1400, 13, 513, 317, 14029, 30, 46506, 366, 2949, 13, 860, 1, 16034, 3084, 62, 3829, 2079, 33411, 366, 2949, 13, 642, 1, 796, 705, 76, 888, 6, 5357, 366, 2949, 13, 513, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 1400, 13, 860, 618, 1400, 13, 642, 14737, 290, 1400, 13, 513, 317, 14029, 30, 46506, 366, 2949, 13, 860, 1, 16034, 3084, 62, 3829, 2079, 33411, 366, 2949, 13, 642, 1, 796, 705, 76, 888, 6, 5357, 366, 2949, 13, 513, 1,...
How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?
SELECT SUM(laps) FROM table_name_96 WHERE bike = "honda cbr600rr" AND grid = 7
[ 2437, 867, 2472, 24590, 547, 46715, 618, 262, 10706, 373, 767, 290, 262, 17876, 22075, 262, 20059, 10078, 49, 8054, 21095, 30, 46506, 35683, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 7161, 796, 366, 71, 13533, 269, 1671,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24590, 547, 46715, 618, 262, 10706, 373, 767, 290, 262, 17876, 22075, 262, 20059, 10078, 49, 8054, 21095, 30, 46506, 35683, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 7161, 796, 366, 71, 13533, 269, 1671,...
Which memeber has nsw as the state, a first elected of 1952, and alp as the party?
SELECT member FROM table_name_64 WHERE state = "nsw" AND first_elected = "1952" AND party = "alp"
[ 13828, 25336, 527, 468, 299, 2032, 355, 262, 1181, 11, 257, 717, 7018, 286, 26352, 11, 290, 435, 79, 355, 262, 2151, 30, 46506, 2888, 16034, 3084, 62, 3672, 62, 2414, 33411, 1181, 796, 366, 77, 2032, 1, 5357, 717, 62, 28604, 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 ]
[ 13828, 25336, 527, 468, 299, 2032, 355, 262, 1181, 11, 257, 717, 7018, 286, 26352, 11, 290, 435, 79, 355, 262, 2151, 30, 46506, 2888, 16034, 3084, 62, 3672, 62, 2414, 33411, 1181, 796, 366, 77, 2032, 1, 5357, 717, 62, 28604, 796, ...
What couple has an average of 17.2?
SELECT couple FROM table_20424140_3 WHERE average = "17.2"
[ 2061, 3155, 468, 281, 2811, 286, 1596, 13, 17, 30, 46506, 3155, 16034, 3084, 62, 18638, 1731, 15187, 62, 18, 33411, 2811, 796, 366, 1558, 13, 17, 1 ]
[ 1, 1, 1, 1, 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, 3155, 468, 281, 2811, 286, 1596, 13, 17, 30, 46506, 3155, 16034, 3084, 62, 18638, 1731, 15187, 62, 18, 33411, 2811, 796, 366, 1558, 13, 17, 1 ]
Where is the real estate agent from?
SELECT hometown FROM table_1289860_2 WHERE background = "Real Estate agent"
[ 8496, 318, 262, 1103, 7964, 5797, 422, 30, 46506, 20994, 16034, 3084, 62, 12762, 4089, 1899, 62, 17, 33411, 4469, 796, 366, 15633, 23015, 5797, 1 ]
[ 1, 1, 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, 318, 262, 1103, 7964, 5797, 422, 30, 46506, 20994, 16034, 3084, 62, 12762, 4089, 1899, 62, 17, 33411, 4469, 796, 366, 15633, 23015, 5797, 1 ]
Which Opponent has a Record of 22-10?
SELECT opponent FROM table_name_36 WHERE record = "22-10"
[ 13828, 9385, 3471, 468, 257, 13266, 286, 2534, 12, 940, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2623, 33411, 1700, 796, 366, 1828, 12, 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 ]
[ 13828, 9385, 3471, 468, 257, 13266, 286, 2534, 12, 940, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2623, 33411, 1700, 796, 366, 1828, 12, 940, 1 ]
Which engineers have never visited to maintain the assets? List the engineer first name and last name.
SELECT first_name, last_name FROM maintenance_engineers WHERE NOT engineer_id IN (SELECT engineer_id FROM engineer_visits)
[ 13828, 12037, 423, 1239, 8672, 284, 5529, 262, 6798, 30, 7343, 262, 11949, 717, 1438, 290, 938, 1438, 13, 46506, 717, 62, 3672, 11, 938, 62, 3672, 16034, 9262, 62, 18392, 364, 33411, 5626, 11949, 62, 312, 3268, 357, 46506, 11949, 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 ]
[ 13828, 12037, 423, 1239, 8672, 284, 5529, 262, 6798, 30, 7343, 262, 11949, 717, 1438, 290, 938, 1438, 13, 46506, 717, 62, 3672, 11, 938, 62, 3672, 16034, 9262, 62, 18392, 364, 33411, 5626, 11949, 62, 312, 3268, 357, 46506, 11949, 62, ...
What are the dates of the assessment notes?
SELECT date_of_notes FROM Assessment_Notes
[ 2061, 389, 262, 9667, 286, 262, 8922, 4710, 30, 46506, 3128, 62, 1659, 62, 17815, 16034, 25809, 62, 16130 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 9667, 286, 262, 8922, 4710, 30, 46506, 3128, 62, 1659, 62, 17815, 16034, 25809, 62, 16130 ]
who is the the mixed doubles with year being 1972
SELECT mixed_doubles FROM table_13857700_1 WHERE year = 1972
[ 8727, 318, 262, 262, 7668, 21938, 351, 614, 852, 16101, 46506, 7668, 62, 67, 280, 7689, 16034, 3084, 62, 1485, 5332, 3324, 405, 62, 16, 33411, 614, 796, 16101 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 318, 262, 262, 7668, 21938, 351, 614, 852, 16101, 46506, 7668, 62, 67, 280, 7689, 16034, 3084, 62, 1485, 5332, 3324, 405, 62, 16, 33411, 614, 796, 16101 ]
Which Hanzi has a suburban population in 2004?
SELECT "Hanzi" FROM table_43598 WHERE "Population (2004 est.)" = 'suburban'
[ 13828, 9530, 17027, 468, 257, 20154, 3265, 287, 5472, 30, 46506, 366, 29919, 17027, 1, 16034, 3084, 62, 40064, 4089, 33411, 366, 45251, 357, 15724, 1556, 2014, 1, 796, 705, 7266, 32679, 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 ]
[ 13828, 9530, 17027, 468, 257, 20154, 3265, 287, 5472, 30, 46506, 366, 29919, 17027, 1, 16034, 3084, 62, 40064, 4089, 33411, 366, 45251, 357, 15724, 1556, 2014, 1, 796, 705, 7266, 32679, 6 ]
what's the number of patients who had a enteral feeds intake the previous year?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT intakeoutput.patientunitstayid FROM intakeoutput WHERE intakeoutput.celllabel = 'enteral feeds' AND intakeoutput.cellpath LIKE '%input%' AND DATETIME(intakeoutput.intakeoutputtime, 'start of year') = DATETIME(CURRENT_TIME()...
[ 10919, 338, 262, 1271, 286, 3871, 508, 550, 257, 920, 1691, 21318, 10337, 262, 2180, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 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...
[ 10919, 338, 262, 1271, 286, 3871, 508, 550, 257, 920, 1691, 21318, 10337, 262, 2180, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 3268, ...
When did Louise, Princess royal get married?
SELECT "Date married" FROM table_48950 WHERE "Name dates" = 'louise, princess royal'
[ 2215, 750, 31774, 11, 8449, 15100, 651, 6405, 30, 46506, 366, 10430, 6405, 1, 16034, 3084, 62, 2780, 31027, 33411, 366, 5376, 9667, 1, 796, 705, 75, 280, 786, 11, 21752, 15100, 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 ]
[ 2215, 750, 31774, 11, 8449, 15100, 651, 6405, 30, 46506, 366, 10430, 6405, 1, 16034, 3084, 62, 2780, 31027, 33411, 366, 5376, 9667, 1, 796, 705, 75, 280, 786, 11, 21752, 15100, 6 ]
What is the imed/avicenna listed for a medical school offshore in saint kitts and nevis which was established before 2000 and will give you an MD?
SELECT "IMED/Avicenna Listed" FROM table_63242 WHERE "Regional/Offshore" = 'offshore' AND "Country/Territory" = 'saint kitts and nevis' AND "Degree" = 'md' AND "Established" < '2000'
[ 2061, 318, 262, 545, 276, 14, 615, 291, 13713, 5610, 329, 257, 3315, 1524, 18479, 287, 32292, 479, 715, 82, 290, 497, 4703, 543, 373, 4920, 878, 4751, 290, 481, 1577, 345, 281, 10670, 30, 46506, 366, 3955, 1961, 14, 7355, 291, 13713...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 545, 276, 14, 615, 291, 13713, 5610, 329, 257, 3315, 1524, 18479, 287, 32292, 479, 715, 82, 290, 497, 4703, 543, 373, 4920, 878, 4751, 290, 481, 1577, 345, 281, 10670, 30, 46506, 366, 3955, 1961, 14, 7355, 291, 13713...
When Hamilton Academical is the Opponent, what is the total Attendance?
SELECT COUNT(attendance) FROM table_name_26 WHERE opponent = "hamilton academical"
[ 2215, 11582, 7116, 368, 605, 318, 262, 9385, 3471, 11, 644, 318, 262, 2472, 46502, 590, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2075, 33411, 6125, 796, 366, 2763, 9044, 15574, 605, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11582, 7116, 368, 605, 318, 262, 9385, 3471, 11, 644, 318, 262, 2472, 46502, 590, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2075, 33411, 6125, 796, 366, 2763, 9044, 15574, 605, 1 ]
What is the total number of enrollment of schools that do not have any goalie player?
SELECT SUM(enr) FROM college WHERE NOT cName IN (SELECT cName FROM tryout WHERE pPos = "goalie")
[ 2061, 318, 262, 2472, 1271, 286, 20753, 286, 4266, 326, 466, 407, 423, 597, 31071, 2137, 30, 46506, 35683, 7, 268, 81, 8, 16034, 4152, 33411, 5626, 269, 5376, 3268, 357, 46506, 269, 5376, 16034, 1949, 448, 33411, 279, 21604, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 20753, 286, 4266, 326, 466, 407, 423, 597, 31071, 2137, 30, 46506, 35683, 7, 268, 81, 8, 16034, 4152, 33411, 5626, 269, 5376, 3268, 357, 46506, 269, 5376, 16034, 1949, 448, 33411, 279, 21604, 796, 366,...
Histogram of number of questions per user.
SELECT sel.Questions, COUNT(*) AS Occurence FROM (SELECT COUNT(*) AS Questions FROM Posts AS p WHERE p.PostTypeId = 2 GROUP BY p.OwnerUserId) AS sel GROUP BY sel.Questions
[ 13749, 21857, 286, 1271, 286, 2683, 583, 2836, 13, 46506, 384, 75, 13, 35741, 11, 327, 28270, 7, 28104, 7054, 10775, 495, 1198, 16034, 357, 46506, 327, 28270, 7, 28104, 7054, 20396, 16034, 12043, 7054, 279, 33411, 279, 13, 6307, 6030, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13749, 21857, 286, 1271, 286, 2683, 583, 2836, 13, 46506, 384, 75, 13, 35741, 11, 327, 28270, 7, 28104, 7054, 10775, 495, 1198, 16034, 357, 46506, 327, 28270, 7, 28104, 7054, 20396, 16034, 12043, 7054, 279, 33411, 279, 13, 6307, 6030, ...
What categories had a Nominated work of yerma before 1992?
SELECT category FROM table_name_99 WHERE year < 1992 AND nominated_work = "yerma"
[ 2061, 9376, 550, 257, 21198, 3898, 670, 286, 331, 263, 2611, 878, 9768, 30, 46506, 6536, 16034, 3084, 62, 3672, 62, 2079, 33411, 614, 1279, 9768, 5357, 19332, 62, 1818, 796, 366, 9860, 2611, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9376, 550, 257, 21198, 3898, 670, 286, 331, 263, 2611, 878, 9768, 30, 46506, 6536, 16034, 3084, 62, 3672, 62, 2079, 33411, 614, 1279, 9768, 5357, 19332, 62, 1818, 796, 366, 9860, 2611, 1 ]
What is the hometown of the player who attended American Heritage School?
SELECT hometown FROM table_11677691_11 WHERE school = "American Heritage school"
[ 2061, 318, 262, 20994, 286, 262, 2137, 508, 9141, 1605, 18518, 3961, 30, 46506, 20994, 16034, 3084, 62, 1157, 40179, 49541, 62, 1157, 33411, 1524, 796, 366, 7437, 18518, 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 ]
[ 2061, 318, 262, 20994, 286, 262, 2137, 508, 9141, 1605, 18518, 3961, 30, 46506, 20994, 16034, 3084, 62, 1157, 40179, 49541, 62, 1157, 33411, 1524, 796, 366, 7437, 18518, 1524, 1 ]
what is the one year survival rate of the hypocalcemia - moderate patients?
SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 1 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOI...
[ 10919, 318, 262, 530, 614, 9441, 2494, 286, 262, 5328, 4374, 344, 20730, 532, 10768, 3871, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395, 7240, 796, 705, 282, 425, 6, 42243, 352, 42099, 19269, 9792, 12789, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 530, 614, 9441, 2494, 286, 262, 5328, 4374, 344, 20730, 532, 10768, 3871, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395, 7240, 796, 705, 282, 425, 6, 42243, 352, 42099, 19269, 9792, 12789, 1...
What lane did the rank 3 swimmer use?
SELECT MAX("Lane") FROM table_71225 WHERE "Rank" = '3'
[ 2061, 11193, 750, 262, 4279, 513, 9422, 647, 779, 30, 46506, 25882, 7203, 43, 1531, 4943, 16034, 3084, 62, 49517, 1495, 33411, 366, 27520, 1, 796, 705, 18, 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, 11193, 750, 262, 4279, 513, 9422, 647, 779, 30, 46506, 25882, 7203, 43, 1531, 4943, 16034, 3084, 62, 49517, 1495, 33411, 366, 27520, 1, 796, 705, 18, 6 ]
What is Guard Kerri Shields Hometown?
SELECT hometown FROM table_name_94 WHERE position = "guard" AND name = "kerri shields"
[ 2061, 318, 4932, 17337, 380, 30512, 367, 19191, 30, 46506, 20994, 16034, 3084, 62, 3672, 62, 5824, 33411, 2292, 796, 366, 14864, 1, 5357, 1438, 796, 366, 6122, 380, 21132, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 4932, 17337, 380, 30512, 367, 19191, 30, 46506, 20994, 16034, 3084, 62, 3672, 62, 5824, 33411, 2292, 796, 366, 14864, 1, 5357, 1438, 796, 366, 6122, 380, 21132, 1 ]
what is the number of patients whose gender is m and year of birth is less than 2024?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.dob_year < "2024"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5279, 318, 285, 290, 614, 286, 4082, 318, 1342, 621, 48609, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5279, 318, 285, 290, 614, 286, 4082, 318, 1342, 621, 48609, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1,...
Which Season 3 has a Season 7 of jim treliving?
SELECT "Season 3" FROM table_61835 WHERE "Season 7" = 'jim treliving'
[ 13828, 7369, 513, 468, 257, 7369, 767, 286, 474, 320, 2054, 19950, 30, 46506, 366, 18960, 513, 1, 16034, 3084, 62, 47448, 2327, 33411, 366, 18960, 767, 1, 796, 705, 73, 320, 2054, 19950, 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, 7369, 513, 468, 257, 7369, 767, 286, 474, 320, 2054, 19950, 30, 46506, 366, 18960, 513, 1, 16034, 3084, 62, 47448, 2327, 33411, 366, 18960, 767, 1, 796, 705, 73, 320, 2054, 19950, 6 ]
What was the 4th day in the year before 2012 that the finish is 33rd?
SELECT 4 AS th_day FROM table_name_52 WHERE year < 2012 AND finish_position = "33rd"
[ 2061, 373, 262, 604, 400, 1110, 287, 262, 614, 878, 2321, 326, 262, 5461, 318, 4747, 4372, 30, 46506, 604, 7054, 294, 62, 820, 16034, 3084, 62, 3672, 62, 4309, 33411, 614, 1279, 2321, 5357, 5461, 62, 9150, 796, 366, 2091, 4372, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 604, 400, 1110, 287, 262, 614, 878, 2321, 326, 262, 5461, 318, 4747, 4372, 30, 46506, 604, 7054, 294, 62, 820, 16034, 3084, 62, 3672, 62, 4309, 33411, 614, 1279, 2321, 5357, 5461, 62, 9150, 796, 366, 2091, 4372, 1 ]
Who is the prime minister that had a term that ended on 5 March 1930?
SELECT "Name" FROM table_44588 WHERE "Term end" = '5 march 1930'
[ 8241, 318, 262, 6994, 5342, 326, 550, 257, 3381, 326, 4444, 319, 642, 2805, 15533, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 43489, 3459, 33411, 366, 40596, 886, 1, 796, 705, 20, 9960, 15533, 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, 6994, 5342, 326, 550, 257, 3381, 326, 4444, 319, 642, 2805, 15533, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 43489, 3459, 33411, 366, 40596, 886, 1, 796, 705, 20, 9960, 15533, 6 ]
What is Team, when Tries Against is 8?
SELECT team FROM table_name_40 WHERE tries_against = "8"
[ 2061, 318, 4816, 11, 618, 309, 1678, 12914, 318, 807, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 1821, 33411, 8404, 62, 32826, 796, 366, 23, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 4816, 11, 618, 309, 1678, 12914, 318, 807, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 1821, 33411, 8404, 62, 32826, 796, 366, 23, 1 ]
What is the ga date of the t5120 model?
SELECT "GA Date" FROM table_16342 WHERE "Model" = 'T5120'
[ 2061, 318, 262, 31986, 3128, 286, 262, 256, 20, 10232, 2746, 30, 46506, 366, 9273, 7536, 1, 16034, 3084, 62, 1433, 31575, 33411, 366, 17633, 1, 796, 705, 51, 20, 10232, 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, 31986, 3128, 286, 262, 256, 20, 10232, 2746, 30, 46506, 366, 9273, 7536, 1, 16034, 3084, 62, 1433, 31575, 33411, 366, 17633, 1, 796, 705, 51, 20, 10232, 6 ]
Who is the home captain that played at Edgbaston?
SELECT home_captain FROM table_name_41 WHERE venue = "edgbaston"
[ 8241, 318, 262, 1363, 10654, 326, 2826, 379, 1717, 22296, 45966, 30, 46506, 1363, 62, 27144, 391, 16034, 3084, 62, 3672, 62, 3901, 33411, 14359, 796, 366, 276, 22296, 45966, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 10654, 326, 2826, 379, 1717, 22296, 45966, 30, 46506, 1363, 62, 27144, 391, 16034, 3084, 62, 3672, 62, 3901, 33411, 14359, 796, 366, 276, 22296, 45966, 1 ]
What is the fewest gold medals for the nation with 4 silvers and more than 4 bronze?
SELECT MIN("Gold") FROM table_78752 WHERE "Silver" = '4' AND "Bronze" > '4'
[ 2061, 318, 262, 1178, 395, 3869, 28057, 329, 262, 3277, 351, 604, 3313, 690, 290, 517, 621, 604, 22101, 30, 46506, 20625, 7203, 13306, 4943, 16034, 3084, 62, 3695, 43665, 33411, 366, 26766, 1, 796, 705, 19, 6, 5357, 366, 18760, 2736, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1178, 395, 3869, 28057, 329, 262, 3277, 351, 604, 3313, 690, 290, 517, 621, 604, 22101, 30, 46506, 20625, 7203, 13306, 4943, 16034, 3084, 62, 3695, 43665, 33411, 366, 26766, 1, 796, 705, 19, 6, 5357, 366, 18760, 2736, ...
What is the project id and detail for the project with at least two documents Plot them as bar chart, and sort in ascending by the X-axis.
SELECT T1.Project_Details, T1.Project_ID FROM Projects AS T1 JOIN Documents AS T2 ON T1.Project_ID = T2.Project_ID ORDER BY T1.Project_Details
[ 2061, 318, 262, 1628, 4686, 290, 3703, 329, 262, 1628, 351, 379, 1551, 734, 4963, 28114, 606, 355, 2318, 8262, 11, 290, 3297, 287, 41988, 416, 262, 1395, 12, 22704, 13, 46506, 309, 16, 13, 16775, 62, 24259, 11, 309, 16, 13, 16775, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1628, 4686, 290, 3703, 329, 262, 1628, 351, 379, 1551, 734, 4963, 28114, 606, 355, 2318, 8262, 11, 290, 3297, 287, 41988, 416, 262, 1395, 12, 22704, 13, 46506, 309, 16, 13, 16775, 62, 24259, 11, 309, 16, 13, 16775, ...
What's the county where McCain got 60.6% and Obama got 37.3%?
SELECT county FROM table_20453681_1 WHERE mccain_percentage = "60.6%" AND obama_percentage = "37.3%"
[ 2061, 338, 262, 7968, 810, 14264, 1392, 3126, 13, 21, 4, 290, 2486, 1392, 5214, 13, 18, 4, 30, 46506, 7968, 16034, 3084, 62, 1238, 2231, 2623, 6659, 62, 16, 33411, 285, 535, 391, 62, 25067, 496, 796, 366, 1899, 13, 21, 39658, 5357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 7968, 810, 14264, 1392, 3126, 13, 21, 4, 290, 2486, 1392, 5214, 13, 18, 4, 30, 46506, 7968, 16034, 3084, 62, 1238, 2231, 2623, 6659, 62, 16, 33411, 285, 535, 391, 62, 25067, 496, 796, 366, 1899, 13, 21, 39658, 5357...
is the value of patient 1205's last arterial bp [systolic] measured on the first intensive care unit visit less than the second to last value measured on the first intensive care unit visit?
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1205) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.itemi...
[ 271, 262, 1988, 286, 5827, 1105, 2713, 338, 938, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 1342, 621, 262, 1218, 284, 938, 1988, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 30, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 271, 262, 1988, 286, 5827, 1105, 2713, 338, 938, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 1342, 621, 262, 1218, 284, 938, 1988, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 30, 46...
What is the pick number in a year earlier than 2009, with a round higher than 1?
SELECT COUNT("Pick") FROM table_47990 WHERE "Year" < '2009' AND "Round" > '1'
[ 2061, 318, 262, 2298, 1271, 287, 257, 614, 2961, 621, 3717, 11, 351, 257, 2835, 2440, 621, 352, 30, 46506, 327, 28270, 7203, 31686, 4943, 16034, 3084, 62, 2857, 34155, 33411, 366, 17688, 1, 1279, 705, 10531, 6, 5357, 366, 22685, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2298, 1271, 287, 257, 614, 2961, 621, 3717, 11, 351, 257, 2835, 2440, 621, 352, 30, 46506, 327, 28270, 7203, 31686, 4943, 16034, 3084, 62, 2857, 34155, 33411, 366, 17688, 1, 1279, 705, 10531, 6, 5357, 366, 22685, 1, ...
How many episodes have a share of 16.2% and an episode number of less than 1?
SELECT COUNT("Total Viewers") FROM table_70855 WHERE "Share" = '16.2%' AND "Episode No." < '1'
[ 2437, 867, 8640, 423, 257, 2648, 286, 1467, 13, 17, 4, 290, 281, 4471, 1271, 286, 1342, 621, 352, 30, 46506, 327, 28270, 7203, 14957, 3582, 364, 4943, 16034, 3084, 62, 32583, 2816, 33411, 366, 11649, 1, 796, 705, 1433, 13, 17, 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 ]
[ 2437, 867, 8640, 423, 257, 2648, 286, 1467, 13, 17, 4, 290, 281, 4471, 1271, 286, 1342, 621, 352, 30, 46506, 327, 28270, 7203, 14957, 3582, 364, 4943, 16034, 3084, 62, 32583, 2816, 33411, 366, 11649, 1, 796, 705, 1433, 13, 17, 4, ...
Tell me the overall rank for roland schoeman
SELECT overall_rank FROM table_name_50 WHERE swimmer = "roland schoeman"
[ 24446, 502, 262, 4045, 4279, 329, 686, 1044, 5513, 78, 8463, 46506, 4045, 62, 43027, 16034, 3084, 62, 3672, 62, 1120, 33411, 9422, 647, 796, 366, 305, 1044, 5513, 78, 8463, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 4045, 4279, 329, 686, 1044, 5513, 78, 8463, 46506, 4045, 62, 43027, 16034, 3084, 62, 3672, 62, 1120, 33411, 9422, 647, 796, 366, 305, 1044, 5513, 78, 8463, 1 ]
What school took 4th place in 2002?
SELECT 4 AS th_place FROM table_11577996_1 WHERE year = 2002
[ 2061, 1524, 1718, 604, 400, 1295, 287, 6244, 30, 46506, 604, 7054, 294, 62, 5372, 16034, 3084, 62, 15363, 3324, 38565, 62, 16, 33411, 614, 796, 6244 ]
[ 1, 1, 1, 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, 1524, 1718, 604, 400, 1295, 287, 6244, 30, 46506, 604, 7054, 294, 62, 5372, 16034, 3084, 62, 15363, 3324, 38565, 62, 16, 33411, 614, 796, 6244 ]
What is the Singles W-L for the players named Laurynas Grigelis?
SELECT "Singles W\u2013L" FROM table_16035 WHERE "Player" = 'Laurynas Grigelis'
[ 2061, 318, 262, 5573, 829, 370, 12, 43, 329, 262, 1938, 3706, 4689, 1601, 24716, 1902, 47709, 271, 30, 46506, 366, 29974, 829, 370, 59, 84, 6390, 43, 1, 16034, 3084, 62, 14198, 2327, 33411, 366, 14140, 1, 796, 705, 14772, 1601, 2471...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5573, 829, 370, 12, 43, 329, 262, 1938, 3706, 4689, 1601, 24716, 1902, 47709, 271, 30, 46506, 366, 29974, 829, 370, 59, 84, 6390, 43, 1, 16034, 3084, 62, 14198, 2327, 33411, 366, 14140, 1, 796, 705, 14772, 1601, 2471...
What's the sub-parish (sokn) of Eikefjord?
SELECT "Sub-Parish (Sokn)" FROM table_21949 WHERE "Location of the Church" = 'Eikefjord'
[ 2061, 338, 262, 850, 12, 1845, 680, 357, 82, 482, 77, 8, 286, 412, 522, 69, 73, 585, 30, 46506, 366, 7004, 12, 10044, 680, 357, 50, 482, 77, 16725, 16034, 3084, 62, 28896, 2920, 33411, 366, 14749, 286, 262, 4564, 1, 796, 705, 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 ]
[ 2061, 338, 262, 850, 12, 1845, 680, 357, 82, 482, 77, 8, 286, 412, 522, 69, 73, 585, 30, 46506, 366, 7004, 12, 10044, 680, 357, 50, 482, 77, 16725, 16034, 3084, 62, 28896, 2920, 33411, 366, 14749, 286, 262, 4564, 1, 796, 705, 36...
When are the birthdays of customer who are classified as 'Good Customer' status, and count them by a bar chart, could you order y-axis in ascending order?
SELECT date_of_birth, COUNT(date_of_birth) FROM Customers WHERE customer_status_code = 'Good Customer' ORDER BY COUNT(date_of_birth)
[ 2215, 389, 262, 4082, 12545, 286, 6491, 508, 389, 10090, 355, 705, 10248, 22092, 6, 3722, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 714, 345, 1502, 331, 12, 22704, 287, 41988, 1502, 30, 46506, 3128, 62, 1659, 62, 24280, 11, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 262, 4082, 12545, 286, 6491, 508, 389, 10090, 355, 705, 10248, 22092, 6, 3722, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 714, 345, 1502, 331, 12, 22704, 287, 41988, 1502, 30, 46506, 3128, 62, 1659, 62, 24280, 11, 327, ...
What are the first names and ids for customers who have two or more accounts, and display in desc by the y axis.
SELECT T2.customer_first_name, T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id ORDER BY T1.customer_id DESC
[ 2061, 389, 262, 717, 3891, 290, 220, 2340, 329, 4297, 508, 423, 734, 393, 517, 5504, 11, 290, 3359, 287, 1715, 416, 262, 331, 16488, 13, 46506, 309, 17, 13, 23144, 263, 62, 11085, 62, 3672, 11, 309, 16, 13, 23144, 263, 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...
[ 2061, 389, 262, 717, 3891, 290, 220, 2340, 329, 4297, 508, 423, 734, 393, 517, 5504, 11, 290, 3359, 287, 1715, 416, 262, 331, 16488, 13, 46506, 309, 17, 13, 23144, 263, 62, 11085, 62, 3672, 11, 309, 16, 13, 23144, 263, 62, 312, ...
How many total losses have teams that played more than 30 games?
SELECT COUNT("Lost") FROM table_67599 WHERE "Played" > '30'
[ 2437, 867, 2472, 9089, 423, 3466, 326, 2826, 517, 621, 1542, 1830, 30, 46506, 327, 28270, 7203, 31042, 4943, 16034, 3084, 62, 42444, 2079, 33411, 366, 11002, 276, 1, 1875, 705, 1270, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2472, 9089, 423, 3466, 326, 2826, 517, 621, 1542, 1830, 30, 46506, 327, 28270, 7203, 31042, 4943, 16034, 3084, 62, 42444, 2079, 33411, 366, 11002, 276, 1, 1875, 705, 1270, 6 ]
When the Venue was Punt Road Oval, who was the Home Team?
SELECT home_team FROM table_name_47 WHERE venue = "punt road oval"
[ 2215, 262, 9932, 518, 373, 350, 2797, 5567, 25165, 11, 508, 373, 262, 5995, 4816, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 2857, 33411, 14359, 796, 366, 79, 2797, 2975, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9932, 518, 373, 350, 2797, 5567, 25165, 11, 508, 373, 262, 5995, 4816, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 2857, 33411, 14359, 796, 366, 79, 2797, 2975, 41186, 1 ]
Name the D 48 when it has a D 44 of d 33
SELECT d_48 FROM table_name_29 WHERE d_44 = "d 33"
[ 5376, 262, 360, 4764, 618, 340, 468, 257, 360, 5846, 286, 288, 4747, 46506, 288, 62, 2780, 16034, 3084, 62, 3672, 62, 1959, 33411, 288, 62, 2598, 796, 366, 67, 4747, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 360, 4764, 618, 340, 468, 257, 360, 5846, 286, 288, 4747, 46506, 288, 62, 2780, 16034, 3084, 62, 3672, 62, 1959, 33411, 288, 62, 2598, 796, 366, 67, 4747, 1 ]
Which Round has a Pick smaller than 6?
SELECT SUM(round) FROM table_name_77 WHERE pick < 6
[ 13828, 10485, 468, 257, 12346, 4833, 621, 718, 30, 46506, 35683, 7, 744, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 2298, 1279, 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 ]
[ 13828, 10485, 468, 257, 12346, 4833, 621, 718, 30, 46506, 35683, 7, 744, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 2298, 1279, 718 ]
Top 100 Moroccan users in StackOverflow.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%morocco%' OR LOWER(Location) LIKE '%MAROC%' ORDER BY Reputation DESC LIMIT 100
[ 9126, 1802, 49323, 2985, 287, 23881, 5886, 11125, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 1802, 49323, 2985, 287, 23881, 5886, 11125, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, ...
when did patient 58932 have a last procedure?
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 58932) ORDER BY procedures_icd.charttime DESC LIMIT 1
[ 12518, 750, 5827, 642, 4531, 2624, 423, 257, 938, 8771, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 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...
[ 12518, 750, 5827, 642, 4531, 2624, 423, 257, 938, 8771, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16...
What is the date of the match with a winner outcome and jim courier as the opponent in the final?
SELECT date FROM table_name_27 WHERE outcome = "winner" AND opponent_in_the_final = "jim courier"
[ 2061, 318, 262, 3128, 286, 262, 2872, 351, 257, 8464, 8055, 290, 474, 320, 48934, 355, 262, 6125, 287, 262, 2457, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1983, 33411, 8055, 796, 366, 39791, 1, 5357, 6125, 62, 259, 62, 1169, 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 ]
[ 2061, 318, 262, 3128, 286, 262, 2872, 351, 257, 8464, 8055, 290, 474, 320, 48934, 355, 262, 6125, 287, 262, 2457, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1983, 33411, 8055, 796, 366, 39791, 1, 5357, 6125, 62, 259, 62, 1169, 62, ...
What is the name of the ship sunk on 5 May 1943 from the United Kingdom sunk by an u-266 with 0 casualties?
SELECT "Name" FROM table_11435 WHERE "Date" = '5 may 1943' AND "Nationality" = 'united kingdom' AND "Sunk by\u2026" = 'u-266' AND "Casualties" = '0'
[ 2061, 318, 262, 1438, 286, 262, 4074, 24790, 319, 642, 1737, 21577, 422, 262, 1578, 7526, 24790, 416, 281, 334, 12, 25540, 351, 657, 18499, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 16562, 2327, 33411, 366, 10430, 1, 796, 705, 20, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 1438, 286, 262, 4074, 24790, 319, 642, 1737, 21577, 422, 262, 1578, 7526, 24790, 416, 281, 334, 12, 25540, 351, 657, 18499, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 16562, 2327, 33411, 366, 10430, 1, 796, 705, 20, 7...
give me the number of patients whose primary disease is t5 fracture and procedure icd9 code is 8105?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "T5 FRACTURE" AND procedures.icd9_code = "8105"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 256, 20, 31846, 290, 8771, 14158, 67, 24, 2438, 318, 807, 13348, 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...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 256, 20, 31846, 290, 8771, 14158, 67, 24, 2438, 318, 807, 13348, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
what are the five most commonly ordered microbiology tests for patients that had already received packed cell transfusion during the same hospital visit the last year?
SELECT t3.spec_type_desc FROM (SELECT t2.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 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 procedures_icd.icd9_code = (SELECT d_icd_pro...
[ 10919, 389, 262, 1936, 749, 8811, 6149, 24559, 1435, 5254, 329, 3871, 326, 550, 1541, 2722, 11856, 2685, 13501, 4241, 1141, 262, 976, 4436, 3187, 262, 938, 614, 30, 46506, 256, 18, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1936, 749, 8811, 6149, 24559, 1435, 5254, 329, 3871, 326, 550, 1541, 2722, 11856, 2685, 13501, 4241, 1141, 262, 976, 4436, 3187, 262, 938, 614, 30, 46506, 256, 18, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 25...
How many products are there under the category 'Seeds'?
SELECT COUNT(*) FROM products WHERE product_category_code = "Seeds"
[ 2437, 867, 3186, 389, 612, 739, 262, 6536, 705, 50, 39642, 30960, 46506, 327, 28270, 7, 28104, 16034, 3186, 33411, 1720, 62, 22872, 62, 8189, 796, 366, 50, 39642, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 3186, 389, 612, 739, 262, 6536, 705, 50, 39642, 30960, 46506, 327, 28270, 7, 28104, 16034, 3186, 33411, 1720, 62, 22872, 62, 8189, 796, 366, 50, 39642, 1 ]
What is the total number in the 1920s that has 0 in the 1960s, and less than 4 in the 2000s, and more than 3 in the 1930s?
SELECT COUNT("1920s") FROM table_7584 WHERE "1960s" = '0' AND "2000s to date" < '4' AND "1930s" > '3'
[ 2061, 318, 262, 2472, 1271, 287, 262, 14062, 82, 326, 468, 657, 287, 262, 9507, 82, 11, 290, 1342, 621, 604, 287, 262, 4751, 82, 11, 290, 517, 621, 513, 287, 262, 15533, 82, 30, 46506, 327, 28270, 7203, 40454, 82, 4943, 16034, 308...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2472, 1271, 287, 262, 14062, 82, 326, 468, 657, 287, 262, 9507, 82, 11, 290, 1342, 621, 604, 287, 262, 4751, 82, 11, 290, 517, 621, 513, 287, 262, 15533, 82, 30, 46506, 327, 28270, 7203, 40454, 82, 4943, 16034, 308...
Who 's this Spring 's CZECH 142 teacher ?
SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN semester...
[ 8241, 705, 82, 428, 8225, 705, 82, 327, 57, 25994, 25181, 4701, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 158...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 705, 82, 428, 8225, 705, 82, 327, 57, 25994, 25181, 4701, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 158...
What Player is from the Country United States and Money ($) of 356?
SELECT player FROM table_name_24 WHERE country = "united states" AND money___$__ = 356
[ 2061, 7853, 318, 422, 262, 12946, 1578, 1829, 290, 12911, 45491, 286, 44552, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1731, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 1637, 17569, 3, 834, 796, 44552 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7853, 318, 422, 262, 12946, 1578, 1829, 290, 12911, 45491, 286, 44552, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1731, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 1637, 17569, 3, 834, 796, 44552 ]
Name the the Best of rodolfo lav n
SELECT best FROM table_name_12 WHERE name = "rodolfo lavín"
[ 5376, 262, 262, 6705, 286, 15299, 4024, 78, 21606, 299, 46506, 1266, 16034, 3084, 62, 3672, 62, 1065, 33411, 1438, 796, 366, 14892, 4024, 78, 21606, 39588, 1 ]
[ 1, 1, 1, 1, 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, 262, 6705, 286, 15299, 4024, 78, 21606, 299, 46506, 1266, 16034, 3084, 62, 3672, 62, 1065, 33411, 1438, 796, 366, 14892, 4024, 78, 21606, 39588, 1 ]
Name the winner for nick nuyens for general classification and stage of 2
SELECT "Winner" FROM table_67467 WHERE "General classification" = 'nick nuyens' AND "Stage" = '2'
[ 5376, 262, 8464, 329, 14428, 299, 4669, 641, 329, 2276, 17923, 290, 3800, 286, 362, 46506, 366, 48056, 1, 16034, 3084, 62, 3134, 24669, 33411, 366, 12218, 17923, 1, 796, 705, 17172, 299, 4669, 641, 6, 5357, 366, 29391, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 8464, 329, 14428, 299, 4669, 641, 329, 2276, 17923, 290, 3800, 286, 362, 46506, 366, 48056, 1, 16034, 3084, 62, 3134, 24669, 33411, 366, 12218, 17923, 1, 796, 705, 17172, 299, 4669, 641, 6, 5357, 366, 29391, 1, 796, 705, ...
patient 010-20205 had undergone a cpap/peep therapy - titrate peep procedure at other hospitals since 2105?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '010-20205' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '010-20205' AND patient.hospitaldischargetime IS NULL)) AND tr...
[ 26029, 5534, 15, 12, 1238, 21261, 550, 29900, 257, 31396, 499, 14, 431, 538, 9102, 532, 5259, 4873, 613, 538, 8771, 379, 584, 11301, 1201, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26029, 5534, 15, 12, 1238, 21261, 550, 29900, 257, 31396, 499, 14, 431, 538, 9102, 532, 5259, 4873, 613, 538, 8771, 379, 584, 11301, 1201, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20...
which patients have prescription for milrinone?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Milrinone"
[ 4758, 3871, 423, 15077, 329, 1465, 12769, 505, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 3871, 423, 15077, 329, 1465, 12769, 505, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76...
provide the disease and discharge time of subject id 26746.
SELECT demographic.diagnosis, demographic.dischtime FROM demographic WHERE demographic.subject_id = "26746"
[ 15234, 485, 262, 4369, 290, 17655, 640, 286, 2426, 4686, 37364, 3510, 13, 46506, 16728, 13, 47356, 5958, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 25674, 3510, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4369, 290, 17655, 640, 286, 2426, 4686, 37364, 3510, 13, 46506, 16728, 13, 47356, 5958, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 25674, 3510, 1 ]
Who won the gold in 1958?
SELECT "Gold" FROM table_49626 WHERE "Year" = '1958'
[ 8241, 1839, 262, 3869, 287, 24648, 30, 46506, 366, 13306, 1, 16034, 3084, 62, 37747, 2075, 33411, 366, 17688, 1, 796, 705, 1129, 3365, 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 ]
[ 8241, 1839, 262, 3869, 287, 24648, 30, 46506, 366, 13306, 1, 16034, 3084, 62, 37747, 2075, 33411, 366, 17688, 1, 796, 705, 1129, 3365, 6 ]
count the number of patients who received vasopressors - norepinephrine <= 0.1 micrograms/kg/min within the same month after a diagnosis of copd.
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'copd') AS t1 JOIN (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatmen...
[ 9127, 262, 1271, 286, 3871, 508, 2722, 34439, 404, 601, 669, 532, 299, 382, 23908, 47723, 19841, 657, 13, 16, 4580, 4546, 82, 14, 10025, 14, 1084, 1626, 262, 976, 1227, 706, 257, 13669, 286, 2243, 67, 13, 46506, 327, 28270, 7, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2722, 34439, 404, 601, 669, 532, 299, 382, 23908, 47723, 19841, 657, 13, 16, 4580, 4546, 82, 14, 10025, 14, 1084, 1626, 262, 976, 1227, 706, 257, 13669, 286, 2243, 67, 13, 46506, 327, 28270, 7, 35, ...
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of job_id and the sum of employee_id , and group by attribute job_id.
SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 13, 46506, 449, 9864, 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...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 13, 46506, 449, 9864, 62...
When 5 is the game who has the highest amount of points?
SELECT high_points FROM table_22883210_11 WHERE game = 5
[ 2215, 642, 318, 262, 983, 508, 468, 262, 4511, 2033, 286, 2173, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 1828, 3459, 2624, 940, 62, 1157, 33411, 983, 796, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 642, 318, 262, 983, 508, 468, 262, 4511, 2033, 286, 2173, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 1828, 3459, 2624, 940, 62, 1157, 33411, 983, 796, 642 ]
What were the results for November 24, 2002?
SELECT "Result" FROM table_13875 WHERE "Date" = 'november 24, 2002'
[ 2061, 547, 262, 2482, 329, 3389, 1987, 11, 6244, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 20107, 2425, 33411, 366, 10430, 1, 796, 705, 77, 3239, 1987, 11, 6244, 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, 547, 262, 2482, 329, 3389, 1987, 11, 6244, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 20107, 2425, 33411, 366, 10430, 1, 796, 705, 77, 3239, 1987, 11, 6244, 6 ]
What have you tried so far?' Comments.
SELECT C.PostId AS "post_link", C.Id AS "comment_link", C.CreationDate, C.UserId AS "user_link" FROM Comments AS C WHERE REPLACE(UPPER(C.Text), ' ', '') = 'WHATHAVEYOUTRIEDSOFAR?' ORDER BY C.CreationDate DESC
[ 2061, 423, 345, 3088, 523, 1290, 8348, 19502, 13, 46506, 327, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 327, 13, 12443, 341, 10430, 11, 327, 13, 12982, 7390, 7054, 366, 7220, 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, 423, 345, 3088, 523, 1290, 8348, 19502, 13, 46506, 327, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 327, 13, 12443, 341, 10430, 11, 327, 13, 12982, 7390, 7054, 366, 7220, 6...
What is the Losses at the western conference and the 2004 05 season?
SELECT losses FROM table_name_51 WHERE conference = "western" AND season = "2004–05"
[ 2061, 318, 262, 22014, 274, 379, 262, 8830, 4495, 290, 262, 5472, 8870, 1622, 30, 46506, 9089, 16034, 3084, 62, 3672, 62, 4349, 33411, 4495, 796, 366, 14197, 1, 5357, 1622, 796, 366, 15724, 1906, 2713, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22014, 274, 379, 262, 8830, 4495, 290, 262, 5472, 8870, 1622, 30, 46506, 9089, 16034, 3084, 62, 3672, 62, 4349, 33411, 4495, 796, 366, 14197, 1, 5357, 1622, 796, 366, 15724, 1906, 2713, 1 ]
get the number of patients who were admitted urgently with phys referral/normal deli as admission location.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.admission_location = "PHYS REFERRAL/NORMAL DELI"
[ 1136, 262, 1271, 286, 3871, 508, 547, 6848, 37788, 351, 2281, 31413, 14, 11265, 1619, 72, 355, 13938, 4067, 13, 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, 1...
[ 1136, 262, 1271, 286, 3871, 508, 547, 6848, 37788, 351, 2281, 31413, 14, 11265, 1619, 72, 355, 13938, 4067, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, ...
how many regions were affected by each storm?, could you sort bar in descending order?
SELECT Name, COUNT(*) FROM storm AS T1 JOIN affected_region AS T2 ON T1.Storm_ID = T2.Storm_ID GROUP BY T1.Storm_ID ORDER BY Name DESC
[ 4919, 867, 7652, 547, 5676, 416, 1123, 6388, 21747, 714, 345, 3297, 2318, 287, 31491, 1502, 30, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 6388, 7054, 309, 16, 32357, 1268, 5676, 62, 36996, 7054, 309, 17, 6177, 309, 16, 13, 32173, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7652, 547, 5676, 416, 1123, 6388, 21747, 714, 345, 3297, 2318, 287, 31491, 1502, 30, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 6388, 7054, 309, 16, 32357, 1268, 5676, 62, 36996, 7054, 309, 17, 6177, 309, 16, 13, 32173, ...
What was the Result for the club universidad de guadalajara?
SELECT "Result" FROM table_41199 WHERE "Club" = 'club universidad de guadalajara'
[ 2061, 373, 262, 25414, 329, 262, 3430, 5820, 32482, 390, 915, 31682, 1228, 3301, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3901, 19104, 33411, 366, 42350, 1, 796, 705, 18664, 5820, 32482, 390, 915, 31682, 1228, 3301, 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, 373, 262, 25414, 329, 262, 3430, 5820, 32482, 390, 915, 31682, 1228, 3301, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3901, 19104, 33411, 366, 42350, 1, 796, 705, 18664, 5820, 32482, 390, 915, 31682, 1228, 3301, 6 ]
what is the city when the country is libya and the iata is ben?
SELECT city FROM table_name_57 WHERE country = "libya" AND iata = "ben"
[ 10919, 318, 262, 1748, 618, 262, 1499, 318, 9195, 3972, 290, 262, 1312, 1045, 318, 1888, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 3553, 33411, 1499, 796, 366, 8019, 3972, 1, 5357, 1312, 1045, 796, 366, 11722, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1748, 618, 262, 1499, 318, 9195, 3972, 290, 262, 1312, 1045, 318, 1888, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 3553, 33411, 1499, 796, 366, 8019, 3972, 1, 5357, 1312, 1045, 796, 366, 11722, 1 ]
list patient 29741's monthly minimum pt the last year.
SELECT MIN(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 29741) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'pt') AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_...
[ 4868, 5827, 41103, 3901, 338, 9651, 5288, 42975, 262, 938, 614, 13, 46506, 20625, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 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...
[ 4868, 5827, 41103, 3901, 338, 9651, 5288, 42975, 262, 938, 614, 13, 46506, 20625, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312...
how many government health insurance patients underwent umbilical vein catheterization procedure?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.long_title = "Umbilical vein catheterization"
[ 4919, 867, 1230, 1535, 5096, 3871, 25289, 20810, 346, 605, 27208, 3797, 43332, 1634, 8771, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 1810...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1230, 1535, 5096, 3871, 25289, 20810, 346, 605, 27208, 3797, 43332, 1634, 8771, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 1810...