instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Which city or state contains Calder Park Raceway?
SELECT "City / State" FROM table_50896 WHERE "Circuit" = 'calder park raceway'
[ 13828, 1748, 393, 1181, 4909, 36468, 3250, 24746, 16172, 30, 46506, 366, 14941, 1220, 1812, 1, 16034, 3084, 62, 1120, 48712, 33411, 366, 31560, 5013, 1, 796, 705, 9948, 1082, 3952, 3444, 16172, 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 ]
[ 13828, 1748, 393, 1181, 4909, 36468, 3250, 24746, 16172, 30, 46506, 366, 14941, 1220, 1812, 1, 16034, 3084, 62, 1120, 48712, 33411, 366, 31560, 5013, 1, 796, 705, 9948, 1082, 3952, 3444, 16172, 6 ]
find the minimum age of patients whose marital satus is single and ethnicity is white.
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.ethnicity = "WHITE"
[ 19796, 262, 5288, 2479, 286, 3871, 3025, 29555, 3332, 385, 318, 2060, 290, 26289, 318, 2330, 13, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 50, 2751, 2538, 1, 5357, 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 ]
[ 19796, 262, 5288, 2479, 286, 3871, 3025, 29555, 3332, 385, 318, 2060, 290, 26289, 318, 2330, 13, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 50, 2751, 2538, 1, 5357, 16728,...
What is the result for the best orchestrations category?
SELECT result FROM table_name_98 WHERE category = "best orchestrations"
[ 2061, 318, 262, 1255, 329, 262, 1266, 28127, 602, 6536, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 4089, 33411, 6536, 796, 366, 13466, 28127, 602, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1255, 329, 262, 1266, 28127, 602, 6536, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 4089, 33411, 6536, 796, 366, 13466, 28127, 602, 1 ]
What is First Elected, when District is 'Minnesota 2'?
SELECT first_elected FROM table_name_16 WHERE district = "minnesota 2"
[ 2061, 318, 3274, 5903, 276, 11, 618, 5665, 318, 705, 45670, 362, 30960, 46506, 717, 62, 28604, 16034, 3084, 62, 3672, 62, 1433, 33411, 4783, 796, 366, 1084, 8360, 362, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 3274, 5903, 276, 11, 618, 5665, 318, 705, 45670, 362, 30960, 46506, 717, 62, 28604, 16034, 3084, 62, 3672, 62, 1433, 33411, 4783, 796, 366, 1084, 8360, 362, 1 ]
What was the date of the Collingwood away game?
SELECT date FROM table_name_38 WHERE away_team = "collingwood"
[ 2061, 373, 262, 3128, 286, 262, 7778, 278, 3822, 1497, 983, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2548, 33411, 1497, 62, 15097, 796, 366, 26000, 278, 3822, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 286, 262, 7778, 278, 3822, 1497, 983, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2548, 33411, 1497, 62, 15097, 796, 366, 26000, 278, 3822, 1 ]
what is the largest amount of seats listed ?
SELECT MAX("seats") FROM table_204_690
[ 10919, 318, 262, 4387, 2033, 286, 8632, 5610, 5633, 46506, 25882, 7203, 325, 1381, 4943, 16034, 3084, 62, 18638, 62, 35844 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 4387, 2033, 286, 8632, 5610, 5633, 46506, 25882, 7203, 325, 1381, 4943, 16034, 3084, 62, 18638, 62, 35844 ]
Which Competition has a Year larger than 2000?
SELECT "Competition" FROM table_42036 WHERE "Year" > '2000'
[ 13828, 27348, 468, 257, 6280, 4025, 621, 4751, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 27211, 2623, 33411, 366, 17688, 1, 1875, 705, 11024, 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, 27348, 468, 257, 6280, 4025, 621, 4751, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 27211, 2623, 33411, 366, 17688, 1, 1875, 705, 11024, 6 ]
When parnell dickinson was the player and the rounds were under 7, what's the highest pick?
SELECT MAX(pick) FROM table_name_57 WHERE player = "parnell dickinson" AND round < 7
[ 2215, 279, 1501, 695, 19317, 7899, 373, 262, 2137, 290, 262, 9196, 547, 739, 767, 11, 644, 338, 262, 4511, 2298, 30, 46506, 25882, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 3553, 33411, 2137, 796, 366, 79, 1501, 695, 19317, 7899, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 279, 1501, 695, 19317, 7899, 373, 262, 2137, 290, 262, 9196, 547, 739, 767, 11, 644, 338, 262, 4511, 2298, 30, 46506, 25882, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 3553, 33411, 2137, 796, 366, 79, 1501, 695, 19317, 7899, 1, ...
What chassis had fewer than 0 points in a year before 1954?
SELECT "Chassis" FROM table_69944 WHERE "Year" < '1954' AND "Points" = '0'
[ 2061, 24587, 550, 7380, 621, 657, 2173, 287, 257, 614, 878, 24718, 30, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 47325, 2598, 33411, 366, 17688, 1, 1279, 705, 1129, 4051, 6, 5357, 366, 40710, 1, 796, 705, 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, 1, 1, 1, 1 ]
[ 2061, 24587, 550, 7380, 621, 657, 2173, 287, 257, 614, 878, 24718, 30, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 47325, 2598, 33411, 366, 17688, 1, 1279, 705, 1129, 4051, 6, 5357, 366, 40710, 1, 796, 705, 15, 6 ]
A bar chart for listing the number of the name of physicians who took some appointment.
SELECT Name, COUNT(Name) FROM Appointment AS T1 JOIN Physician AS T2 ON T1.Physician = T2.EmployeeID GROUP BY Name
[ 32, 2318, 8262, 329, 13487, 262, 1271, 286, 262, 1438, 286, 17206, 508, 1718, 617, 12557, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 2034, 49805, 7054, 309, 16, 32357, 1268, 8687, 6749, 7054, 309, 17, 6177, 309, 16, 13, 432...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 2318, 8262, 329, 13487, 262, 1271, 286, 262, 1438, 286, 17206, 508, 1718, 617, 12557, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 2034, 49805, 7054, 309, 16, 32357, 1268, 8687, 6749, 7054, 309, 17, 6177, 309, 16, 13, 432...
i want to leave BOSTON at 838
SELECT DISTINCT flight.flight_id FROM airport_service, city, flight WHERE city.city_code = airport_service.city_code AND city.city_name = 'BOSTON' AND flight.departure_time = 838 AND flight.from_airport = airport_service.airport_code
[ 72, 765, 284, 2666, 347, 10892, 1340, 379, 807, 2548, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 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, 1, 1, 1, 1, 1...
[ 72, 765, 284, 2666, 347, 10892, 1340, 379, 807, 2548, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 5...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the sum of manager_id over the job_id , and group by attribute job_id by a bar chart, show by the X in asc.
SELECT JOB_ID, SUM(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 4706, 62, 312, 625, 262, 1693, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 4706, 62, 312, 625, 262, 1693, 62, ...
What is the highest number of laps for Darren Manning?
SELECT MAX(laps) FROM table_17319931_1 WHERE driver = "Darren Manning"
[ 2061, 318, 262, 4511, 1271, 286, 24590, 329, 26203, 15281, 30, 46506, 25882, 7, 75, 1686, 8, 16034, 3084, 62, 25399, 19104, 3132, 62, 16, 33411, 4639, 796, 366, 32708, 918, 15281, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 24590, 329, 26203, 15281, 30, 46506, 25882, 7, 75, 1686, 8, 16034, 3084, 62, 25399, 19104, 3132, 62, 16, 33411, 4639, 796, 366, 32708, 918, 15281, 1 ]
Who manufactured the vehicle withdrawn after 1932?
SELECT "Manufacturer" FROM table_11768 WHERE "Year withdrawn" > '1932'
[ 8241, 15943, 262, 4038, 23019, 706, 32471, 30, 46506, 366, 44445, 15051, 1, 16034, 3084, 62, 17657, 3104, 33411, 366, 17688, 23019, 1, 1875, 705, 1129, 2624, 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 ]
[ 8241, 15943, 262, 4038, 23019, 706, 32471, 30, 46506, 366, 44445, 15051, 1, 16034, 3084, 62, 17657, 3104, 33411, 366, 17688, 23019, 1, 1875, 705, 1129, 2624, 6 ]
Give me a pie chart about the number of engineers for different skill description.
SELECT skill_description, COUNT(skill_description) FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id GROUP BY skill_description
[ 23318, 502, 257, 2508, 8262, 546, 262, 1271, 286, 12037, 329, 1180, 5032, 6764, 13, 46506, 5032, 62, 11213, 11, 327, 28270, 7, 42401, 62, 11213, 8, 16034, 34857, 62, 28620, 7054, 309, 16, 32357, 1268, 23164, 62, 15739, 2171, 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, 502, 257, 2508, 8262, 546, 262, 1271, 286, 12037, 329, 1180, 5032, 6764, 13, 46506, 5032, 62, 11213, 11, 327, 28270, 7, 42401, 62, 11213, 8, 16034, 34857, 62, 28620, 7054, 309, 16, 32357, 1268, 23164, 62, 15739, 2171, 7054, 309...
Which position is round 7?
SELECT "Position" FROM table_34684 WHERE "Round" = '7'
[ 13828, 2292, 318, 2835, 767, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2682, 41580, 33411, 366, 22685, 1, 796, 705, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2292, 318, 2835, 767, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2682, 41580, 33411, 366, 22685, 1, 796, 705, 22, 6 ]
How many Learning Algorithm papers has Luke S Zettlemoyer written ?
SELECT DISTINCT COUNT(DISTINCT writes.paperid) FROM author, keyphrase, paperkeyphrase, writes WHERE author.authorname = 'Luke S Zettlemoyer' AND keyphrase.keyphrasename = 'Learning Algorithm' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND writes.authorid = author.authorid AND writes.paperid = paperkeyphrase...
[ 2437, 867, 18252, 978, 42289, 9473, 468, 11336, 311, 1168, 3087, 10671, 35301, 3194, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 6797, 13, 20189, 312, 8, 16034, 1772, 11, 1994, 34675, 11, 3348, 2539, 34675, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18252, 978, 42289, 9473, 468, 11336, 311, 1168, 3087, 10671, 35301, 3194, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 6797, 13, 20189, 312, 8, 16034, 1772, 11, 1994, 34675, 11, 3348, 2539, 34675, ...
What is the highest rank of Venezuela, which has more than 9 bronze medals?
SELECT MIN(rank) FROM table_name_54 WHERE nation = "venezuela" AND bronze > 9
[ 2061, 318, 262, 4511, 4279, 286, 16666, 11, 543, 468, 517, 621, 860, 22101, 28057, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 3277, 796, 366, 574, 8471, 2731, 64, 1, 5357, 22101, 1875, 860 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 286, 16666, 11, 543, 468, 517, 621, 860, 22101, 28057, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 3277, 796, 366, 574, 8471, 2731, 64, 1, 5357, 22101, 1875, 860 ]
What is the percentage of public network in the region that has 0.1% other sources, 0.0% solar, and is named maule?
SELECT "Public network" FROM table_27329 WHERE "Other source" = '0.1%' AND "Solar panel" = '0.0%' AND "Region" = 'Maule'
[ 2061, 318, 262, 5873, 286, 1171, 3127, 287, 262, 3814, 326, 468, 657, 13, 16, 4, 584, 4237, 11, 657, 13, 15, 4, 6591, 11, 290, 318, 3706, 285, 559, 293, 30, 46506, 366, 15202, 3127, 1, 16034, 3084, 62, 27367, 1959, 33411, 366, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 5873, 286, 1171, 3127, 287, 262, 3814, 326, 468, 657, 13, 16, 4, 584, 4237, 11, 657, 13, 15, 4, 6591, 11, 290, 318, 3706, 285, 559, 293, 30, 46506, 366, 15202, 3127, 1, 16034, 3084, 62, 27367, 1959, 33411, 366, 6...
Who received 6,131 televotes?
SELECT "Televote Points" FROM table_13380 WHERE "Televotes" = '6,131'
[ 8241, 2722, 718, 11, 22042, 22884, 6421, 30, 46506, 366, 6767, 2768, 1258, 11045, 1, 16034, 3084, 62, 16945, 1795, 33411, 366, 6767, 2768, 6421, 1, 796, 705, 21, 11, 22042, 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 ]
[ 8241, 2722, 718, 11, 22042, 22884, 6421, 30, 46506, 366, 6767, 2768, 1258, 11045, 1, 16034, 3084, 62, 16945, 1795, 33411, 366, 6767, 2768, 6421, 1, 796, 705, 21, 11, 22042, 6 ]
tell me the name of the organism that was detected in the first catheter tip-iv test of patient 74392?
SELECT microbiologyevents.org_name FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 74392) AND microbiologyevents.spec_type_desc = 'catheter tip-iv' AND NOT microbiologyevents.org_name IS NULL ORDER BY microbiologyevents.charttime LIMIT...
[ 33331, 502, 262, 1438, 286, 262, 26433, 326, 373, 12326, 287, 262, 717, 3797, 43332, 8171, 12, 452, 1332, 286, 5827, 8915, 32321, 30, 46506, 24559, 1435, 31534, 13, 2398, 62, 3672, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 26433, 326, 373, 12326, 287, 262, 717, 3797, 43332, 8171, 12, 452, 1332, 286, 5827, 8915, 32321, 30, 46506, 24559, 1435, 31534, 13, 2398, 62, 3672, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 1...
who is the incumbent with candidates being bud shuster (r) unopposed
SELECT "Incumbent" FROM table_18250 WHERE "Candidates" = 'Bud Shuster (R) Unopposed'
[ 8727, 318, 262, 23526, 351, 5871, 852, 3600, 427, 5819, 357, 81, 8, 555, 10365, 1335, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 1507, 9031, 33411, 366, 41572, 37051, 1, 796, 705, 33, 463, 911, 5819, 357, 49, 8, 791, 10365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 318, 262, 23526, 351, 5871, 852, 3600, 427, 5819, 357, 81, 8, 555, 10365, 1335, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 1507, 9031, 33411, 366, 41572, 37051, 1, 796, 705, 33, 463, 911, 5819, 357, 49, 8, 791, 10365, ...
count the number of patients whose gender is f and procedure long title is endovascular (total) embolization or occlusion of head and neck vessels?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.long_title = "Endovascular (total) embolization or occlusion of head and neck vessels"
[ 9127, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 8771, 890, 3670, 318, 886, 709, 14767, 357, 23350, 8, 4072, 349, 1634, 393, 1609, 75, 4241, 286, 1182, 290, 7393, 14891, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 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, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 8771, 890, 3670, 318, 886, 709, 14767, 357, 23350, 8, 4072, 349, 1634, 393, 1609, 75, 4241, 286, 1182, 290, 7393, 14891, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 1...
what is admission type of subject id 29961?
SELECT demographic.admission_type FROM demographic WHERE demographic.subject_id = "29961"
[ 10919, 318, 13938, 2099, 286, 2426, 4686, 31011, 5333, 30, 46506, 16728, 13, 324, 3411, 62, 4906, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1959, 4846, 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 ]
[ 10919, 318, 13938, 2099, 286, 2426, 4686, 31011, 5333, 30, 46506, 16728, 13, 324, 3411, 62, 4906, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1959, 4846, 16, 1 ]
During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling figures?
SELECT bowling_figures_wickets_runs__overs_ FROM table_name_43 WHERE venue = "port elizabeth" AND versus = "australia"
[ 7191, 262, 5449, 379, 4347, 10674, 11, 810, 262, 6125, 373, 4505, 11, 644, 547, 262, 33564, 5538, 30, 46506, 33564, 62, 5647, 942, 62, 86, 15970, 62, 48381, 834, 13801, 62, 16034, 3084, 62, 3672, 62, 3559, 33411, 14359, 796, 366, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7191, 262, 5449, 379, 4347, 10674, 11, 810, 262, 6125, 373, 4505, 11, 644, 547, 262, 33564, 5538, 30, 46506, 33564, 62, 5647, 942, 62, 86, 15970, 62, 48381, 834, 13801, 62, 16034, 3084, 62, 3672, 62, 3559, 33411, 14359, 796, 366, 63...
You can return a bar chart to show the employees' first name and the corresponding department's id, display x axis from low to high order.
SELECT FIRST_NAME, DEPARTMENT_ID FROM employees ORDER BY FIRST_NAME
[ 1639, 460, 1441, 257, 2318, 8262, 284, 905, 262, 4409, 6, 717, 1438, 290, 262, 11188, 5011, 338, 4686, 11, 3359, 2124, 16488, 422, 1877, 284, 1029, 1502, 13, 46506, 31328, 62, 20608, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409, 3867...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1639, 460, 1441, 257, 2318, 8262, 284, 905, 262, 4409, 6, 717, 1438, 290, 262, 11188, 5011, 338, 4686, 11, 3359, 2124, 16488, 422, 1877, 284, 1029, 1502, 13, 46506, 31328, 62, 20608, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409, 3867...
What is the name of department where has the largest number of professors with a Ph.D. degree?
SELECT T2.dept_name, T1.dept_code FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE T1.prof_high_degree = 'Ph.D.' GROUP BY T1.dept_code ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 1438, 286, 5011, 810, 468, 262, 4387, 1271, 286, 20339, 351, 257, 1380, 13, 35, 13, 4922, 30, 46506, 309, 17, 13, 2934, 457, 62, 3672, 11, 309, 16, 13, 2934, 457, 62, 8189, 16034, 6240, 7054, 309, 16, 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...
[ 2061, 318, 262, 1438, 286, 5011, 810, 468, 262, 4387, 1271, 286, 20339, 351, 257, 1380, 13, 35, 13, 4922, 30, 46506, 309, 17, 13, 2934, 457, 62, 3672, 11, 309, 16, 13, 2934, 457, 62, 8189, 16034, 6240, 7054, 309, 16, 32357, 1268, ...
What was the score of the game that led to a 79-77 record?
SELECT score FROM table_name_64 WHERE record = "79-77"
[ 2061, 373, 262, 4776, 286, 262, 983, 326, 2957, 284, 257, 9225, 12, 3324, 1700, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2414, 33411, 1700, 796, 366, 3720, 12, 3324, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 326, 2957, 284, 257, 9225, 12, 3324, 1700, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2414, 33411, 1700, 796, 366, 3720, 12, 3324, 1 ]
Who was asked 20 questions in the issue where the cover model is Linda Brava?
SELECT 20 AS _questions FROM table_1566850_9 WHERE cover_model = "Linda Brava"
[ 8241, 373, 1965, 1160, 2683, 287, 262, 2071, 810, 262, 3002, 2746, 318, 21776, 32780, 64, 30, 46506, 1160, 7054, 4808, 6138, 507, 16034, 3084, 62, 1314, 2791, 25764, 62, 24, 33411, 3002, 62, 19849, 796, 366, 43, 22261, 32780, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 1965, 1160, 2683, 287, 262, 2071, 810, 262, 3002, 2746, 318, 21776, 32780, 64, 30, 46506, 1160, 7054, 4808, 6138, 507, 16034, 3084, 62, 1314, 2791, 25764, 62, 24, 33411, 3002, 62, 19849, 796, 366, 43, 22261, 32780, 64, 1 ]
how many patients have received a minoxidil in 2105 two or more times?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, COUNT(*) AS c1 FROM patient WHERE patient.patientunitstayid = (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'minoxidil' AND STRFTIME('%y', treatment.treatmenttime) = '2105') GROUP BY patient.uniquepid) AS t1 WHERE t...
[ 4919, 867, 3871, 423, 2722, 257, 949, 1140, 312, 346, 287, 362, 13348, 734, 393, 517, 1661, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 423, 2722, 257, 949, 1140, 312, 346, 287, 362, 13348, 734, 393, 517, 1661, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11,...
Return a bar chart about the distribution of ACC_Regular_Season and ACC_Percent , show in descending by the y-axis.
SELECT ACC_Regular_Season, ACC_Percent FROM basketball_match ORDER BY ACC_Percent DESC
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 40164, 62, 18960, 290, 15859, 62, 31905, 837, 905, 287, 31491, 416, 262, 331, 12, 22704, 13, 46506, 15859, 62, 40164, 62, 18960, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 386...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15859, 62, 40164, 62, 18960, 290, 15859, 62, 31905, 837, 905, 287, 31491, 416, 262, 331, 12, 22704, 13, 46506, 15859, 62, 40164, 62, 18960, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 386...
How many winners scored exactly 202 (-11)?
SELECT COUNT(winner) FROM table_21260421_1 WHERE score = "202 (-11)"
[ 2437, 867, 14591, 7781, 3446, 22131, 13841, 1157, 19427, 46506, 327, 28270, 7, 39791, 8, 16034, 3084, 62, 21777, 31916, 2481, 62, 16, 33411, 4776, 796, 366, 19004, 13841, 1157, 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 ]
[ 2437, 867, 14591, 7781, 3446, 22131, 13841, 1157, 19427, 46506, 327, 28270, 7, 39791, 8, 16034, 3084, 62, 21777, 31916, 2481, 62, 16, 33411, 4776, 796, 366, 19004, 13841, 1157, 16725 ]
Which player had an overall pick of 130?
SELECT player FROM table_name_53 WHERE overall = "130"
[ 13828, 2137, 550, 281, 4045, 2298, 286, 11323, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4310, 33411, 4045, 796, 366, 12952, 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, 2137, 550, 281, 4045, 2298, 286, 11323, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4310, 33411, 4045, 796, 366, 12952, 1 ]
Which home team scored 15.16 (106)?
SELECT "Home team" FROM table_55095 WHERE "Home team score" = '15.16 (106)'
[ 13828, 1363, 1074, 7781, 1315, 13, 1433, 357, 15801, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 22730, 3865, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 13, 1433, 357, 15801, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 1074, 7781, 1315, 13, 1433, 357, 15801, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 22730, 3865, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 13, 1433, 357, 15801, 33047 ]
WHich port is on march 17, 2006 and has a Winning team of iowa state?
SELECT "Sport" FROM table_35645 WHERE "Date" = 'march 17, 2006' AND "Winning team" = 'iowa state'
[ 12418, 488, 2493, 318, 319, 9960, 1596, 11, 4793, 290, 468, 257, 40983, 1074, 286, 1312, 8455, 1181, 30, 46506, 366, 42576, 1, 16034, 3084, 62, 32066, 2231, 33411, 366, 10430, 1, 796, 705, 76, 998, 1596, 11, 4793, 6, 5357, 366, 1664...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12418, 488, 2493, 318, 319, 9960, 1596, 11, 4793, 290, 468, 257, 40983, 1074, 286, 1312, 8455, 1181, 30, 46506, 366, 42576, 1, 16034, 3084, 62, 32066, 2231, 33411, 366, 10430, 1, 796, 705, 76, 998, 1596, 11, 4793, 6, 5357, 366, 1664...
Top 10 Answers by score in particular tag.
SELECT ROW_NUMBER() OVER (ORDER BY Posts.Score DESC) AS "#", Posts.Score, Posts.Tags, Posts.Id AS "post_link" FROM Posts AS posts WHERE Posts.Tags LIKE '%<##TagName##>%' AND Posts.PostTypeId = 2 ORDER BY Posts.Score DESC LIMIT 10
[ 9126, 838, 42612, 416, 4776, 287, 1948, 7621, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 12043, 13, 26595, 22196, 34, 8, 7054, 25113, 1600, 12043, 13, 26595, 11, 12043, 13, 36142, 11, 12043, 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...
[ 9126, 838, 42612, 416, 4776, 287, 1948, 7621, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 12043, 13, 26595, 22196, 34, 8, 7054, 25113, 1600, 12043, 13, 26595, 11, 12043, 13, 36142, 11, 12043, 13, 7390, ...
What D Player with a Height of m (ft 4in) is in the Spandau 04 Club?
SELECT name FROM table_name_5 WHERE club = "spandau 04" AND height = "m (ft 4in)" AND pos = "d"
[ 2061, 360, 7853, 351, 257, 27280, 286, 285, 357, 701, 604, 259, 8, 318, 287, 262, 1338, 392, 559, 8702, 6289, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 20, 33411, 3430, 796, 366, 2777, 392, 559, 8702, 1, 5357, 6001, 796, 366, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 360, 7853, 351, 257, 27280, 286, 285, 357, 701, 604, 259, 8, 318, 287, 262, 1338, 392, 559, 8702, 6289, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 20, 33411, 3430, 796, 366, 2777, 392, 559, 8702, 1, 5357, 6001, 796, 366, 76...
Which 2008 has a City of durban?
SELECT AVG("2008") FROM table_13974 WHERE "City" = 'durban'
[ 13828, 3648, 468, 257, 2254, 286, 22365, 3820, 30, 46506, 35224, 7203, 11528, 4943, 16034, 3084, 62, 20219, 4524, 33411, 366, 14941, 1, 796, 705, 67, 32679, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3648, 468, 257, 2254, 286, 22365, 3820, 30, 46506, 35224, 7203, 11528, 4943, 16034, 3084, 62, 20219, 4524, 33411, 366, 14941, 1, 796, 705, 67, 32679, 6 ]
did 5% dextrose, ranitidine, or albumin 25% (12.5gm) have been ordered for patient 17462 during this hospital visit.
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 17462 AND admissions.dischtime IS NULL) AND prescriptions.drug IN ('5% dextrose', 'ranitidine', 'albumin 25% (12.5gm)')
[ 20839, 642, 4, 390, 742, 13698, 11, 4966, 270, 39422, 11, 393, 5062, 259, 1679, 4, 357, 1065, 13, 20, 39870, 8, 423, 587, 6149, 329, 5827, 1596, 39997, 1141, 428, 4436, 3187, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20839, 642, 4, 390, 742, 13698, 11, 4966, 270, 39422, 11, 393, 5062, 259, 1679, 4, 357, 1065, 13, 20, 39870, 8, 423, 587, 6149, 329, 5827, 1596, 39997, 1141, 428, 4436, 3187, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092,...
what is the number of patients whose ethnicity is asian and diagnoses short title is septicemia nos?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "ASIAN" AND diagnoses.short_title = "Septicemia NOS"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 40567, 1790, 3670, 318, 384, 17459, 22859, 43630, 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, 26289, 318, 355, 666, 290, 40567, 1790, 3670, 318, 384, 17459, 22859, 43630, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
A bar chart showing the minimum weight for each gender, and I want to list by the bar in ascending.
SELECT Sex, MIN(Weight) FROM people GROUP BY Sex ORDER BY Sex
[ 32, 2318, 8262, 4478, 262, 5288, 3463, 329, 1123, 5279, 11, 290, 314, 765, 284, 1351, 416, 262, 2318, 287, 41988, 13, 46506, 14419, 11, 20625, 7, 25844, 8, 16034, 661, 44441, 11050, 14419, 38678, 11050, 14419 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4478, 262, 5288, 3463, 329, 1123, 5279, 11, 290, 314, 765, 284, 1351, 416, 262, 2318, 287, 41988, 13, 46506, 14419, 11, 20625, 7, 25844, 8, 16034, 661, 44441, 11050, 14419, 38678, 11050, 14419 ]
What is Country, when HDTV is yes, and when Content is cinema?
SELECT country FROM table_name_29 WHERE hdtv = "yes" AND content = "cinema"
[ 2061, 318, 12946, 11, 618, 5572, 6849, 318, 3763, 11, 290, 618, 14041, 318, 22041, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1959, 33411, 289, 67, 14981, 796, 366, 8505, 1, 5357, 2695, 796, 366, 66, 7749, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 12946, 11, 618, 5572, 6849, 318, 3763, 11, 290, 618, 14041, 318, 22041, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1959, 33411, 289, 67, 14981, 796, 366, 8505, 1, 5357, 2695, 796, 366, 66, 7749, 64, 1 ]
Find the the customer details and id for the customers who had more than one policy, list total number in desc order.
SELECT T1.Customer_Details, T1.Customer_ID FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_ID = T2.Customer_ID ORDER BY T1.Customer_ID DESC
[ 16742, 262, 262, 6491, 3307, 290, 4686, 329, 262, 4297, 508, 550, 517, 621, 530, 2450, 11, 1351, 2472, 1271, 287, 1715, 1502, 13, 46506, 309, 16, 13, 44939, 62, 24259, 11, 309, 16, 13, 44939, 62, 2389, 16034, 36707, 7054, 309, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 262, 6491, 3307, 290, 4686, 329, 262, 4297, 508, 550, 517, 621, 530, 2450, 11, 1351, 2472, 1271, 287, 1715, 1502, 13, 46506, 309, 16, 13, 44939, 62, 24259, 11, 309, 16, 13, 44939, 62, 2389, 16034, 36707, 7054, 309, 16, ...
tell me the first specimen test that patient 031-19622 has received until 55 months ago?
SELECT microlab.culturesite FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-19622')) AND DATETIME(microlab.culturetakentime) <= DATETIME(CURRE...
[ 33331, 502, 262, 717, 31674, 1332, 326, 5827, 657, 3132, 12, 25272, 1828, 468, 2722, 1566, 5996, 1933, 2084, 30, 46506, 4580, 23912, 13, 40820, 942, 578, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 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...
[ 33331, 502, 262, 717, 31674, 1332, 326, 5827, 657, 3132, 12, 25272, 1828, 468, 2722, 1566, 5996, 1933, 2084, 30, 46506, 4580, 23912, 13, 40820, 942, 578, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 4...
Who had high points when high rebound is gray (8)?
SELECT "High points" FROM table_17301 WHERE "High rebounds" = 'Gray (8)'
[ 8241, 550, 1029, 2173, 618, 1029, 23623, 318, 12768, 357, 23, 19427, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 1558, 18938, 33411, 366, 11922, 18841, 1, 796, 705, 46130, 357, 23, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 1029, 2173, 618, 1029, 23623, 318, 12768, 357, 23, 19427, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 1558, 18938, 33411, 366, 11922, 18841, 1, 796, 705, 46130, 357, 23, 33047 ]
Which Market/Rank is associated with WCRN calls?
SELECT market_rank FROM table_10333757_1 WHERE calls = "WCRN"
[ 13828, 5991, 14, 27520, 318, 3917, 351, 370, 9419, 45, 3848, 30, 46506, 1910, 62, 43027, 16034, 3084, 62, 940, 20370, 39251, 62, 16, 33411, 3848, 796, 366, 54, 9419, 45, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 5991, 14, 27520, 318, 3917, 351, 370, 9419, 45, 3848, 30, 46506, 1910, 62, 43027, 16034, 3084, 62, 940, 20370, 39251, 62, 16, 33411, 3848, 796, 366, 54, 9419, 45, 1 ]
What is the Athlete from Riverbank, California?
SELECT "ATHLETE" FROM table_63384 WHERE "CITY" = 'riverbank, california'
[ 2061, 318, 262, 13548, 5807, 422, 5866, 17796, 11, 3442, 30, 46506, 366, 12599, 2538, 9328, 1, 16034, 3084, 62, 21, 2091, 5705, 33411, 366, 34, 9050, 1, 796, 705, 38291, 17796, 11, 2386, 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, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 13548, 5807, 422, 5866, 17796, 11, 3442, 30, 46506, 366, 12599, 2538, 9328, 1, 16034, 3084, 62, 21, 2091, 5705, 33411, 366, 34, 9050, 1, 796, 705, 38291, 17796, 11, 2386, 361, 3317, 6 ]
Get me the number of patients admitted before the year 2158 who had a theophylline lab test.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2158" AND lab.label = "Theophylline"
[ 3855, 502, 262, 1271, 286, 3871, 6848, 878, 262, 614, 362, 21273, 508, 550, 257, 262, 16982, 297, 500, 2248, 1332, 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...
[ 3855, 502, 262, 1271, 286, 3871, 6848, 878, 262, 614, 362, 21273, 508, 550, 257, 262, 16982, 297, 500, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
Who was the writer of the episode titled 'Pier Pressure'?
SELECT "Written by" FROM table_1492 WHERE "Title" = 'Pier Pressure'
[ 8241, 373, 262, 6260, 286, 262, 4471, 11946, 705, 47, 959, 30980, 30960, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1415, 5892, 33411, 366, 19160, 1, 796, 705, 47, 959, 30980, 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 ]
[ 8241, 373, 262, 6260, 286, 262, 4471, 11946, 705, 47, 959, 30980, 30960, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1415, 5892, 33411, 366, 19160, 1, 796, 705, 47, 959, 30980, 6 ]
which patients have prescription for spironolactone medication?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Spironolactone"
[ 4758, 3871, 423, 15077, 329, 599, 1934, 349, 529, 505, 14103, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 3871, 423, 15077, 329, 599, 1934, 349, 529, 505, 14103, 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...
What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861?
SELECT "Province" FROM table_29648 WHERE "Election date" = '5 Cannot handle non-empty timestamp argument! 1861'
[ 2061, 373, 262, 8473, 351, 281, 3071, 3128, 286, 642, 2314, 5412, 1729, 12, 28920, 41033, 4578, 0, 45278, 30, 46506, 366, 15946, 924, 1, 16034, 3084, 62, 1959, 34287, 33411, 366, 36, 1564, 3128, 1, 796, 705, 20, 26003, 5412, 1729, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8473, 351, 281, 3071, 3128, 286, 642, 2314, 5412, 1729, 12, 28920, 41033, 4578, 0, 45278, 30, 46506, 366, 15946, 924, 1, 16034, 3084, 62, 1959, 34287, 33411, 366, 36, 1564, 3128, 1, 796, 705, 20, 26003, 5412, 1729, 1...
Count of questions with json-ld tag over time.
SELECT DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) AS "month", COUNT(DISTINCT Posts.Id) AS Count FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON PostTags.TagId = Tags.Id WHERE Tags.TagName LIKE 'physics' AND PostTypeId = 1 AND CreationDate > '2012-01-01' GROUP BY DATEADD(MONTH, D...
[ 12332, 286, 2683, 351, 33918, 12, 335, 7621, 625, 640, 13, 46506, 360, 6158, 29266, 7, 27857, 4221, 11, 360, 11617, 29267, 7, 27857, 4221, 11, 657, 11, 21582, 10430, 828, 657, 8, 7054, 366, 8424, 1600, 327, 28270, 7, 35, 8808, 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...
[ 12332, 286, 2683, 351, 33918, 12, 335, 7621, 625, 640, 13, 46506, 360, 6158, 29266, 7, 27857, 4221, 11, 360, 11617, 29267, 7, 27857, 4221, 11, 657, 11, 21582, 10430, 828, 657, 8, 7054, 366, 8424, 1600, 327, 28270, 7, 35, 8808, 1268,...
count the number of patients whose ethnicity is black/cape verdean and drug name is lansoprazole oral disintegrating tab?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND prescriptions.drug = "Lansoprazole Oral Disintegrating Tab"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 290, 2563, 1438, 318, 300, 504, 404, 3247, 2305, 12886, 29930, 8821, 7400, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 290, 2563, 1438, 318, 300, 504, 404, 3247, 2305, 12886, 29930, 8821, 7400, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
What is the winning score when 5 strokes is the margin of victory?
SELECT "Winning score" FROM table_24530 WHERE "Margin of victory" = '5 strokes'
[ 2061, 318, 262, 5442, 4776, 618, 642, 29483, 318, 262, 10330, 286, 5373, 30, 46506, 366, 16643, 768, 4776, 1, 16034, 3084, 62, 22995, 1270, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 20, 29483, 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, 318, 262, 5442, 4776, 618, 642, 29483, 318, 262, 10330, 286, 5373, 30, 46506, 366, 16643, 768, 4776, 1, 16034, 3084, 62, 22995, 1270, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 20, 29483, 6 ]
Are there any upper-level electives next semester that do n't meet on Monday or Friday ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course_offering.friday = 'N' AND course_offering.monday = 'N' AND course.course_id = course_offering.course_id AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course...
[ 8491, 612, 597, 6727, 12, 5715, 1742, 1083, 1306, 24878, 326, 466, 299, 470, 1826, 319, 3321, 393, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 612, 597, 6727, 12, 5715, 1742, 1083, 1306, 24878, 326, 466, 299, 470, 1826, 319, 3321, 393, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, ...
What Locomotive was Delivered as T414?
SELECT locomotive FROM table_name_2 WHERE delivered_as = "t414"
[ 2061, 15181, 296, 19138, 373, 4216, 6396, 355, 309, 37309, 30, 46506, 33334, 19138, 16034, 3084, 62, 3672, 62, 17, 33411, 6793, 62, 292, 796, 366, 83, 37309, 1 ]
[ 1, 1, 1, 1, 1, 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, 15181, 296, 19138, 373, 4216, 6396, 355, 309, 37309, 30, 46506, 33334, 19138, 16034, 3084, 62, 3672, 62, 17, 33411, 6793, 62, 292, 796, 366, 83, 37309, 1 ]
How many lines have the segment description of red line mos-2 west?
SELECT line_s_ FROM table_1817879_2 WHERE segment_description = "Red Line MOS-2 West"
[ 2437, 867, 3951, 423, 262, 10618, 6764, 286, 2266, 1627, 10867, 12, 17, 7421, 30, 46506, 1627, 62, 82, 62, 16034, 3084, 62, 1507, 23188, 3720, 62, 17, 33411, 10618, 62, 11213, 796, 366, 7738, 6910, 337, 2640, 12, 17, 2688, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3951, 423, 262, 10618, 6764, 286, 2266, 1627, 10867, 12, 17, 7421, 30, 46506, 1627, 62, 82, 62, 16034, 3084, 62, 1507, 23188, 3720, 62, 17, 33411, 10618, 62, 11213, 796, 366, 7738, 6910, 337, 2640, 12, 17, 2688, 1 ]
When was the successor seated when the district was California 10th?
SELECT "Date successor seated" FROM table_72176 WHERE "District" = 'California 10th'
[ 2215, 373, 262, 17270, 21639, 618, 262, 4783, 373, 3442, 838, 400, 30, 46506, 366, 10430, 17270, 21639, 1, 16034, 3084, 62, 4761, 24096, 33411, 366, 44857, 1, 796, 705, 25284, 838, 400, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 17270, 21639, 618, 262, 4783, 373, 3442, 838, 400, 30, 46506, 366, 10430, 17270, 21639, 1, 16034, 3084, 62, 4761, 24096, 33411, 366, 44857, 1, 796, 705, 25284, 838, 400, 6 ]
Show all distinct region names ordered by their labels.
SELECT DISTINCT region_name FROM region ORDER BY Label
[ 15307, 477, 7310, 3814, 3891, 6149, 416, 511, 14722, 13, 46506, 360, 8808, 1268, 4177, 3814, 62, 3672, 16034, 3814, 38678, 11050, 36052 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 7310, 3814, 3891, 6149, 416, 511, 14722, 13, 46506, 360, 8808, 1268, 4177, 3814, 62, 3672, 16034, 3814, 38678, 11050, 36052 ]
Find the sum of credits of courses that have more than one prerequisite for each title with a bar chart.
SELECT title, SUM(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY title
[ 16742, 262, 2160, 286, 10824, 286, 10902, 326, 423, 517, 621, 530, 43119, 329, 1123, 3670, 351, 257, 2318, 8262, 13, 46506, 3670, 11, 35683, 7, 66, 20696, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 662, 42180, 7054, 309, 17, 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 ]
[ 16742, 262, 2160, 286, 10824, 286, 10902, 326, 423, 517, 621, 530, 43119, 329, 1123, 3670, 351, 257, 2318, 8262, 13, 46506, 3670, 11, 35683, 7, 66, 20696, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 662, 42180, 7054, 309, 17, 6177, ...
How did Tim Herron place?
SELECT "Place" FROM table_8965 WHERE "Player" = 'tim herron'
[ 2437, 750, 5045, 2332, 1313, 1295, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 4531, 2996, 33411, 366, 14140, 1, 796, 705, 16514, 607, 1313, 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, 750, 5045, 2332, 1313, 1295, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 4531, 2996, 33411, 366, 14140, 1, 796, 705, 16514, 607, 1313, 6 ]
creatinine clearance < 60 by cockcroft _ gault calculator
SELECT * FROM table_test_27 WHERE creatinine_clearance_cl < 60
[ 20123, 259, 500, 19745, 1279, 3126, 416, 7540, 36714, 4808, 308, 1721, 28260, 46506, 1635, 16034, 3084, 62, 9288, 62, 1983, 33411, 1827, 259, 500, 62, 20063, 590, 62, 565, 1279, 3126 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20123, 259, 500, 19745, 1279, 3126, 416, 7540, 36714, 4808, 308, 1721, 28260, 46506, 1635, 16034, 3084, 62, 9288, 62, 1983, 33411, 1827, 259, 500, 62, 20063, 590, 62, 565, 1279, 3126 ]
what are the five most frequently prescribed drugs that were prescribed to male patients 50s within the same month after being diagnosed with fx facial bone nec-close until 1 year ago?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ...
[ 10919, 389, 262, 1936, 749, 6777, 14798, 5010, 326, 547, 14798, 284, 4257, 3871, 2026, 82, 1626, 262, 976, 1227, 706, 852, 14641, 351, 277, 87, 16324, 9970, 27576, 12, 19836, 1566, 352, 614, 2084, 30, 46506, 256, 18, 13, 30349, 16034,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1936, 749, 6777, 14798, 5010, 326, 547, 14798, 284, 4257, 3871, 2026, 82, 1626, 262, 976, 1227, 706, 852, 14641, 351, 277, 87, 16324, 9970, 27576, 12, 19836, 1566, 352, 614, 2084, 30, 46506, 256, 18, 13, 30349, 16034,...
papers at pldi
SELECT DISTINCT paper.paperid FROM paper, venue WHERE venue.venueid = paper.venueid AND venue.venuename = 'pldi'
[ 40491, 379, 279, 335, 72, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 3348, 11, 14359, 33411, 14359, 13, 4080, 312, 796, 3348, 13, 4080, 312, 5357, 14359, 13, 574, 84, 12453, 796, 705, 79, 335, 72, 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 ]
[ 40491, 379, 279, 335, 72, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 3348, 11, 14359, 33411, 14359, 13, 4080, 312, 796, 3348, 13, 4080, 312, 5357, 14359, 13, 574, 84, 12453, 796, 705, 79, 335, 72, 6 ]
Name the total number of episodes for s fire extinguisher
SELECT COUNT("Episode") FROM table_19898 WHERE "Segment A" = 's Fire Extinguisher'
[ 5376, 262, 2472, 1271, 286, 8640, 329, 264, 2046, 24995, 4828, 46506, 327, 28270, 7203, 23758, 4943, 16034, 3084, 62, 22337, 4089, 33411, 366, 41030, 434, 317, 1, 796, 705, 82, 3764, 5683, 6680, 4828, 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, 2472, 1271, 286, 8640, 329, 264, 2046, 24995, 4828, 46506, 327, 28270, 7203, 23758, 4943, 16034, 3084, 62, 22337, 4089, 33411, 366, 41030, 434, 317, 1, 796, 705, 82, 3764, 5683, 6680, 4828, 6 ]
For which singers was Alangudi Somu the lyricist?
SELECT singers FROM table_10848177_1 WHERE lyricist = "Alangudi Somu"
[ 1890, 543, 39113, 373, 978, 648, 47928, 9995, 84, 262, 43086, 396, 30, 46506, 39113, 16034, 3084, 62, 15711, 2780, 22413, 62, 16, 33411, 43086, 396, 796, 366, 2348, 648, 47928, 9995, 84, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 543, 39113, 373, 978, 648, 47928, 9995, 84, 262, 43086, 396, 30, 46506, 39113, 16034, 3084, 62, 15711, 2780, 22413, 62, 16, 33411, 43086, 396, 796, 366, 2348, 648, 47928, 9995, 84, 1 ]
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the average of price , and group by attribute name, and order Y from high to low order.
SELECT T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Price DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 290, 1502, 575, 422, 1029, 284, 1877, 1502, 13, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 290, 1502, 575, 422, 1029, 284, 1877, 1502, 13, 46...
What is every value for Italian when the part is English?
SELECT "Italian" FROM table_27656 WHERE "English" = 'part'
[ 2061, 318, 790, 1988, 329, 8200, 618, 262, 636, 318, 3594, 30, 46506, 366, 45696, 1, 16034, 3084, 62, 1983, 37466, 33411, 366, 15823, 1, 796, 705, 3911, 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, 318, 790, 1988, 329, 8200, 618, 262, 636, 318, 3594, 30, 46506, 366, 45696, 1, 16034, 3084, 62, 1983, 37466, 33411, 366, 15823, 1, 796, 705, 3911, 6 ]
What is the highest Area (KM 2) for the Province of Ontario, that has the Status of Town, a Municipality of Minto, and a Rank that's smaller than 84?
SELECT MAX(area__km_2__) FROM table_name_96 WHERE province = "ontario" AND status = "town" AND municipality = "minto" AND rank < 84
[ 2061, 318, 262, 4511, 9498, 357, 42, 44, 362, 8, 329, 262, 22783, 286, 10553, 11, 326, 468, 262, 12678, 286, 8329, 11, 257, 27338, 1483, 286, 337, 20424, 11, 290, 257, 10916, 326, 338, 4833, 621, 9508, 30, 46506, 25882, 7, 20337, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9498, 357, 42, 44, 362, 8, 329, 262, 22783, 286, 10553, 11, 326, 468, 262, 12678, 286, 8329, 11, 257, 27338, 1483, 286, 337, 20424, 11, 290, 257, 10916, 326, 338, 4833, 621, 9508, 30, 46506, 25882, 7, 20337, ...
count the number of patients whose discharge location is disc-tran cancer/chldrn h and procedure icd9 code is 8856?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "DISC-TRAN CANCER/CHLDRN H" AND procedures.icd9_code = "8856"
[ 9127, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1221, 12, 2213, 272, 4890, 14, 354, 335, 35906, 289, 290, 8771, 14158, 67, 24, 2438, 318, 9193, 3980, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1221, 12, 2213, 272, 4890, 14, 354, 335, 35906, 289, 290, 8771, 14158, 67, 24, 2438, 318, 9193, 3980, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
What was the earliest release for Pathogen directed by Sharon Gosling?
SELECT MIN(release) FROM table_name_81 WHERE director = "sharon gosling" AND title = "pathogen"
[ 2061, 373, 262, 14555, 2650, 329, 10644, 6644, 7924, 416, 26918, 30007, 1359, 30, 46506, 20625, 7, 20979, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 3437, 796, 366, 1477, 8045, 308, 418, 1359, 1, 5357, 3670, 796, 366, 6978, 6644, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14555, 2650, 329, 10644, 6644, 7924, 416, 26918, 30007, 1359, 30, 46506, 20625, 7, 20979, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 3437, 796, 366, 1477, 8045, 308, 418, 1359, 1, 5357, 3670, 796, 366, 6978, 6644, 1 ]
Which position has a sophomore class?
SELECT "Position" FROM table_71101 WHERE "Class" = 'sophomore'
[ 13828, 2292, 468, 257, 24505, 1398, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 22, 1157, 486, 33411, 366, 9487, 1, 796, 705, 82, 2522, 22113, 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, 2292, 468, 257, 24505, 1398, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 22, 1157, 486, 33411, 366, 9487, 1, 796, 705, 82, 2522, 22113, 6 ]
What is the lowest rank has 7:09.06 as the time?
SELECT MIN(rank) FROM table_name_81 WHERE time = "7:09.06"
[ 2061, 318, 262, 9016, 4279, 468, 767, 25, 2931, 13, 3312, 355, 262, 640, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 640, 796, 366, 22, 25, 2931, 13, 3312, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 468, 767, 25, 2931, 13, 3312, 355, 262, 640, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 640, 796, 366, 22, 25, 2931, 13, 3312, 1 ]
Which the Fastest Laps that have Poles of 0, and a Season of 2002, and a Podiums smaller than 0?
SELECT AVG(fastest_laps) FROM table_name_8 WHERE poles = 0 AND season = "2002" AND podiums < 0
[ 13828, 262, 12549, 395, 406, 1686, 326, 423, 45631, 286, 657, 11, 290, 257, 7369, 286, 6244, 11, 290, 257, 350, 12664, 82, 4833, 621, 657, 30, 46506, 35224, 7, 7217, 395, 62, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 2497...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 12549, 395, 406, 1686, 326, 423, 45631, 286, 657, 11, 290, 257, 7369, 286, 6244, 11, 290, 257, 350, 12664, 82, 4833, 621, 657, 30, 46506, 35224, 7, 7217, 395, 62, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 2497...
what is the one year survival rate of patients with mal neo brain stem diagnosed?
SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.charttime) > 1 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id...
[ 10919, 318, 262, 530, 614, 9441, 2494, 286, 3871, 351, 6428, 19102, 3632, 10717, 14641, 30, 46506, 35683, 7, 34, 11159, 42099, 3871, 13, 67, 375, 3180, 15697, 42243, 352, 42099, 19269, 9792, 12789, 10786, 4, 73, 3256, 3871, 13, 67, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 530, 614, 9441, 2494, 286, 3871, 351, 6428, 19102, 3632, 10717, 14641, 30, 46506, 35683, 7, 34, 11159, 42099, 3871, 13, 67, 375, 3180, 15697, 42243, 352, 42099, 19269, 9792, 12789, 10786, 4, 73, 3256, 3871, 13, 67, 37...
For each year, return the year and the average number of attendance at home games.
SELECT year, AVG(attendance) FROM home_game GROUP BY year
[ 1890, 1123, 614, 11, 1441, 262, 614, 290, 262, 2811, 1271, 286, 14858, 379, 1363, 1830, 13, 46506, 614, 11, 35224, 7, 1078, 437, 590, 8, 16034, 1363, 62, 6057, 44441, 11050, 614 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1123, 614, 11, 1441, 262, 614, 290, 262, 2811, 1271, 286, 14858, 379, 1363, 1830, 13, 46506, 614, 11, 35224, 7, 1078, 437, 590, 8, 16034, 1363, 62, 6057, 44441, 11050, 614 ]
tell me a game the attendance was the same as january 10 .
SELECT "date" FROM table_204_795 WHERE "date" <> 'january 10, 1949' AND "attendance" = (SELECT "attendance" FROM table_204_795 WHERE "date" = 'january 10, 1949')
[ 33331, 502, 257, 983, 262, 14858, 373, 262, 976, 355, 42897, 2838, 838, 764, 46506, 366, 4475, 1, 16034, 3084, 62, 18638, 62, 41544, 33411, 366, 4475, 1, 1279, 29, 705, 13881, 2838, 838, 11, 24977, 6, 5357, 366, 1078, 437, 590, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 983, 262, 14858, 373, 262, 976, 355, 42897, 2838, 838, 764, 46506, 366, 4475, 1, 16034, 3084, 62, 18638, 62, 41544, 33411, 366, 4475, 1, 1279, 29, 705, 13881, 2838, 838, 11, 24977, 6, 5357, 366, 1078, 437, 590, 1, ...
What type of photos of Angelina Jolie cost $500,000?
SELECT type FROM table_name_21 WHERE reported_price = "$500,000" AND person_s_ = "angelina jolie"
[ 2061, 2099, 286, 5205, 286, 3905, 1437, 39329, 494, 1575, 720, 4059, 11, 830, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 2481, 33411, 2098, 62, 20888, 796, 17971, 4059, 11, 830, 1, 5357, 1048, 62, 82, 62, 796, 366, 8368, 1437, 474,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5205, 286, 3905, 1437, 39329, 494, 1575, 720, 4059, 11, 830, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 2481, 33411, 2098, 62, 20888, 796, 17971, 4059, 11, 830, 1, 5357, 1048, 62, 82, 62, 796, 366, 8368, 1437, 474,...
What is the Region that has a Total GDP ( bn ) of 11,745.353?
SELECT region FROM table_name_58 WHERE total_gdp__€_bn__ = "€11,745.353"
[ 2061, 318, 262, 17718, 326, 468, 257, 7472, 12396, 357, 275, 77, 1267, 286, 1367, 11, 50150, 13, 33319, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 3365, 33411, 2472, 62, 21287, 79, 834, 26391, 62, 9374, 834, 796, 366, 26391, 1157, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17718, 326, 468, 257, 7472, 12396, 357, 275, 77, 1267, 286, 1367, 11, 50150, 13, 33319, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 3365, 33411, 2472, 62, 21287, 79, 834, 26391, 62, 9374, 834, 796, 366, 26391, 1157, ...
What record was set on Tue 11/02/75?
SELECT type_of_record FROM table_21436373_8 WHERE date_year = "Tue 11/02/75"
[ 2061, 1700, 373, 900, 319, 30030, 1367, 14, 2999, 14, 2425, 30, 46506, 2099, 62, 1659, 62, 22105, 16034, 3084, 62, 22291, 2623, 34770, 62, 23, 33411, 3128, 62, 1941, 796, 366, 41392, 1367, 14, 2999, 14, 2425, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1700, 373, 900, 319, 30030, 1367, 14, 2999, 14, 2425, 30, 46506, 2099, 62, 1659, 62, 22105, 16034, 3084, 62, 22291, 2623, 34770, 62, 23, 33411, 3128, 62, 1941, 796, 366, 41392, 1367, 14, 2999, 14, 2425, 1 ]
What are the different positions of players from UCLA or Duke colleges?
SELECT DISTINCT position FROM match_season WHERE college = "UCLA" OR college = "Duke"
[ 2061, 389, 262, 1180, 6116, 286, 1938, 422, 21750, 393, 11083, 15273, 30, 46506, 360, 8808, 1268, 4177, 2292, 16034, 2872, 62, 6230, 33411, 4152, 796, 366, 52, 16827, 1, 6375, 4152, 796, 366, 35, 4649, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1180, 6116, 286, 1938, 422, 21750, 393, 11083, 15273, 30, 46506, 360, 8808, 1268, 4177, 2292, 16034, 2872, 62, 6230, 33411, 4152, 796, 366, 52, 16827, 1, 6375, 4152, 796, 366, 35, 4649, 1 ]
For all events with index f10, what is the sum of the overall rankings?
SELECT SUM("Overall Ranking") FROM table_80090 WHERE "Index" = 'f10'
[ 1890, 477, 2995, 351, 6376, 277, 940, 11, 644, 318, 262, 2160, 286, 262, 4045, 16905, 30, 46506, 35683, 7203, 16350, 45407, 4943, 16034, 3084, 62, 7410, 3829, 33411, 366, 15732, 1, 796, 705, 69, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 477, 2995, 351, 6376, 277, 940, 11, 644, 318, 262, 2160, 286, 262, 4045, 16905, 30, 46506, 35683, 7203, 16350, 45407, 4943, 16034, 3084, 62, 7410, 3829, 33411, 366, 15732, 1, 796, 705, 69, 940, 6 ]
how many patients stayed in hospital for more than 4 days and were diagnosed with icd9 code 45821?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "4" AND diagnoses.icd9_code = "45821"
[ 4919, 867, 3871, 9658, 287, 4436, 329, 517, 621, 604, 1528, 290, 547, 14641, 351, 14158, 67, 24, 2438, 50154, 2481, 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, 604, 1528, 290, 547, 14641, 351, 14158, 67, 24, 2438, 50154, 2481, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
What was the score of the game where Wallace (17) had the highest points?
SELECT score FROM table_name_68 WHERE high_points = "wallace (17)"
[ 2061, 373, 262, 4776, 286, 262, 983, 810, 17161, 357, 1558, 8, 550, 262, 4511, 2173, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3104, 33411, 1029, 62, 13033, 796, 366, 11930, 558, 357, 1558, 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 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 810, 17161, 357, 1558, 8, 550, 262, 4511, 2173, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3104, 33411, 1029, 62, 13033, 796, 366, 11930, 558, 357, 1558, 16725 ]
which is a civil parish , aintree village or maghull ?
SELECT "name" FROM table_204_600 WHERE "name" IN ('aintree village', 'maghull') AND "status" = 'civil parish'
[ 4758, 318, 257, 3026, 28830, 837, 257, 600, 631, 7404, 393, 2153, 71, 724, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 8054, 33411, 366, 3672, 1, 3268, 19203, 2913, 631, 7404, 3256, 705, 76, 10471, 724, 11537, 5357, 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 ]
[ 4758, 318, 257, 3026, 28830, 837, 257, 600, 631, 7404, 393, 2153, 71, 724, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 8054, 33411, 366, 3672, 1, 3268, 19203, 2913, 631, 7404, 3256, 705, 76, 10471, 724, 11537, 5357, 366, ...
A bar chart for finding the number of the country of the airlines whose name starts with 'Orbit', show by the the number of country in desc.
SELECT country, COUNT(country) FROM airlines WHERE name LIKE 'Orbit%' GROUP BY country ORDER BY COUNT(country) DESC
[ 32, 2318, 8262, 329, 4917, 262, 1271, 286, 262, 1499, 286, 262, 26225, 3025, 1438, 4940, 351, 705, 5574, 2545, 3256, 905, 416, 262, 262, 1271, 286, 1499, 287, 1715, 13, 46506, 1499, 11, 327, 28270, 7, 19315, 8, 16034, 26225, 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 ]
[ 32, 2318, 8262, 329, 4917, 262, 1271, 286, 262, 1499, 286, 262, 26225, 3025, 1438, 4940, 351, 705, 5574, 2545, 3256, 905, 416, 262, 262, 1271, 286, 1499, 287, 1715, 13, 46506, 1499, 11, 327, 28270, 7, 19315, 8, 16034, 26225, 33411, ...
List the personal names and family names of all the students in alphabetical order of family name.
SELECT personal_name, family_name FROM Students ORDER BY family_name
[ 8053, 262, 2614, 3891, 290, 1641, 3891, 286, 477, 262, 2444, 287, 24830, 605, 1502, 286, 1641, 1438, 13, 46506, 2614, 62, 3672, 11, 1641, 62, 3672, 16034, 14882, 38678, 11050, 1641, 62, 3672 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2614, 3891, 290, 1641, 3891, 286, 477, 262, 2444, 287, 24830, 605, 1502, 286, 1641, 1438, 13, 46506, 2614, 62, 3672, 11, 1641, 62, 3672, 16034, 14882, 38678, 11050, 1641, 62, 3672 ]
How large a crowd did the Fitzroy Away team draw?
SELECT SUM("Crowd") FROM table_32990 WHERE "Away team" = 'fitzroy'
[ 2437, 1588, 257, 4315, 750, 262, 16703, 3287, 21986, 1074, 3197, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 37967, 3829, 33411, 366, 32, 1014, 1074, 1, 796, 705, 69, 4224, 3287, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 1588, 257, 4315, 750, 262, 16703, 3287, 21986, 1074, 3197, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 37967, 3829, 33411, 366, 32, 1014, 1074, 1, 796, 705, 69, 4224, 3287, 6 ]
When Essendon scored 8.14 (62), what was the Home team score?
SELECT "Home team score" FROM table_51032 WHERE "Away team score" = '8.14 (62)' AND "Away team" = 'essendon'
[ 2215, 11985, 43153, 7781, 807, 13, 1415, 357, 5237, 828, 644, 373, 262, 5995, 1074, 4776, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 33690, 2624, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 23, 13, 1415, 357, 5237, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11985, 43153, 7781, 807, 13, 1415, 357, 5237, 828, 644, 373, 262, 5995, 1074, 4776, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 33690, 2624, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 23, 13, 1415, 357, 5237, 33...
Which Date has a Record of 7-9?
SELECT "Date" FROM table_14562 WHERE "Record" = '7-9'
[ 13828, 7536, 468, 257, 13266, 286, 767, 12, 24, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1415, 43918, 33411, 366, 23739, 1, 796, 705, 22, 12, 24, 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 ]
[ 13828, 7536, 468, 257, 13266, 286, 767, 12, 24, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1415, 43918, 33411, 366, 23739, 1, 796, 705, 22, 12, 24, 6 ]
What is the original title of Madame Rosa?
SELECT "Original title" FROM table_68612 WHERE "English title" = 'madame rosa'
[ 2061, 318, 262, 2656, 3670, 286, 43116, 27994, 30, 46506, 366, 20556, 3670, 1, 16034, 3084, 62, 33808, 1065, 33411, 366, 15823, 3670, 1, 796, 705, 9937, 480, 686, 11400, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2656, 3670, 286, 43116, 27994, 30, 46506, 366, 20556, 3670, 1, 16034, 3084, 62, 33808, 1065, 33411, 366, 15823, 3670, 1, 796, 705, 9937, 480, 686, 11400, 6 ]
What was the score of the 3-0 Win result?
SELECT score FROM table_name_91 WHERE result = "3-0 win"
[ 2061, 373, 262, 4776, 286, 262, 513, 12, 15, 7178, 1255, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 6420, 33411, 1255, 796, 366, 18, 12, 15, 1592, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 513, 12, 15, 7178, 1255, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 6420, 33411, 1255, 796, 366, 18, 12, 15, 1592, 1 ]
what is marital status and primary disease of subject id 74032?
SELECT demographic.marital_status, demographic.diagnosis FROM demographic WHERE demographic.subject_id = "74032"
[ 10919, 318, 29555, 3722, 290, 4165, 4369, 286, 2426, 4686, 767, 1821, 2624, 30, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 45598, 2624, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29555, 3722, 290, 4165, 4369, 286, 2426, 4686, 767, 1821, 2624, 30, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 45598, 2624, 1 ]
Four major RDBMS systems, ranked by popularity.
SELECT TagName AS Tags, cnt AS "questions_tagged", ROUND(100.0 * cnt / SUM(cnt) OVER (), 2) AS "ratio,_%" FROM Tags AS t JOIN LATERAL (SELECT COUNT(*) AS cnt FROM PostTags AS pt WHERE pt.TagId = t.Id) AS q WHERE t.TagName IN ('adminer', 'phpmyadmin', 'navicat', 'sqlyog', 'sqlbuddy', 'toad', 'dbninja', 'sqlwave', 'chive...
[ 15137, 1688, 371, 11012, 5653, 3341, 11, 10307, 416, 11533, 13, 46506, 17467, 5376, 7054, 44789, 11, 269, 429, 7054, 366, 6138, 507, 62, 12985, 2004, 1600, 371, 15919, 7, 3064, 13, 15, 1635, 269, 429, 1220, 35683, 7, 66, 429, 8, 287...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15137, 1688, 371, 11012, 5653, 3341, 11, 10307, 416, 11533, 13, 46506, 17467, 5376, 7054, 44789, 11, 269, 429, 7054, 366, 6138, 507, 62, 12985, 2004, 1600, 371, 15919, 7, 3064, 13, 15, 1635, 269, 429, 1220, 35683, 7, 66, 429, 8, 287...
Who are the writers of the episode with production code IP02009?
SELECT written_by FROM table_29273115_1 WHERE production_code = "IP02009"
[ 8241, 389, 262, 8786, 286, 262, 4471, 351, 3227, 2438, 6101, 15, 10531, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 1959, 27367, 15363, 62, 16, 33411, 3227, 62, 8189, 796, 366, 4061, 15, 10531, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8786, 286, 262, 4471, 351, 3227, 2438, 6101, 15, 10531, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 1959, 27367, 15363, 62, 16, 33411, 3227, 62, 8189, 796, 366, 4061, 15, 10531, 1 ]
What is the result on 20 July 2008?
SELECT "Result" FROM table_76495 WHERE "Date" = '20 july 2008'
[ 2061, 318, 262, 1255, 319, 1160, 2901, 3648, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 22, 2414, 3865, 33411, 366, 10430, 1, 796, 705, 1238, 474, 2062, 3648, 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, 1255, 319, 1160, 2901, 3648, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 22, 2414, 3865, 33411, 366, 10430, 1, 796, 705, 1238, 474, 2062, 3648, 6 ]
Derik Fury plays for which college?
SELECT "College" FROM table_24270 WHERE "Player" = 'Derik Fury'
[ 28532, 1134, 18427, 5341, 329, 543, 4152, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 1731, 20233, 33411, 366, 14140, 1, 796, 705, 28532, 1134, 18427, 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 ]
[ 28532, 1134, 18427, 5341, 329, 543, 4152, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 1731, 20233, 33411, 366, 14140, 1, 796, 705, 28532, 1134, 18427, 6 ]
Show the total number from each payment method code
SELECT payment_method_code, COUNT(*) FROM Customer_Payments GROUP BY payment_method_code
[ 15307, 262, 2472, 1271, 422, 1123, 6074, 2446, 2438, 46506, 6074, 62, 24396, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 22092, 62, 19197, 902, 44441, 11050, 6074, 62, 24396, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 422, 1123, 6074, 2446, 2438, 46506, 6074, 62, 24396, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 22092, 62, 19197, 902, 44441, 11050, 6074, 62, 24396, 62, 8189 ]
If Wed Aug 25 is no time, what is Sat aug 21?
SELECT sat_21_aug FROM table_26986076_1 WHERE wed_25_aug = "—— No Time"
[ 1532, 3300, 2447, 1679, 318, 645, 640, 11, 644, 318, 7031, 16339, 2310, 30, 46506, 3332, 62, 2481, 62, 7493, 16034, 3084, 62, 2075, 4089, 1899, 4304, 62, 16, 33411, 29445, 62, 1495, 62, 7493, 796, 366, 4500, 1400, 3862, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 3300, 2447, 1679, 318, 645, 640, 11, 644, 318, 7031, 16339, 2310, 30, 46506, 3332, 62, 2481, 62, 7493, 16034, 3084, 62, 2075, 4089, 1899, 4304, 62, 16, 33411, 29445, 62, 1495, 62, 7493, 796, 366, 4500, 1400, 3862, 1 ]
When stuttgart is the town what is the type?
SELECT "Type" FROM table_30240 WHERE "Town" = 'Stuttgart'
[ 2215, 336, 15318, 41651, 318, 262, 3240, 644, 318, 262, 2099, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 1270, 16102, 33411, 366, 38097, 1, 796, 705, 1273, 15318, 41651, 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, 336, 15318, 41651, 318, 262, 3240, 644, 318, 262, 2099, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 1270, 16102, 33411, 366, 38097, 1, 796, 705, 1273, 15318, 41651, 6 ]