instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Name the winning constructor for abu dhabi grand prix
SELECT winning_constructor FROM table_name_22 WHERE grand_prix = "abu dhabi grand prix"
[ 5376, 262, 5442, 23772, 329, 450, 84, 288, 37362, 4490, 1293, 87, 46506, 5442, 62, 41571, 273, 16034, 3084, 62, 3672, 62, 1828, 33411, 4490, 62, 3448, 87, 796, 366, 397, 84, 288, 37362, 4490, 1293, 87, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5442, 23772, 329, 450, 84, 288, 37362, 4490, 1293, 87, 46506, 5442, 62, 41571, 273, 16034, 3084, 62, 3672, 62, 1828, 33411, 4490, 62, 3448, 87, 796, 366, 397, 84, 288, 37362, 4490, 1293, 87, 1 ]
Questions and Answers per Day on a Monthly Basis.
SELECT (SUM(pd.Questions) * 1.00 / COUNT(pd.Date)) AS "questions_per_day", (SUM(pd.Answers) * 1.00 / COUNT(pd.Date)) AS "answers_per_day", TIME_TO_STR(pd.Date, '%m') AS "month", TIME_TO_STR(pd.Date, '%Y') AS "year" FROM (SELECT SUM(CASE WHEN p.PostTypeId = 1 THEN 1 ELSE 0 END) AS "questions", SUM(CASE WHEN p.PostTypeId...
[ 35741, 290, 42612, 583, 3596, 319, 257, 27573, 6455, 271, 13, 46506, 357, 50, 5883, 7, 30094, 13, 35741, 8, 1635, 352, 13, 405, 1220, 327, 28270, 7, 30094, 13, 10430, 4008, 7054, 366, 6138, 507, 62, 525, 62, 820, 1600, 357, 50, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35741, 290, 42612, 583, 3596, 319, 257, 27573, 6455, 271, 13, 46506, 357, 50, 5883, 7, 30094, 13, 35741, 8, 1635, 352, 13, 405, 1220, 327, 28270, 7, 30094, 13, 10430, 4008, 7054, 366, 6138, 507, 62, 525, 62, 820, 1600, 357, 50, 58...
who wrote with original air date being september23,1995
SELECT "Written by" FROM table_19472 WHERE "Original air date" = 'September23,1995'
[ 8727, 2630, 351, 2656, 1633, 3128, 852, 384, 457, 1491, 1954, 11, 21908, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1129, 37856, 33411, 366, 20556, 1633, 3128, 1, 796, 705, 17543, 1954, 11, 21908, 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 ]
[ 8727, 2630, 351, 2656, 1633, 3128, 852, 384, 457, 1491, 1954, 11, 21908, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1129, 37856, 33411, 366, 20556, 1633, 3128, 1, 796, 705, 17543, 1954, 11, 21908, 6 ]
what is the average cost to the hospital which involves stricture of artery until 2104.
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'stricture of artery')) AND STRFTIME('%y', cost.chargetime) <= '...
[ 10919, 318, 262, 2811, 1575, 284, 262, 4436, 543, 9018, 7646, 495, 286, 37646, 1566, 362, 13464, 13, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 33411, 1575, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 1575, 284, 262, 4436, 543, 9018, 7646, 495, 286, 37646, 1566, 362, 13464, 13, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 33411, 1575, ...
Return a bar chart about the distribution of date_address_from and the sum of monthly_rental , and group by attribute other_details and bin date_address_from by time.
SELECT date_address_from, SUM(monthly_rental) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 3128, 62, 21975, 62, 6738, 290, 262, 2160, 286, 9651, 62, 1156, 282, 837, 290, 1448, 416, 11688, 584, 62, 36604, 290, 9874, 3128, 62, 21975, 62, 6738, 416, 640, 13, 46506, 3128, 62, 21975...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 3128, 62, 21975, 62, 6738, 290, 262, 2160, 286, 9651, 62, 1156, 282, 837, 290, 1448, 416, 11688, 584, 62, 36604, 290, 9874, 3128, 62, 21975, 62, 6738, 416, 640, 13, 46506, 3128, 62, 21975...
Show how many competitions are held in each year with a line chart, I want to list X in desc order.
SELECT Year, COUNT(Year) FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID ORDER BY Year DESC
[ 15307, 703, 867, 24174, 389, 2714, 287, 1123, 614, 351, 257, 1627, 8262, 11, 314, 765, 284, 1351, 1395, 287, 1715, 1502, 13, 46506, 6280, 11, 327, 28270, 7, 17688, 8, 16034, 1748, 7054, 309, 16, 32357, 1268, 5318, 62, 5589, 15620, 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...
[ 15307, 703, 867, 24174, 389, 2714, 287, 1123, 614, 351, 257, 1627, 8262, 11, 314, 765, 284, 1351, 1395, 287, 1715, 1502, 13, 46506, 6280, 11, 327, 28270, 7, 17688, 8, 16034, 1748, 7054, 309, 16, 32357, 1268, 5318, 62, 5589, 15620, 7...
worst score answers that are accepted.
SELECT p.Id AS "post_link", p.Score FROM Posts AS p WHERE p.Score < -10 ORDER BY p.Score
[ 41430, 4776, 7429, 326, 389, 6292, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 26595, 16034, 12043, 7054, 279, 33411, 279, 13, 26595, 1279, 532, 940, 38678, 11050, 279, 13, 26595 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 41430, 4776, 7429, 326, 389, 6292, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 26595, 16034, 12043, 7054, 279, 33411, 279, 13, 26595, 1279, 532, 940, 38678, 11050, 279, 13, 26595 ]
Which range includes Mount Fukushima, and is ranked 38?
SELECT "Range" FROM table_63739 WHERE "Name" = 'mount fukushima' AND "Rank" = '38'
[ 13828, 2837, 3407, 5628, 34170, 11, 290, 318, 10307, 4353, 30, 46506, 366, 17257, 1, 16034, 3084, 62, 21, 2718, 2670, 33411, 366, 5376, 1, 796, 705, 14948, 277, 2724, 30474, 6, 5357, 366, 27520, 1, 796, 705, 2548, 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, 2837, 3407, 5628, 34170, 11, 290, 318, 10307, 4353, 30, 46506, 366, 17257, 1, 16034, 3084, 62, 21, 2718, 2670, 33411, 366, 5376, 1, 796, 705, 14948, 277, 2724, 30474, 6, 5357, 366, 27520, 1, 796, 705, 2548, 6 ]
Who was the director for the Episode number in season 10a?
SELECT "Directed by" FROM table_29267 WHERE "No. in season" = '10a'
[ 8241, 373, 262, 3437, 329, 262, 7922, 1271, 287, 1622, 838, 64, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 1959, 25674, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 940, 64, 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, 373, 262, 3437, 329, 262, 7922, 1271, 287, 1622, 838, 64, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 1959, 25674, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 940, 64, 6 ]
What are the first names of the faculty members playing both Canoeing and Kayaking?
SELECT T1.lname FROM faculty AS T1 JOIN faculty_participates_in AS T2 ON T1.facid = T2.facid JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' INTERSECT SELECT T1.lname FROM faculty AS T1 JOIN faculty_participates_in AS T2 ON T1.facid = T2.facid JOIN activity AS T3 ON T2.actid = T2.actid WH...
[ 2061, 389, 262, 717, 3891, 286, 262, 12829, 1866, 2712, 1111, 1680, 2577, 278, 290, 17356, 868, 30, 46506, 309, 16, 13, 75, 3672, 16034, 12829, 7054, 309, 16, 32357, 1268, 12829, 62, 48013, 689, 62, 259, 7054, 309, 17, 6177, 309, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 717, 3891, 286, 262, 12829, 1866, 2712, 1111, 1680, 2577, 278, 290, 17356, 868, 30, 46506, 309, 16, 13, 75, 3672, 16034, 12829, 7054, 309, 16, 32357, 1268, 12829, 62, 48013, 689, 62, 259, 7054, 309, 17, 6177, 309, 16...
what is the class when the chassis is dallara f308, rounds is all and the driver is sam abay?
SELECT "Class" FROM table_10010 WHERE "Chassis" = 'dallara f308' AND "Rounds" = 'all' AND "Driver" = 'sam abay'
[ 10919, 318, 262, 1398, 618, 262, 24587, 318, 288, 439, 3301, 277, 21495, 11, 9196, 318, 477, 290, 262, 4639, 318, 6072, 450, 323, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 3064, 940, 33411, 366, 1925, 20297, 1, 796, 705, 67, 439, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1398, 618, 262, 24587, 318, 288, 439, 3301, 277, 21495, 11, 9196, 318, 477, 290, 262, 4639, 318, 6072, 450, 323, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 3064, 940, 33411, 366, 1925, 20297, 1, 796, 705, 67, 439, ...
how many times does patient 28443 since 178 months ago have flolan intake?
SELECT COUNT(*) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28443)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'flolan' AND ...
[ 4919, 867, 1661, 857, 5827, 2579, 34938, 1201, 27368, 1933, 2084, 423, 781, 16617, 10337, 30, 46506, 327, 28270, 7, 28104, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 857, 5827, 2579, 34938, 1201, 27368, 1933, 2084, 423, 781, 16617, 10337, 30, 46506, 327, 28270, 7, 28104, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 31...
At the match which took place in arden street oval, how much did the away team score?
SELECT "Away team score" FROM table_10975 WHERE "Venue" = 'arden street oval'
[ 2953, 262, 2872, 543, 1718, 1295, 287, 610, 6559, 4675, 41186, 11, 703, 881, 750, 262, 1497, 1074, 4776, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 14454, 2425, 33411, 366, 37522, 518, 1, 796, 705, 5872, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2953, 262, 2872, 543, 1718, 1295, 287, 610, 6559, 4675, 41186, 11, 703, 881, 750, 262, 1497, 1074, 4776, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 14454, 2425, 33411, 366, 37522, 518, 1, 796, 705, 5872, 4675, 41186, ...
What is the id, genre, and name of the artist for every English song ordered by ascending rating?
SELECT f_id, genre_is, artist_name FROM song WHERE languages = "english" ORDER BY rating
[ 2061, 318, 262, 4686, 11, 12121, 11, 290, 1438, 286, 262, 6802, 329, 790, 3594, 3496, 6149, 416, 41988, 7955, 30, 46506, 277, 62, 312, 11, 12121, 62, 271, 11, 6802, 62, 3672, 16034, 3496, 33411, 8950, 796, 366, 39126, 1, 38678, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4686, 11, 12121, 11, 290, 1438, 286, 262, 6802, 329, 790, 3594, 3496, 6149, 416, 41988, 7955, 30, 46506, 277, 62, 312, 11, 12121, 62, 271, 11, 6802, 62, 3672, 16034, 3496, 33411, 8950, 796, 366, 39126, 1, 38678, 1105...
Find the forename and surname of drivers whose nationality is German?
SELECT forename, surname FROM drivers WHERE nationality = "German"
[ 16742, 262, 1674, 3672, 290, 40358, 286, 6643, 3025, 29835, 318, 2679, 30, 46506, 1674, 3672, 11, 40358, 16034, 6643, 33411, 29835, 796, 366, 16010, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1674, 3672, 290, 40358, 286, 6643, 3025, 29835, 318, 2679, 30, 46506, 1674, 3672, 11, 40358, 16034, 6643, 33411, 29835, 796, 366, 16010, 1 ]
What home team scored 102-87?
SELECT "Home team" FROM table_49255 WHERE "Score" = '102-87'
[ 2061, 1363, 1074, 7781, 15143, 12, 5774, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 2920, 13381, 33411, 366, 26595, 1, 796, 705, 15377, 12, 5774, 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, 1363, 1074, 7781, 15143, 12, 5774, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 2920, 13381, 33411, 366, 26595, 1, 796, 705, 15377, 12, 5774, 6 ]
what was the name of the drug patient 030-42006 got prescription for in the same day after being diagnosed with s/p cabg < 7 days - with cpb during their current hospital encounter?
SELECT t2.drugname FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-42006' AND patient.hospitaldi...
[ 10919, 373, 262, 1438, 286, 262, 2563, 5827, 657, 1270, 12, 19, 13330, 1392, 15077, 329, 287, 262, 976, 1110, 706, 852, 14641, 351, 264, 14, 79, 16212, 70, 1279, 767, 1528, 532, 351, 31396, 65, 1141, 511, 1459, 4436, 8791, 30, 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, 373, 262, 1438, 286, 262, 2563, 5827, 657, 1270, 12, 19, 13330, 1392, 15077, 329, 287, 262, 976, 1110, 706, 852, 14641, 351, 264, 14, 79, 16212, 70, 1279, 767, 1528, 532, 351, 31396, 65, 1141, 511, 1459, 4436, 8791, 30, 46506...
which year had the most game releases ?
SELECT "release" FROM table_203_583 GROUP BY "release" ORDER BY COUNT("title") DESC LIMIT 1
[ 4758, 614, 550, 262, 749, 983, 10050, 5633, 46506, 366, 20979, 1, 16034, 3084, 62, 22416, 62, 46239, 44441, 11050, 366, 20979, 1, 38678, 11050, 327, 28270, 7203, 7839, 4943, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 614, 550, 262, 749, 983, 10050, 5633, 46506, 366, 20979, 1, 16034, 3084, 62, 22416, 62, 46239, 44441, 11050, 366, 20979, 1, 38678, 11050, 327, 28270, 7203, 7839, 4943, 22196, 34, 27564, 2043, 352 ]
how many patients stayed in hospital for more than 3 days and were diagnosed with ac vasc insuff intestine?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "3" AND diagnoses.short_title = "Ac vasc insuff intestine"
[ 4919, 867, 3871, 9658, 287, 4436, 329, 517, 621, 513, 1528, 290, 547, 14641, 351, 936, 410, 3372, 1035, 1648, 45426, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 9658, 287, 4436, 329, 517, 621, 513, 1528, 290, 547, 14641, 351, 936, 410, 3372, 1035, 1648, 45426, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268,...
Sum of cuyo selection as the opposing team?
SELECT SUM("Against") FROM table_50665 WHERE "Opposing Team" = 'cuyo selection'
[ 13065, 286, 269, 4669, 78, 6356, 355, 262, 12330, 1074, 30, 46506, 35683, 7203, 39276, 4943, 16034, 3084, 62, 1120, 36879, 33411, 366, 27524, 2752, 4816, 1, 796, 705, 66, 4669, 78, 6356, 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 ]
[ 13065, 286, 269, 4669, 78, 6356, 355, 262, 12330, 1074, 30, 46506, 35683, 7203, 39276, 4943, 16034, 3084, 62, 1120, 36879, 33411, 366, 27524, 2752, 4816, 1, 796, 705, 66, 4669, 78, 6356, 6 ]
What is the Population of the Rural Community
SELECT "Population" FROM table_13202 WHERE "Status" = 'rural community'
[ 2061, 318, 262, 20133, 286, 262, 36486, 8108, 46506, 366, 45251, 1, 16034, 3084, 62, 1485, 19004, 33411, 366, 19580, 1, 796, 705, 81, 1523, 2055, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 20133, 286, 262, 36486, 8108, 46506, 366, 45251, 1, 16034, 3084, 62, 1485, 19004, 33411, 366, 19580, 1, 796, 705, 81, 1523, 2055, 6 ]
when patient 97733 last received a microbiology test during this month?
SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 97733) AND DATETIME(microbiologyevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') ORDER BY microbiologyevent...
[ 12518, 5827, 860, 3324, 2091, 938, 2722, 257, 24559, 1435, 1332, 1141, 428, 1227, 30, 46506, 24559, 1435, 31534, 13, 40926, 2435, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 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, 5827, 860, 3324, 2091, 938, 2722, 257, 24559, 1435, 1332, 1141, 428, 1227, 30, 46506, 24559, 1435, 31534, 13, 40926, 2435, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, ...
On what date was there a friendly game against Wales?
SELECT date FROM table_name_61 WHERE type_of_game = "friendly" AND opponent = "wales"
[ 2202, 644, 3128, 373, 612, 257, 8030, 983, 1028, 11769, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5333, 33411, 2099, 62, 1659, 62, 6057, 796, 366, 13120, 1, 5357, 6125, 796, 366, 86, 2040, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 612, 257, 8030, 983, 1028, 11769, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5333, 33411, 2099, 62, 1659, 62, 6057, 796, 366, 13120, 1, 5357, 6125, 796, 366, 86, 2040, 1 ]
when did patient 61591 have his or her first surgical procedure since 1 year ago?
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 61591) AND DATETIME(procedures_icd.charttime) >= DATETIME(CURRENT_TIME(), '-1 year') ORDER BY procedures_icd.charttime LIMIT 1
[ 12518, 750, 5827, 718, 1314, 6420, 423, 465, 393, 607, 717, 21998, 8771, 1201, 352, 614, 2084, 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, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 718, 1314, 6420, 423, 465, 393, 607, 717, 21998, 8771, 1201, 352, 614, 2084, 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, 4...
Which Icelandic has a Danish of bl t/bl ?
SELECT "Icelandic" FROM table_56602 WHERE "Danish" = 'blåt/blå'
[ 13828, 41959, 468, 257, 20849, 286, 698, 256, 14, 2436, 5633, 46506, 366, 23709, 1044, 291, 1, 16034, 3084, 62, 3980, 31418, 33411, 366, 35, 7115, 1, 796, 705, 2436, 29090, 83, 14, 2436, 29090, 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 ]
[ 13828, 41959, 468, 257, 20849, 286, 698, 256, 14, 2436, 5633, 46506, 366, 23709, 1044, 291, 1, 16034, 3084, 62, 3980, 31418, 33411, 366, 35, 7115, 1, 796, 705, 2436, 29090, 83, 14, 2436, 29090, 6 ]
How many orders when the species is Pavo Cristatus?
SELECT COUNT(order) FROM table_1818471_1 WHERE species = "Pavo cristatus"
[ 2437, 867, 6266, 618, 262, 4693, 318, 24081, 78, 24568, 7240, 30, 46506, 327, 28270, 7, 2875, 8, 16034, 3084, 62, 1507, 1507, 38339, 62, 16, 33411, 4693, 796, 366, 47, 615, 78, 1067, 396, 7240, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6266, 618, 262, 4693, 318, 24081, 78, 24568, 7240, 30, 46506, 327, 28270, 7, 2875, 8, 16034, 3084, 62, 1507, 1507, 38339, 62, 16, 33411, 4693, 796, 366, 47, 615, 78, 1067, 396, 7240, 1 ]
What was the finishing position for the car that started in grid 6?
SELECT fin_pos FROM table_name_21 WHERE grid = "6"
[ 2061, 373, 262, 12848, 2292, 329, 262, 1097, 326, 2067, 287, 10706, 718, 30, 46506, 957, 62, 1930, 16034, 3084, 62, 3672, 62, 2481, 33411, 10706, 796, 366, 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 ]
[ 2061, 373, 262, 12848, 2292, 329, 262, 1097, 326, 2067, 287, 10706, 718, 30, 46506, 957, 62, 1930, 16034, 3084, 62, 3672, 62, 2481, 33411, 10706, 796, 366, 21, 1 ]
What is the largest number of 10 C points for a team with 39 total points?
SELECT MAX("10 C Pts") FROM table_28169 WHERE "Total Pts" = '39'
[ 2061, 318, 262, 4387, 1271, 286, 838, 327, 2173, 329, 257, 1074, 351, 5014, 2472, 2173, 30, 46506, 25882, 7203, 940, 327, 350, 912, 4943, 16034, 3084, 62, 2078, 22172, 33411, 366, 14957, 350, 912, 1, 796, 705, 2670, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 1271, 286, 838, 327, 2173, 329, 257, 1074, 351, 5014, 2472, 2173, 30, 46506, 25882, 7203, 940, 327, 350, 912, 4943, 16034, 3084, 62, 2078, 22172, 33411, 366, 14957, 350, 912, 1, 796, 705, 2670, 6 ]
What are the original air date(s) for episodes written by aron eli coleite?
SELECT "Original air date" FROM table_30415 WHERE "Written by" = 'Aron Eli Coleite'
[ 2061, 389, 262, 2656, 1633, 3128, 7, 82, 8, 329, 8640, 3194, 416, 610, 261, 1288, 72, 763, 293, 578, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 21288, 1314, 33411, 366, 25354, 416, 1, 796, 705, 32, 1313, 25204, 11768, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2656, 1633, 3128, 7, 82, 8, 329, 8640, 3194, 416, 610, 261, 1288, 72, 763, 293, 578, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 21288, 1314, 33411, 366, 25354, 416, 1, 796, 705, 32, 1313, 25204, 11768, ...
How many players are injured in each day? Show a bar chart, and I want to order from high to low by the x-axis.
SELECT Date, COUNT(Date) FROM game AS T1 JOIN injury_accident AS T2 ON T1.id = T2.game_id GROUP BY Date ORDER BY Date DESC
[ 2437, 867, 1938, 389, 6686, 287, 1123, 1110, 30, 5438, 257, 2318, 8262, 11, 290, 314, 765, 284, 1502, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 13, 46506, 7536, 11, 327, 28270, 7, 10430, 8, 16034, 983, 7054, 309, 16, 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...
[ 2437, 867, 1938, 389, 6686, 287, 1123, 1110, 30, 5438, 257, 2318, 8262, 11, 290, 314, 765, 284, 1502, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 13, 46506, 7536, 11, 327, 28270, 7, 10430, 8, 16034, 983, 7054, 309, 16, 32357, ...
Which Format has a Catalog of 61298, and a Date of september 1984?
SELECT format FROM table_name_51 WHERE catalog = 61298 AND date = "september 1984"
[ 13828, 18980, 468, 257, 44515, 286, 718, 1065, 4089, 11, 290, 257, 7536, 286, 384, 457, 1491, 12844, 30, 46506, 5794, 16034, 3084, 62, 3672, 62, 4349, 33411, 18388, 796, 718, 1065, 4089, 5357, 3128, 796, 366, 325, 457, 1491, 12844, 1 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18980, 468, 257, 44515, 286, 718, 1065, 4089, 11, 290, 257, 7536, 286, 384, 457, 1491, 12844, 30, 46506, 5794, 16034, 3084, 62, 3672, 62, 4349, 33411, 18388, 796, 718, 1065, 4089, 5357, 3128, 796, 366, 325, 457, 1491, 12844, 1 ...
List the studios of each film and the number of films produced by that studio Show bar chart, and list the total number in asc order.
SELECT Studio, COUNT(*) FROM film GROUP BY Studio ORDER BY COUNT(*)
[ 8053, 262, 20747, 286, 1123, 2646, 290, 262, 1271, 286, 7328, 4635, 416, 326, 8034, 5438, 2318, 8262, 11, 290, 1351, 262, 2472, 1271, 287, 10570, 1502, 13, 46506, 11733, 11, 327, 28270, 7, 28104, 16034, 2646, 44441, 11050, 11733, 38678,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 20747, 286, 1123, 2646, 290, 262, 1271, 286, 7328, 4635, 416, 326, 8034, 5438, 2318, 8262, 11, 290, 1351, 262, 2472, 1271, 287, 10570, 1502, 13, 46506, 11733, 11, 327, 28270, 7, 28104, 16034, 2646, 44441, 11050, 11733, 38678,...
Find the number of patients diagnosed with congestive heart failure, unspecified and the drug route of iv drip.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Congestive heart failure, unspecified" AND prescriptions.route = "IV DRIP"
[ 16742, 262, 1271, 286, 3871, 14641, 351, 22791, 425, 2612, 5287, 11, 29547, 290, 262, 2563, 6339, 286, 21628, 36296, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1271, 286, 3871, 14641, 351, 22791, 425, 2612, 5287, 11, 29547, 290, 262, 2563, 6339, 286, 21628, 36296, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
Average Score for non-Bounty Questions.
SELECT AVG(p.Score * 1.0) AS Score FROM Posts AS p LEFT JOIN Votes AS v ON v.PostId = p.Id AND v.VoteTypeId = 8 WHERE p.PostTypeId = 1 AND v.CreationDate IS NULL
[ 26287, 15178, 329, 1729, 12, 33, 17705, 20396, 13, 46506, 35224, 7, 79, 13, 26595, 1635, 352, 13, 15, 8, 7054, 15178, 16034, 12043, 7054, 279, 12509, 9792, 32357, 1268, 39584, 7054, 410, 6177, 410, 13, 6307, 7390, 796, 279, 13, 7390, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26287, 15178, 329, 1729, 12, 33, 17705, 20396, 13, 46506, 35224, 7, 79, 13, 26595, 1635, 352, 13, 15, 8, 7054, 15178, 16034, 12043, 7054, 279, 12509, 9792, 32357, 1268, 39584, 7054, 410, 6177, 410, 13, 6307, 7390, 796, 279, 13, 7390, ...
What is the content when the package/option is qualsiasi and sky primafila 14 is the television service?
SELECT content FROM table_name_13 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 14"
[ 2061, 318, 262, 2695, 618, 262, 5301, 14, 18076, 318, 627, 874, 4448, 72, 290, 6766, 2684, 1878, 10102, 1478, 318, 262, 5581, 2139, 30, 46506, 2695, 16034, 3084, 62, 3672, 62, 1485, 33411, 5301, 62, 18076, 796, 366, 421, 874, 4448, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2695, 618, 262, 5301, 14, 18076, 318, 627, 874, 4448, 72, 290, 6766, 2684, 1878, 10102, 1478, 318, 262, 5581, 2139, 30, 46506, 2695, 16034, 3084, 62, 3672, 62, 1485, 33411, 5301, 62, 18076, 796, 366, 421, 874, 4448, ...
Who was the winning driver when Michael Schumacher had the pole and the fastest lap?
SELECT winning_driver FROM table_1137695_3 WHERE fastest_lap = "Michael Schumacher" AND pole_position = "Michael Schumacher"
[ 8241, 373, 262, 5442, 4639, 618, 3899, 3059, 388, 3493, 550, 262, 16825, 290, 262, 14162, 14779, 30, 46506, 5442, 62, 26230, 16034, 3084, 62, 1157, 2718, 37381, 62, 18, 33411, 14162, 62, 37796, 796, 366, 13256, 3059, 388, 3493, 1, 535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5442, 4639, 618, 3899, 3059, 388, 3493, 550, 262, 16825, 290, 262, 14162, 14779, 30, 46506, 5442, 62, 26230, 16034, 3084, 62, 1157, 2718, 37381, 62, 18, 33411, 14162, 62, 37796, 796, 366, 13256, 3059, 388, 3493, 1, 535...
give me the number of patients whose marital status is married and lab test chart time is 2165-06-23 22:30:00?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "MARRIED" AND lab.charttime = "2165-06-23 22:30:00"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 6405, 290, 2248, 1332, 8262, 640, 318, 362, 20986, 12, 3312, 12, 1954, 2534, 25, 1270, 25, 405, 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...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 6405, 290, 2248, 1332, 8262, 640, 318, 362, 20986, 12, 3312, 12, 1954, 2534, 25, 1270, 25, 405, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
Top 50 All Time Related Tags of Single Tag.
SELECT t1.TagName AS Tag, t2.TagName AS "Related Tag", COUNT(t2.TagName) AS "Count" FROM PostTags AS pt1 INNER JOIN Tags AS t1 ON pt1.TagId = t1.Id INNER JOIN PostTags AS pt2 ON pt1.PostId = pt2.PostId AND pt1.TagId != pt2.TagId INNER JOIN Tags AS t2 ON pt2.TagId = t2.Id INNER JOIN Posts AS A ON pt2.PostId = A.Id WHERE...
[ 9126, 2026, 1439, 3862, 19809, 44789, 286, 14206, 17467, 13, 46506, 256, 16, 13, 24835, 5376, 7054, 17467, 11, 256, 17, 13, 24835, 5376, 7054, 366, 9819, 17467, 1600, 327, 28270, 7, 83, 17, 13, 24835, 5376, 8, 7054, 366, 12332, 1, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2026, 1439, 3862, 19809, 44789, 286, 14206, 17467, 13, 46506, 256, 16, 13, 24835, 5376, 7054, 17467, 11, 256, 17, 13, 24835, 5376, 7054, 366, 9819, 17467, 1600, 327, 28270, 7, 83, 17, 13, 24835, 5376, 8, 7054, 366, 12332, 1, 1...
Bar graph to show total number of cloud cover from different date
SELECT date, SUM(cloud_cover) FROM weather
[ 10374, 4823, 284, 905, 2472, 1271, 286, 6279, 3002, 422, 1180, 3128, 46506, 3128, 11, 35683, 7, 17721, 62, 9631, 8, 16034, 6193 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 4823, 284, 905, 2472, 1271, 286, 6279, 3002, 422, 1180, 3128, 46506, 3128, 11, 35683, 7, 17721, 62, 9631, 8, 16034, 6193 ]
A bar chart about how many captains are in each rank?
SELECT Rank, COUNT(*) FROM captain GROUP BY Rank
[ 32, 2318, 8262, 546, 703, 867, 37551, 389, 287, 1123, 4279, 30, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 10654, 44441, 11050, 10916 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 2318, 8262, 546, 703, 867, 37551, 389, 287, 1123, 4279, 30, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 10654, 44441, 11050, 10916 ]
Return a histogram on what is average age of male for different job title?, and sort y axis in descending order.
SELECT job, AVG(age) FROM Person WHERE gender = 'male' GROUP BY job ORDER BY AVG(age) DESC
[ 13615, 257, 1554, 21857, 319, 644, 318, 2811, 2479, 286, 4257, 329, 1180, 1693, 3670, 21747, 290, 3297, 331, 16488, 287, 31491, 1502, 13, 46506, 1693, 11, 35224, 7, 496, 8, 16034, 7755, 33411, 5279, 796, 705, 22606, 6, 44441, 11050, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1554, 21857, 319, 644, 318, 2811, 2479, 286, 4257, 329, 1180, 1693, 3670, 21747, 290, 3297, 331, 16488, 287, 31491, 1502, 13, 46506, 1693, 11, 35224, 7, 496, 8, 16034, 7755, 33411, 5279, 796, 705, 22606, 6, 44441, 11050, 1...
What is the zone of the game played against Estonia?
SELECT "Zone" FROM table_56733 WHERE "Against" = 'estonia'
[ 2061, 318, 262, 6516, 286, 262, 983, 2826, 1028, 30912, 30, 46506, 366, 26961, 1, 16034, 3084, 62, 20, 3134, 2091, 33411, 366, 39276, 1, 796, 705, 395, 11339, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 6516, 286, 262, 983, 2826, 1028, 30912, 30, 46506, 366, 26961, 1, 16034, 3084, 62, 20, 3134, 2091, 33411, 366, 39276, 1, 796, 705, 395, 11339, 6 ]
how many patients whose gender is m and drug code is mido5?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "M" AND prescriptions.formulary_drug_cd = "MIDO5"
[ 4919, 867, 3871, 3025, 5279, 318, 285, 290, 2563, 2438, 318, 3095, 78, 20, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 5279, 318, 285, 290, 2563, 2438, 318, 3095, 78, 20, 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, ...
What's the title of the episode with a production code 136?
SELECT "Title" FROM table_17550 WHERE "Production code" = '136'
[ 2061, 338, 262, 3670, 286, 262, 4471, 351, 257, 3227, 2438, 21056, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 17430, 1120, 33411, 366, 35027, 2438, 1, 796, 705, 20809, 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, 338, 262, 3670, 286, 262, 4471, 351, 257, 3227, 2438, 21056, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 17430, 1120, 33411, 366, 35027, 2438, 1, 796, 705, 20809, 6 ]
what is the number of french speaking artist in the draw ?
SELECT COUNT("artist") FROM table_203_252 WHERE "language" = 'french'
[ 10919, 318, 262, 1271, 286, 48718, 5486, 6802, 287, 262, 3197, 5633, 46506, 327, 28270, 7203, 49016, 4943, 16034, 3084, 62, 22416, 62, 22800, 33411, 366, 16129, 1, 796, 705, 69, 3532, 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 ]
[ 10919, 318, 262, 1271, 286, 48718, 5486, 6802, 287, 262, 3197, 5633, 46506, 327, 28270, 7203, 49016, 4943, 16034, 3084, 62, 22416, 62, 22800, 33411, 366, 16129, 1, 796, 705, 69, 3532, 6 ]
provide the number of patients whose admission type is elective and lab test fluid is ascites?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.fluid = "Ascites"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
What is the id of every employee who has at least a salary of 100000?
SELECT eid FROM employee WHERE salary > 100000
[ 2061, 318, 262, 4686, 286, 790, 6538, 508, 468, 379, 1551, 257, 9588, 286, 1802, 830, 30, 46506, 304, 312, 16034, 6538, 33411, 9588, 1875, 1802, 830 ]
[ 1, 1, 1, 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, 4686, 286, 790, 6538, 508, 468, 379, 1551, 257, 9588, 286, 1802, 830, 30, 46506, 304, 312, 16034, 6538, 33411, 9588, 1875, 1802, 830 ]
How many tries for when the points against was 547?
SELECT tries_for FROM table_13564637_4 WHERE points_against = "547"
[ 2437, 867, 8404, 329, 618, 262, 2173, 1028, 373, 642, 2857, 30, 46506, 8404, 62, 1640, 16034, 3084, 62, 17059, 27720, 2718, 62, 19, 33411, 2173, 62, 32826, 796, 366, 20, 2857, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 8404, 329, 618, 262, 2173, 1028, 373, 642, 2857, 30, 46506, 8404, 62, 1640, 16034, 3084, 62, 17059, 27720, 2718, 62, 19, 33411, 2173, 62, 32826, 796, 366, 20, 2857, 1 ]
For the game in which P. Pierce (31) scored the most points, what was the final score?
SELECT score FROM table_name_93 WHERE high_points = "p. pierce (31)"
[ 1890, 262, 983, 287, 543, 350, 13, 23023, 357, 3132, 8, 7781, 262, 749, 2173, 11, 644, 373, 262, 2457, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 6052, 33411, 1029, 62, 13033, 796, 366, 79, 13, 279, 9798, 357, 3132, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 262, 983, 287, 543, 350, 13, 23023, 357, 3132, 8, 7781, 262, 749, 2173, 11, 644, 373, 262, 2457, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 6052, 33411, 1029, 62, 13033, 796, 366, 79, 13, 279, 9798, 357, 3132, 16725 ]
Name the least field goals for chantel hilliard
SELECT MIN("Field Goals") FROM table_25693 WHERE "Player" = 'Chantel Hilliard'
[ 5376, 262, 1551, 2214, 4661, 329, 33541, 417, 12788, 42425, 46506, 20625, 7203, 15878, 28510, 4943, 16034, 3084, 62, 1495, 48528, 33411, 366, 14140, 1, 796, 705, 1925, 415, 417, 3327, 42425, 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 ]
[ 5376, 262, 1551, 2214, 4661, 329, 33541, 417, 12788, 42425, 46506, 20625, 7203, 15878, 28510, 4943, 16034, 3084, 62, 1495, 48528, 33411, 366, 14140, 1, 796, 705, 1925, 415, 417, 3327, 42425, 6 ]
Round 1 of 70, and a Money ($) larger than 500,000 has the highest year?
SELECT MAX("Year") FROM table_69472 WHERE "Round 1" = '70' AND "Money ($)" > '500,000'
[ 22685, 352, 286, 4317, 11, 290, 257, 12911, 45491, 4025, 621, 5323, 11, 830, 468, 262, 4511, 614, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 3388, 37856, 33411, 366, 22685, 352, 1, 796, 705, 2154, 6, 5357, 366, 26788, 7198,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 22685, 352, 286, 4317, 11, 290, 257, 12911, 45491, 4025, 621, 5323, 11, 830, 468, 262, 4511, 614, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 3388, 37856, 33411, 366, 22685, 352, 1, 796, 705, 2154, 6, 5357, 366, 26788, 7198,...
List the range distroration for the ramsan-630
SELECT form_factor FROM table_27615520_1 WHERE product_name = "RamSan-630"
[ 8053, 262, 2837, 1233, 1472, 341, 329, 262, 374, 4105, 272, 12, 30005, 46506, 1296, 62, 31412, 16034, 3084, 62, 27988, 18742, 1238, 62, 16, 33411, 1720, 62, 3672, 796, 366, 33754, 15017, 12, 30005, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2837, 1233, 1472, 341, 329, 262, 374, 4105, 272, 12, 30005, 46506, 1296, 62, 31412, 16034, 3084, 62, 27988, 18742, 1238, 62, 16, 33411, 1720, 62, 3672, 796, 366, 33754, 15017, 12, 30005, 1 ]
What engine was in the lotus 44 f2 Chassis?
SELECT "Engine" FROM table_15720 WHERE "Chassis" = 'lotus 44 f2'
[ 2061, 3113, 373, 287, 262, 1256, 385, 5846, 277, 17, 609, 20297, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 18458, 1238, 33411, 366, 1925, 20297, 1, 796, 705, 26487, 385, 5846, 277, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3113, 373, 287, 262, 1256, 385, 5846, 277, 17, 609, 20297, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 18458, 1238, 33411, 366, 1925, 20297, 1, 796, 705, 26487, 385, 5846, 277, 17, 6 ]
Find the name of instructors who didn't teach any courses?
SELECT name FROM instructor WHERE NOT id IN (SELECT id FROM teaches)
[ 16742, 262, 1438, 286, 33667, 508, 1422, 470, 4545, 597, 10902, 30, 46506, 1438, 16034, 21187, 33411, 5626, 4686, 3268, 357, 46506, 4686, 16034, 17324, 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 ]
[ 16742, 262, 1438, 286, 33667, 508, 1422, 470, 4545, 597, 10902, 30, 46506, 1438, 16034, 21187, 33411, 5626, 4686, 3268, 357, 46506, 4686, 16034, 17324, 8 ]
How many opponents did the team play in week 13?
SELECT COUNT("Opponents") FROM table_20947 WHERE "Game" = '13'
[ 2437, 867, 7691, 750, 262, 1074, 711, 287, 1285, 1511, 30, 46506, 327, 28270, 7203, 27524, 3906, 4943, 16034, 3084, 62, 22567, 2857, 33411, 366, 8777, 1, 796, 705, 1485, 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 ]
[ 2437, 867, 7691, 750, 262, 1074, 711, 287, 1285, 1511, 30, 46506, 327, 28270, 7203, 27524, 3906, 4943, 16034, 3084, 62, 22567, 2857, 33411, 366, 8777, 1, 796, 705, 1485, 6 ]
Which couple participated in the Contemporary style of dance?
SELECT couple FROM table_name_27 WHERE style = "contemporary"
[ 13828, 3155, 14888, 287, 262, 38698, 3918, 286, 9280, 30, 46506, 3155, 16034, 3084, 62, 3672, 62, 1983, 33411, 3918, 796, 366, 3642, 33080, 1 ]
[ 1, 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, 3155, 14888, 287, 262, 38698, 3918, 286, 9280, 30, 46506, 3155, 16034, 3084, 62, 3672, 62, 1983, 33411, 3918, 796, 366, 3642, 33080, 1 ]
What area has a % Other of , and a % Muslim of 95%?
SELECT area FROM table_name_83 WHERE _percentage_other = "–" AND _percentage_muslim = "95%"
[ 2061, 1989, 468, 257, 4064, 3819, 286, 837, 290, 257, 4064, 3765, 286, 6957, 4, 30, 46506, 1989, 16034, 3084, 62, 3672, 62, 5999, 33411, 4808, 25067, 496, 62, 847, 796, 366, 1906, 1, 5357, 4808, 25067, 496, 62, 14664, 2475, 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, 1989, 468, 257, 4064, 3819, 286, 837, 290, 257, 4064, 3765, 286, 6957, 4, 30, 46506, 1989, 16034, 3084, 62, 3672, 62, 5999, 33411, 4808, 25067, 496, 62, 847, 796, 366, 1906, 1, 5357, 4808, 25067, 496, 62, 14664, 2475, 796, 366...
What Party is Member Alicia Hughes from?
SELECT "Party" FROM table_13374 WHERE "Position" = 'member' AND "Name" = 'alicia hughes'
[ 2061, 3615, 318, 10239, 39607, 19712, 422, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 1485, 31020, 33411, 366, 26545, 1, 796, 705, 19522, 6, 5357, 366, 5376, 1, 796, 705, 282, 33577, 16225, 956, 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, 3615, 318, 10239, 39607, 19712, 422, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 1485, 31020, 33411, 366, 26545, 1, 796, 705, 19522, 6, 5357, 366, 5376, 1, 796, 705, 282, 33577, 16225, 956, 6 ]
Who are the highest scoring answerers on closed posts?.
WITH ClosedPosts AS (SELECT Id, AnswerCount, ClosedDate FROM Posts WHERE NOT ClosedDate IS NULL AND AnswerCount > 0), UpvotedAnswers AS (SELECT Id, PostTypeId, Score, Answerer = (SELECT DisplayName FROM Users WHERE Id = OwnerUserId) FROM Posts WHERE PostTypeId = 1 AND Score > 0), ScoresOnClosedPosts AS (SELECT Score, A...
[ 8241, 389, 262, 4511, 9689, 2590, 19288, 319, 4838, 6851, 30, 13, 54, 10554, 30550, 21496, 7054, 357, 46506, 5121, 11, 23998, 12332, 11, 30550, 10430, 16034, 12043, 33411, 5626, 30550, 10430, 3180, 15697, 5357, 23998, 12332, 1875, 657, 82...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 262, 4511, 9689, 2590, 19288, 319, 4838, 6851, 30, 13, 54, 10554, 30550, 21496, 7054, 357, 46506, 5121, 11, 23998, 12332, 11, 30550, 10430, 16034, 12043, 33411, 5626, 30550, 10430, 3180, 15697, 5357, 23998, 12332, 1875, 657, 82...
Who danced the Cha-Cha-Cha on November 18, 2008?
SELECT pair FROM table_name_2 WHERE dance = "cha-cha-cha" AND date = "november 18, 2008"
[ 8241, 39480, 262, 20703, 12, 1925, 64, 12, 1925, 64, 319, 3389, 1248, 11, 3648, 30, 46506, 5166, 16034, 3084, 62, 3672, 62, 17, 33411, 9280, 796, 366, 11693, 12, 11693, 12, 11693, 1, 5357, 3128, 796, 366, 77, 3239, 1248, 11, 3648, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 39480, 262, 20703, 12, 1925, 64, 12, 1925, 64, 319, 3389, 1248, 11, 3648, 30, 46506, 5166, 16034, 3084, 62, 3672, 62, 17, 33411, 9280, 796, 366, 11693, 12, 11693, 12, 11693, 1, 5357, 3128, 796, 366, 77, 3239, 1248, 11, 3648, ...
what are the dates where democrat john kerry is 63% and poll source is rasmussen reports?
SELECT "Dates administered" FROM table_72804 WHERE "Democrat: John Kerry" = '63%' AND "Poll Source" = 'Rasmussen Reports'
[ 10919, 389, 262, 9667, 810, 43268, 45610, 479, 6996, 318, 8093, 4, 290, 3278, 2723, 318, 374, 8597, 35951, 3136, 30, 46506, 366, 35, 689, 17169, 1, 16034, 3084, 62, 4761, 36088, 33411, 366, 11522, 35128, 25, 1757, 15981, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 262, 9667, 810, 43268, 45610, 479, 6996, 318, 8093, 4, 290, 3278, 2723, 318, 374, 8597, 35951, 3136, 30, 46506, 366, 35, 689, 17169, 1, 16034, 3084, 62, 4761, 36088, 33411, 366, 11522, 35128, 25, 1757, 15981, 1, 796, 705, ...
Who is in class during 1995-96?
SELECT class_aAAAA FROM table_15315103_1 WHERE school_year = "1995-96"
[ 8241, 318, 287, 1398, 1141, 8735, 12, 4846, 30, 46506, 1398, 62, 64, 17922, 16034, 3084, 62, 21395, 1314, 15197, 62, 16, 33411, 1524, 62, 1941, 796, 366, 21908, 12, 4846, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 1398, 1141, 8735, 12, 4846, 30, 46506, 1398, 62, 64, 17922, 16034, 3084, 62, 21395, 1314, 15197, 62, 16, 33411, 1524, 62, 1941, 796, 366, 21908, 12, 4846, 1 ]
Give the dates of creation for documents that have both budget type codes 'GV' and 'SF'.
SELECT T1.document_date FROM documents AS T1 JOIN documents_with_expenses AS T2 ON T1.document_id = T2.document_id WHERE T2.budget_type_code = 'GV' INTERSECT SELECT T1.document_date FROM documents AS T1 JOIN documents_with_expenses AS T2 ON T1.document_id = T2.document_id WHERE T2.budget_type_code = 'SF'
[ 23318, 262, 9667, 286, 6282, 329, 4963, 326, 423, 1111, 4466, 2099, 12416, 705, 37094, 6, 290, 705, 20802, 4458, 46506, 309, 16, 13, 22897, 62, 4475, 16034, 4963, 7054, 309, 16, 32357, 1268, 4963, 62, 4480, 62, 11201, 4541, 7054, 309,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23318, 262, 9667, 286, 6282, 329, 4963, 326, 423, 1111, 4466, 2099, 12416, 705, 37094, 6, 290, 705, 20802, 4458, 46506, 309, 16, 13, 22897, 62, 4475, 16034, 4963, 7054, 309, 16, 32357, 1268, 4963, 62, 4480, 62, 11201, 4541, 7054, 309,...
Which Altitude (mslm) is the highest one that has an Area (km 2) smaller than 13.01, and a Population of 74536, and a Density (inhabitants/km 2) larger than 5869?
SELECT MAX("Altitude (mslm)") FROM table_75419 WHERE "Area (km 2 )" < '13.01' AND "Population" = '74536' AND "Density (inhabitants/km 2 )" > '5869'
[ 13828, 12344, 3984, 357, 907, 75, 76, 8, 318, 262, 4511, 530, 326, 468, 281, 9498, 357, 13276, 362, 8, 4833, 621, 1511, 13, 486, 11, 290, 257, 20133, 286, 767, 2231, 2623, 11, 290, 257, 360, 6377, 357, 259, 5976, 270, 1187, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 12344, 3984, 357, 907, 75, 76, 8, 318, 262, 4511, 530, 326, 468, 281, 9498, 357, 13276, 362, 8, 4833, 621, 1511, 13, 486, 11, 290, 257, 20133, 286, 767, 2231, 2623, 11, 290, 257, 360, 6377, 357, 259, 5976, 270, 1187, 14, ...
Most popular tag per site.
SELECT num.TagName AS Tag, ROW_NUMBER() OVER (ORDER BY rate.Rate DESC) AS Rank, rate.Rate AS Questions FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId GROUP BY TagName) AS rate INNER JOIN (SELECT COUNT(PostId) AS Num, TagName FROM Tags, PostTag...
[ 6943, 2968, 7621, 583, 2524, 13, 46506, 997, 13, 24835, 5376, 7054, 17467, 11, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 2494, 13, 32184, 22196, 34, 8, 7054, 10916, 11, 2494, 13, 32184, 7054, 20396, 16034, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6943, 2968, 7621, 583, 2524, 13, 46506, 997, 13, 24835, 5376, 7054, 17467, 11, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 2494, 13, 32184, 22196, 34, 8, 7054, 10916, 11, 2494, 13, 32184, 7054, 20396, 16034, 357, ...
january 15-16 when august 21-22 is august 22, 1979?
SELECT "January 15-16" FROM table_27590 WHERE "August 21-22" = 'August 22, 1979'
[ 13881, 2838, 1315, 12, 1433, 618, 16339, 436, 2310, 12, 1828, 318, 16339, 436, 2534, 11, 13521, 30, 46506, 366, 21339, 1315, 12, 1433, 1, 16034, 3084, 62, 1983, 36993, 33411, 366, 17908, 2310, 12, 1828, 1, 796, 705, 17908, 2534, 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 ]
[ 13881, 2838, 1315, 12, 1433, 618, 16339, 436, 2310, 12, 1828, 318, 16339, 436, 2534, 11, 13521, 30, 46506, 366, 21339, 1315, 12, 1433, 1, 16034, 3084, 62, 1983, 36993, 33411, 366, 17908, 2310, 12, 1828, 1, 796, 705, 17908, 2534, 11, ...
What is Born-Died, when Term End is 19 January 1943?
SELECT "Born-Died" FROM table_46082 WHERE "Term end" = '19 january 1943'
[ 2061, 318, 18889, 12, 35, 798, 11, 618, 35118, 5268, 318, 678, 3269, 21577, 30, 46506, 366, 28524, 12, 35, 798, 1, 16034, 3084, 62, 34716, 6469, 33411, 366, 40596, 886, 1, 796, 705, 1129, 42897, 2838, 21577, 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, 18889, 12, 35, 798, 11, 618, 35118, 5268, 318, 678, 3269, 21577, 30, 46506, 366, 28524, 12, 35, 798, 1, 16034, 3084, 62, 34716, 6469, 33411, 366, 40596, 886, 1, 796, 705, 1129, 42897, 2838, 21577, 6 ]
What is the pali word for phrag dog in tibetan?
SELECT "Pali" FROM table_61851 WHERE "Tibetan" = 'phrag dog'
[ 2061, 318, 262, 6340, 72, 1573, 329, 7607, 363, 3290, 287, 256, 571, 316, 272, 30, 46506, 366, 47, 7344, 1, 16034, 3084, 62, 47448, 4349, 33411, 366, 51, 571, 316, 272, 1, 796, 705, 746, 22562, 3290, 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, 6340, 72, 1573, 329, 7607, 363, 3290, 287, 256, 571, 316, 272, 30, 46506, 366, 47, 7344, 1, 16034, 3084, 62, 47448, 4349, 33411, 366, 51, 571, 316, 272, 1, 796, 705, 746, 22562, 3290, 6 ]
what is the highest points when position is higher than 6, lost is less than 12 and drawn is less than 1?
SELECT MAX("Points") FROM table_8630 WHERE "Position" > '6' AND "Lost" < '12' AND "Drawn" < '1'
[ 10919, 318, 262, 4511, 2173, 618, 2292, 318, 2440, 621, 718, 11, 2626, 318, 1342, 621, 1105, 290, 7428, 318, 1342, 621, 352, 30, 46506, 25882, 7203, 40710, 4943, 16034, 3084, 62, 4521, 1270, 33411, 366, 26545, 1, 1875, 705, 21, 6, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4511, 2173, 618, 2292, 318, 2440, 621, 718, 11, 2626, 318, 1342, 621, 1105, 290, 7428, 318, 1342, 621, 352, 30, 46506, 25882, 7203, 40710, 4943, 16034, 3084, 62, 4521, 1270, 33411, 366, 26545, 1, 1875, 705, 21, 6, 5...
Among all the claims, which claims have a claimed amount larger than the average? Please Bin date the claim was made into week day interval and count them to show a bar chart, and could you show in desc by the y axis?
SELECT Date_Claim_Made, COUNT(Date_Claim_Made) FROM Claims WHERE Amount_Claimed > (SELECT AVG(Amount_Claimed) FROM Claims) ORDER BY COUNT(Date_Claim_Made) DESC
[ 14311, 477, 262, 3667, 11, 543, 3667, 423, 257, 4752, 2033, 4025, 621, 262, 2811, 30, 4222, 20828, 3128, 262, 1624, 373, 925, 656, 1285, 1110, 16654, 290, 954, 606, 284, 905, 257, 2318, 8262, 11, 290, 714, 345, 905, 287, 1715, 416, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14311, 477, 262, 3667, 11, 543, 3667, 423, 257, 4752, 2033, 4025, 621, 262, 2811, 30, 4222, 20828, 3128, 262, 1624, 373, 925, 656, 1285, 1110, 16654, 290, 954, 606, 284, 905, 257, 2318, 8262, 11, 290, 714, 345, 905, 287, 1715, 416, ...
Name the total number of NGC number for sagittarius and diffuse nebula with declination of 02
SELECT COUNT(ngc_number) FROM table_name_86 WHERE constellation = "sagittarius" AND object_type = "diffuse nebula" AND declination___j2000__ = "°02′"
[ 5376, 262, 2472, 1271, 286, 399, 15916, 1271, 329, 45229, 715, 19897, 290, 42864, 45508, 4712, 351, 2377, 1883, 286, 7816, 46506, 327, 28270, 7, 782, 66, 62, 17618, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 38712, 796, 366, 82, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 399, 15916, 1271, 329, 45229, 715, 19897, 290, 42864, 45508, 4712, 351, 2377, 1883, 286, 7816, 46506, 327, 28270, 7, 782, 66, 62, 17618, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 38712, 796, 366, 82, 363, ...
what number of patients whose primary disease is hypoxia underwent the procedure titled suture bladder lacerat?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "HYPOXIA" AND procedures.short_title = "Suture bladder lacerat"
[ 10919, 1271, 286, 3871, 3025, 4165, 4369, 318, 5328, 1140, 544, 25289, 262, 8771, 11946, 264, 1832, 34918, 300, 11736, 265, 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...
[ 10919, 1271, 286, 3871, 3025, 4165, 4369, 318, 5328, 1140, 544, 25289, 262, 8771, 11946, 264, 1832, 34918, 300, 11736, 265, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
Name the authority for te akau with roll less than 254 and decile of 8
SELECT "Authority" FROM table_71181 WHERE "Roll" < '254' AND "Decile" = '8' AND "Area" = 'te akau'
[ 5376, 262, 4934, 329, 573, 47594, 559, 351, 4836, 1342, 621, 35360, 290, 875, 576, 286, 807, 46506, 366, 13838, 414, 1, 16034, 3084, 62, 22, 1157, 6659, 33411, 366, 26869, 1, 1279, 705, 24970, 6, 5357, 366, 10707, 576, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4934, 329, 573, 47594, 559, 351, 4836, 1342, 621, 35360, 290, 875, 576, 286, 807, 46506, 366, 13838, 414, 1, 16034, 3084, 62, 22, 1157, 6659, 33411, 366, 26869, 1, 1279, 705, 24970, 6, 5357, 366, 10707, 576, 1, 796, 705, ...
Please tell the salary of each hire date using a line chart, I want to list x-axis in ascending order.
SELECT HIRE_DATE, SALARY FROM employees ORDER BY HIRE_DATE
[ 5492, 1560, 262, 9588, 286, 1123, 11078, 3128, 1262, 257, 1627, 8262, 11, 314, 765, 284, 1351, 2124, 12, 22704, 287, 41988, 1502, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 42475, 13153, 16034, 4409, 38678, 11050, 36210, 2200, 62, 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 ]
[ 5492, 1560, 262, 9588, 286, 1123, 11078, 3128, 1262, 257, 1627, 8262, 11, 314, 765, 284, 1351, 2124, 12, 22704, 287, 41988, 1502, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 42475, 13153, 16034, 4409, 38678, 11050, 36210, 2200, 62, 35, ...
When November is 153 what is the March number?
SELECT "March 27-29" FROM table_27466 WHERE "November 3" = '153'
[ 2215, 3389, 318, 24652, 644, 318, 262, 2805, 1271, 30, 46506, 366, 16192, 2681, 12, 1959, 1, 16034, 3084, 62, 28857, 2791, 33411, 366, 21159, 513, 1, 796, 705, 21395, 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 ]
[ 2215, 3389, 318, 24652, 644, 318, 262, 2805, 1271, 30, 46506, 366, 16192, 2681, 12, 1959, 1, 16034, 3084, 62, 28857, 2791, 33411, 366, 21159, 513, 1, 796, 705, 21395, 6 ]
What is the Venue of the Competition with a Score of 2 0?
SELECT venue FROM table_name_89 WHERE score = "2–0"
[ 2061, 318, 262, 9932, 518, 286, 262, 27348, 351, 257, 15178, 286, 362, 657, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 4531, 33411, 4776, 796, 366, 17, 1906, 15, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9932, 518, 286, 262, 27348, 351, 257, 15178, 286, 362, 657, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 4531, 33411, 4776, 796, 366, 17, 1906, 15, 1 ]
what was the name of the drug prescribed for patient 004-64091 in the same day after having received a pulmonary artery catheter placement procedure on the current hospital visit?
SELECT t2.drugname FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-64091' AND patient.hospitaldi...
[ 10919, 373, 262, 1438, 286, 262, 2563, 14798, 329, 5827, 3571, 19, 12, 31102, 6420, 287, 262, 976, 1110, 706, 1719, 2722, 257, 45105, 37646, 3797, 43332, 13127, 8771, 319, 262, 1459, 4436, 3187, 30, 46506, 256, 17, 13, 30349, 3672, 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...
[ 10919, 373, 262, 1438, 286, 262, 2563, 14798, 329, 5827, 3571, 19, 12, 31102, 6420, 287, 262, 976, 1110, 706, 1719, 2722, 257, 45105, 37646, 3797, 43332, 13127, 8771, 319, 262, 1459, 4436, 3187, 30, 46506, 256, 17, 13, 30349, 3672, 16...
Which Tom Ridge* has a Poll source of research 2000, and an Arlen Specter* of 43%?
SELECT "Tom Ridge*" FROM table_76370 WHERE "Poll source" = 'research 2000' AND "Arlen Specter*" = '43%'
[ 13828, 4186, 20614, 9, 468, 257, 12868, 2723, 286, 2267, 4751, 11, 290, 281, 943, 11925, 13058, 263, 9, 286, 5946, 4, 30, 46506, 366, 13787, 20614, 9, 1, 16034, 3084, 62, 4304, 20167, 33411, 366, 39176, 2723, 1, 796, 705, 34033, 475...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4186, 20614, 9, 468, 257, 12868, 2723, 286, 2267, 4751, 11, 290, 281, 943, 11925, 13058, 263, 9, 286, 5946, 4, 30, 46506, 366, 13787, 20614, 9, 1, 16034, 3084, 62, 4304, 20167, 33411, 366, 39176, 2723, 1, 796, 705, 34033, 475...
What is the Frequency for Model Number c7 1.0?
SELECT "Frequency" FROM table_76817 WHERE "Model Number" = 'c7 1.0'
[ 2061, 318, 262, 31902, 329, 9104, 7913, 269, 22, 352, 13, 15, 30, 46506, 366, 37, 28707, 1, 16034, 3084, 62, 30610, 1558, 33411, 366, 17633, 7913, 1, 796, 705, 66, 22, 352, 13, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 31902, 329, 9104, 7913, 269, 22, 352, 13, 15, 30, 46506, 366, 37, 28707, 1, 16034, 3084, 62, 30610, 1558, 33411, 366, 17633, 7913, 1, 796, 705, 66, 22, 352, 13, 15, 6 ]
Display a pie chart for what is the average song rating for each language?
SELECT languages, AVG(rating) FROM song GROUP BY languages
[ 23114, 257, 2508, 8262, 329, 644, 318, 262, 2811, 3496, 7955, 329, 1123, 3303, 30, 46506, 8950, 11, 35224, 7, 8821, 8, 16034, 3496, 44441, 11050, 8950 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23114, 257, 2508, 8262, 329, 644, 318, 262, 2811, 3496, 7955, 329, 1123, 3303, 30, 46506, 8950, 11, 35224, 7, 8821, 8, 16034, 3496, 44441, 11050, 8950 ]
which prescription drug does the patient with patient id 3284 take?
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.subject_id = "3284"
[ 4758, 15077, 2563, 857, 262, 5827, 351, 5827, 4686, 513, 30336, 1011, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 32796, 62, 312, 796, 366, 18, 30336, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 15077, 2563, 857, 262, 5827, 351, 5827, 4686, 513, 30336, 1011, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 32796, 62, 312, 796, 366, 18, 30336, 1 ]
Which away team had a Score of 2 0?
SELECT away_team FROM table_name_53 WHERE score = "2–0"
[ 13828, 1497, 1074, 550, 257, 15178, 286, 362, 657, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 4310, 33411, 4776, 796, 366, 17, 1906, 15, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1497, 1074, 550, 257, 15178, 286, 362, 657, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 4310, 33411, 4776, 796, 366, 17, 1906, 15, 1 ]
What percentage of votes does the shareholder with 78.19% of capital have?
SELECT "% of votes" FROM table_23792 WHERE "% of capital" = '78.19'
[ 2061, 5873, 286, 5690, 857, 262, 29378, 351, 8699, 13, 1129, 4, 286, 3139, 423, 30, 46506, 36521, 286, 5690, 1, 16034, 3084, 62, 1954, 48156, 33411, 36521, 286, 3139, 1, 796, 705, 3695, 13, 1129, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5873, 286, 5690, 857, 262, 29378, 351, 8699, 13, 1129, 4, 286, 3139, 423, 30, 46506, 36521, 286, 5690, 1, 16034, 3084, 62, 1954, 48156, 33411, 36521, 286, 3139, 1, 796, 705, 3695, 13, 1129, 6 ]
what is the date of vacancy when the manner of departure is contract terminated, the position in table is 23rd and the date of appointment is 31 december 2008?
SELECT date_of_vacancy FROM table_name_4 WHERE manner_of_departure = "contract terminated" AND position_in_table = "23rd" AND date_of_appointment = "31 december 2008"
[ 10919, 318, 262, 3128, 286, 39836, 618, 262, 5642, 286, 12928, 318, 2775, 23083, 11, 262, 2292, 287, 3084, 318, 2242, 4372, 290, 262, 3128, 286, 12557, 318, 3261, 390, 3273, 3648, 30, 46506, 3128, 62, 1659, 62, 85, 330, 3883, 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, 3128, 286, 39836, 618, 262, 5642, 286, 12928, 318, 2775, 23083, 11, 262, 2292, 287, 3084, 318, 2242, 4372, 290, 262, 3128, 286, 12557, 318, 3261, 390, 3273, 3648, 30, 46506, 3128, 62, 1659, 62, 85, 330, 3883, 16034, ...
how many patients whose diagnoses short title is acute kidney failure nos and drug route is tp?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Acute kidney failure NOS" AND prescriptions.route = "TP"
[ 4919, 867, 3871, 3025, 40567, 1790, 3670, 318, 14352, 21919, 5287, 43630, 290, 2563, 6339, 318, 256, 79, 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...
[ 4919, 867, 3871, 3025, 40567, 1790, 3670, 318, 14352, 21919, 5287, 43630, 290, 2563, 6339, 318, 256, 79, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, ...
Who was the trainer when the jockey was Luke Nolen?
SELECT "Trainer" FROM table_3161 WHERE "Jockey" = 'Luke Nolen'
[ 8241, 373, 262, 21997, 618, 262, 474, 8337, 373, 11336, 399, 8622, 30, 46506, 366, 2898, 10613, 1, 16034, 3084, 62, 18, 25948, 33411, 366, 41, 8337, 1, 796, 705, 30730, 399, 8622, 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 ]
[ 8241, 373, 262, 21997, 618, 262, 474, 8337, 373, 11336, 399, 8622, 30, 46506, 366, 2898, 10613, 1, 16034, 3084, 62, 18, 25948, 33411, 366, 41, 8337, 1, 796, 705, 30730, 399, 8622, 6 ]
andi langenhan and johannes ludwig came in a total of how many seconds behind first place ?
SELECT SUM("behind") FROM table_204_862 WHERE "athlete" IN ('andi langenhan', 'johannes ludwig')
[ 26800, 42392, 268, 7637, 290, 474, 1219, 1236, 274, 300, 463, 28033, 1625, 287, 257, 2472, 286, 703, 867, 4201, 2157, 717, 1295, 5633, 46506, 35683, 7203, 42200, 4943, 16034, 3084, 62, 18638, 62, 4521, 17, 33411, 366, 776, 5807, 1, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26800, 42392, 268, 7637, 290, 474, 1219, 1236, 274, 300, 463, 28033, 1625, 287, 257, 2472, 286, 703, 867, 4201, 2157, 717, 1295, 5633, 46506, 35683, 7203, 42200, 4943, 16034, 3084, 62, 18638, 62, 4521, 17, 33411, 366, 776, 5807, 1, 32...
Do you know if DOC 848 has morning classes ?
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'DOC' AND course.number = 848 AND semester.semester = 'WN' AND semester.semester_id = course_offe...
[ 5211, 345, 760, 611, 37760, 807, 2780, 468, 3329, 6097, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1279, 705, 1065, 25, 405, 25, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5211, 345, 760, 611, 37760, 807, 2780, 468, 3329, 6097, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1279, 705, 1065, 25, 405, 25, 4...
what is subject name and date of birth of subject id 2560?
SELECT demographic.name, demographic.dob FROM demographic WHERE demographic.subject_id = "2560"
[ 10919, 318, 2426, 1438, 290, 3128, 286, 4082, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 3672, 11, 16728, 13, 67, 672, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2426, 1438, 290, 3128, 286, 4082, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 3672, 11, 16728, 13, 67, 672, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
what is the number of patients who are taking base type drug prescription and have diagnoses icd9 code 41031?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "41031" AND prescriptions.drug_type = "BASE"
[ 10919, 318, 262, 1271, 286, 3871, 508, 389, 2263, 2779, 2099, 2563, 15077, 290, 423, 40567, 14158, 67, 24, 2438, 32921, 3132, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 323...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 389, 2263, 2779, 2099, 2563, 15077, 290, 423, 40567, 14158, 67, 24, 2438, 32921, 3132, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 323...
Find the total revenue for each manufacturer Plot them as bar chart, and show by the x axis from high to low.
SELECT Name, SUM(Revenue) FROM Manufacturers GROUP BY Name ORDER BY Name DESC
[ 16742, 262, 2472, 6426, 329, 1123, 11554, 28114, 606, 355, 2318, 8262, 11, 290, 905, 416, 262, 2124, 16488, 422, 1029, 284, 1877, 13, 46506, 6530, 11, 35683, 7, 3041, 4080, 8, 16034, 17858, 17496, 44441, 11050, 6530, 38678, 11050, 6530,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 2472, 6426, 329, 1123, 11554, 28114, 606, 355, 2318, 8262, 11, 290, 905, 416, 262, 2124, 16488, 422, 1029, 284, 1877, 13, 46506, 6530, 11, 35683, 7, 3041, 4080, 8, 16034, 17858, 17496, 44441, 11050, 6530, 38678, 11050, 6530,...
give the least number of times an episode was shown from 1997-1998
SELECT MIN("No. in season") FROM table_16385
[ 26535, 262, 1551, 1271, 286, 1661, 281, 4471, 373, 3402, 422, 8309, 12, 21113, 46506, 20625, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 1433, 27203 ]
[ 1, 1, 1, 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, 262, 1551, 1271, 286, 1661, 281, 4471, 373, 3402, 422, 8309, 12, 21113, 46506, 20625, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 1433, 27203 ]
What is the average February that has 56 as the game?
SELECT AVG(february) FROM table_name_77 WHERE game = 56
[ 2061, 318, 262, 2811, 3945, 326, 468, 7265, 355, 262, 983, 30, 46506, 35224, 7, 69, 1765, 3728, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 983, 796, 7265 ]
[ 1, 1, 1, 1, 1, 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, 3945, 326, 468, 7265, 355, 262, 983, 30, 46506, 35224, 7, 69, 1765, 3728, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 983, 796, 7265 ]
Which mountain range includes Mount Hubbard?
SELECT "Mountain Range" FROM table_71991 WHERE "Mountain Peak" = 'mount hubbard'
[ 13828, 8598, 2837, 3407, 5628, 34342, 30, 46506, 366, 44, 18635, 13667, 1, 16034, 3084, 62, 22, 24529, 33411, 366, 44, 18635, 23974, 1, 796, 705, 14948, 12575, 23024, 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 ]
[ 13828, 8598, 2837, 3407, 5628, 34342, 30, 46506, 366, 44, 18635, 13667, 1, 16034, 3084, 62, 22, 24529, 33411, 366, 44, 18635, 23974, 1, 796, 705, 14948, 12575, 23024, 6 ]
What is the resolution of the camera that has 6726 x 5040 pixels and a model of afi 7?
SELECT "Resolution" FROM table_76482 WHERE "Active Pixels" = '6726 x 5040' AND "Model" = 'afi 7'
[ 2061, 318, 262, 6323, 286, 262, 4676, 326, 468, 8275, 2075, 2124, 2026, 1821, 17848, 290, 257, 2746, 286, 6580, 72, 767, 30, 46506, 366, 4965, 2122, 1, 16034, 3084, 62, 22, 2414, 6469, 33411, 366, 13739, 350, 14810, 1, 796, 705, 313...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6323, 286, 262, 4676, 326, 468, 8275, 2075, 2124, 2026, 1821, 17848, 290, 257, 2746, 286, 6580, 72, 767, 30, 46506, 366, 4965, 2122, 1, 16034, 3084, 62, 22, 2414, 6469, 33411, 366, 13739, 350, 14810, 1, 796, 705, 313...
what is drug route of drug name dexmedetomidine?
SELECT prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Dexmedetomidine"
[ 10919, 318, 2563, 6339, 286, 2563, 1438, 36017, 1150, 316, 296, 39422, 30, 46506, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 48875, 1150, 316, 296, 39422, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2563, 6339, 286, 2563, 1438, 36017, 1150, 316, 296, 39422, 30, 46506, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 48875, 1150, 316, 296, 39422, 1 ]
What is the average round for players from california?
SELECT AVG("Round") FROM table_54569 WHERE "College" = 'california'
[ 2061, 318, 262, 2811, 2835, 329, 1938, 422, 2386, 361, 3317, 30, 46506, 35224, 7203, 22685, 4943, 16034, 3084, 62, 45326, 3388, 33411, 366, 38951, 1, 796, 705, 9948, 361, 3317, 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, 2811, 2835, 329, 1938, 422, 2386, 361, 3317, 30, 46506, 35224, 7203, 22685, 4943, 16034, 3084, 62, 45326, 3388, 33411, 366, 38951, 1, 796, 705, 9948, 361, 3317, 6 ]
Among patients born before the year 2047, how many of them had a lab test for cerebrospinal fluid (csf)?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2047" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 14311, 3871, 4642, 878, 262, 614, 1160, 2857, 11, 703, 867, 286, 606, 550, 257, 2248, 1332, 329, 6736, 7957, 2777, 1292, 11711, 357, 6359, 69, 19427, 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, 1...
[ 14311, 3871, 4642, 878, 262, 614, 1160, 2857, 11, 703, 867, 286, 606, 550, 257, 2248, 1332, 329, 6736, 7957, 2777, 1292, 11711, 357, 6359, 69, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 1...
What was the total distance (in miles) of the championship where the best conditioned horse was Freedom?
SELECT "Distance (miles)" FROM table_30028 WHERE "Best-Conditioned Horse" = 'Freedom'
[ 2061, 373, 262, 2472, 5253, 357, 259, 4608, 8, 286, 262, 12184, 810, 262, 1266, 31964, 8223, 373, 10204, 30, 46506, 366, 45767, 357, 76, 2915, 16725, 16034, 3084, 62, 6200, 2078, 33411, 366, 13014, 12, 48362, 276, 18455, 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 ]
[ 2061, 373, 262, 2472, 5253, 357, 259, 4608, 8, 286, 262, 12184, 810, 262, 1266, 31964, 8223, 373, 10204, 30, 46506, 366, 45767, 357, 76, 2915, 16725, 16034, 3084, 62, 6200, 2078, 33411, 366, 13014, 12, 48362, 276, 18455, 1, 796, 705, ...
What runner-up has 1925 as the year?
SELECT "Runner-up" FROM table_60917 WHERE "Year" = '1925'
[ 2061, 17490, 12, 929, 468, 36864, 355, 262, 614, 30, 46506, 366, 49493, 12, 929, 1, 16034, 3084, 62, 31751, 1558, 33411, 366, 17688, 1, 796, 705, 1129, 1495, 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, 17490, 12, 929, 468, 36864, 355, 262, 614, 30, 46506, 366, 49493, 12, 929, 1, 16034, 3084, 62, 31751, 1558, 33411, 366, 17688, 1, 796, 705, 1129, 1495, 6 ]