instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What type of school is Cordoba University?
SELECT type FROM table_2076608_3 WHERE school = "Cordoba University"
[ 2061, 2099, 286, 1524, 318, 21119, 19981, 2059, 30, 46506, 2099, 16034, 3084, 62, 1238, 4304, 28688, 62, 18, 33411, 1524, 796, 366, 34, 585, 19981, 2059, 1 ]
[ 1, 1, 1, 1, 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, 2099, 286, 1524, 318, 21119, 19981, 2059, 30, 46506, 2099, 16034, 3084, 62, 1238, 4304, 28688, 62, 18, 33411, 1524, 796, 366, 34, 585, 19981, 2059, 1 ]
What is the title of the episode with a production code of K1504?
SELECT title FROM table_name_75 WHERE production_code = "k1504"
[ 2061, 318, 262, 3670, 286, 262, 4471, 351, 257, 3227, 2438, 286, 509, 8628, 19, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 2425, 33411, 3227, 62, 8189, 796, 366, 74, 8628, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3670, 286, 262, 4471, 351, 257, 3227, 2438, 286, 509, 8628, 19, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 2425, 33411, 3227, 62, 8189, 796, 366, 74, 8628, 19, 1 ]
what is the HAAT of devils lake
SELECT haat FROM table_name_94 WHERE city_of_license = "devils lake"
[ 10919, 318, 262, 14558, 1404, 286, 42466, 13546, 46506, 387, 265, 16034, 3084, 62, 3672, 62, 5824, 33411, 1748, 62, 1659, 62, 43085, 796, 366, 7959, 4487, 13546, 1 ]
[ 1, 1, 1, 1, 1, 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, 14558, 1404, 286, 42466, 13546, 46506, 387, 265, 16034, 3084, 62, 3672, 62, 5824, 33411, 1748, 62, 1659, 62, 43085, 796, 366, 7959, 4487, 13546, 1 ]
count the number of patients with drug type additive who have been diagnosed with insomnia, unspecified.
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 = "Insomnia, unspecified" AND prescriptions.drug_type = "ADDITIVE"
[ 9127, 262, 1271, 286, 3871, 351, 2563, 2099, 38298, 508, 423, 587, 14641, 351, 47104, 11, 29547, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 2563, 2099, 38298, 508, 423, 587, 14641, 351, 47104, 11, 29547, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, ...
how many patients have been diagnosed with dvt - spontaneous within the same month after having received a ssri administration procedure since 2 years ago?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'ssri administration' AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(), '-2 year')) AS t1 JOI...
[ 4919, 867, 3871, 423, 587, 14641, 351, 288, 36540, 532, 25319, 1626, 262, 976, 1227, 706, 1719, 2722, 257, 37786, 380, 3662, 8771, 1201, 362, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 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, 3871, 423, 587, 14641, 351, 288, 36540, 532, 25319, 1626, 262, 976, 1227, 706, 1719, 2722, 257, 37786, 380, 3662, 8771, 1201, 362, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 31...
which UA flights go through DENVER
SELECT DISTINCT flight.flight_id FROM airport_service, city, flight, flight_stop WHERE city.city_code = airport_service.city_code AND city.city_name = 'DENVER' AND flight_stop.stop_airport = airport_service.airport_code AND flight.airline_code = 'UA' AND flight.flight_id = flight_stop.flight_id
[ 4758, 46164, 13956, 467, 832, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 11, 5474, 62, 11338, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 46164, 13956, 467, 832, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 11, 5474, 62, 11338, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205...
do you have flights from ST. PETERSBURG to TORONTO on monday
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'TORONTO' AND date_day.day_number = 21 AND date_day.month_number = 2 AND d...
[ 4598, 345, 423, 13956, 422, 3563, 13, 32043, 4877, 38926, 38, 284, 40691, 1340, 10468, 319, 285, 3204, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4598, 345, 423, 13956, 422, 3563, 13, 32043, 4877, 38926, 38, 284, 40691, 1340, 10468, 319, 285, 3204, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9...
When segment b is dining room tables what is segment d?
SELECT "Segment D" FROM table_1194 WHERE "Segment B" = 'Dining Room Tables'
[ 2215, 10618, 275, 318, 17423, 2119, 8893, 644, 318, 10618, 288, 30, 46506, 366, 41030, 434, 360, 1, 16034, 3084, 62, 16315, 19, 33411, 366, 41030, 434, 347, 1, 796, 705, 35, 3191, 10096, 33220, 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 ]
[ 2215, 10618, 275, 318, 17423, 2119, 8893, 644, 318, 10618, 288, 30, 46506, 366, 41030, 434, 360, 1, 16034, 3084, 62, 16315, 19, 33411, 366, 41030, 434, 347, 1, 796, 705, 35, 3191, 10096, 33220, 6 ]
give me the number of patients whose admission type is urgent and procedure icd9 code is 8968?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.icd9_code = "8968"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 18039, 290, 8771, 14158, 67, 24, 2438, 318, 9919, 3104, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 90...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 18039, 290, 8771, 14158, 67, 24, 2438, 318, 9919, 3104, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 90...
What is the seat of the county that has a density of 14.1?
SELECT seat_of_rcm FROM table_214920_1 WHERE density__pop_per_km2_ = "14.1"
[ 2061, 318, 262, 5852, 286, 262, 7968, 326, 468, 257, 12109, 286, 1478, 13, 16, 30, 46506, 5852, 62, 1659, 62, 6015, 76, 16034, 3084, 62, 17, 19442, 1238, 62, 16, 33411, 12109, 834, 12924, 62, 525, 62, 13276, 17, 62, 796, 366, 1415...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5852, 286, 262, 7968, 326, 468, 257, 12109, 286, 1478, 13, 16, 30, 46506, 5852, 62, 1659, 62, 6015, 76, 16034, 3084, 62, 17, 19442, 1238, 62, 16, 33411, 12109, 834, 12924, 62, 525, 62, 13276, 17, 62, 796, 366, 1415...
What is the fewest losses associated with more than 13 points and fewer than 8 games?
SELECT MIN(lost) FROM table_name_25 WHERE points > 13 AND games < 8
[ 2061, 318, 262, 1178, 395, 9089, 3917, 351, 517, 621, 1511, 2173, 290, 7380, 621, 807, 1830, 30, 46506, 20625, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 1495, 33411, 2173, 1875, 1511, 5357, 1830, 1279, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1178, 395, 9089, 3917, 351, 517, 621, 1511, 2173, 290, 7380, 621, 807, 1830, 30, 46506, 20625, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 1495, 33411, 2173, 1875, 1511, 5357, 1830, 1279, 807 ]
What is the nationality of the journalist with the largest number of years working?
SELECT Nationality FROM journalist ORDER BY Years_working DESC LIMIT 1
[ 2061, 318, 262, 29835, 286, 262, 10099, 351, 262, 4387, 1271, 286, 812, 1762, 30, 46506, 2351, 414, 16034, 10099, 38678, 11050, 13212, 62, 16090, 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 ]
[ 2061, 318, 262, 29835, 286, 262, 10099, 351, 262, 4387, 1271, 286, 812, 1762, 30, 46506, 2351, 414, 16034, 10099, 38678, 11050, 13212, 62, 16090, 22196, 34, 27564, 2043, 352 ]
What Pitch is located at Isle of Man?
SELECT "Pitch" FROM table_78004 WHERE "Location" = 'isle of man'
[ 2061, 33517, 318, 5140, 379, 26378, 286, 1869, 30, 46506, 366, 47, 2007, 1, 16034, 3084, 62, 3695, 22914, 33411, 366, 14749, 1, 796, 705, 20919, 286, 582, 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, 33517, 318, 5140, 379, 26378, 286, 1869, 30, 46506, 366, 47, 2007, 1, 16034, 3084, 62, 3695, 22914, 33411, 366, 14749, 1, 796, 705, 20919, 286, 582, 6 ]
Name who wrote the episode directed by arthur albert
SELECT written_by FROM table_17356042_1 WHERE directed_by = "Arthur Albert"
[ 5376, 508, 2630, 262, 4471, 7924, 416, 610, 11098, 435, 4835, 46506, 3194, 62, 1525, 16034, 3084, 62, 1558, 2327, 1899, 3682, 62, 16, 33411, 7924, 62, 1525, 796, 366, 29874, 9966, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 2630, 262, 4471, 7924, 416, 610, 11098, 435, 4835, 46506, 3194, 62, 1525, 16034, 3084, 62, 1558, 2327, 1899, 3682, 62, 16, 33411, 7924, 62, 1525, 796, 366, 29874, 9966, 1 ]
Find the name and id of the top 3 expensive rooms.
SELECT RoomId, roomName FROM Rooms ORDER BY basePrice DESC LIMIT 3
[ 16742, 262, 1438, 290, 4686, 286, 262, 1353, 513, 5789, 9519, 13, 46506, 10096, 7390, 11, 2119, 5376, 16034, 42043, 38678, 11050, 2779, 18124, 22196, 34, 27564, 2043, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1438, 290, 4686, 286, 262, 1353, 513, 5789, 9519, 13, 46506, 10096, 7390, 11, 2119, 5376, 16034, 42043, 38678, 11050, 2779, 18124, 22196, 34, 27564, 2043, 513 ]
what is average age of patients whose death status is 0 and primary disease is newborn?
SELECT AVG(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "NEWBORN"
[ 10919, 318, 2811, 2479, 286, 3871, 3025, 1918, 3722, 318, 657, 290, 4165, 4369, 318, 23856, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 15, 1, 5357, 16728, 13, 47356, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 2479, 286, 3871, 3025, 1918, 3722, 318, 657, 290, 4165, 4369, 318, 23856, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 15, 1, 5357, 16728, 13, 47356, ...
Compare the average of maximum score of wines each year, bin the year into the weekday interval and draw a bar chart.
SELECT Year, AVG(MAX(Score)) FROM wine
[ 41488, 262, 2811, 286, 5415, 4776, 286, 30680, 1123, 614, 11, 9874, 262, 614, 656, 262, 28269, 16654, 290, 3197, 257, 2318, 8262, 13, 46506, 6280, 11, 35224, 7, 22921, 7, 26595, 4008, 16034, 8237 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 41488, 262, 2811, 286, 5415, 4776, 286, 30680, 1123, 614, 11, 9874, 262, 614, 656, 262, 28269, 16654, 290, 3197, 257, 2318, 8262, 13, 46506, 6280, 11, 35224, 7, 22921, 7, 26595, 4008, 16034, 8237 ]
Which patients have lora2i?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "LORA2I"
[ 13828, 3871, 423, 300, 5799, 17, 72, 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, 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 ]
[ 13828, 3871, 423, 300, 5799, 17, 72, 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, 62, 31...
Which rounds were held on August 9?
SELECT "Rnd" FROM table_16286 WHERE "Date" = 'August 9'
[ 13828, 9196, 547, 2714, 319, 2932, 860, 30, 46506, 366, 49, 358, 1, 16034, 3084, 62, 1433, 27033, 33411, 366, 10430, 1, 796, 705, 17908, 860, 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 ]
[ 13828, 9196, 547, 2714, 319, 2932, 860, 30, 46506, 366, 49, 358, 1, 16034, 3084, 62, 1433, 27033, 33411, 366, 10430, 1, 796, 705, 17908, 860, 6 ]
WHAT IS THE TOTAL WITH A TO PAR OF 10?
SELECT MAX("Total") FROM table_61988 WHERE "To par" = '10'
[ 32971, 3180, 3336, 36247, 13315, 317, 5390, 29463, 3963, 838, 30, 46506, 25882, 7203, 14957, 4943, 16034, 3084, 62, 21, 26709, 33411, 366, 2514, 1582, 1, 796, 705, 940, 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 ]
[ 32971, 3180, 3336, 36247, 13315, 317, 5390, 29463, 3963, 838, 30, 46506, 25882, 7203, 14957, 4943, 16034, 3084, 62, 21, 26709, 33411, 366, 2514, 1582, 1, 796, 705, 940, 6 ]
how many patients whose primary disease is bladder cancer/sda and procedure short title is percu endosc gastrostomy?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "BLADDER CANCER/SDA" AND procedures.short_title = "Percu endosc gastrostomy"
[ 4919, 867, 3871, 3025, 4165, 4369, 318, 34918, 4890, 14, 82, 6814, 290, 8771, 1790, 3670, 318, 583, 27399, 886, 17500, 21956, 23341, 9145, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 4165, 4369, 318, 34918, 4890, 14, 82, 6814, 290, 8771, 1790, 3670, 318, 583, 27399, 886, 17500, 21956, 23341, 9145, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 326...
How many total rounds did Damon Hill come in First Place?
SELECT COUNT("Round") FROM table_185 WHERE "Winning Driver" = 'Damon Hill'
[ 2437, 867, 2472, 9196, 750, 33572, 3327, 1282, 287, 3274, 8474, 30, 46506, 327, 28270, 7203, 22685, 4943, 16034, 3084, 62, 21652, 33411, 366, 16643, 768, 12434, 1, 796, 705, 14550, 261, 3327, 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 ]
[ 2437, 867, 2472, 9196, 750, 33572, 3327, 1282, 287, 3274, 8474, 30, 46506, 327, 28270, 7203, 22685, 4943, 16034, 3084, 62, 21652, 33411, 366, 16643, 768, 12434, 1, 796, 705, 14550, 261, 3327, 6 ]
What is the population in millions when the adjusted GDP is 492 billion?
SELECT population__millions_ FROM table_1610496_3 WHERE gdp_adjusted__$_billions_ = "492"
[ 2061, 318, 262, 3265, 287, 5242, 618, 262, 12328, 12396, 318, 5125, 17, 2997, 30, 46506, 3265, 834, 17805, 507, 62, 16034, 3084, 62, 1433, 940, 37747, 62, 18, 33411, 308, 26059, 62, 29117, 834, 3, 62, 35546, 507, 62, 796, 366, 40256...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3265, 287, 5242, 618, 262, 12328, 12396, 318, 5125, 17, 2997, 30, 46506, 3265, 834, 17805, 507, 62, 16034, 3084, 62, 1433, 940, 37747, 62, 18, 33411, 308, 26059, 62, 29117, 834, 3, 62, 35546, 507, 62, 796, 366, 40256...
Next semester who is teaching RCCORE 102 ?
SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN course ON course.course_id = course_offering.course_id INNER JOIN semester...
[ 10019, 24878, 508, 318, 7743, 371, 4093, 6965, 15143, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 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...
[ 10019, 24878, 508, 318, 7743, 371, 4093, 6965, 15143, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, ...
Who was the judge for the state SD?
SELECT "Judge" FROM table_78746 WHERE "State" = 'sd'
[ 8241, 373, 262, 5052, 329, 262, 1181, 9834, 30, 46506, 366, 29511, 1, 16034, 3084, 62, 41019, 3510, 33411, 366, 9012, 1, 796, 705, 21282, 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 ]
[ 8241, 373, 262, 5052, 329, 262, 1181, 9834, 30, 46506, 366, 29511, 1, 16034, 3084, 62, 41019, 3510, 33411, 366, 9012, 1, 796, 705, 21282, 6 ]
How many players are from each country Visualize by bar chart, I want to order in desc by the Y-axis.
SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name ORDER BY COUNT(*) DESC
[ 2437, 867, 1938, 389, 422, 1123, 1499, 15612, 1096, 416, 2318, 8262, 11, 314, 765, 284, 1502, 287, 1715, 416, 262, 575, 12, 22704, 13, 46506, 12946, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 1499, 7054, 309, 16, 32357, 1268, 2872, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 422, 1123, 1499, 15612, 1096, 416, 2318, 8262, 11, 314, 765, 284, 1502, 287, 1715, 416, 262, 575, 12, 22704, 13, 46506, 12946, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 1499, 7054, 309, 16, 32357, 1268, 2872, ...
count the number of patients whose age is less than 55 and procedure long title is venous catheterization, not elsewhere classified?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "55" AND procedures.long_title = "Venous catheterization, not elsewhere classified"
[ 9127, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 5996, 290, 8771, 890, 3670, 318, 8710, 516, 3797, 43332, 1634, 11, 407, 8057, 10090, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 318, 1342, 621, 5996, 290, 8771, 890, 3670, 318, 8710, 516, 3797, 43332, 1634, 11, 407, 8057, 10090, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
What is the highest SHTS of Kasey Keller
SELECT MAX("SHTS") FROM table_40773 WHERE "Goalkeeper" = 'kasey keller'
[ 2061, 318, 262, 4511, 6006, 4694, 286, 509, 589, 88, 35999, 46506, 25882, 7203, 9693, 4694, 4943, 16034, 3084, 62, 1821, 46871, 33411, 366, 49045, 13884, 1, 796, 705, 74, 589, 88, 885, 6051, 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, 318, 262, 4511, 6006, 4694, 286, 509, 589, 88, 35999, 46506, 25882, 7203, 9693, 4694, 4943, 16034, 3084, 62, 1821, 46871, 33411, 366, 49045, 13884, 1, 796, 705, 74, 589, 88, 885, 6051, 6 ]
Who was in external affairs when Jakki Doyle was in Human Resources & Operations?
SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle"
[ 8241, 373, 287, 7097, 9674, 618, 25845, 4106, 31233, 373, 287, 5524, 13864, 1222, 16205, 30, 46506, 7097, 62, 2001, 3468, 16034, 3084, 62, 3672, 62, 6659, 33411, 1692, 62, 37540, 62, 1222, 4808, 3575, 602, 796, 366, 73, 461, 4106, 466...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 7097, 9674, 618, 25845, 4106, 31233, 373, 287, 5524, 13864, 1222, 16205, 30, 46506, 7097, 62, 2001, 3468, 16034, 3084, 62, 3672, 62, 6659, 33411, 1692, 62, 37540, 62, 1222, 4808, 3575, 602, 796, 366, 73, 461, 4106, 466...
give me the number of patients whose primary disease is pituitary bleed?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "PITUITARY BLEED"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 6028, 5013, 560, 30182, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 47, 2043, 52, 2043, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6028, 5013, 560, 30182, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 47, 2043, 52, 2043, ...
Which Result has a Score of 2 0, and a Competition of 2006 fifa world cup qualification?
SELECT "Result" FROM table_10044 WHERE "Score" = '2 – 0' AND "Competition" = '2006 fifa world cup qualification'
[ 13828, 25414, 468, 257, 15178, 286, 362, 657, 11, 290, 257, 27348, 286, 4793, 5515, 64, 995, 6508, 28587, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3064, 2598, 33411, 366, 26595, 1, 796, 705, 17, 784, 657, 6, 5357, 366, 7293, 15620...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25414, 468, 257, 15178, 286, 362, 657, 11, 290, 257, 27348, 286, 4793, 5515, 64, 995, 6508, 28587, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3064, 2598, 33411, 366, 26595, 1, 796, 705, 17, 784, 657, 6, 5357, 366, 7293, 15620...
To fulfill the MDE requirement , what 's the easiest class I can take ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_cou...
[ 2514, 14658, 262, 337, 7206, 9079, 837, 644, 705, 82, 262, 16638, 1398, 314, 460, 1011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 143...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2514, 14658, 262, 337, 7206, 9079, 837, 644, 705, 82, 262, 16638, 1398, 314, 460, 1011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 143...
What is the Old Galician for cantaste in Portuguese?
SELECT "Old Galician (13th\u201315th c.)" FROM table_28817 WHERE "Portuguese" = 'cantaste'
[ 2061, 318, 262, 5706, 5027, 6749, 329, 18548, 4594, 287, 21813, 30, 46506, 366, 19620, 5027, 6749, 357, 1485, 400, 59, 84, 6390, 1314, 400, 269, 2014, 1, 16034, 3084, 62, 25270, 1558, 33411, 366, 13924, 1018, 20506, 1, 796, 705, 66, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5706, 5027, 6749, 329, 18548, 4594, 287, 21813, 30, 46506, 366, 19620, 5027, 6749, 357, 1485, 400, 59, 84, 6390, 1314, 400, 269, 2014, 1, 16034, 3084, 62, 25270, 1558, 33411, 366, 13924, 1018, 20506, 1, 796, 705, 66, ...
What city had a rank before 3 and primary carrier JetBlue Airways?
SELECT city FROM table_name_78 WHERE rank < 3 AND carriers = "jetblue airways"
[ 2061, 1748, 550, 257, 4279, 878, 513, 290, 4165, 11920, 19013, 14573, 40020, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 3695, 33411, 4279, 1279, 513, 5357, 16651, 796, 366, 31173, 17585, 1633, 1322, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1748, 550, 257, 4279, 878, 513, 290, 4165, 11920, 19013, 14573, 40020, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 3695, 33411, 4279, 1279, 513, 5357, 16651, 796, 366, 31173, 17585, 1633, 1322, 1 ]
Give the number of patients born before the year 2023 whose procedure short title is cardiopulm resuscita nos.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2023" AND procedures.short_title = "Cardiopulm resuscita NOS"
[ 23318, 262, 1271, 286, 3871, 4642, 878, 262, 614, 1160, 1954, 3025, 8771, 1790, 3670, 318, 2657, 14922, 377, 76, 48636, 5350, 43630, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 214...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3871, 4642, 878, 262, 614, 1160, 1954, 3025, 8771, 1790, 3670, 318, 2657, 14922, 377, 76, 48636, 5350, 43630, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 214...
How do you say Friday in Polish?
SELECT friday_fifth_day FROM table_1277350_5 WHERE day__see_irregularities__ = "Polish"
[ 2437, 466, 345, 910, 3217, 287, 15945, 30, 46506, 1216, 2567, 62, 43556, 62, 820, 16034, 3084, 62, 1065, 3324, 14877, 62, 20, 33411, 1110, 834, 3826, 62, 343, 16338, 871, 834, 796, 366, 8017, 680, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 466, 345, 910, 3217, 287, 15945, 30, 46506, 1216, 2567, 62, 43556, 62, 820, 16034, 3084, 62, 1065, 3324, 14877, 62, 20, 33411, 1110, 834, 3826, 62, 343, 16338, 871, 834, 796, 366, 8017, 680, 1 ]
Who were the candidates in the election that featured incumbent don edwards?
SELECT candidates FROM table_1341738_6 WHERE incumbent = "Don Edwards"
[ 8241, 547, 262, 5871, 287, 262, 3071, 326, 8096, 23526, 836, 1225, 2017, 30, 46506, 5871, 16034, 3084, 62, 19880, 1558, 2548, 62, 21, 33411, 23526, 796, 366, 3987, 17381, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 547, 262, 5871, 287, 262, 3071, 326, 8096, 23526, 836, 1225, 2017, 30, 46506, 5871, 16034, 3084, 62, 19880, 1558, 2548, 62, 21, 33411, 23526, 796, 366, 3987, 17381, 1 ]
what was the last time patient 5866 was prescribed senna and syringe (0.9% sodium chloride) until 19 months ago, at the same time?
SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'senna' AND admissions.subject_id = 5866 AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-19 month')) AS t1 JOIN ...
[ 10919, 373, 262, 938, 640, 5827, 7618, 2791, 373, 14798, 264, 13713, 290, 827, 38229, 357, 15, 13, 24, 4, 21072, 44921, 8, 1566, 678, 1933, 2084, 11, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 46506, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 640, 5827, 7618, 2791, 373, 14798, 264, 13713, 290, 827, 38229, 357, 15, 13, 24, 4, 21072, 44921, 8, 1566, 678, 1933, 2084, 11, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 46506, 25349, ...
what city is MCO
SELECT DISTINCT city.city_code FROM airport, airport_service, city WHERE airport.airport_code = 'MCO' AND airport.airport_code = airport_service.airport_code AND city.city_code = airport_service.city_code
[ 10919, 1748, 318, 13122, 14058, 16779, 360, 8808, 1268, 4177, 1748, 13, 19205, 62, 8189, 16034, 9003, 11, 9003, 62, 15271, 11, 1748, 33411, 9003, 13, 958, 634, 62, 8189, 796, 705, 44, 8220, 6, 5357, 9003, 13, 958, 634, 62, 8189, 796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 1748, 318, 13122, 14058, 16779, 360, 8808, 1268, 4177, 1748, 13, 19205, 62, 8189, 16034, 9003, 11, 9003, 62, 15271, 11, 1748, 33411, 9003, 13, 958, 634, 62, 8189, 796, 705, 44, 8220, 6, 5357, 9003, 13, 958, 634, 62, 8189, 796...
in what year did the team achieve the same place as 2010/11 ?
SELECT "season" FROM table_203_783 WHERE "season" <> '2010/11' AND "place" = (SELECT "place" FROM table_203_783 WHERE "season" = '2010/11')
[ 259, 644, 614, 750, 262, 1074, 4620, 262, 976, 1295, 355, 3050, 14, 1157, 5633, 46506, 366, 6230, 1, 16034, 3084, 62, 22416, 62, 50165, 33411, 366, 6230, 1, 1279, 29, 705, 10333, 14, 1157, 6, 5357, 366, 5372, 1, 796, 357, 46506, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 644, 614, 750, 262, 1074, 4620, 262, 976, 1295, 355, 3050, 14, 1157, 5633, 46506, 366, 6230, 1, 16034, 3084, 62, 22416, 62, 50165, 33411, 366, 6230, 1, 1279, 29, 705, 10333, 14, 1157, 6, 5357, 366, 5372, 1, 796, 357, 46506, 3...
How many people were in attendance for the game week 15?
SELECT COUNT(attendance) FROM table_name_9 WHERE week = 15
[ 2437, 867, 661, 547, 287, 14858, 329, 262, 983, 1285, 1315, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 1285, 796, 1315 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 547, 287, 14858, 329, 262, 983, 1285, 1315, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 1285, 796, 1315 ]
What are the names of products produced by both Creative Labs and Sony?
SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.manufacturer = T2.code WHERE T2.name = 'Creative Labs' INTERSECT SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.manufacturer = T2.code WHERE T2.name = 'Sony'
[ 2061, 389, 262, 3891, 286, 3186, 4635, 416, 1111, 17404, 23500, 290, 10184, 30, 46506, 309, 16, 13, 3672, 16034, 3186, 7054, 309, 16, 32357, 1268, 11372, 7054, 309, 17, 6177, 309, 16, 13, 48119, 15051, 796, 309, 17, 13, 8189, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 3891, 286, 3186, 4635, 416, 1111, 17404, 23500, 290, 10184, 30, 46506, 309, 16, 13, 3672, 16034, 3186, 7054, 309, 16, 32357, 1268, 11372, 7054, 309, 17, 6177, 309, 16, 13, 48119, 15051, 796, 309, 17, 13, 8189, 33411, ...
What is the lowest ERP W of w223bp?
SELECT MIN(erp_w) FROM table_name_6 WHERE call_sign = "w223bp"
[ 2061, 318, 262, 9016, 13793, 47, 370, 286, 266, 22047, 46583, 30, 46506, 20625, 7, 263, 79, 62, 86, 8, 16034, 3084, 62, 3672, 62, 21, 33411, 869, 62, 12683, 796, 366, 86, 22047, 46583, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 13793, 47, 370, 286, 266, 22047, 46583, 30, 46506, 20625, 7, 263, 79, 62, 86, 8, 16034, 3084, 62, 3672, 62, 21, 33411, 869, 62, 12683, 796, 366, 86, 22047, 46583, 1 ]
Show the location code of the country 'Canada'.
SELECT location_code FROM ref_locations WHERE location_name = "Canada"
[ 15307, 262, 4067, 2438, 286, 262, 1499, 705, 17940, 4458, 46506, 4067, 62, 8189, 16034, 1006, 62, 17946, 602, 33411, 4067, 62, 3672, 796, 366, 17940, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 4067, 2438, 286, 262, 1499, 705, 17940, 4458, 46506, 4067, 62, 8189, 16034, 1006, 62, 17946, 602, 33411, 4067, 62, 3672, 796, 366, 17940, 1 ]
Waffles and Pancakes with Maple Syrup.
SELECT COUNT(*) FROM Users
[ 54, 48501, 290, 49957, 1124, 351, 21249, 1632, 12618, 13, 46506, 327, 28270, 7, 28104, 16034, 18987 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 54, 48501, 290, 49957, 1124, 351, 21249, 1632, 12618, 13, 46506, 327, 28270, 7, 28104, 16034, 18987 ]
How many points differ from 134?
SELECT "Points difference" FROM table_23886 WHERE "Points for" = '134'
[ 2437, 867, 2173, 13238, 422, 22352, 30, 46506, 366, 40710, 3580, 1, 16034, 3084, 62, 1954, 44980, 33411, 366, 40710, 329, 1, 796, 705, 19880, 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 ]
[ 2437, 867, 2173, 13238, 422, 22352, 30, 46506, 366, 40710, 3580, 1, 16034, 3084, 62, 1954, 44980, 33411, 366, 40710, 329, 1, 796, 705, 19880, 6 ]
What position is played by the player from the Chicago Cubs?
SELECT position FROM table_name_8 WHERE team = "chicago cubs"
[ 2061, 2292, 318, 2826, 416, 262, 2137, 422, 262, 4842, 21562, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 23, 33411, 1074, 796, 366, 354, 4549, 13617, 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 ]
[ 2061, 2292, 318, 2826, 416, 262, 2137, 422, 262, 4842, 21562, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 23, 33411, 1074, 796, 366, 354, 4549, 13617, 82, 1 ]
What was the maximum value that Christer Tornell gave when Trine Dehli Cleve gave a 9?
SELECT MAX(christer_tornell) FROM table_28677723_8 WHERE trine_dehli_cleve = 9
[ 2061, 373, 262, 5415, 1988, 326, 49369, 1694, 31940, 695, 2921, 618, 833, 500, 1024, 71, 4528, 3779, 303, 2921, 257, 860, 30, 46506, 25882, 7, 354, 81, 1694, 62, 45910, 695, 8, 16034, 3084, 62, 2078, 3134, 3324, 1954, 62, 23, 33411,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 5415, 1988, 326, 49369, 1694, 31940, 695, 2921, 618, 833, 500, 1024, 71, 4528, 3779, 303, 2921, 257, 860, 30, 46506, 25882, 7, 354, 81, 1694, 62, 45910, 695, 8, 16034, 3084, 62, 2078, 3134, 3324, 1954, 62, 23, 33411,...
Which club was founded in 1962?
SELECT club FROM table_name_25 WHERE founded = 1962
[ 13828, 3430, 373, 9393, 287, 20033, 30, 46506, 3430, 16034, 3084, 62, 3672, 62, 1495, 33411, 9393, 796, 20033 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3430, 373, 9393, 287, 20033, 30, 46506, 3430, 16034, 3084, 62, 3672, 62, 1495, 33411, 9393, 796, 20033 ]
how many games were played after 2009 ?
SELECT COUNT(*) FROM table_204_282 WHERE "date" > 2009
[ 4919, 867, 1830, 547, 2826, 706, 3717, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 32568, 33411, 366, 4475, 1, 1875, 3717 ]
[ 1, 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, 1830, 547, 2826, 706, 3717, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 32568, 33411, 366, 4475, 1, 1875, 3717 ]
what were the top four frequent input events in the previous year?
SELECT t1.celllabel FROM (SELECT intakeoutput.celllabel, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM intakeoutput WHERE intakeoutput.cellpath LIKE '%intake%' AND DATETIME(intakeoutput.intakeoutputtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY intakeoutput.celllabel) AS ...
[ 10919, 547, 262, 1353, 1440, 10792, 5128, 2995, 287, 262, 2180, 614, 30, 46506, 256, 16, 13, 3846, 18242, 16034, 357, 46506, 10337, 22915, 13, 3846, 18242, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1353, 1440, 10792, 5128, 2995, 287, 262, 2180, 614, 30, 46506, 256, 16, 13, 3846, 18242, 16034, 357, 46506, 10337, 22915, 13, 3846, 18242, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270,...
bmi 20 _ 30 kg / m2
SELECT * FROM table_train_256 WHERE body_mass_index_bmi >= 20 AND body_mass_index_bmi <= 30
[ 65, 11632, 1160, 4808, 1542, 14211, 1220, 285, 17, 46506, 1635, 16034, 3084, 62, 27432, 62, 11645, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 18189, 1160, 5357, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 19841, 1542 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 65, 11632, 1160, 4808, 1542, 14211, 1220, 285, 17, 46506, 1635, 16034, 3084, 62, 27432, 62, 11645, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 18189, 1160, 5357, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 19841, 1542 ]
Number of days where Max rep has been achieved.
WITH Vals AS (SELECT v.CreationDate, SUM(CASE WHEN vt.Id = 1 THEN 15 WHEN p.PostTypeId = 2 AND vt.Id = 2 THEN 10 WHEN p.PostTypeId = 1 AND vt.Id = 2 THEN 5 WHEN vt.Id = 3 THEN -2 ELSE 0 END) AS DailyRep FROM Posts AS p INNER JOIN Votes AS v ON p.Id = v.PostId INNER JOIN VoteTypes AS vt ON v.VoteTypeId = vt.Id WHERE Own...
[ 15057, 286, 1528, 810, 5436, 1128, 468, 587, 8793, 13, 54, 10554, 569, 874, 7054, 357, 46506, 410, 13, 12443, 341, 10430, 11, 35683, 7, 34, 11159, 42099, 410, 83, 13, 7390, 796, 352, 42243, 1315, 42099, 279, 13, 6307, 6030, 7390, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15057, 286, 1528, 810, 5436, 1128, 468, 587, 8793, 13, 54, 10554, 569, 874, 7054, 357, 46506, 410, 13, 12443, 341, 10430, 11, 35683, 7, 34, 11159, 42099, 410, 83, 13, 7390, 796, 352, 42243, 1315, 42099, 279, 13, 6307, 6030, 7390, 79...
which Authority has a coed school with a decile greater than 4, with a 150 roll?
SELECT authority FROM table_name_49 WHERE gender = "coed" AND decile > 4 AND roll = "150"
[ 4758, 11416, 468, 257, 763, 276, 1524, 351, 257, 875, 576, 3744, 621, 604, 11, 351, 257, 6640, 4836, 30, 46506, 4934, 16034, 3084, 62, 3672, 62, 2920, 33411, 5279, 796, 366, 1073, 276, 1, 5357, 875, 576, 1875, 604, 5357, 4836, 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 ]
[ 4758, 11416, 468, 257, 763, 276, 1524, 351, 257, 875, 576, 3744, 621, 604, 11, 351, 257, 6640, 4836, 30, 46506, 4934, 16034, 3084, 62, 3672, 62, 2920, 33411, 5279, 796, 366, 1073, 276, 1, 5357, 875, 576, 1875, 604, 5357, 4836, 796, ...
What are all the different start station names for a trip that lasted less than 100?
SELECT DISTINCT start_station_name FROM trip WHERE duration < 100
[ 2061, 389, 477, 262, 1180, 923, 4429, 3891, 329, 257, 5296, 326, 15436, 1342, 621, 1802, 30, 46506, 360, 8808, 1268, 4177, 923, 62, 17529, 62, 3672, 16034, 5296, 33411, 9478, 1279, 1802 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 477, 262, 1180, 923, 4429, 3891, 329, 257, 5296, 326, 15436, 1342, 621, 1802, 30, 46506, 360, 8808, 1268, 4177, 923, 62, 17529, 62, 3672, 16034, 5296, 33411, 9478, 1279, 1802 ]
What was the result for incumbent Joseph McKenna who was first elected in 1884?
SELECT "Result" FROM table_37701 WHERE "First elected" = '1884' AND "Incumbent" = 'joseph mckenna'
[ 2061, 373, 262, 1255, 329, 23526, 7212, 48403, 508, 373, 717, 7018, 287, 1248, 5705, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 26514, 486, 33411, 366, 5962, 7018, 1, 796, 705, 1507, 5705, 6, 5357, 366, 25517, 2178, 298, 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 ]
[ 2061, 373, 262, 1255, 329, 23526, 7212, 48403, 508, 373, 717, 7018, 287, 1248, 5705, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 26514, 486, 33411, 366, 5962, 7018, 1, 796, 705, 1507, 5705, 6, 5357, 366, 25517, 2178, 298, 1, 796, 705...
Which Country has a Score of 69-74=143?
SELECT country FROM table_name_66 WHERE score = 69 - 74 = 143
[ 13828, 12946, 468, 257, 15178, 286, 8644, 12, 4524, 28, 21139, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2791, 33411, 4776, 796, 8644, 532, 8915, 796, 24356 ]
[ 1, 1, 1, 1, 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, 12946, 468, 257, 15178, 286, 8644, 12, 4524, 28, 21139, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2791, 33411, 4776, 796, 8644, 532, 8915, 796, 24356 ]
Which Seasons have Entries larger than 52, and Poles of 33?
SELECT "Seasons" FROM table_36718 WHERE "Entries" > '52' AND "Poles" = '33'
[ 13828, 33159, 423, 7232, 1678, 4025, 621, 6740, 11, 290, 45631, 286, 4747, 30, 46506, 366, 4653, 2812, 1, 16034, 3084, 62, 27824, 1507, 33411, 366, 14539, 1678, 1, 1875, 705, 4309, 6, 5357, 366, 47, 4316, 1, 796, 705, 2091, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 33159, 423, 7232, 1678, 4025, 621, 6740, 11, 290, 45631, 286, 4747, 30, 46506, 366, 4653, 2812, 1, 16034, 3084, 62, 27824, 1507, 33411, 366, 14539, 1678, 1, 1875, 705, 4309, 6, 5357, 366, 47, 4316, 1, 796, 705, 2091, 6 ]
what is the released when the series is sorted 6y/ai?
SELECT released FROM table_name_68 WHERE series_sorted = "6y/ai"
[ 10919, 318, 262, 2716, 618, 262, 2168, 318, 23243, 718, 88, 14, 1872, 30, 46506, 2716, 16034, 3084, 62, 3672, 62, 3104, 33411, 2168, 62, 82, 9741, 796, 366, 21, 88, 14, 1872, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2716, 618, 262, 2168, 318, 23243, 718, 88, 14, 1872, 30, 46506, 2716, 16034, 3084, 62, 3672, 62, 3104, 33411, 2168, 62, 82, 9741, 796, 366, 21, 88, 14, 1872, 1 ]
A bar chart about the number of faults for different fault status of all the faults recoreded in the logs, list in desc by the X-axis please.
SELECT fault_status, COUNT(fault_status) FROM Fault_Log AS T1 JOIN Fault_Log_Parts AS T2 ON T1.fault_log_entry_id = T2.fault_log_entry_id GROUP BY fault_status ORDER BY fault_status DESC
[ 32, 2318, 8262, 546, 262, 1271, 286, 31025, 329, 1180, 8046, 3722, 286, 477, 262, 31025, 664, 1850, 276, 287, 262, 17259, 11, 1351, 287, 1715, 416, 262, 1395, 12, 22704, 3387, 13, 46506, 8046, 62, 13376, 11, 327, 28270, 7, 69, 1721,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 1271, 286, 31025, 329, 1180, 8046, 3722, 286, 477, 262, 31025, 664, 1850, 276, 287, 262, 17259, 11, 1351, 287, 1715, 416, 262, 1395, 12, 22704, 3387, 13, 46506, 8046, 62, 13376, 11, 327, 28270, 7, 69, 1721,...
How many acres does the area of Lissagroom with Bandon as its poor law union cover?
SELECT area__acres__ FROM table_30120633_1 WHERE poor_law_union = "Bandon" AND townland = "Lissagroom"
[ 2437, 867, 16051, 857, 262, 1989, 286, 406, 747, 363, 3823, 351, 347, 5063, 355, 663, 3595, 1099, 6441, 3002, 30, 46506, 1989, 834, 330, 411, 834, 16034, 3084, 62, 18938, 22136, 2091, 62, 16, 33411, 3595, 62, 6270, 62, 24592, 796, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 16051, 857, 262, 1989, 286, 406, 747, 363, 3823, 351, 347, 5063, 355, 663, 3595, 1099, 6441, 3002, 30, 46506, 1989, 834, 330, 411, 834, 16034, 3084, 62, 18938, 22136, 2091, 62, 16, 33411, 3595, 62, 6270, 62, 24592, 796, 3...
specify the primary disease and icd9 code of patient id 2110
SELECT demographic.diagnosis, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "2110"
[ 16684, 1958, 262, 4165, 4369, 290, 14158, 67, 24, 2438, 286, 5827, 4686, 2310, 940, 46506, 16728, 13, 47356, 5958, 11, 9021, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16684, 1958, 262, 4165, 4369, 290, 14158, 67, 24, 2438, 286, 5827, 4686, 2310, 940, 46506, 16728, 13, 47356, 5958, 11, 9021, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9...
For those employees who did not have any job in the past, show me about the distribution of hire_date and the average of department_id bin hire_date by weekday in a bar chart, sort in ascending by the total number.
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY AVG(DEPARTMENT_ID)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 5011, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 287, 257, 2318, 8262, 11, 3297, 287, 41988, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 5011, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 287, 257, 2318, 8262, 11, 3297, 287, 41988, ...
what is the number of patients whose item id is 51457 and lab test abnormal status is delta?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51457" AND lab.flag = "delta"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2378, 4686, 318, 642, 1415, 3553, 290, 2248, 1332, 18801, 3722, 318, 25979, 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...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2378, 4686, 318, 642, 1415, 3553, 290, 2248, 1332, 18801, 3722, 318, 25979, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
Name the 1999 with 2011 of 2r
SELECT "1999" FROM table_35662 WHERE "2011" = '2r'
[ 5376, 262, 7358, 351, 2813, 286, 362, 81, 46506, 366, 18946, 1, 16034, 3084, 62, 2327, 39380, 33411, 366, 9804, 1, 796, 705, 17, 81, 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 ]
[ 5376, 262, 7358, 351, 2813, 286, 362, 81, 46506, 366, 18946, 1, 16034, 3084, 62, 2327, 39380, 33411, 366, 9804, 1, 796, 705, 17, 81, 6 ]
how many times was the points 18?
SELECT COUNT(place) FROM table_name_69 WHERE points = 18
[ 4919, 867, 1661, 373, 262, 2173, 1248, 30, 46506, 327, 28270, 7, 5372, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 2173, 796, 1248 ]
[ 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, 373, 262, 2173, 1248, 30, 46506, 327, 28270, 7, 5372, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 2173, 796, 1248 ]
On what days of the week are the SWC 300 classes ?
SELECT DISTINCT course_offering.friday, course_offering.monday, course_offering.saturday, course_offering.sunday, course_offering.thursday, course_offering.tuesday, course_offering.wednesday FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_i...
[ 2202, 644, 1528, 286, 262, 1285, 389, 262, 12672, 34, 5867, 6097, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 8310, 2567, 11, 1781, 62, 2364, 1586, 13, 76, 3204, 11, 1781, 62, 2364, 1586, 13, 82, 3658, 11, 1781, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2202, 644, 1528, 286, 262, 1285, 389, 262, 12672, 34, 5867, 6097, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 8310, 2567, 11, 1781, 62, 2364, 1586, 13, 76, 3204, 11, 1781, 62, 2364, 1586, 13, 82, 3658, 11, 1781, ...
What is the km2 area with more than 8,328 people with a total of 121.14 km2?
SELECT AVG("Area (km\u00b2)") FROM table_55277 WHERE "Population (inh.)" > '8,328' AND "Total (km\u00b2)" > '121.14'
[ 2061, 318, 262, 10571, 17, 1989, 351, 517, 621, 807, 11, 34256, 661, 351, 257, 2472, 286, 20416, 13, 1415, 10571, 17, 30, 46506, 35224, 7203, 30547, 357, 13276, 59, 84, 405, 65, 17, 8, 4943, 16034, 3084, 62, 2816, 27019, 33411, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 10571, 17, 1989, 351, 517, 621, 807, 11, 34256, 661, 351, 257, 2472, 286, 20416, 13, 1415, 10571, 17, 30, 46506, 35224, 7203, 30547, 357, 13276, 59, 84, 405, 65, 17, 8, 4943, 16034, 3084, 62, 2816, 27019, 33411, 366,...
Which bumping/blocking has a yes for both the ankle tap and steal/intercept ball?
SELECT bumping_blocking FROM table_name_49 WHERE ankle_tap = "yes" AND steal_intercept_ball = "yes"
[ 13828, 13852, 278, 14, 41938, 468, 257, 3763, 329, 1111, 262, 19847, 9814, 290, 8711, 14, 3849, 984, 2613, 30, 46506, 13852, 278, 62, 41938, 16034, 3084, 62, 3672, 62, 2920, 33411, 19847, 62, 44335, 796, 366, 8505, 1, 5357, 8711, 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 ]
[ 13828, 13852, 278, 14, 41938, 468, 257, 3763, 329, 1111, 262, 19847, 9814, 290, 8711, 14, 3849, 984, 2613, 30, 46506, 13852, 278, 62, 41938, 16034, 3084, 62, 3672, 62, 2920, 33411, 19847, 62, 44335, 796, 366, 8505, 1, 5357, 8711, 62, ...
Name the number in season for 4300062
SELECT MAX(no_in_season) FROM table_21165255_1 WHERE production_code = 4300062
[ 5376, 262, 1271, 287, 1622, 329, 5946, 830, 5237, 46506, 25882, 7, 3919, 62, 259, 62, 6230, 8, 16034, 3084, 62, 21895, 2996, 13381, 62, 16, 33411, 3227, 62, 8189, 796, 5946, 830, 5237 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 287, 1622, 329, 5946, 830, 5237, 46506, 25882, 7, 3919, 62, 259, 62, 6230, 8, 16034, 3084, 62, 21895, 2996, 13381, 62, 16, 33411, 3227, 62, 8189, 796, 5946, 830, 5237 ]
In what year was the score 7 5, 7 6 (7 5)?
SELECT year FROM table_2516282_3 WHERE score = "7–5, 7–6 (7–5)"
[ 818, 644, 614, 373, 262, 4776, 767, 642, 11, 767, 718, 357, 22, 642, 19427, 46506, 614, 16034, 3084, 62, 1495, 1433, 32568, 62, 18, 33411, 4776, 796, 366, 22, 1906, 20, 11, 767, 1906, 21, 357, 22, 1906, 20, 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 ]
[ 818, 644, 614, 373, 262, 4776, 767, 642, 11, 767, 718, 357, 22, 642, 19427, 46506, 614, 16034, 3084, 62, 1495, 1433, 32568, 62, 18, 33411, 4776, 796, 366, 22, 1906, 20, 11, 767, 1906, 21, 357, 22, 1906, 20, 16725 ]
What is the 2001 statistic for the product that had 2,360,000 tonnes in 2002?
SELECT 2001 FROM table_name_91 WHERE 2002 = "2,360,000 tonnes"
[ 2061, 318, 262, 5878, 24696, 329, 262, 1720, 326, 550, 362, 11, 15277, 11, 830, 26840, 287, 6244, 30, 46506, 5878, 16034, 3084, 62, 3672, 62, 6420, 33411, 6244, 796, 366, 17, 11, 15277, 11, 830, 26840, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5878, 24696, 329, 262, 1720, 326, 550, 362, 11, 15277, 11, 830, 26840, 287, 6244, 30, 46506, 5878, 16034, 3084, 62, 3672, 62, 6420, 33411, 6244, 796, 366, 17, 11, 15277, 11, 830, 26840, 1 ]
give me the number of patients whose procedure short title is contr cerebr arteriogram?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.short_title = "Contr cerebr arteriogram"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 8771, 1790, 3670, 318, 3445, 6736, 1671, 30675, 72, 21857, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8771, 1790, 3670, 318, 3445, 6736, 1671, 30675, 72, 21857, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, ...
What is the Visitor of the game on December 25?
SELECT "Visitor" FROM table_47168 WHERE "Date" = 'december 25'
[ 2061, 318, 262, 6911, 2072, 286, 262, 983, 319, 3426, 1679, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 2857, 14656, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 1679, 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, 6911, 2072, 286, 262, 983, 319, 3426, 1679, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 2857, 14656, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 1679, 6 ]
When did the episode 'you gonna do that the rest of your life?' air?
SELECT "Original air date" FROM table_73785 WHERE "Title" = 'You Gonna Do That the Rest of Your Life?'
[ 2215, 750, 262, 4471, 705, 5832, 8066, 466, 326, 262, 1334, 286, 534, 1204, 8348, 1633, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 22, 2718, 5332, 33411, 366, 19160, 1, 796, 705, 1639, 402, 6415, 2141, 1320, 262, 8324, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 262, 4471, 705, 5832, 8066, 466, 326, 262, 1334, 286, 534, 1204, 8348, 1633, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 22, 2718, 5332, 33411, 366, 19160, 1, 796, 705, 1639, 402, 6415, 2141, 1320, 262, 8324, 2...
What was the date of airing for episodes with ratings under 10.1 and production number of 96 5-09?
SELECT "Original airing" FROM table_40565 WHERE "Rating" < '10.1' AND "Episode number Production number" = '96 5-09'
[ 2061, 373, 262, 3128, 286, 31701, 329, 8640, 351, 10109, 739, 838, 13, 16, 290, 3227, 1271, 286, 9907, 642, 12, 2931, 30, 46506, 366, 20556, 31701, 1, 16034, 3084, 62, 26598, 2996, 33411, 366, 29321, 1, 1279, 705, 940, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 286, 31701, 329, 8640, 351, 10109, 739, 838, 13, 16, 290, 3227, 1271, 286, 9907, 642, 12, 2931, 30, 46506, 366, 20556, 31701, 1, 16034, 3084, 62, 26598, 2996, 33411, 366, 29321, 1, 1279, 705, 940, 13, 16, 6, ...
Draw a bar chart of first name versus manager_id, sort from low to high by the y-axis.
SELECT FIRST_NAME, MANAGER_ID FROM employees ORDER BY MANAGER_ID
[ 25302, 257, 2318, 8262, 286, 717, 1438, 9051, 4706, 62, 312, 11, 3297, 422, 1877, 284, 1029, 416, 262, 331, 12, 22704, 13, 46506, 31328, 62, 20608, 11, 17254, 4760, 1137, 62, 2389, 16034, 4409, 38678, 11050, 17254, 4760, 1137, 62, 238...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 286, 717, 1438, 9051, 4706, 62, 312, 11, 3297, 422, 1877, 284, 1029, 416, 262, 331, 12, 22704, 13, 46506, 31328, 62, 20608, 11, 17254, 4760, 1137, 62, 2389, 16034, 4409, 38678, 11050, 17254, 4760, 1137, 62, 238...
Users with reputation bigger then.
SELECT COUNT(*) AS users FROM Users WHERE Users.Reputation >= 3000
[ 14490, 351, 8507, 5749, 788, 13, 46506, 327, 28270, 7, 28104, 7054, 2985, 16034, 18987, 33411, 18987, 13, 6207, 7094, 18189, 20343 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14490, 351, 8507, 5749, 788, 13, 46506, 327, 28270, 7, 28104, 7054, 2985, 16034, 18987, 33411, 18987, 13, 6207, 7094, 18189, 20343 ]
What are the notes when the time was 7:42.92 and the rank is more than 1?
SELECT "Notes" FROM table_63321 WHERE "Rank" > '1' AND "Time" = '7:42.92'
[ 2061, 389, 262, 4710, 618, 262, 640, 373, 767, 25, 3682, 13, 5892, 290, 262, 4279, 318, 517, 621, 352, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 21, 2091, 2481, 33411, 366, 27520, 1, 1875, 705, 16, 6, 5357, 366, 7575, 1, 796, 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 ]
[ 2061, 389, 262, 4710, 618, 262, 640, 373, 767, 25, 3682, 13, 5892, 290, 262, 4279, 318, 517, 621, 352, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 21, 2091, 2481, 33411, 366, 27520, 1, 1875, 705, 16, 6, 5357, 366, 7575, 1, 796, 7...
How much Draw has a Televote larger than 18, and an Artist of elizabeth anastasiou, and a Jury larger than 4?
SELECT COUNT(draw) FROM table_name_44 WHERE televote > 18 AND artist = "elizabeth anastasiou" AND jury > 4
[ 2437, 881, 15315, 468, 257, 1665, 2768, 1258, 4025, 621, 1248, 11, 290, 281, 18902, 286, 1288, 9924, 281, 459, 17053, 280, 11, 290, 257, 48705, 4025, 621, 604, 30, 46506, 327, 28270, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 2598, 334...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 15315, 468, 257, 1665, 2768, 1258, 4025, 621, 1248, 11, 290, 281, 18902, 286, 1288, 9924, 281, 459, 17053, 280, 11, 290, 257, 48705, 4025, 621, 604, 30, 46506, 327, 28270, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 2598, 334...
Which 8.23 g (127 gr) is the highest one that has a Bullet weight gram (grain) of 8x64mm s, and a Case capacity (%) smaller than 110.3?
SELECT MAX("8.23 g (127 gr)") FROM table_5326 WHERE "Bullet weight gram (grain)" = '8x64mm s' AND "Case capacity (%)" < '110.3'
[ 13828, 807, 13, 1954, 308, 357, 16799, 1036, 8, 318, 262, 4511, 530, 326, 468, 257, 18003, 3463, 14599, 357, 48270, 8, 286, 807, 87, 2414, 3020, 264, 11, 290, 257, 8913, 5339, 11509, 4833, 621, 9796, 13, 18, 30, 46506, 25882, 7203, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 807, 13, 1954, 308, 357, 16799, 1036, 8, 318, 262, 4511, 530, 326, 468, 257, 18003, 3463, 14599, 357, 48270, 8, 286, 807, 87, 2414, 3020, 264, 11, 290, 257, 8913, 5339, 11509, 4833, 621, 9796, 13, 18, 30, 46506, 25882, 7203, ...
what is score of a team with tie of 4?
SELECT "Score" FROM table_49763 WHERE "Tie no" = '4'
[ 10919, 318, 4776, 286, 257, 1074, 351, 9839, 286, 604, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2920, 49641, 33411, 366, 51, 494, 645, 1, 796, 705, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 4776, 286, 257, 1074, 351, 9839, 286, 604, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2920, 49641, 33411, 366, 51, 494, 645, 1, 796, 705, 19, 6 ]
What is the wins number when the points were smaller than 27, and goals against was 41?
SELECT SUM(wins) FROM table_name_76 WHERE points < 27 AND goals_against = 41
[ 2061, 318, 262, 7864, 1271, 618, 262, 2173, 547, 4833, 621, 2681, 11, 290, 4661, 1028, 373, 6073, 30, 46506, 35683, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 4304, 33411, 2173, 1279, 2681, 5357, 4661, 62, 32826, 796, 6073 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 7864, 1271, 618, 262, 2173, 547, 4833, 621, 2681, 11, 290, 4661, 1028, 373, 6073, 30, 46506, 35683, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 4304, 33411, 2173, 1279, 2681, 5357, 4661, 62, 32826, 796, 6073 ]
Find job id and date of hire for those employees who was hired between November 5th, 2007 and July 5th, 2009.
SELECT job_id, hire_date FROM employees WHERE hire_date BETWEEN '2007-11-05' AND '2009-07-05'
[ 16742, 1693, 4686, 290, 3128, 286, 11078, 329, 883, 4409, 508, 373, 9657, 1022, 3389, 642, 400, 11, 4343, 290, 2901, 642, 400, 11, 3717, 13, 46506, 1693, 62, 312, 11, 11078, 62, 4475, 16034, 4409, 33411, 11078, 62, 4475, 38651, 8845, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1693, 4686, 290, 3128, 286, 11078, 329, 883, 4409, 508, 373, 9657, 1022, 3389, 642, 400, 11, 4343, 290, 2901, 642, 400, 11, 3717, 13, 46506, 1693, 62, 312, 11, 11078, 62, 4475, 16034, 4409, 33411, 11078, 62, 4475, 38651, 8845, ...
which network aired more shows about characters with hiv than cbs ?
SELECT "network" FROM table_203_293 GROUP BY "network" HAVING COUNT("character name") > (SELECT COUNT("character name") FROM table_203_293 WHERE "network" = 'cbs')
[ 4758, 3127, 18530, 517, 2523, 546, 3435, 351, 289, 452, 621, 269, 1443, 5633, 46506, 366, 27349, 1, 16034, 3084, 62, 22416, 62, 31675, 44441, 11050, 366, 27349, 1, 367, 10116, 2751, 327, 28270, 7203, 22769, 1438, 4943, 1875, 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 ]
[ 4758, 3127, 18530, 517, 2523, 546, 3435, 351, 289, 452, 621, 269, 1443, 5633, 46506, 366, 27349, 1, 16034, 3084, 62, 22416, 62, 31675, 44441, 11050, 366, 27349, 1, 367, 10116, 2751, 327, 28270, 7203, 22769, 1438, 4943, 1875, 357, 46506,...
What is the average rank of a mountain range located in Maine?
SELECT AVG(rank) FROM table_name_38 WHERE state = "maine"
[ 2061, 318, 262, 2811, 4279, 286, 257, 8598, 2837, 5140, 287, 15080, 30, 46506, 35224, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 1181, 796, 366, 76, 5718, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 4279, 286, 257, 8598, 2837, 5140, 287, 15080, 30, 46506, 35224, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 1181, 796, 366, 76, 5718, 1 ]
which ruler came first , si jun or min ?
SELECT "name" FROM table_204_125 WHERE "name" IN ('si jun', 'min') ORDER BY "from" LIMIT 1
[ 4758, 22740, 1625, 717, 837, 33721, 10891, 393, 949, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 11623, 33411, 366, 3672, 1, 3268, 19203, 13396, 10891, 3256, 705, 1084, 11537, 38678, 11050, 366, 6738, 1, 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, 1, 1, 1, 1, 1 ]
[ 4758, 22740, 1625, 717, 837, 33721, 10891, 393, 949, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 11623, 33411, 366, 3672, 1, 3268, 19203, 13396, 10891, 3256, 705, 1084, 11537, 38678, 11050, 366, 6738, 1, 27564, 2043, 352 ]
What was Bernhard Langer's highest score?
SELECT MAX("Score") FROM table_59835 WHERE "Player" = 'bernhard langer'
[ 2061, 373, 6206, 10424, 406, 2564, 338, 4511, 4776, 30, 46506, 25882, 7203, 26595, 4943, 16034, 3084, 62, 41292, 2327, 33411, 366, 14140, 1, 796, 705, 33900, 10424, 300, 2564, 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, 373, 6206, 10424, 406, 2564, 338, 4511, 4776, 30, 46506, 25882, 7203, 26595, 4943, 16034, 3084, 62, 41292, 2327, 33411, 366, 14140, 1, 796, 705, 33900, 10424, 300, 2564, 6 ]
what was patient 005-77687's first intake, on last month/29?
SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-77687')) AND intakeoutput.cellpath LIKE '%intake%' AND D...
[ 10919, 373, 5827, 3571, 20, 12, 3324, 39925, 338, 717, 10337, 11, 319, 938, 1227, 14, 1959, 30, 46506, 10337, 22915, 13, 3846, 18242, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 5827, 3571, 20, 12, 3324, 39925, 338, 717, 10337, 11, 319, 938, 1227, 14, 1959, 30, 46506, 10337, 22915, 13, 3846, 18242, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26...
no of users every year.
SELECT SUM(a.Reputation) FROM (SELECT TOP(2415565) AS Reputation FROM Users ORDER BY Reputation) AS a
[ 3919, 286, 2985, 790, 614, 13, 46506, 35683, 7, 64, 13, 6207, 7094, 8, 16034, 357, 46506, 28662, 7, 1731, 18742, 2996, 8, 7054, 1432, 7094, 16034, 18987, 38678, 11050, 1432, 7094, 8, 7054, 257 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3919, 286, 2985, 790, 614, 13, 46506, 35683, 7, 64, 13, 6207, 7094, 8, 16034, 357, 46506, 28662, 7, 1731, 18742, 2996, 8, 7054, 1432, 7094, 16034, 18987, 38678, 11050, 1432, 7094, 8, 7054, 257 ]
For team reggina please mention all the outgoing manager
SELECT outgoing_manager FROM table_27114708_2 WHERE team = "Reggina"
[ 1890, 1074, 842, 70, 1437, 3387, 3068, 477, 262, 28181, 4706, 46506, 28181, 62, 37153, 16034, 3084, 62, 1983, 16562, 32583, 62, 17, 33411, 1074, 796, 366, 3041, 1130, 1437, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1074, 842, 70, 1437, 3387, 3068, 477, 262, 28181, 4706, 46506, 28181, 62, 37153, 16034, 3084, 62, 1983, 16562, 32583, 62, 17, 33411, 1074, 796, 366, 3041, 1130, 1437, 1 ]
how many patients under procedure icd9 code 3972 have inhalation as their drug route?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE procedures.icd9_code = "3972" AND prescriptions.route = "INHALATION"
[ 4919, 867, 3871, 739, 8771, 14158, 67, 24, 2438, 5014, 4761, 423, 40982, 341, 355, 511, 2563, 6339, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 1672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 739, 8771, 14158, 67, 24, 2438, 5014, 4761, 423, 40982, 341, 355, 511, 2563, 6339, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 1672...
Which team was the opponent on December 30?
SELECT "Team" FROM table_40741 WHERE "Date" = 'december 30'
[ 13828, 1074, 373, 262, 6125, 319, 3426, 1542, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 30120, 3901, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 1542, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1074, 373, 262, 6125, 319, 3426, 1542, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 30120, 3901, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 1542, 6 ]
Name the length for stage ss22
SELECT "Length" FROM table_621 WHERE "Stage" = 'SS22'
[ 5376, 262, 4129, 329, 3800, 37786, 1828, 46506, 366, 24539, 1, 16034, 3084, 62, 21, 2481, 33411, 366, 29391, 1, 796, 705, 5432, 1828, 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 ]
[ 5376, 262, 4129, 329, 3800, 37786, 1828, 46506, 366, 24539, 1, 16034, 3084, 62, 21, 2481, 33411, 366, 29391, 1, 796, 705, 5432, 1828, 6 ]
tell me the age and type of drug prescribed to patient with patient id 2560.
SELECT demographic.age, prescriptions.drug_type FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.subject_id = "2560"
[ 33331, 502, 262, 2479, 290, 2099, 286, 2563, 14798, 284, 5827, 351, 5827, 4686, 1679, 1899, 13, 46506, 16728, 13, 496, 11, 34092, 13, 30349, 62, 4906, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 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 ]
[ 33331, 502, 262, 2479, 290, 2099, 286, 2563, 14798, 284, 5827, 351, 5827, 4686, 1679, 1899, 13, 46506, 16728, 13, 496, 11, 34092, 13, 30349, 62, 4906, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, ...
What was the attendance when the VFL played Lake Oval?
SELECT COUNT(crowd) FROM table_name_44 WHERE venue = "lake oval"
[ 2061, 373, 262, 14858, 618, 262, 569, 3697, 2826, 6233, 25165, 30, 46506, 327, 28270, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 14359, 796, 366, 27180, 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 ]
[ 2061, 373, 262, 14858, 618, 262, 569, 3697, 2826, 6233, 25165, 30, 46506, 327, 28270, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 14359, 796, 366, 27180, 41186, 1 ]
Name the circuit for hertz british grand prix
SELECT "Circuit" FROM table_30130 WHERE "Grand Prix" = 'Hertz British Grand Prix'
[ 5376, 262, 10349, 329, 607, 22877, 275, 799, 680, 4490, 1293, 87, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 18938, 1270, 33411, 366, 23581, 23832, 1, 796, 705, 39, 861, 89, 3517, 5675, 23832, 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 ]
[ 5376, 262, 10349, 329, 607, 22877, 275, 799, 680, 4490, 1293, 87, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 18938, 1270, 33411, 366, 23581, 23832, 1, 796, 705, 39, 861, 89, 3517, 5675, 23832, 6 ]
How large was the crowd at the Kardinia Park venue games?
SELECT SUM(crowd) FROM table_name_69 WHERE venue = "kardinia park"
[ 2437, 1588, 373, 262, 4315, 379, 262, 37875, 43168, 3250, 14359, 1830, 30, 46506, 35683, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 14359, 796, 366, 74, 446, 43168, 3952, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1588, 373, 262, 4315, 379, 262, 37875, 43168, 3250, 14359, 1830, 30, 46506, 35683, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 14359, 796, 366, 74, 446, 43168, 3952, 1 ]
Name the % for core moldova being 4.36%
SELECT "%" FROM table_22920 WHERE "% Core Moldova" = '4.36%'
[ 5376, 262, 4064, 329, 4755, 15936, 10071, 852, 604, 13, 2623, 4, 46506, 36521, 1, 16034, 3084, 62, 23539, 1238, 33411, 36521, 7231, 29684, 10071, 1, 796, 705, 19, 13, 2623, 4, 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, 4064, 329, 4755, 15936, 10071, 852, 604, 13, 2623, 4, 46506, 36521, 1, 16034, 3084, 62, 23539, 1238, 33411, 36521, 7231, 29684, 10071, 1, 796, 705, 19, 13, 2623, 4, 6 ]
In the year 1992 for the Seibu Lions, the BB + HBP which is larger than 49 was this as a BA (Place)?
SELECT ba__place_ FROM table_name_70 WHERE bb_ + hbp > 49 AND team = "seibu lions" AND year = "1992"
[ 818, 262, 614, 9768, 329, 262, 1001, 33828, 14536, 11, 262, 12597, 1343, 367, 20866, 543, 318, 4025, 621, 5125, 373, 428, 355, 257, 23715, 357, 27271, 19427, 46506, 26605, 834, 5372, 62, 16034, 3084, 62, 3672, 62, 2154, 33411, 275, 65...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 262, 614, 9768, 329, 262, 1001, 33828, 14536, 11, 262, 12597, 1343, 367, 20866, 543, 318, 4025, 621, 5125, 373, 428, 355, 257, 23715, 357, 27271, 19427, 46506, 26605, 834, 5372, 62, 16034, 3084, 62, 3672, 62, 2154, 33411, 275, 65...