instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
until 57 months ago when did patient 010-11305 get a lab test for the last time?
SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-11305')) AND DATETIME(lab.labresulttime) <= DATETIME(CURRENT_TIME(), '-57 month...
[ 28446, 7632, 1933, 2084, 618, 750, 5827, 5534, 15, 12, 1157, 22515, 651, 257, 2248, 1332, 329, 262, 938, 640, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 28446, 7632, 1933, 2084, 618, 750, 5827, 5534, 15, 12, 1157, 22515, 651, 257, 2248, 1332, 329, 262, 938, 640, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, ...
What is the Edition of the release in Germany?
SELECT "Edition(s)" FROM table_62648 WHERE "Region" = 'germany'
[ 2061, 318, 262, 5061, 286, 262, 2650, 287, 4486, 30, 46506, 366, 7407, 653, 7, 82, 16725, 16034, 3084, 62, 45191, 2780, 33411, 366, 47371, 1, 796, 705, 1362, 21834, 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, 5061, 286, 262, 2650, 287, 4486, 30, 46506, 366, 7407, 653, 7, 82, 16725, 16034, 3084, 62, 45191, 2780, 33411, 366, 47371, 1, 796, 705, 1362, 21834, 6 ]
Grab All Answers with Tags Matching Suspect Answer Tags.
SELECT a.Id FROM Posts AS q INNER JOIN Posts AS a ON a.ParentId = q.Id INNER JOIN PostTags AS pt ON pt.PostId = q.Id WHERE pt.TagId IN (SELECT DISTINCT TagId FROM Posts AS q INNER JOIN Posts AS a ON a.ParentId = q.Id INNER JOIN PostTags AS pt ON pt.PostId = q.Id WHERE a.OwnerUserId = '##UserId:int##')
[ 48400, 1439, 42612, 351, 44789, 13225, 278, 8932, 806, 23998, 44789, 13, 46506, 257, 13, 7390, 16034, 12043, 7054, 10662, 3268, 21479, 32357, 1268, 12043, 7054, 257, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 3268, 21479, 32357, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 48400, 1439, 42612, 351, 44789, 13225, 278, 8932, 806, 23998, 44789, 13, 46506, 257, 13, 7390, 16034, 12043, 7054, 10662, 3268, 21479, 32357, 1268, 12043, 7054, 257, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 3268, 21479, 32357, 12...
What is the location and attendance after game 2, and the team New Orleans?
SELECT location_attendance FROM table_name_99 WHERE game > 2 AND team = "new orleans"
[ 2061, 318, 262, 4067, 290, 14858, 706, 983, 362, 11, 290, 262, 1074, 968, 12255, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 3672, 62, 2079, 33411, 983, 1875, 362, 5357, 1074, 796, 366, 3605, 393, 11861, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4067, 290, 14858, 706, 983, 362, 11, 290, 262, 1074, 968, 12255, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 3672, 62, 2079, 33411, 983, 1875, 362, 5357, 1074, 796, 366, 3605, 393, 11861, 1 ]
which order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis?
SELECT "Order" FROM table_71435 WHERE "Family" = 'vespertilionidae' AND "Name" = 'northern long-eared myotis'
[ 4758, 1502, 286, 7365, 14448, 284, 262, 1641, 286, 410, 274, 11766, 29935, 31718, 290, 3407, 262, 7840, 890, 12, 3380, 616, 313, 271, 30, 46506, 366, 18743, 1, 16034, 3084, 62, 45722, 2327, 33411, 366, 24094, 1, 796, 705, 1158, 11766,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1502, 286, 7365, 14448, 284, 262, 1641, 286, 410, 274, 11766, 29935, 31718, 290, 3407, 262, 7840, 890, 12, 3380, 616, 313, 271, 30, 46506, 366, 18743, 1, 16034, 3084, 62, 45722, 2327, 33411, 366, 24094, 1, 796, 705, 1158, 11766,...
What place in the United States having a score of 67-75-68=210?
SELECT "Place" FROM table_48808 WHERE "Country" = 'united states' AND "Score" = '67-75-68=210'
[ 2061, 1295, 287, 262, 1578, 1829, 1719, 257, 4776, 286, 8275, 12, 2425, 12, 3104, 28, 21536, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 2780, 28362, 33411, 366, 33921, 1, 796, 705, 41187, 2585, 6, 5357, 366, 26595, 1, 796, 705, 3134...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1295, 287, 262, 1578, 1829, 1719, 257, 4776, 286, 8275, 12, 2425, 12, 3104, 28, 21536, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 2780, 28362, 33411, 366, 33921, 1, 796, 705, 41187, 2585, 6, 5357, 366, 26595, 1, 796, 705, 3134...
give me the number of patients whose discharge location is home and primary disease is morbid obesity/sda?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "HOME" AND demographic.diagnosis = "MORBID OBESITY/SDA"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1363, 290, 4165, 4369, 318, 34813, 13825, 14, 82, 6814, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 1013...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17655, 4067, 318, 1363, 290, 4165, 4369, 318, 34813, 13825, 14, 82, 6814, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 1013...
Where was the tourney when conference player of the year is larry smith , alcorn state?
SELECT "Tournament Venue (City)" FROM table_2438 WHERE "Conference Player of the Year" = 'Larry Smith , Alcorn State'
[ 8496, 373, 262, 4205, 1681, 618, 4495, 2137, 286, 262, 614, 318, 300, 6532, 895, 342, 837, 435, 20772, 1181, 30, 46506, 366, 51, 5138, 9932, 518, 357, 14941, 16725, 16034, 3084, 62, 1731, 2548, 33411, 366, 3103, 4288, 7853, 286, 262, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 373, 262, 4205, 1681, 618, 4495, 2137, 286, 262, 614, 318, 300, 6532, 895, 342, 837, 435, 20772, 1181, 30, 46506, 366, 51, 5138, 9932, 518, 357, 14941, 16725, 16034, 3084, 62, 1731, 2548, 33411, 366, 3103, 4288, 7853, 286, 262, ...
For those employees who did not have any job in the past, give me the comparison about the average of manager_id over the job_id , and group by attribute job_id by a bar chart, and list by the bar in descending please.
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 4706, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 416, 257, 2318, 8262, 11, 290, 1351,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1577, 502, 262, 7208, 546, 262, 2811, 286, 4706, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 416, 257, 2318, 8262, 11, 290, 1351,...
Which Attendance that has a Venue of ryavallen?
SELECT "Attendance" FROM table_44800 WHERE "Venue" = 'ryavallen'
[ 13828, 46502, 590, 326, 468, 257, 9932, 518, 286, 374, 88, 615, 439, 268, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 2598, 7410, 33411, 366, 37522, 518, 1, 796, 705, 563, 615, 439, 268, 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 ]
[ 13828, 46502, 590, 326, 468, 257, 9932, 518, 286, 374, 88, 615, 439, 268, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 2598, 7410, 33411, 366, 37522, 518, 1, 796, 705, 563, 615, 439, 268, 6 ]
What is the country for the player who had a To Par of +4?
SELECT "Country" FROM table_44350 WHERE "To par" = '+4'
[ 2061, 318, 262, 1499, 329, 262, 2137, 508, 550, 257, 1675, 2547, 286, 1343, 19, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2598, 14877, 33411, 366, 2514, 1582, 1, 796, 705, 10, 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, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1499, 329, 262, 2137, 508, 550, 257, 1675, 2547, 286, 1343, 19, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2598, 14877, 33411, 366, 2514, 1582, 1, 796, 705, 10, 19, 6 ]
How many people attended the September 14, 1968 game?
SELECT COUNT("Attendance") FROM table_62777 WHERE "Date" = 'september 14, 1968'
[ 2437, 867, 661, 9141, 262, 2693, 1478, 11, 15963, 983, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 49856, 3324, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 1478, 11, 15963, 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 ]
[ 2437, 867, 661, 9141, 262, 2693, 1478, 11, 15963, 983, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 49856, 3324, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 1478, 11, 15963, 6 ]
What was the total number of average attendance for games of 1311?
SELECT SUM(average_attendance) FROM table_name_11 WHERE games = 1311
[ 2061, 373, 262, 2472, 1271, 286, 2811, 14858, 329, 1830, 286, 1511, 1157, 30, 46506, 35683, 7, 23913, 62, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1157, 33411, 1830, 796, 1511, 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 ]
[ 2061, 373, 262, 2472, 1271, 286, 2811, 14858, 329, 1830, 286, 1511, 1157, 30, 46506, 35683, 7, 23913, 62, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1157, 33411, 1830, 796, 1511, 1157 ]
What is the average laps when the manufacturer is yamaha, and the rider is garry mccoy and the grid is smaller than 4?
SELECT AVG(laps) FROM table_name_71 WHERE manufacturer = "yamaha" AND rider = "garry mccoy" AND grid < 4
[ 2061, 318, 262, 2811, 24590, 618, 262, 11554, 318, 331, 321, 12236, 11, 290, 262, 17876, 318, 5482, 563, 285, 535, 726, 290, 262, 10706, 318, 4833, 621, 604, 30, 46506, 35224, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 4869, 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, 318, 262, 2811, 24590, 618, 262, 11554, 318, 331, 321, 12236, 11, 290, 262, 17876, 318, 5482, 563, 285, 535, 726, 290, 262, 10706, 318, 4833, 621, 604, 30, 46506, 35224, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 4869, 33411, ...
who is listed before keith walker ?
SELECT "wrestler:" FROM table_204_684 WHERE id = (SELECT id FROM table_204_684 WHERE "wrestler:" = 'keith walker') - 1
[ 8727, 318, 5610, 878, 885, 342, 2513, 263, 5633, 46506, 366, 86, 2118, 1754, 11097, 16034, 3084, 62, 18638, 62, 41580, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 41580, 33411, 366, 86, 2118, 1754, 11097, 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 ]
[ 8727, 318, 5610, 878, 885, 342, 2513, 263, 5633, 46506, 366, 86, 2118, 1754, 11097, 16034, 3084, 62, 18638, 62, 41580, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 41580, 33411, 366, 86, 2118, 1754, 11097, 796, 705, ...
What is the number of directors for the film title Eldra?
SELECT COUNT("Director") FROM table_28650 WHERE "Film title" = 'Eldra'
[ 2061, 318, 262, 1271, 286, 13445, 329, 262, 2646, 3670, 19208, 430, 30, 46506, 327, 28270, 7203, 28702, 4943, 16034, 3084, 62, 2078, 17544, 33411, 366, 39750, 3670, 1, 796, 705, 36, 335, 430, 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, 1271, 286, 13445, 329, 262, 2646, 3670, 19208, 430, 30, 46506, 327, 28270, 7203, 28702, 4943, 16034, 3084, 62, 2078, 17544, 33411, 366, 39750, 3670, 1, 796, 705, 36, 335, 430, 6 ]
Who was the winner for the Rome to Teramo course?
SELECT winner FROM table_name_97 WHERE course = "rome to teramo"
[ 8241, 373, 262, 8464, 329, 262, 10598, 284, 3813, 18811, 1781, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 5607, 33411, 1781, 796, 366, 5998, 284, 1059, 18811, 1 ]
[ 1, 1, 1, 1, 1, 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, 8464, 329, 262, 10598, 284, 3813, 18811, 1781, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 5607, 33411, 1781, 796, 366, 5998, 284, 1059, 18811, 1 ]
What is the average silver that has a gold greater than 3, with soviet union (urs) as the nation, and a bronze greater than 26?
SELECT AVG("Silver") FROM table_63027 WHERE "Gold" > '3' AND "Nation" = 'soviet union (urs)' AND "Bronze" > '26'
[ 2061, 318, 262, 2811, 8465, 326, 468, 257, 3869, 3744, 621, 513, 11, 351, 523, 85, 1155, 6441, 357, 1834, 8, 355, 262, 3277, 11, 290, 257, 22101, 3744, 621, 2608, 30, 46506, 35224, 7203, 26766, 4943, 16034, 3084, 62, 30005, 1983, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2811, 8465, 326, 468, 257, 3869, 3744, 621, 513, 11, 351, 523, 85, 1155, 6441, 357, 1834, 8, 355, 262, 3277, 11, 290, 257, 22101, 3744, 621, 2608, 30, 46506, 35224, 7203, 26766, 4943, 16034, 3084, 62, 30005, 1983, 33...
Plot a scatter chart, count(*) by constructorid.
SELECT COUNT(*), constructorId FROM constructorStandings GROUP BY constructorId
[ 43328, 257, 41058, 8262, 11, 954, 7, 28104, 416, 23772, 312, 13, 46506, 327, 28270, 46491, 828, 23772, 7390, 16034, 23772, 15480, 654, 44441, 11050, 23772, 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 ]
[ 43328, 257, 41058, 8262, 11, 954, 7, 28104, 416, 23772, 312, 13, 46506, 327, 28270, 46491, 828, 23772, 7390, 16034, 23772, 15480, 654, 44441, 11050, 23772, 7390 ]
What is the average capacity that has switzerland as the country?
SELECT AVG(capacity) FROM table_name_19 WHERE country = "switzerland"
[ 2061, 318, 262, 2811, 5339, 326, 468, 1509, 13947, 355, 262, 1499, 30, 46506, 35224, 7, 42404, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 1499, 796, 366, 2032, 13947, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 5339, 326, 468, 1509, 13947, 355, 262, 1499, 30, 46506, 35224, 7, 42404, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 1499, 796, 366, 2032, 13947, 1 ]
What shows for notes when rank is more than 4, and country is South Korea?
SELECT notes FROM table_name_31 WHERE rank > 4 AND country = "south korea"
[ 2061, 2523, 329, 4710, 618, 4279, 318, 517, 621, 604, 11, 290, 1499, 318, 2520, 4969, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 3132, 33411, 4279, 1875, 604, 5357, 1499, 796, 366, 35782, 479, 46215, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2523, 329, 4710, 618, 4279, 318, 517, 621, 604, 11, 290, 1499, 318, 2520, 4969, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 3132, 33411, 4279, 1875, 604, 5357, 1499, 796, 366, 35782, 479, 46215, 1 ]
How many customers have email that contains 'gmail.com'?
SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE "%gmail.com%"
[ 2437, 867, 4297, 423, 3053, 326, 4909, 705, 14816, 13, 785, 30960, 46506, 327, 28270, 7, 28104, 16034, 327, 7759, 2662, 1137, 33411, 9570, 34178, 36521, 14816, 13, 785, 39658 ]
[ 1, 1, 1, 1, 1, 1, 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, 4297, 423, 3053, 326, 4909, 705, 14816, 13, 785, 30960, 46506, 327, 28270, 7, 28104, 16034, 327, 7759, 2662, 1137, 33411, 9570, 34178, 36521, 14816, 13, 785, 39658 ]
find the number of patients less than 79 years who have been diagnosed with primary malignant neoplasm of liver.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "79" AND diagnoses.long_title = "Malignant neoplasm of liver, primary"
[ 19796, 262, 1271, 286, 3871, 1342, 621, 9225, 812, 508, 423, 587, 14641, 351, 4165, 6428, 25114, 497, 20106, 8597, 286, 14383, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 262, 1271, 286, 3871, 1342, 621, 9225, 812, 508, 423, 587, 14641, 351, 4165, 6428, 25114, 497, 20106, 8597, 286, 14383, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32...
Name the number of believers for patavur
SELECT COUNT(number_of_believers) FROM table_24613895_1 WHERE name_of_village = "Patavur"
[ 5376, 262, 1271, 286, 23142, 329, 1458, 615, 333, 46506, 327, 28270, 7, 17618, 62, 1659, 62, 6667, 30296, 8, 16034, 3084, 62, 26912, 20107, 3865, 62, 16, 33411, 1438, 62, 1659, 62, 41082, 496, 796, 366, 12130, 615, 333, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 23142, 329, 1458, 615, 333, 46506, 327, 28270, 7, 17618, 62, 1659, 62, 6667, 30296, 8, 16034, 3084, 62, 26912, 20107, 3865, 62, 16, 33411, 1438, 62, 1659, 62, 41082, 496, 796, 366, 12130, 615, 333, 1 ]
how many dances at most scored at least 35 ?
SELECT COUNT("dance") FROM table_204_711 WHERE "best score" >= 35
[ 4919, 867, 38207, 379, 749, 7781, 379, 1551, 3439, 5633, 46506, 327, 28270, 7203, 67, 590, 4943, 16034, 3084, 62, 18638, 62, 22, 1157, 33411, 366, 13466, 4776, 1, 18189, 3439 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 38207, 379, 749, 7781, 379, 1551, 3439, 5633, 46506, 327, 28270, 7203, 67, 590, 4943, 16034, 3084, 62, 18638, 62, 22, 1157, 33411, 366, 13466, 4776, 1, 18189, 3439 ]
What is the lowest overall number of hurricanes?
SELECT MIN(number_of_hurricanes) FROM table_2930244_3
[ 2061, 318, 262, 9016, 4045, 1271, 286, 40370, 30, 46506, 20625, 7, 17618, 62, 1659, 62, 48349, 24881, 8, 16034, 3084, 62, 1959, 1270, 25707, 62, 18 ]
[ 1, 1, 1, 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, 4045, 1271, 286, 40370, 30, 46506, 20625, 7, 17618, 62, 1659, 62, 48349, 24881, 8, 16034, 3084, 62, 1959, 1270, 25707, 62, 18 ]
Who were the opposing team when playing in the Portugal venue?
SELECT opponents FROM table_name_49 WHERE venue = "portugal"
[ 8241, 547, 262, 12330, 1074, 618, 2712, 287, 262, 19101, 14359, 30, 46506, 7691, 16034, 3084, 62, 3672, 62, 2920, 33411, 14359, 796, 366, 634, 43778, 1 ]
[ 1, 1, 1, 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, 12330, 1074, 618, 2712, 287, 262, 19101, 14359, 30, 46506, 7691, 16034, 3084, 62, 3672, 62, 2920, 33411, 14359, 796, 366, 634, 43778, 1 ]
What was the result of the election in which the incumbent was first elected in 1984?
SELECT "Results" FROM table_682 WHERE "First elected" = '1984'
[ 2061, 373, 262, 1255, 286, 262, 3071, 287, 543, 262, 23526, 373, 717, 7018, 287, 12844, 30, 46506, 366, 25468, 1, 16034, 3084, 62, 43950, 33411, 366, 5962, 7018, 1, 796, 705, 28296, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 286, 262, 3071, 287, 543, 262, 23526, 373, 717, 7018, 287, 12844, 30, 46506, 366, 25468, 1, 16034, 3084, 62, 43950, 33411, 366, 5962, 7018, 1, 796, 705, 28296, 6 ]
what was the number of attendees for the september 19 game ?
SELECT "attendance" FROM table_204_180 WHERE "date" = 'september 19'
[ 10919, 373, 262, 1271, 286, 21736, 329, 262, 384, 457, 1491, 678, 983, 5633, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 15259, 33411, 366, 4475, 1, 796, 705, 325, 457, 1491, 678, 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 ]
[ 10919, 373, 262, 1271, 286, 21736, 329, 262, 384, 457, 1491, 678, 983, 5633, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 15259, 33411, 366, 4475, 1, 796, 705, 325, 457, 1491, 678, 6 ]
What score has grays athletic as the home team?
SELECT score FROM table_name_27 WHERE home_team = "grays athletic"
[ 2061, 4776, 468, 1036, 592, 15177, 355, 262, 1363, 1074, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1983, 33411, 1363, 62, 15097, 796, 366, 2164, 592, 15177, 1 ]
[ 1, 1, 1, 1, 1, 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, 4776, 468, 1036, 592, 15177, 355, 262, 1363, 1074, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1983, 33411, 1363, 62, 15097, 796, 366, 2164, 592, 15177, 1 ]
in 2104, what are the top five most commonly prescribed drugs to patients within the same hospital visit after having been diagnosed with pois-arom analgesics nec?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id 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_...
[ 259, 362, 13464, 11, 644, 389, 262, 1353, 1936, 749, 8811, 14798, 5010, 284, 3871, 1626, 262, 976, 4436, 3187, 706, 1719, 587, 14641, 351, 745, 271, 12, 283, 296, 48895, 873, 27576, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 259, 362, 13464, 11, 644, 389, 262, 1353, 1936, 749, 8811, 14798, 5010, 284, 3871, 1626, 262, 976, 4436, 3187, 706, 1719, 587, 14641, 351, 745, 271, 12, 283, 296, 48895, 873, 27576, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, ...
what was the first term year represented in the chart ?
SELECT MIN("first served") FROM table_204_699
[ 10919, 373, 262, 717, 3381, 614, 7997, 287, 262, 8262, 5633, 46506, 20625, 7203, 11085, 4983, 4943, 16034, 3084, 62, 18638, 62, 47325 ]
[ 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, 717, 3381, 614, 7997, 287, 262, 8262, 5633, 46506, 20625, 7203, 11085, 4983, 4943, 16034, 3084, 62, 18638, 62, 47325 ]
What was the score of Game 16?
SELECT score FROM table_name_4 WHERE game = "16"
[ 2061, 373, 262, 4776, 286, 3776, 1467, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 19, 33411, 983, 796, 366, 1433, 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, 3776, 1467, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 19, 33411, 983, 796, 366, 1433, 1 ]
What is IATA, when ICAO is 'Hesh'?
SELECT iata FROM table_name_35 WHERE icao = "hesh"
[ 2061, 318, 314, 13563, 11, 618, 314, 8141, 46, 318, 705, 39, 5069, 30960, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 2327, 33411, 220, 3970, 78, 796, 366, 956, 71, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 314, 13563, 11, 618, 314, 8141, 46, 318, 705, 39, 5069, 30960, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 2327, 33411, 220, 3970, 78, 796, 366, 956, 71, 1 ]
What is the highest crowd at arden street oval?
SELECT MAX(crowd) FROM table_name_7 WHERE venue = "arden street oval"
[ 2061, 318, 262, 4511, 4315, 379, 610, 6559, 4675, 41186, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 22, 33411, 14359, 796, 366, 5872, 4675, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 4315, 379, 610, 6559, 4675, 41186, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 22, 33411, 14359, 796, 366, 5872, 4675, 41186, 1 ]
Which company was based in London, United Kingdom?
SELECT "Institution" FROM table_20078 WHERE "Country" = 'London, United Kingdom'
[ 13828, 1664, 373, 1912, 287, 3576, 11, 1578, 7526, 30, 46506, 366, 6310, 2738, 1, 16034, 3084, 62, 2167, 3695, 33411, 366, 33921, 1, 796, 705, 23421, 11, 1578, 7526, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1664, 373, 1912, 287, 3576, 11, 1578, 7526, 30, 46506, 366, 6310, 2738, 1, 16034, 3084, 62, 2167, 3695, 33411, 366, 33921, 1, 796, 705, 23421, 11, 1578, 7526, 6 ]
What was the score on February 17?
SELECT score FROM table_name_77 WHERE date = "february 17"
[ 2061, 373, 262, 4776, 319, 3945, 1596, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3324, 33411, 3128, 796, 366, 69, 1765, 3728, 1596, 1 ]
[ 1, 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, 319, 3945, 1596, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3324, 33411, 3128, 796, 366, 69, 1765, 3728, 1596, 1 ]
For those payments processed with Visa, bin the payment day into Year interval and count them for a bar chart, order from high to low by the y axis.
SELECT Date_Payment_Made, COUNT(Date_Payment_Made) FROM Payments WHERE Payment_Method_Code = 'Visa' ORDER BY COUNT(Date_Payment_Made) DESC
[ 1890, 883, 7524, 13686, 351, 27645, 11, 9874, 262, 6074, 1110, 656, 6280, 16654, 290, 954, 606, 329, 257, 2318, 8262, 11, 1502, 422, 1029, 284, 1877, 416, 262, 331, 16488, 13, 46506, 7536, 62, 19197, 434, 62, 24616, 11, 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...
[ 1890, 883, 7524, 13686, 351, 27645, 11, 9874, 262, 6074, 1110, 656, 6280, 16654, 290, 954, 606, 329, 257, 2318, 8262, 11, 1502, 422, 1029, 284, 1877, 416, 262, 331, 16488, 13, 46506, 7536, 62, 19197, 434, 62, 24616, 11, 327, 28270, ...
For those records from the products and each product's manufacturer, give me the comparison about the average of revenue over the founder , and group by attribute founder by a bar chart, list y-axis in descending order please.
SELECT Founder, AVG(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY AVG(Revenue) DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 6426, 625, 262, 9119, 837, 290, 1448, 416, 11688, 9119, 416, 257, 2318, 8262, 11, 1351, 331, 12, 22704, 287, 31491, 1502, 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, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 6426, 625, 262, 9119, 837, 290, 1448, 416, 11688, 9119, 416, 257, 2318, 8262, 11, 1351, 331, 12, 22704, 287, 31491, 1502, 3...
Show the names of products and the number of events they are in Visualize by bar chart, and I want to sort by the total number in asc.
SELECT Product_Name, COUNT(*) FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID = T2.Product_ID GROUP BY T1.Product_Name ORDER BY COUNT(*)
[ 15307, 262, 3891, 286, 3186, 290, 262, 1271, 286, 2995, 484, 389, 287, 15612, 1096, 416, 2318, 8262, 11, 290, 314, 765, 284, 3297, 416, 262, 2472, 1271, 287, 10570, 13, 46506, 8721, 62, 5376, 11, 327, 28270, 7, 28104, 16034, 18675, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 286, 3186, 290, 262, 1271, 286, 2995, 484, 389, 287, 15612, 1096, 416, 2318, 8262, 11, 290, 314, 765, 284, 3297, 416, 262, 2472, 1271, 287, 10570, 13, 46506, 8721, 62, 5376, 11, 327, 28270, 7, 28104, 16034, 18675, ...
In what year was Martin Sheen nominated?
SELECT year FROM table_name_3 WHERE nominee = "martin sheen"
[ 818, 644, 614, 373, 5780, 50189, 19332, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 18, 33411, 10429, 796, 366, 13822, 259, 673, 268, 1 ]
[ 1, 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, 5780, 50189, 19332, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 18, 33411, 10429, 796, 366, 13822, 259, 673, 268, 1 ]
was the wang xin ranked above or below qiu lianhai ?
SELECT (SELECT "rank" FROM table_203_441 WHERE "athlete" = 'wang xin') < (SELECT "rank" FROM table_203_441 WHERE "athlete" = 'qiu lianhai')
[ 9776, 262, 266, 648, 2124, 259, 10307, 2029, 393, 2174, 10662, 16115, 300, 666, 44488, 5633, 46506, 357, 46506, 366, 43027, 1, 16034, 3084, 62, 22416, 62, 39710, 33411, 366, 776, 5807, 1, 796, 705, 47562, 2124, 259, 11537, 1279, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9776, 262, 266, 648, 2124, 259, 10307, 2029, 393, 2174, 10662, 16115, 300, 666, 44488, 5633, 46506, 357, 46506, 366, 43027, 1, 16034, 3084, 62, 22416, 62, 39710, 33411, 366, 776, 5807, 1, 796, 705, 47562, 2124, 259, 11537, 1279, 357, ...
What candidates ran in the election that included john shelley?
SELECT candidates FROM table_1341973_6 WHERE incumbent = "John Shelley"
[ 2061, 5871, 4966, 287, 262, 3071, 326, 3017, 45610, 7497, 1636, 30, 46506, 5871, 16034, 3084, 62, 19880, 40220, 62, 21, 33411, 23526, 796, 366, 7554, 46854, 1 ]
[ 1, 1, 1, 1, 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, 5871, 4966, 287, 262, 3071, 326, 3017, 45610, 7497, 1636, 30, 46506, 5871, 16034, 3084, 62, 19880, 40220, 62, 21, 33411, 23526, 796, 366, 7554, 46854, 1 ]
Give me the comparison about the sum of Weight over the Sex , and group by attribute Sex by a bar chart, display by the Y-axis from low to high.
SELECT Sex, SUM(Weight) FROM people GROUP BY Sex ORDER BY SUM(Weight)
[ 23318, 502, 262, 7208, 546, 262, 2160, 286, 14331, 625, 262, 14419, 837, 290, 1448, 416, 11688, 14419, 416, 257, 2318, 8262, 11, 3359, 416, 262, 575, 12, 22704, 422, 1877, 284, 1029, 13, 46506, 14419, 11, 35683, 7, 25844, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 7208, 546, 262, 2160, 286, 14331, 625, 262, 14419, 837, 290, 1448, 416, 11688, 14419, 416, 257, 2318, 8262, 11, 3359, 416, 262, 575, 12, 22704, 422, 1877, 284, 1029, 13, 46506, 14419, 11, 35683, 7, 25844, 8, 16034, ...
When did South Melbourne play as the home team?
SELECT "Date" FROM table_55071 WHERE "Home team" = 'south melbourne'
[ 2215, 750, 2520, 14819, 711, 355, 262, 1363, 1074, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22730, 4869, 33411, 366, 16060, 1074, 1, 796, 705, 35782, 7758, 12544, 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 ]
[ 2215, 750, 2520, 14819, 711, 355, 262, 1363, 1074, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22730, 4869, 33411, 366, 16060, 1074, 1, 796, 705, 35782, 7758, 12544, 6 ]
What country scored 67?
SELECT "Country" FROM table_49137 WHERE "Score" = '67'
[ 2061, 1499, 7781, 8275, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2920, 19708, 33411, 366, 26595, 1, 796, 705, 3134, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 7781, 8275, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2920, 19708, 33411, 366, 26595, 1, 796, 705, 3134, 6 ]
What's the name of the city or town of the school that operates the http://www.mfschools.org/high/ website?
SELECT institution FROM table_29612224_1 WHERE school_website = "http://www.mfschools.org/high/"
[ 2061, 338, 262, 1438, 286, 262, 1748, 393, 3240, 286, 262, 1524, 326, 14051, 262, 2638, 1378, 2503, 13, 76, 9501, 1251, 82, 13, 2398, 14, 8929, 14, 3052, 30, 46506, 9901, 16034, 3084, 62, 27137, 18376, 1731, 62, 16, 33411, 1524, 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 ]
[ 2061, 338, 262, 1438, 286, 262, 1748, 393, 3240, 286, 262, 1524, 326, 14051, 262, 2638, 1378, 2503, 13, 76, 9501, 1251, 82, 13, 2398, 14, 8929, 14, 3052, 30, 46506, 9901, 16034, 3084, 62, 27137, 18376, 1731, 62, 16, 33411, 1524, 62,...
when did patient 1784 have for the last time intake of d5/.45ns today?
SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1784)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label ...
[ 12518, 750, 5827, 1596, 5705, 423, 329, 262, 938, 640, 10337, 286, 288, 20, 11757, 2231, 5907, 1909, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 1596, 5705, 423, 329, 262, 938, 640, 10337, 286, 288, 20, 11757, 2231, 5907, 1909, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, ...
Show the number of the names of editors that are on the committee of journals with sales bigger than 3000, display by the how many name in asc please.
SELECT Name, COUNT(Name) FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID WHERE T3.Sales > 3000 GROUP BY Name ORDER BY COUNT(Name)
[ 15307, 262, 1271, 286, 262, 3891, 286, 15719, 326, 389, 319, 262, 5583, 286, 22790, 351, 4200, 5749, 621, 20343, 11, 3359, 416, 262, 703, 867, 1438, 287, 10570, 3387, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 3989, 62, 267...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 262, 3891, 286, 15719, 326, 389, 319, 262, 5583, 286, 22790, 351, 4200, 5749, 621, 20343, 11, 3359, 416, 262, 703, 867, 1438, 287, 10570, 3387, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 3989, 62, 267...
What is the Athens Base play with Dance Theatre Roes Company?
SELECT "play" FROM table_66174 WHERE "base" = 'athens' AND "company" = 'dance theatre roes'
[ 2061, 318, 262, 21891, 7308, 711, 351, 17349, 15752, 371, 3028, 5834, 30, 46506, 366, 1759, 1, 16034, 3084, 62, 2791, 22985, 33411, 366, 8692, 1, 796, 705, 265, 5135, 6, 5357, 366, 39722, 1, 796, 705, 67, 590, 21421, 686, 274, 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 ]
[ 2061, 318, 262, 21891, 7308, 711, 351, 17349, 15752, 371, 3028, 5834, 30, 46506, 366, 1759, 1, 16034, 3084, 62, 2791, 22985, 33411, 366, 8692, 1, 796, 705, 265, 5135, 6, 5357, 366, 39722, 1, 796, 705, 67, 590, 21421, 686, 274, 6 ]
What 1953 has 2 for 1947, and dne as 1938?
SELECT "1953" FROM table_40816 WHERE "1947" = '2' AND "1938" = 'dne'
[ 2061, 24217, 468, 362, 329, 21709, 11, 290, 288, 710, 355, 28017, 30, 46506, 366, 1129, 4310, 1, 16034, 3084, 62, 26200, 1433, 33411, 366, 1129, 2857, 1, 796, 705, 17, 6, 5357, 366, 1129, 2548, 1, 796, 705, 67, 710, 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 ]
[ 2061, 24217, 468, 362, 329, 21709, 11, 290, 288, 710, 355, 28017, 30, 46506, 366, 1129, 4310, 1, 16034, 3084, 62, 26200, 1433, 33411, 366, 1129, 2857, 1, 796, 705, 17, 6, 5357, 366, 1129, 2548, 1, 796, 705, 67, 710, 6 ]
At which race did reg parnell win the goodwood trophy?
SELECT "Race" FROM table_37597 WHERE "Event" = 'goodwood trophy' AND "Driver" = 'reg parnell'
[ 2953, 543, 3234, 750, 842, 279, 1501, 695, 1592, 262, 922, 3822, 16383, 30, 46506, 366, 35157, 1, 16034, 3084, 62, 22318, 5607, 33411, 366, 9237, 1, 796, 705, 11274, 3822, 16383, 6, 5357, 366, 32103, 1, 796, 705, 2301, 279, 1501, 69...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2953, 543, 3234, 750, 842, 279, 1501, 695, 1592, 262, 922, 3822, 16383, 30, 46506, 366, 35157, 1, 16034, 3084, 62, 22318, 5607, 33411, 366, 9237, 1, 796, 705, 11274, 3822, 16383, 6, 5357, 366, 32103, 1, 796, 705, 2301, 279, 1501, 69...
In the disaster in which 1,000 people were helped, what was the nature of help?
SELECT "Nature of Help" FROM table_78292 WHERE "People Assisted" = '1,000'
[ 818, 262, 9336, 287, 543, 352, 11, 830, 661, 547, 4193, 11, 644, 373, 262, 3450, 286, 1037, 30, 46506, 366, 46934, 286, 10478, 1, 16034, 3084, 62, 3695, 32759, 33411, 366, 8061, 2195, 6347, 1, 796, 705, 16, 11, 830, 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 ]
[ 818, 262, 9336, 287, 543, 352, 11, 830, 661, 547, 4193, 11, 644, 373, 262, 3450, 286, 1037, 30, 46506, 366, 46934, 286, 10478, 1, 16034, 3084, 62, 3695, 32759, 33411, 366, 8061, 2195, 6347, 1, 796, 705, 16, 11, 830, 6 ]
When did they play at Candlestick Park?
SELECT date FROM table_name_25 WHERE game_site = "candlestick park"
[ 2215, 750, 484, 711, 379, 15518, 32712, 624, 3250, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1495, 33411, 983, 62, 15654, 796, 366, 46188, 32712, 624, 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 ]
[ 2215, 750, 484, 711, 379, 15518, 32712, 624, 3250, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1495, 33411, 983, 62, 15654, 796, 366, 46188, 32712, 624, 3952, 1 ]
What ranking has the nationality of spain and the goals of 26?
SELECT ranking FROM table_name_95 WHERE nationality = "spain" AND goals = 26
[ 2061, 12759, 468, 262, 29835, 286, 599, 391, 290, 262, 4661, 286, 2608, 30, 46506, 12759, 16034, 3084, 62, 3672, 62, 3865, 33411, 29835, 796, 366, 2777, 391, 1, 5357, 4661, 796, 2608 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12759, 468, 262, 29835, 286, 599, 391, 290, 262, 4661, 286, 2608, 30, 46506, 12759, 16034, 3084, 62, 3672, 62, 3865, 33411, 29835, 796, 366, 2777, 391, 1, 5357, 4661, 796, 2608 ]
Who instructs BCS 532 ?
SELECT DISTINCT instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'BCS' AND course.number = 532 AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.of...
[ 8241, 5048, 82, 347, 7902, 642, 2624, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5048, 82, 347, 7902, 642, 2624, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 1...
What is the lowest league for a less than 0 league cup?
SELECT MIN("League") FROM table_7965 WHERE "League Cup" < '0'
[ 2061, 318, 262, 9016, 4652, 329, 257, 1342, 621, 657, 4652, 6508, 30, 46506, 20625, 7203, 24623, 4943, 16034, 3084, 62, 3720, 2996, 33411, 366, 24623, 5454, 1, 1279, 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 ]
[ 2061, 318, 262, 9016, 4652, 329, 257, 1342, 621, 657, 4652, 6508, 30, 46506, 20625, 7203, 24623, 4943, 16034, 3084, 62, 3720, 2996, 33411, 366, 24623, 5454, 1, 1279, 705, 15, 6 ]
What is the ICAO for Air Busan?
SELECT icao FROM table_name_63 WHERE callsign = "air busan"
[ 2061, 318, 262, 314, 8141, 46, 329, 3701, 5869, 272, 30, 46506, 220, 3970, 78, 16034, 3084, 62, 3672, 62, 5066, 33411, 3848, 570, 796, 366, 958, 1323, 272, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 314, 8141, 46, 329, 3701, 5869, 272, 30, 46506, 220, 3970, 78, 16034, 3084, 62, 3672, 62, 5066, 33411, 3848, 570, 796, 366, 958, 1323, 272, 1 ]
What player costs 210k to transfer?
SELECT name FROM table_name_92 WHERE transfer_fee = "£210k"
[ 2061, 2137, 3484, 20064, 74, 284, 4351, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 5892, 33411, 4351, 62, 39071, 796, 366, 14988, 21536, 74, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2137, 3484, 20064, 74, 284, 4351, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 5892, 33411, 4351, 62, 39071, 796, 366, 14988, 21536, 74, 1 ]
For those employees who did not have any job in the past, a bar chart shows the distribution of hire_date and the average of employee_id bin hire_date by weekday, and rank in desc by the Y-axis.
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY AVG(EMPLOYEE_ID) DESC
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 11, 290, 4279, 287, 1715, 416, 262, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 2318, 8262, 2523, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 11, 290, 4279, 287, 1715, 416, 262, ...
Show the hometowns shared by people older than 23 and younger than 20.
SELECT Hometown FROM people WHERE Age > 23 INTERSECT SELECT Hometown FROM people WHERE Age < 20
[ 15307, 262, 20994, 82, 4888, 416, 661, 4697, 621, 2242, 290, 7099, 621, 1160, 13, 46506, 367, 19191, 16034, 661, 33411, 7129, 1875, 2242, 17828, 4877, 9782, 33493, 367, 19191, 16034, 661, 33411, 7129, 1279, 1160 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20994, 82, 4888, 416, 661, 4697, 621, 2242, 290, 7099, 621, 1160, 13, 46506, 367, 19191, 16034, 661, 33411, 7129, 1875, 2242, 17828, 4877, 9782, 33493, 367, 19191, 16034, 661, 33411, 7129, 1279, 1160 ]
provide the number of patients whose ethnicity is asian and age is less than 49?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.age < "49"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 2479, 318, 1342, 621, 5125, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 1921, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 2479, 318, 1342, 621, 5125, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 1921, ...
What is the largest number of holding companies?
SELECT MAX(holding_companies) FROM table_1756264_2
[ 2061, 318, 262, 4387, 1271, 286, 4769, 2706, 30, 46506, 25882, 7, 19216, 62, 34390, 444, 8, 16034, 3084, 62, 1558, 3980, 18897, 62, 17 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 1271, 286, 4769, 2706, 30, 46506, 25882, 7, 19216, 62, 34390, 444, 8, 16034, 3084, 62, 1558, 3980, 18897, 62, 17 ]
Two-user affinity vetor, by interesting profiles.
SELECT PostTags.PostId, Posts.OwnerUserId, COUNT(*) AS p_tot_tags FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId WHERE Posts.OwnerUserId IN (@UserId1, @UserId2) GROUP BY PostTags.PostId, Posts.OwnerUserId
[ 7571, 12, 7220, 28430, 1569, 13165, 11, 416, 3499, 16545, 13, 46506, 2947, 36142, 13, 6307, 7390, 11, 12043, 13, 42419, 12982, 7390, 11, 327, 28270, 7, 28104, 7054, 279, 62, 83, 313, 62, 31499, 16034, 44789, 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...
[ 7571, 12, 7220, 28430, 1569, 13165, 11, 416, 3499, 16545, 13, 46506, 2947, 36142, 13, 6307, 7390, 11, 12043, 13, 42419, 12982, 7390, 11, 327, 28270, 7, 28104, 7054, 279, 62, 83, 313, 62, 31499, 16034, 44789, 3268, 21479, 32357, 1268, ...
Return a bar chart on what are the allergy types and how many allergies correspond to each one?, and show in descending by the total number please.
SELECT AllergyType, COUNT(*) FROM Allergy_Type GROUP BY AllergyType ORDER BY COUNT(*) DESC
[ 13615, 257, 2318, 8262, 319, 644, 389, 262, 36197, 3858, 290, 703, 867, 36665, 6053, 284, 1123, 530, 21747, 290, 905, 287, 31491, 416, 262, 2472, 1271, 3387, 13, 46506, 1439, 26079, 6030, 11, 327, 28270, 7, 28104, 16034, 1439, 26079, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 2318, 8262, 319, 644, 389, 262, 36197, 3858, 290, 703, 867, 36665, 6053, 284, 1123, 530, 21747, 290, 905, 287, 31491, 416, 262, 2472, 1271, 3387, 13, 46506, 1439, 26079, 6030, 11, 327, 28270, 7, 28104, 16034, 1439, 26079, ...
Which Position has a Surname of naylor?
SELECT "Position" FROM table_75188 WHERE "Surname" = 'naylor'
[ 13828, 23158, 468, 257, 311, 700, 480, 286, 299, 7167, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2425, 20356, 33411, 366, 50, 700, 480, 1, 796, 705, 77, 7167, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 23158, 468, 257, 311, 700, 480, 286, 299, 7167, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2425, 20356, 33411, 366, 50, 700, 480, 1, 796, 705, 77, 7167, 6 ]
how many patients whose admission location is clinic referral/premature and admission year is less than 2112?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.admityear < "2112"
[ 4919, 867, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 13938, 614, 318, 1342, 621, 2310, 1065, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 13938, 614, 318, 1342, 621, 2310, 1065, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 34...
what is the location when the time is 3:15?
SELECT location FROM table_name_7 WHERE time = "3:15"
[ 10919, 318, 262, 4067, 618, 262, 640, 318, 513, 25, 1314, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 22, 33411, 640, 796, 366, 18, 25, 1314, 1 ]
[ 1, 1, 1, 1, 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, 4067, 618, 262, 640, 318, 513, 25, 1314, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 22, 33411, 640, 796, 366, 18, 25, 1314, 1 ]
How many strokes under par was the player who scored 71?
SELECT "To par" FROM table_45708 WHERE "Score" = '71'
[ 2437, 867, 29483, 739, 1582, 373, 262, 2137, 508, 7781, 9166, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 2231, 32583, 33411, 366, 26595, 1, 796, 705, 4869, 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 ]
[ 2437, 867, 29483, 739, 1582, 373, 262, 2137, 508, 7781, 9166, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 2231, 32583, 33411, 366, 26595, 1, 796, 705, 4869, 6 ]
What was the transfer window with a moving from of fenerbah e?
SELECT "Transfer window" FROM table_65106 WHERE "Moving from" = 'fenerbahçe'
[ 2061, 373, 262, 4351, 4324, 351, 257, 3867, 422, 286, 277, 877, 47041, 304, 30, 46506, 366, 43260, 4324, 1, 16034, 3084, 62, 2996, 15801, 33411, 366, 33622, 422, 1, 796, 705, 69, 877, 47041, 16175, 68, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4351, 4324, 351, 257, 3867, 422, 286, 277, 877, 47041, 304, 30, 46506, 366, 43260, 4324, 1, 16034, 3084, 62, 2996, 15801, 33411, 366, 33622, 422, 1, 796, 705, 69, 877, 47041, 16175, 68, 6 ]
Who played mens doubles for the 1999 kobe tour?
SELECT "Mens Doubles" FROM table_30312 WHERE "Year Location" = '1999 Kobe'
[ 8241, 2826, 285, 641, 21938, 329, 262, 7358, 479, 5910, 4205, 30, 46506, 366, 44, 641, 5728, 7689, 1, 16034, 3084, 62, 22572, 1065, 33411, 366, 17688, 13397, 1, 796, 705, 18946, 29493, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2826, 285, 641, 21938, 329, 262, 7358, 479, 5910, 4205, 30, 46506, 366, 44, 641, 5728, 7689, 1, 16034, 3084, 62, 22572, 1065, 33411, 366, 17688, 13397, 1, 796, 705, 18946, 29493, 6 ]
What is the church name for the church located in Kyrkjeb ?
SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Kyrkjebø"
[ 2061, 318, 262, 4928, 1438, 329, 262, 4928, 5140, 287, 42748, 42421, 1765, 5633, 46506, 4928, 62, 3672, 16034, 3084, 62, 23188, 29769, 62, 16, 33411, 4067, 62, 1659, 62, 1169, 62, 36964, 796, 366, 42, 2417, 42421, 1765, 24172, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4928, 1438, 329, 262, 4928, 5140, 287, 42748, 42421, 1765, 5633, 46506, 4928, 62, 3672, 16034, 3084, 62, 23188, 29769, 62, 16, 33411, 4067, 62, 1659, 62, 1169, 62, 36964, 796, 366, 42, 2417, 42421, 1765, 24172, 1 ]
how many patients born before 2117 have lab test item id 51176?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2117" AND lab.itemid = "51176"
[ 4919, 867, 3871, 4642, 878, 362, 17657, 423, 2248, 1332, 2378, 4686, 642, 1157, 4304, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4642, 878, 362, 17657, 423, 2248, 1332, 2378, 4686, 642, 1157, 4304, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, ...
What is the 2009 value with a q1 in 2006 in the French Open?
SELECT "2009" FROM table_71446 WHERE "2006" = 'q1' AND "Tournament" = 'french open'
[ 2061, 318, 262, 3717, 1988, 351, 257, 10662, 16, 287, 4793, 287, 262, 4141, 4946, 30, 46506, 366, 10531, 1, 16034, 3084, 62, 45722, 3510, 33411, 366, 13330, 1, 796, 705, 80, 16, 6, 5357, 366, 51, 5138, 1, 796, 705, 69, 3532, 1280,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3717, 1988, 351, 257, 10662, 16, 287, 4793, 287, 262, 4141, 4946, 30, 46506, 366, 10531, 1, 16034, 3084, 62, 45722, 3510, 33411, 366, 13330, 1, 796, 705, 80, 16, 6, 5357, 366, 51, 5138, 1, 796, 705, 69, 3532, 1280,...
For those records from the products and each product's manufacturer, visualize a scatter chart about the correlation between code and price , and group by attribute headquarter.
SELECT T1.Code, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 41058, 8262, 546, 262, 16096, 1022, 2438, 290, 2756, 837, 290, 1448, 416, 11688, 1182, 24385, 13, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 18124, 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...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 41058, 8262, 546, 262, 16096, 1022, 2438, 290, 2756, 837, 290, 1448, 416, 11688, 1182, 24385, 13, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 18124, 16034, ...
Which venue has an Away team score of 12.11 (83)?
SELECT "Venue" FROM table_54578 WHERE "Away team score" = '12.11 (83)'
[ 13828, 14359, 468, 281, 21986, 1074, 4776, 286, 1105, 13, 1157, 357, 5999, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 45326, 3695, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1065, 13, 1157, 357, 5999, 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, 1, 1, 1, 1, 1 ]
[ 13828, 14359, 468, 281, 21986, 1074, 4776, 286, 1105, 13, 1157, 357, 5999, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 45326, 3695, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1065, 13, 1157, 357, 5999, 33047 ]
what was the name of the procedure, which patient 27392 was last received when they came to the hospital last time?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27392 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admit...
[ 10919, 373, 262, 1438, 286, 262, 8771, 11, 543, 5827, 2681, 32321, 373, 938, 2722, 618, 484, 1625, 284, 262, 4436, 938, 640, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 1438, 286, 262, 8771, 11, 543, 5827, 2681, 32321, 373, 938, 2722, 618, 484, 1625, 284, 262, 4436, 938, 640, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, ...
What was the number of earnings were cuts made are 19 and money list rank is 3?
SELECT earnings__€_ FROM table_12821159_14 WHERE cuts_made = 19 AND money_list_rank = 3
[ 2061, 373, 262, 1271, 286, 12042, 547, 6630, 925, 389, 678, 290, 1637, 1351, 4279, 318, 513, 30, 46506, 12042, 834, 26391, 62, 16034, 3084, 62, 1065, 6469, 1157, 3270, 62, 1415, 33411, 6630, 62, 9727, 796, 678, 5357, 1637, 62, 4868, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 12042, 547, 6630, 925, 389, 678, 290, 1637, 1351, 4279, 318, 513, 30, 46506, 12042, 834, 26391, 62, 16034, 3084, 62, 1065, 6469, 1157, 3270, 62, 1415, 33411, 6630, 62, 9727, 796, 678, 5357, 1637, 62, 4868, ...
Who is every high rebound when the team is Mount St. Mary's?
SELECT high_rebounds FROM table_29846807_4 WHERE team = "Mount St. Mary's"
[ 8241, 318, 790, 1029, 23623, 618, 262, 1074, 318, 5628, 520, 13, 5335, 338, 30, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 27728, 3510, 36928, 62, 19, 33411, 1074, 796, 366, 35452, 520, 13, 5335, 338, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 790, 1029, 23623, 618, 262, 1074, 318, 5628, 520, 13, 5335, 338, 30, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 27728, 3510, 36928, 62, 19, 33411, 1074, 796, 366, 35452, 520, 13, 5335, 338, 1 ]
What is the current version of windows 8 with an RTM build of 9200?
SELECT current_version FROM table_name_14 WHERE rtm_build = "9200" AND name = "windows 8"
[ 2061, 318, 262, 1459, 2196, 286, 9168, 807, 351, 281, 11923, 44, 1382, 286, 860, 2167, 30, 46506, 1459, 62, 9641, 16034, 3084, 62, 3672, 62, 1415, 33411, 374, 17209, 62, 11249, 796, 366, 24, 2167, 1, 5357, 1438, 796, 366, 28457, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1459, 2196, 286, 9168, 807, 351, 281, 11923, 44, 1382, 286, 860, 2167, 30, 46506, 1459, 62, 9641, 16034, 3084, 62, 3672, 62, 1415, 33411, 374, 17209, 62, 11249, 796, 366, 24, 2167, 1, 5357, 1438, 796, 366, 28457, 807...
What's the record of the game with number 40?
SELECT record FROM table_23285761_7 WHERE game = 40
[ 2061, 338, 262, 1700, 286, 262, 983, 351, 1271, 2319, 30, 46506, 1700, 16034, 3084, 62, 1954, 2078, 3553, 5333, 62, 22, 33411, 983, 796, 2319 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 1700, 286, 262, 983, 351, 1271, 2319, 30, 46506, 1700, 16034, 3084, 62, 1954, 2078, 3553, 5333, 62, 22, 33411, 983, 796, 2319 ]
what is the earliest first elected with the results re-elected in the district south carolina 3?
SELECT MAX(first_elected) FROM table_1341423_40 WHERE results = "Re-elected" AND district = "South Carolina 3"
[ 10919, 318, 262, 14555, 717, 7018, 351, 262, 2482, 302, 12, 28604, 287, 262, 4783, 5366, 1097, 47196, 513, 30, 46506, 25882, 7, 11085, 62, 28604, 8, 16034, 3084, 62, 19880, 1415, 1954, 62, 1821, 33411, 2482, 796, 366, 3041, 12, 28604,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14555, 717, 7018, 351, 262, 2482, 302, 12, 28604, 287, 262, 4783, 5366, 1097, 47196, 513, 30, 46506, 25882, 7, 11085, 62, 28604, 8, 16034, 3084, 62, 19880, 1415, 1954, 62, 1821, 33411, 2482, 796, 366, 3041, 12, 28604,...
The length of 30 minutes aired on what date?
SELECT airdate FROM table_name_54 WHERE length = "30 minutes"
[ 464, 4129, 286, 1542, 2431, 18530, 319, 644, 3128, 30, 46506, 257, 1447, 378, 16034, 3084, 62, 3672, 62, 4051, 33411, 4129, 796, 366, 1270, 2431, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 4129, 286, 1542, 2431, 18530, 319, 644, 3128, 30, 46506, 257, 1447, 378, 16034, 3084, 62, 3672, 62, 4051, 33411, 4129, 796, 366, 1270, 2431, 1 ]
List all male directors who worked with the ' NBCUniversal ' company
SELECT director.name FROM company, copyright, directed_by, director, movie WHERE company.name = 'NBCUniversal' AND copyright.cid = company.id AND director.did = directed_by.did AND director.gender = 'male' AND movie.mid = copyright.msid AND movie.mid = directed_by.msid
[ 8053, 477, 4257, 13445, 508, 3111, 351, 262, 705, 9716, 38747, 705, 1664, 46506, 3437, 13, 3672, 16034, 1664, 11, 6634, 11, 7924, 62, 1525, 11, 3437, 11, 3807, 33411, 1664, 13, 3672, 796, 705, 13175, 38747, 6, 5357, 6634, 13, 66, 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...
[ 8053, 477, 4257, 13445, 508, 3111, 351, 262, 705, 9716, 38747, 705, 1664, 46506, 3437, 13, 3672, 16034, 1664, 11, 6634, 11, 7924, 62, 1525, 11, 3437, 11, 3807, 33411, 1664, 13, 3672, 796, 705, 13175, 38747, 6, 5357, 6634, 13, 66, 31...
Can I register for 373 Mondays and Wednesdays ?
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.friday = 'N' AND course_offering.monday = 'Y' AND course_offering.thursday = 'N' AND course_offering.tuesday = 'N' AND course_offering.wednesday = 'Y' AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND cour...
[ 6090, 314, 7881, 329, 47946, 49748, 290, 3300, 2516, 12545, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 8310, 2567, 796, 705, 45, 6, 5357, 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...
[ 6090, 314, 7881, 329, 47946, 49748, 290, 3300, 2516, 12545, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 8310, 2567, 796, 705, 45, 6, 5357, 1781, 62, ...
What is the total number of points of the team with less than 4 drawn and an against of 34?
SELECT COUNT(points) FROM table_name_24 WHERE drawn < 4 AND against = 34
[ 2061, 318, 262, 2472, 1271, 286, 2173, 286, 262, 1074, 351, 1342, 621, 604, 7428, 290, 281, 1028, 286, 4974, 30, 46506, 327, 28270, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 1731, 33411, 7428, 1279, 604, 5357, 1028, 796, 4974 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 2173, 286, 262, 1074, 351, 1342, 621, 604, 7428, 290, 281, 1028, 286, 4974, 30, 46506, 327, 28270, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 1731, 33411, 7428, 1279, 604, 5357, 1028, 796, 4974 ]
give me the number of patients whose diagnoses long title is acute parametritis and pelvic cellulitis?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Acute parametritis and pelvic cellulitis"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 14352, 5772, 316, 27398, 290, 43510, 47354, 11815, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 4056...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40567, 890, 3670, 318, 14352, 5772, 316, 27398, 290, 43510, 47354, 11815, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 4056...
calculate the duration of patient 23224's last hospital stay.
SELECT STRFTIME('%j', admissions.dischtime) - STRFTIME('%j', admissions.admittime) FROM admissions WHERE admissions.subject_id = 23224 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1
[ 9948, 3129, 378, 262, 9478, 286, 5827, 2242, 24137, 338, 938, 4436, 2652, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 25349, 13, 6381, 354, 2435, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 25349, 13, 324, 20124, 524, 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...
[ 9948, 3129, 378, 262, 9478, 286, 5827, 2242, 24137, 338, 938, 4436, 2652, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 25349, 13, 6381, 354, 2435, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 25349, 13, 324, 20124, 524, 8, ...
Which Total has an FA Cup goals of 1, and a League goals of 4 + 7?
SELECT AVG("Total") FROM table_43815 WHERE "FA Cup goals" = '1' AND "League goals" = '4 + 7'
[ 13828, 7472, 468, 281, 9677, 5454, 4661, 286, 352, 11, 290, 257, 4041, 4661, 286, 604, 1343, 767, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 43704, 1314, 33411, 366, 7708, 5454, 4661, 1, 796, 705, 16, 6, 5357, 366, 24623, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7472, 468, 281, 9677, 5454, 4661, 286, 352, 11, 290, 257, 4041, 4661, 286, 604, 1343, 767, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 43704, 1314, 33411, 366, 7708, 5454, 4661, 1, 796, 705, 16, 6, 5357, 366, 24623, ...
laboratory findings of fasting total cholesterol greater than or equal to 240 mg / dl
SELECT * FROM table_train_79 WHERE fasting_total_cholesterol >= 240
[ 75, 4820, 2870, 6373, 286, 24845, 2472, 18759, 3744, 621, 393, 4961, 284, 14956, 10527, 1220, 288, 75, 46506, 1635, 16034, 3084, 62, 27432, 62, 3720, 33411, 24845, 62, 23350, 62, 354, 16743, 18189, 14956 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 75, 4820, 2870, 6373, 286, 24845, 2472, 18759, 3744, 621, 393, 4961, 284, 14956, 10527, 1220, 288, 75, 46506, 1635, 16034, 3084, 62, 27432, 62, 3720, 33411, 24845, 62, 23350, 62, 354, 16743, 18189, 14956 ]
Bar chart x axis name y axis how many name, sort by the X-axis in descending.
SELECT Name, COUNT(Name) FROM editor GROUP BY Name ORDER BY Name DESC
[ 10374, 8262, 2124, 16488, 1438, 331, 16488, 703, 867, 1438, 11, 3297, 416, 262, 1395, 12, 22704, 287, 31491, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 5464, 44441, 11050, 6530, 38678, 11050, 6530, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 1438, 331, 16488, 703, 867, 1438, 11, 3297, 416, 262, 1395, 12, 22704, 287, 31491, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 5464, 44441, 11050, 6530, 38678, 11050, 6530, 22196, 34 ]
What is the total Top-25 when the events were less than 0?
SELECT SUM(top_25) FROM table_name_23 WHERE events < 0
[ 2061, 318, 262, 2472, 5849, 12, 1495, 618, 262, 2995, 547, 1342, 621, 657, 30, 46506, 35683, 7, 4852, 62, 1495, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 2995, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 5849, 12, 1495, 618, 262, 2995, 547, 1342, 621, 657, 30, 46506, 35683, 7, 4852, 62, 1495, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 2995, 1279, 657 ]
What is the incident type description for the incident type with code 'VIOLENCE'?
SELECT incident_type_description FROM ref_incident_type WHERE incident_type_code = "VIOLENCE"
[ 2061, 318, 262, 4519, 2099, 6764, 329, 262, 4519, 2099, 351, 2438, 705, 12861, 3535, 18310, 30960, 46506, 4519, 62, 4906, 62, 11213, 16034, 1006, 62, 1939, 738, 62, 4906, 33411, 4519, 62, 4906, 62, 8189, 796, 366, 12861, 3535, 18310, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4519, 2099, 6764, 329, 262, 4519, 2099, 351, 2438, 705, 12861, 3535, 18310, 30960, 46506, 4519, 62, 4906, 62, 11213, 16034, 1006, 62, 1939, 738, 62, 4906, 33411, 4519, 62, 4906, 62, 8189, 796, 366, 12861, 3535, 18310, ...
Get other tags used with a tag.
SELECT t2.TagName AS TagName, COUNT(*) AS Usage FROM PostTags AS pt INNER JOIN Tags AS t ON t.Id = pt.TagId LEFT OUTER JOIN PostTags AS pt2 ON pt2.PostId = pt.PostId LEFT OUTER JOIN Tags AS t2 ON t2.Id = pt2.TagId WHERE t.TagName = '##Name##' AND t2.TagName != '##Name##' GROUP BY t2.TagName ORDER BY Usage DESC
[ 3855, 584, 15940, 973, 351, 257, 7621, 13, 46506, 256, 17, 13, 24835, 5376, 7054, 17467, 5376, 11, 327, 28270, 7, 28104, 7054, 29566, 16034, 2947, 36142, 7054, 42975, 3268, 21479, 32357, 1268, 44789, 7054, 256, 6177, 256, 13, 7390, 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...
[ 3855, 584, 15940, 973, 351, 257, 7621, 13, 46506, 256, 17, 13, 24835, 5376, 7054, 17467, 5376, 11, 327, 28270, 7, 28104, 7054, 29566, 16034, 2947, 36142, 7054, 42975, 3268, 21479, 32357, 1268, 44789, 7054, 256, 6177, 256, 13, 7390, 796,...
was there an oxygen lab test performed on patient 25763 since 90 months ago?
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'oxygen') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25763) AND DATETIME(labevents.charttime) >= DATETIME(CURRENT_TIME(), '-90 month')
[ 9776, 612, 281, 11863, 2248, 1332, 6157, 319, 5827, 1679, 49641, 1201, 4101, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 918...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9776, 612, 281, 11863, 2248, 1332, 6157, 319, 5827, 1679, 49641, 1201, 4101, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 918...
Who was game number 8 played against?
SELECT opponent FROM table_19778010_5 WHERE game = 8
[ 8241, 373, 983, 1271, 807, 2826, 1028, 30, 46506, 6125, 16034, 3084, 62, 37781, 23, 20943, 62, 20, 33411, 983, 796, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 983, 1271, 807, 2826, 1028, 30, 46506, 6125, 16034, 3084, 62, 37781, 23, 20943, 62, 20, 33411, 983, 796, 807 ]
what is minimum age for different job title?, and rank by the y-axis from high to low.
SELECT job, MIN(age) FROM Person GROUP BY job ORDER BY MIN(age) DESC
[ 10919, 318, 5288, 2479, 329, 1180, 1693, 3670, 21747, 290, 4279, 416, 262, 331, 12, 22704, 422, 1029, 284, 1877, 13, 46506, 1693, 11, 20625, 7, 496, 8, 16034, 7755, 44441, 11050, 1693, 38678, 11050, 20625, 7, 496, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 2479, 329, 1180, 1693, 3670, 21747, 290, 4279, 416, 262, 331, 12, 22704, 422, 1029, 284, 1877, 13, 46506, 1693, 11, 20625, 7, 496, 8, 16034, 7755, 44441, 11050, 1693, 38678, 11050, 20625, 7, 496, 8, 22196, 34 ]
What is the covalent (single bond) value of sodium?
SELECT "Covalent (single bond)" FROM table_40355 WHERE "name" = 'sodium'
[ 2061, 318, 262, 269, 8325, 298, 357, 29762, 6314, 8, 1988, 286, 21072, 30, 46506, 366, 34, 8325, 298, 357, 29762, 6314, 16725, 16034, 3084, 62, 1821, 28567, 33411, 366, 3672, 1, 796, 705, 82, 12664, 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, 269, 8325, 298, 357, 29762, 6314, 8, 1988, 286, 21072, 30, 46506, 366, 34, 8325, 298, 357, 29762, 6314, 16725, 16034, 3084, 62, 1821, 28567, 33411, 366, 3672, 1, 796, 705, 82, 12664, 6 ]
Who had the high points when the team was charlotte?
SELECT "High points" FROM table_74197 WHERE "Team" = 'Charlotte'
[ 8241, 550, 262, 1029, 2173, 618, 262, 1074, 373, 1149, 75, 11404, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 4524, 24991, 33411, 366, 15592, 1, 796, 705, 24453, 11404, 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, 550, 262, 1029, 2173, 618, 262, 1074, 373, 1149, 75, 11404, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 4524, 24991, 33411, 366, 15592, 1, 796, 705, 24453, 11404, 6 ]
what are the five most commonly given microbiology tests for patients that had previously received insulin - sliding scale administration during the same month until 2 years ago?
SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'insulin - sliding scale administration' AND ...
[ 10919, 389, 262, 1936, 749, 8811, 1813, 24559, 1435, 5254, 329, 3871, 326, 550, 4271, 2722, 14588, 532, 22292, 5046, 3662, 1141, 262, 976, 1227, 1566, 362, 812, 2084, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1936, 749, 8811, 1813, 24559, 1435, 5254, 329, 3871, 326, 550, 4271, 2722, 14588, 532, 22292, 5046, 3662, 1141, 262, 976, 1227, 1566, 362, 812, 2084, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17...