instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the lowest money ($) that has t8 as the place, with a to par greater than 19?
SELECT MIN("Money ( $ )") FROM table_62581 WHERE "Place" = 't8' AND "To par" > '19'
[ 2061, 318, 262, 9016, 1637, 45491, 326, 468, 256, 23, 355, 262, 1295, 11, 351, 257, 284, 1582, 3744, 621, 678, 30, 46506, 20625, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 26704, 6659, 33411, 366, 27271, 1, 796, 705, 83, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1637, 45491, 326, 468, 256, 23, 355, 262, 1295, 11, 351, 257, 284, 1582, 3744, 621, 678, 30, 46506, 20625, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 26704, 6659, 33411, 366, 27271, 1, 796, 705, 83, 23...
What has ras bodik published ?
SELECT DISTINCT writes.paperid FROM author, writes WHERE author.authorname = 'ras bodik' AND writes.authorid = author.authorid
[ 2061, 468, 374, 292, 16429, 1134, 3199, 5633, 46506, 360, 8808, 1268, 4177, 6797, 13, 20189, 312, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 8847, 16429, 1134, 6, 5357, 6797, 13, 9800, 312, 796, 1772, 13, 9800...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 374, 292, 16429, 1134, 3199, 5633, 46506, 360, 8808, 1268, 4177, 6797, 13, 20189, 312, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 8847, 16429, 1134, 6, 5357, 6797, 13, 9800, 312, 796, 1772, 13, 9800...
For player is jamal mayers mention the minimum pick
SELECT MIN("Pick") FROM table_29985 WHERE "Player" = 'Jamal Mayers'
[ 1890, 2137, 318, 16853, 282, 743, 364, 3068, 262, 5288, 2298, 46506, 20625, 7203, 31686, 4943, 16034, 3084, 62, 1959, 42250, 33411, 366, 14140, 1, 796, 705, 30380, 282, 1737, 364, 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 ]
[ 1890, 2137, 318, 16853, 282, 743, 364, 3068, 262, 5288, 2298, 46506, 20625, 7203, 31686, 4943, 16034, 3084, 62, 1959, 42250, 33411, 366, 14140, 1, 796, 705, 30380, 282, 1737, 364, 6 ]
What is the result of the game played at Jinan?
SELECT result FROM table_name_26 WHERE venue = "jinan"
[ 2061, 318, 262, 1255, 286, 262, 983, 2826, 379, 17297, 272, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2075, 33411, 14359, 796, 366, 18594, 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 ]
[ 2061, 318, 262, 1255, 286, 262, 983, 2826, 379, 17297, 272, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2075, 33411, 14359, 796, 366, 18594, 272, 1 ]
What was the winning part in the district of South Carolina 3?
SELECT party FROM table_1346137_4 WHERE district = "South Carolina 3"
[ 2061, 373, 262, 5442, 636, 287, 262, 4783, 286, 2520, 5913, 513, 30, 46506, 2151, 16034, 3084, 62, 1485, 3510, 19708, 62, 19, 33411, 4783, 796, 366, 14942, 5913, 513, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 5442, 636, 287, 262, 4783, 286, 2520, 5913, 513, 30, 46506, 2151, 16034, 3084, 62, 1485, 3510, 19708, 62, 19, 33411, 4783, 796, 366, 14942, 5913, 513, 1 ]
Stack bar chart of the number of local authority vs services based on local authority, and could you order from low to high by the bars?
SELECT local_authority, COUNT(local_authority) FROM station GROUP BY services, local_authority ORDER BY local_authority
[ 25896, 2318, 8262, 286, 262, 1271, 286, 1957, 4934, 3691, 2594, 1912, 319, 1957, 4934, 11, 290, 714, 345, 1502, 422, 1877, 284, 1029, 416, 262, 9210, 30, 46506, 1957, 62, 9800, 414, 11, 327, 28270, 7, 12001, 62, 9800, 414, 8, 16034,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25896, 2318, 8262, 286, 262, 1271, 286, 1957, 4934, 3691, 2594, 1912, 319, 1957, 4934, 11, 290, 714, 345, 1502, 422, 1877, 284, 1029, 416, 262, 9210, 30, 46506, 1957, 62, 9800, 414, 11, 327, 28270, 7, 12001, 62, 9800, 414, 8, 16034,...
What was the least amount of points scored by the golden bears when the opponent scored 15 points?
SELECT MIN("Golden Bears points") FROM table_24077 WHERE "Opponents" = '15'
[ 2061, 373, 262, 1551, 2033, 286, 2173, 7781, 416, 262, 10861, 13062, 618, 262, 6125, 7781, 1315, 2173, 30, 46506, 20625, 7203, 32378, 15682, 2173, 4943, 16034, 3084, 62, 1731, 2998, 22, 33411, 366, 27524, 3906, 1, 796, 705, 1314, 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 ]
[ 2061, 373, 262, 1551, 2033, 286, 2173, 7781, 416, 262, 10861, 13062, 618, 262, 6125, 7781, 1315, 2173, 30, 46506, 20625, 7203, 32378, 15682, 2173, 4943, 16034, 3084, 62, 1731, 2998, 22, 33411, 366, 27524, 3906, 1, 796, 705, 1314, 6 ]
What's the start when the finish is 1?
SELECT "Start" FROM table_9396 WHERE "Finish" = '1'
[ 2061, 338, 262, 923, 618, 262, 5461, 318, 352, 30, 46506, 366, 10434, 1, 16034, 3084, 62, 24, 34107, 33411, 366, 48658, 1, 796, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 923, 618, 262, 5461, 318, 352, 30, 46506, 366, 10434, 1, 16034, 3084, 62, 24, 34107, 33411, 366, 48658, 1, 796, 705, 16, 6 ]
have patient 96006 been tested for atypical lymphocytes?
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'atypical lymphocytes') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 96006)
[ 14150, 5827, 860, 8054, 21, 587, 6789, 329, 379, 4464, 605, 28837, 30309, 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, 9186, 312, 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...
[ 14150, 5827, 860, 8054, 21, 587, 6789, 329, 379, 4464, 605, 28837, 30309, 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, 9186, 312, 16034, ...
display all the details from Employees table for those employees who was hired before 2002-06-21.
SELECT * FROM employees WHERE hire_date < '2002-06-21'
[ 13812, 477, 262, 3307, 422, 30260, 3084, 329, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 13, 46506, 1635, 16034, 4409, 33411, 11078, 62, 4475, 1279, 705, 16942, 12, 3312, 12, 2481, 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 ]
[ 13812, 477, 262, 3307, 422, 30260, 3084, 329, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 13, 46506, 1635, 16034, 4409, 33411, 11078, 62, 4475, 1279, 705, 16942, 12, 3312, 12, 2481, 6 ]
Which country has the catalog nr of thr-048 in 2004?
SELECT "Country" FROM table_78787 WHERE "Date" = '2004' AND "Catalog Nr." = 'thr-048'
[ 13828, 1499, 468, 262, 18388, 299, 81, 286, 5636, 12, 47202, 287, 5472, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 3695, 41019, 33411, 366, 10430, 1, 796, 705, 15724, 6, 5357, 366, 49015, 399, 81, 526, 796, 705, 400, 81, 12, 47202, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1499, 468, 262, 18388, 299, 81, 286, 5636, 12, 47202, 287, 5472, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 3695, 41019, 33411, 366, 10430, 1, 796, 705, 15724, 6, 5357, 366, 49015, 399, 81, 526, 796, 705, 400, 81, 12, 47202, ...
What is the average number of goals scored in the FA Cup among players that have more than 20 total goals, less than 1 FA Trophy goals, and less than 25 league goals?
SELECT AVG("FA Cup") FROM table_42975 WHERE "Total" > '20' AND "FA Trophy" < '1' AND "League" < '25'
[ 2061, 318, 262, 2811, 1271, 286, 4661, 7781, 287, 262, 9677, 5454, 1871, 1938, 326, 423, 517, 621, 1160, 2472, 4661, 11, 1342, 621, 352, 9677, 25640, 4661, 11, 290, 1342, 621, 1679, 4652, 4661, 30, 46506, 35224, 7203, 7708, 5454, 4943...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 4661, 7781, 287, 262, 9677, 5454, 1871, 1938, 326, 423, 517, 621, 1160, 2472, 4661, 11, 1342, 621, 352, 9677, 25640, 4661, 11, 290, 1342, 621, 1679, 4652, 4661, 30, 46506, 35224, 7203, 7708, 5454, 4943...
get the number of patients less than 67 years who are suffering from left colon cancer primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "LEFT COLON CANCER" AND demographic.age < "67"
[ 1136, 262, 1271, 286, 3871, 1342, 621, 8275, 812, 508, 389, 7195, 422, 1364, 7633, 4890, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1136, 262, 1271, 286, 3871, 1342, 621, 8275, 812, 508, 389, 7195, 422, 1364, 7633, 4890, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, ...
give the primary disease of tracy farmer.
SELECT demographic.diagnosis FROM demographic WHERE demographic.name = "Tracy Farmer"
[ 26535, 262, 4165, 4369, 286, 491, 1590, 18739, 13, 46506, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 2898, 1590, 37755, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 262, 4165, 4369, 286, 491, 1590, 18739, 13, 46506, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 2898, 1590, 37755, 1 ]
Which Country has a Player of jodie mudd?
SELECT "Country" FROM table_62670 WHERE "Player" = 'jodie mudd'
[ 13828, 12946, 468, 257, 7853, 286, 474, 375, 494, 285, 4185, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 45191, 2154, 33411, 366, 14140, 1, 796, 705, 73, 375, 494, 285, 4185, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 12946, 468, 257, 7853, 286, 474, 375, 494, 285, 4185, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 45191, 2154, 33411, 366, 14140, 1, 796, 705, 73, 375, 494, 285, 4185, 6 ]
What is T5 Place Vijay Singh's To par?
SELECT to_par FROM table_name_60 WHERE place = "t5" AND player = "vijay singh"
[ 2061, 318, 309, 20, 8474, 49219, 323, 14403, 338, 1675, 1582, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 1899, 33411, 1295, 796, 366, 83, 20, 1, 5357, 2137, 796, 366, 85, 2926, 323, 1702, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 309, 20, 8474, 49219, 323, 14403, 338, 1675, 1582, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 1899, 33411, 1295, 796, 366, 83, 20, 1, 5357, 2137, 796, 366, 85, 2926, 323, 1702, 71, 1 ]
known allergy to nuts
SELECT * FROM table_train_267 WHERE allergy_to_nuts = 1
[ 4002, 36197, 284, 14380, 46506, 1635, 16034, 3084, 62, 27432, 62, 25674, 33411, 36197, 62, 1462, 62, 31381, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4002, 36197, 284, 14380, 46506, 1635, 16034, 3084, 62, 27432, 62, 25674, 33411, 36197, 62, 1462, 62, 31381, 796, 352 ]
what is the name of the episode when the number of spectators was 5.60 millions?
SELECT "Title" FROM table_25663 WHERE "Viewers (millions)" = '5.60'
[ 10919, 318, 262, 1438, 286, 262, 4471, 618, 262, 1271, 286, 31704, 373, 642, 13, 1899, 5242, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 1495, 45791, 33411, 366, 7680, 364, 357, 17805, 507, 16725, 796, 705, 20, 13, 1899, 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 ]
[ 10919, 318, 262, 1438, 286, 262, 4471, 618, 262, 1271, 286, 31704, 373, 642, 13, 1899, 5242, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 1495, 45791, 33411, 366, 7680, 364, 357, 17805, 507, 16725, 796, 705, 20, 13, 1899, 6 ]
List all information about college sorted by enrollment number in the ascending order.
SELECT * FROM College ORDER BY enr
[ 8053, 477, 1321, 546, 4152, 23243, 416, 20753, 1271, 287, 262, 41988, 1502, 13, 46506, 1635, 16034, 5535, 38678, 11050, 551, 81 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 477, 1321, 546, 4152, 23243, 416, 20753, 1271, 287, 262, 41988, 1502, 13, 46506, 1635, 16034, 5535, 38678, 11050, 551, 81 ]
what was the opening song on his album ?
SELECT "title" FROM table_204_906 WHERE "#" = 1
[ 10919, 373, 262, 4756, 3496, 319, 465, 5062, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 24, 3312, 33411, 25113, 1, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 4756, 3496, 319, 465, 5062, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 24, 3312, 33411, 25113, 1, 796, 352 ]
Name the number of location for 22-1
SELECT COUNT(location) FROM table_22875369_3 WHERE record = "22-1"
[ 5376, 262, 1271, 286, 4067, 329, 2534, 12, 16, 46506, 327, 28270, 7, 24886, 8, 16034, 3084, 62, 23815, 2425, 30803, 62, 18, 33411, 1700, 796, 366, 1828, 12, 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 ]
[ 5376, 262, 1271, 286, 4067, 329, 2534, 12, 16, 46506, 327, 28270, 7, 24886, 8, 16034, 3084, 62, 23815, 2425, 30803, 62, 18, 33411, 1700, 796, 366, 1828, 12, 16, 1 ]
Name the score for fiji
SELECT "Score" FROM table_80186 WHERE "Country" = 'fiji'
[ 5376, 262, 4776, 329, 277, 20770, 46506, 366, 26595, 1, 16034, 3084, 62, 41531, 4521, 33411, 366, 33921, 1, 796, 705, 69, 20770, 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 ]
[ 5376, 262, 4776, 329, 277, 20770, 46506, 366, 26595, 1, 16034, 3084, 62, 41531, 4521, 33411, 366, 33921, 1, 796, 705, 69, 20770, 6 ]
Which website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio.
SELECT website FROM table_name_53 WHERE city_of_license = "san antonio" AND webcast = "listen live" AND frequency = 680
[ 13828, 3052, 3407, 257, 3992, 2701, 286, 6004, 2107, 11, 257, 8373, 739, 40554, 11, 290, 373, 11971, 287, 262, 1748, 286, 2986, 11366, 13, 46506, 3052, 16034, 3084, 62, 3672, 62, 4310, 33411, 1748, 62, 1659, 62, 43085, 796, 366, 12807...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3052, 3407, 257, 3992, 2701, 286, 6004, 2107, 11, 257, 8373, 739, 40554, 11, 290, 373, 11971, 287, 262, 1748, 286, 2986, 11366, 13, 46506, 3052, 16034, 3084, 62, 3672, 62, 4310, 33411, 1748, 62, 1659, 62, 43085, 796, 366, 12807...
What conference does li dong publish in ?
SELECT DISTINCT paper.venueid FROM author, paper, writes WHERE author.authorname = 'li dong' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 2061, 4495, 857, 7649, 288, 506, 7715, 287, 5633, 46506, 360, 8808, 1268, 4177, 3348, 13, 4080, 312, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 4528, 288, 506, 6, 5357, 6797, 13, 9800, 312, 796, 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 ]
[ 2061, 4495, 857, 7649, 288, 506, 7715, 287, 5633, 46506, 360, 8808, 1268, 4177, 3348, 13, 4080, 312, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 4528, 288, 506, 6, 5357, 6797, 13, 9800, 312, 796, 17...
when did patient 96833 take the influenza a/b by dfa microbiology test for the first time during this month?
SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 96833) AND microbiologyevents.spec_type_desc = 'influenza a/b by dfa' AND DATETIME(microbiologyevents.charttime, 'start of month') = DATETIME(CURRENT_T...
[ 12518, 750, 5827, 860, 3104, 2091, 1011, 262, 29491, 257, 14, 65, 416, 288, 13331, 24559, 1435, 1332, 329, 262, 717, 640, 1141, 428, 1227, 30, 46506, 24559, 1435, 31534, 13, 40926, 2435, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 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...
[ 12518, 750, 5827, 860, 3104, 2091, 1011, 262, 29491, 257, 14, 65, 416, 288, 13331, 24559, 1435, 1332, 329, 262, 717, 640, 1141, 428, 1227, 30, 46506, 24559, 1435, 31534, 13, 40926, 2435, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31...
Users with most questions who have not accepted any answers.
SELECT u.Id AS "user_link", COUNT(p.Id) AS Questions FROM Users AS u INNER JOIN Posts AS p ON p.OwnerUserId = u.Id WHERE p.PostTypeId = 1 AND NOT EXISTS(SELECT q.Id FROM Posts AS q WHERE q.OwnerUserId = u.Id AND NOT q.AcceptedAnswerId IS NULL) GROUP BY u.Id ORDER BY COUNT(p.Id) DESC
[ 14490, 351, 749, 2683, 508, 423, 407, 6292, 597, 7429, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 79, 13, 7390, 8, 7054, 20396, 16034, 18987, 7054, 334, 3268, 21479, 32357, 1268, 12043, 7054, 279, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14490, 351, 749, 2683, 508, 423, 407, 6292, 597, 7429, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 79, 13, 7390, 8, 7054, 20396, 16034, 18987, 7054, 334, 3268, 21479, 32357, 1268, 12043, 7054, 279, 6177, ...
Who had the most points in game 4?
SELECT high_points FROM table_23211041_5 WHERE game = 4
[ 8241, 550, 262, 749, 2173, 287, 983, 604, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 1954, 2481, 940, 3901, 62, 20, 33411, 983, 796, 604 ]
[ 1, 1, 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, 749, 2173, 287, 983, 604, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 1954, 2481, 940, 3901, 62, 20, 33411, 983, 796, 604 ]
What is the sum of Goals Against, when Lost is 45, and when Points is greater than 68?
SELECT SUM("Goals against") FROM table_43398 WHERE "Lost" = '45' AND "Points" > '68'
[ 2061, 318, 262, 2160, 286, 28510, 12914, 11, 618, 9164, 318, 4153, 11, 290, 618, 11045, 318, 3744, 621, 8257, 30, 46506, 35683, 7203, 5247, 874, 1028, 4943, 16034, 3084, 62, 42117, 4089, 33411, 366, 31042, 1, 796, 705, 2231, 6, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 28510, 12914, 11, 618, 9164, 318, 4153, 11, 290, 618, 11045, 318, 3744, 621, 8257, 30, 46506, 35683, 7203, 5247, 874, 1028, 4943, 16034, 3084, 62, 42117, 4089, 33411, 366, 31042, 1, 796, 705, 2231, 6, 5357, ...
When completing 182 laps, what was the qual.?
SELECT "Qual" FROM table_14658 WHERE "Laps" = '182'
[ 2215, 14339, 28581, 24590, 11, 644, 373, 262, 4140, 40791, 46506, 366, 46181, 1, 16034, 3084, 62, 1415, 38431, 33411, 366, 43, 1686, 1, 796, 705, 24294, 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 ]
[ 2215, 14339, 28581, 24590, 11, 644, 373, 262, 4140, 40791, 46506, 366, 46181, 1, 16034, 3084, 62, 1415, 38431, 33411, 366, 43, 1686, 1, 796, 705, 24294, 6 ]
What all capacities have turbines between 50-60?
SELECT capacity__mw_ FROM table_26387382_1 WHERE turbines = "50-60"
[ 2061, 477, 32484, 423, 35658, 1022, 2026, 12, 1899, 30, 46506, 5339, 834, 76, 86, 62, 16034, 3084, 62, 2075, 32220, 36243, 62, 16, 33411, 35658, 796, 366, 1120, 12, 1899, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 477, 32484, 423, 35658, 1022, 2026, 12, 1899, 30, 46506, 5339, 834, 76, 86, 62, 16034, 3084, 62, 2075, 32220, 36243, 62, 16, 33411, 35658, 796, 366, 1120, 12, 1899, 1 ]
How many campuses exist are in the county of LA?
SELECT COUNT(*) FROM campuses WHERE county = "Los Angeles"
[ 2437, 867, 23003, 2152, 389, 287, 262, 7968, 286, 9131, 30, 46506, 327, 28270, 7, 28104, 16034, 23003, 33411, 7968, 796, 366, 28903, 5652, 1 ]
[ 1, 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, 23003, 2152, 389, 287, 262, 7968, 286, 9131, 30, 46506, 327, 28270, 7, 28104, 16034, 23003, 33411, 7968, 796, 366, 28903, 5652, 1 ]
Find the description of the claim status 'Open'.
SELECT claim_status_description FROM claims_processing_stages WHERE claim_status_name = "Open"
[ 16742, 262, 6764, 286, 262, 1624, 3722, 705, 11505, 4458, 46506, 1624, 62, 13376, 62, 11213, 16034, 3667, 62, 36948, 62, 301, 1095, 33411, 1624, 62, 13376, 62, 3672, 796, 366, 11505, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6764, 286, 262, 1624, 3722, 705, 11505, 4458, 46506, 1624, 62, 13376, 62, 11213, 16034, 3667, 62, 36948, 62, 301, 1095, 33411, 1624, 62, 13376, 62, 3672, 796, 366, 11505, 1 ]
What was the record at the game with a score of 21-16?
SELECT "Record" FROM table_66581 WHERE "Score" = '21-16'
[ 2061, 373, 262, 1700, 379, 262, 983, 351, 257, 4776, 286, 2310, 12, 1433, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2791, 48630, 33411, 366, 26595, 1, 796, 705, 2481, 12, 1433, 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, 1700, 379, 262, 983, 351, 257, 4776, 286, 2310, 12, 1433, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2791, 48630, 33411, 366, 26595, 1, 796, 705, 2481, 12, 1433, 6 ]
Where is the best restaurant in san francisco for french food ?
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'san francisco' AND restaurant.food_type = 'french' AND restaurant.id = location.restaurant_id AND restaurant.rating = (SELECT MAX(RESTAURANTalias1.rating) FROM location AS LOCATIONalias1, restaurant AS RESTAURANTalias1 W...
[ 8496, 318, 262, 1266, 7072, 287, 5336, 46754, 4861, 329, 48718, 2057, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 12807, 46754, 4861, 6, 5357, 7072, 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...
[ 8496, 318, 262, 1266, 7072, 287, 5336, 46754, 4861, 329, 48718, 2057, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 12807, 46754, 4861, 6, 5357, 7072, 13...
give me the lab test item id and lab test abnormal status of patient with patient id 22377.
SELECT lab.itemid, lab.flag FROM lab WHERE lab.subject_id = "22377"
[ 26535, 502, 262, 2248, 1332, 2378, 4686, 290, 2248, 1332, 18801, 3722, 286, 5827, 351, 5827, 4686, 30299, 3324, 13, 46506, 2248, 13, 9186, 312, 11, 2248, 13, 32109, 16034, 2248, 33411, 2248, 13, 32796, 62, 312, 796, 366, 1828, 26514, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2248, 1332, 2378, 4686, 290, 2248, 1332, 18801, 3722, 286, 5827, 351, 5827, 4686, 30299, 3324, 13, 46506, 2248, 13, 9186, 312, 11, 2248, 13, 32109, 16034, 2248, 33411, 2248, 13, 32796, 62, 312, 796, 366, 1828, 26514, ...
who is the other person where the assistant is paulo babo
SELECT "Driver" FROM table_30244 WHERE "Co-driver" = 'Paulo Babo'
[ 8727, 318, 262, 584, 1048, 810, 262, 8796, 318, 279, 2518, 78, 9289, 78, 46506, 366, 32103, 1, 16034, 3084, 62, 1270, 25707, 33411, 366, 7222, 12, 26230, 1, 796, 705, 12041, 78, 12400, 78, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 318, 262, 584, 1048, 810, 262, 8796, 318, 279, 2518, 78, 9289, 78, 46506, 366, 32103, 1, 16034, 3084, 62, 1270, 25707, 33411, 366, 7222, 12, 26230, 1, 796, 705, 12041, 78, 12400, 78, 6 ]
What is the 1st leg where Team 1 is C.D. Plaza Amador?
SELECT 1 AS st_leg FROM table_name_12 WHERE team_1 = "c.d. plaza amador"
[ 2061, 318, 262, 352, 301, 1232, 810, 4816, 352, 318, 327, 13, 35, 13, 23280, 1703, 7079, 30, 46506, 352, 7054, 336, 62, 1455, 16034, 3084, 62, 3672, 62, 1065, 33411, 1074, 62, 16, 796, 366, 66, 13, 67, 13, 42433, 716, 7079, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 352, 301, 1232, 810, 4816, 352, 318, 327, 13, 35, 13, 23280, 1703, 7079, 30, 46506, 352, 7054, 336, 62, 1455, 16034, 3084, 62, 3672, 62, 1065, 33411, 1074, 62, 16, 796, 366, 66, 13, 67, 13, 42433, 716, 7079, 1 ]
what is the admisson type and diagnosis for patient name francis baseler?
SELECT demographic.admission_type, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Francis Baseler"
[ 10919, 318, 262, 512, 3927, 261, 2099, 290, 13669, 329, 5827, 1438, 46754, 271, 1615, 417, 263, 30, 46506, 16728, 13, 324, 3411, 62, 4906, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 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...
[ 10919, 318, 262, 512, 3927, 261, 2099, 290, 13669, 329, 5827, 1438, 46754, 271, 1615, 417, 263, 30, 46506, 16728, 13, 324, 3411, 62, 4906, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, ...
according to this list , how many countries sold weapons to iraq ?
SELECT COUNT(DISTINCT "country") FROM table_203_587
[ 38169, 284, 428, 1351, 837, 703, 867, 2678, 2702, 3777, 284, 4173, 30188, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 19315, 4943, 16034, 3084, 62, 22416, 62, 44617 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 38169, 284, 428, 1351, 837, 703, 867, 2678, 2702, 3777, 284, 4173, 30188, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 19315, 4943, 16034, 3084, 62, 22416, 62, 44617 ]
in this hospital visit what is the age of patient 95892?
SELECT admissions.age FROM admissions WHERE admissions.subject_id = 95892 AND admissions.dischtime IS NULL
[ 259, 428, 4436, 3187, 644, 318, 262, 2479, 286, 5827, 860, 3365, 5892, 30, 46506, 25349, 13, 496, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 860, 3365, 5892, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 428, 4436, 3187, 644, 318, 262, 2479, 286, 5827, 860, 3365, 5892, 30, 46506, 25349, 13, 496, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 860, 3365, 5892, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697 ]
What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13?
SELECT MAX("Laps") FROM table_50946 WHERE "Grid" < '13' AND "Time" = '+18.366'
[ 2061, 318, 262, 4511, 1271, 286, 406, 1686, 326, 423, 257, 3862, 286, 1343, 1507, 13, 32459, 11, 290, 257, 24846, 2793, 621, 1511, 30, 46506, 25882, 7203, 43, 1686, 4943, 16034, 3084, 62, 29022, 3510, 33411, 366, 41339, 1, 1279, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 1271, 286, 406, 1686, 326, 423, 257, 3862, 286, 1343, 1507, 13, 32459, 11, 290, 257, 24846, 2793, 621, 1511, 30, 46506, 25882, 7203, 43, 1686, 4943, 16034, 3084, 62, 29022, 3510, 33411, 366, 41339, 1, 1279, 705, ...
How many FA Cups on average have a larger total than 32 and a larger league than 24?
SELECT AVG(fa_cup) FROM table_name_15 WHERE total > 32 AND league > 24
[ 2437, 867, 9677, 41611, 319, 2811, 423, 257, 4025, 2472, 621, 3933, 290, 257, 4025, 4652, 621, 1987, 30, 46506, 35224, 7, 13331, 62, 25244, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 2472, 1875, 3933, 5357, 4652, 1875, 1987 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9677, 41611, 319, 2811, 423, 257, 4025, 2472, 621, 3933, 290, 257, 4025, 4652, 621, 1987, 30, 46506, 35224, 7, 13331, 62, 25244, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 2472, 1875, 3933, 5357, 4652, 1875, 1987 ]
What is the Language that has sky tg 24 active as the Television service?
SELECT "Language" FROM table_7131 WHERE "Television service" = 'sky tg 24 active'
[ 2061, 318, 262, 15417, 326, 468, 6766, 256, 70, 1987, 4075, 355, 262, 21516, 2139, 30, 46506, 366, 32065, 1, 16034, 3084, 62, 22, 22042, 33411, 366, 6767, 5024, 2139, 1, 796, 705, 15688, 256, 70, 1987, 4075, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 15417, 326, 468, 6766, 256, 70, 1987, 4075, 355, 262, 21516, 2139, 30, 46506, 366, 32065, 1, 16034, 3084, 62, 22, 22042, 33411, 366, 6767, 5024, 2139, 1, 796, 705, 15688, 256, 70, 1987, 4075, 6 ]
When was outgoing manager Zolt n Varga appointed?
SELECT date_of_appointment FROM table_name_77 WHERE outgoing_manager = "zoltán varga"
[ 2215, 373, 28181, 4706, 1168, 5978, 299, 44684, 64, 9899, 30, 46506, 3128, 62, 1659, 62, 1324, 49805, 16034, 3084, 62, 3672, 62, 3324, 33411, 28181, 62, 37153, 796, 366, 89, 5978, 21162, 410, 853, 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 ]
[ 2215, 373, 28181, 4706, 1168, 5978, 299, 44684, 64, 9899, 30, 46506, 3128, 62, 1659, 62, 1324, 49805, 16034, 3084, 62, 3672, 62, 3324, 33411, 28181, 62, 37153, 796, 366, 89, 5978, 21162, 410, 853, 64, 1 ]
Top 20 SO Users from Pune. Top 20 SO Users from Pune, Maharashtra, India
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%kolhapur%' OR UPPER(Location) LIKE '%kolhapur%' OR Location LIKE '%kolhapur%' ORDER BY Reputation DESC LIMIT 20
[ 9126, 1160, 12809, 18987, 422, 350, 1726, 13, 5849, 1160, 12809, 18987, 422, 350, 1726, 11, 41624, 11, 3794, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1160, 12809, 18987, 422, 350, 1726, 13, 5849, 1160, 12809, 18987, 422, 350, 1726, 11, 41624, 11, 3794, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 70...
what is date of birth and gender of subject id 17570?
SELECT demographic.dob, demographic.gender FROM demographic WHERE demographic.subject_id = "17570"
[ 10919, 318, 3128, 286, 4082, 290, 5279, 286, 2426, 4686, 19038, 2154, 30, 46506, 16728, 13, 67, 672, 11, 16728, 13, 8388, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 17430, 2154, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 286, 4082, 290, 5279, 286, 2426, 4686, 19038, 2154, 30, 46506, 16728, 13, 67, 672, 11, 16728, 13, 8388, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 17430, 2154, 1 ]
For each party, return the name of the party and the number of delegates from that party Plot them as bar chart, and sort bar from high to low order.
SELECT T2.Party, AVG(COUNT(*)) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party ORDER BY T2.Party DESC
[ 1890, 1123, 2151, 11, 1441, 262, 1438, 286, 262, 2151, 290, 262, 1271, 286, 15265, 422, 326, 2151, 28114, 606, 355, 2318, 8262, 11, 290, 3297, 2318, 422, 1029, 284, 1877, 1502, 13, 46506, 309, 17, 13, 33553, 11, 35224, 7, 34, 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, 1123, 2151, 11, 1441, 262, 1438, 286, 262, 2151, 290, 262, 1271, 286, 15265, 422, 326, 2151, 28114, 606, 355, 2318, 8262, 11, 290, 3297, 2318, 422, 1029, 284, 1877, 1502, 13, 46506, 309, 17, 13, 33553, 11, 35224, 7, 34, 28270,...
If the proteam is Jacksonville bulls, what is the position?
SELECT position FROM table_27132791_3 WHERE pro_team = "Jacksonville Bulls"
[ 1532, 262, 5915, 321, 318, 23194, 40317, 11, 644, 318, 262, 2292, 30, 46506, 2292, 16034, 3084, 62, 1983, 1485, 1983, 6420, 62, 18, 33411, 386, 62, 15097, 796, 366, 31270, 4244, 18075, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 5915, 321, 318, 23194, 40317, 11, 644, 318, 262, 2292, 30, 46506, 2292, 16034, 3084, 62, 1983, 1485, 1983, 6420, 62, 18, 33411, 386, 62, 15097, 796, 366, 31270, 4244, 18075, 1 ]
What is the description of the service type which offers both the photo product and the film product?
SELECT T1.service_type_description FROM ref_service_types AS T1 JOIN services AS T2 ON T1.service_type_code = T2.service_type_code WHERE T2.product_name = 'photo' INTERSECT SELECT T1.service_type_description FROM ref_service_types AS T1 JOIN services AS T2 ON T1.service_type_code = T2.service_type_code WHERE T2.product...
[ 2061, 318, 262, 6764, 286, 262, 2139, 2099, 543, 4394, 1111, 262, 4590, 1720, 290, 262, 2646, 1720, 30, 46506, 309, 16, 13, 15271, 62, 4906, 62, 11213, 16034, 1006, 62, 15271, 62, 19199, 7054, 309, 16, 32357, 1268, 2594, 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...
[ 2061, 318, 262, 6764, 286, 262, 2139, 2099, 543, 4394, 1111, 262, 4590, 1720, 290, 262, 2646, 1720, 30, 46506, 309, 16, 13, 15271, 62, 4906, 62, 11213, 16034, 1006, 62, 15271, 62, 19199, 7054, 309, 16, 32357, 1268, 2594, 7054, 309, ...
show flights FIRST class on AA from DALLAS FORT WORTH to SFO
SELECT DISTINCT flight.flight_id FROM airport, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE ((airport.airport_code = 'SFO' AND fare_basis.class_type = 'FIRST' AND fare.fare_basis_code = fare_basis.fare_basis_code ...
[ 12860, 13956, 31328, 1398, 319, 15923, 422, 360, 7036, 1921, 7473, 51, 21881, 4221, 284, 14362, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 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, 1...
[ 12860, 13956, 31328, 1398, 319, 15923, 422, 360, 7036, 1921, 7473, 51, 21881, 4221, 284, 14362, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 1...
Name the high assists for houston
SELECT high_assists FROM table_17288845_9 WHERE team = "Houston"
[ 5376, 262, 1029, 13648, 329, 289, 6526, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 1558, 2078, 3459, 2231, 62, 24, 33411, 1074, 796, 366, 33387, 1 ]
[ 1, 1, 1, 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, 1029, 13648, 329, 289, 6526, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 1558, 2078, 3459, 2231, 62, 24, 33411, 1074, 796, 366, 33387, 1 ]
In what location was the fastest time 1:37.071s?
SELECT location FROM table_14884844_2 WHERE record = "1:37.071s"
[ 818, 644, 4067, 373, 262, 14162, 640, 352, 25, 2718, 13, 2998, 16, 82, 30, 46506, 4067, 16034, 3084, 62, 1415, 3459, 2780, 2598, 62, 17, 33411, 1700, 796, 366, 16, 25, 2718, 13, 2998, 16, 82, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 4067, 373, 262, 14162, 640, 352, 25, 2718, 13, 2998, 16, 82, 30, 46506, 4067, 16034, 3084, 62, 1415, 3459, 2780, 2598, 62, 17, 33411, 1700, 796, 366, 16, 25, 2718, 13, 2998, 16, 82, 1 ]
What's the minimal enrollment of any of the schools?
SELECT MIN("Enrollment") FROM table_23156
[ 2061, 338, 262, 10926, 20753, 286, 597, 286, 262, 4266, 30, 46506, 20625, 7203, 4834, 48108, 4943, 16034, 3084, 62, 1954, 21599 ]
[ 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, 10926, 20753, 286, 597, 286, 262, 4266, 30, 46506, 20625, 7203, 4834, 48108, 4943, 16034, 3084, 62, 1954, 21599 ]
how much is the minimum hospital cost with aut neuropthy in oth dis during this year?
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'aut neuropthy in oth dis')) AND DATETIME(cost.chargetime, 'star...
[ 4919, 881, 318, 262, 5288, 4436, 1575, 351, 1960, 7669, 79, 20057, 287, 267, 400, 595, 1141, 428, 614, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 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...
[ 4919, 881, 318, 262, 5288, 4436, 1575, 351, 1960, 7669, 79, 20057, 287, 267, 400, 595, 1141, 428, 614, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 33411...
How many different kickoffs happened when the opponent was the Scottish Claymores
SELECT COUNT("Kickoff") FROM table_3540 WHERE "Opponent" = 'Scottish Claymores'
[ 2437, 867, 1180, 4829, 8210, 3022, 618, 262, 6125, 373, 262, 11905, 15551, 76, 2850, 46506, 327, 28270, 7203, 45390, 2364, 4943, 16034, 3084, 62, 2327, 1821, 33411, 366, 27524, 3471, 1, 796, 705, 19040, 680, 15551, 76, 2850, 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 ]
[ 2437, 867, 1180, 4829, 8210, 3022, 618, 262, 6125, 373, 262, 11905, 15551, 76, 2850, 46506, 327, 28270, 7203, 45390, 2364, 4943, 16034, 3084, 62, 2327, 1821, 33411, 366, 27524, 3471, 1, 796, 705, 19040, 680, 15551, 76, 2850, 6 ]
Which round was the winning constructor was Benetton - Ford and in the Pole Position was Damon Hill?
SELECT "Round" FROM table_196 WHERE "Winning Constructor" = 'Benetton - Ford' AND "Pole Position" = 'Damon Hill'
[ 13828, 2835, 373, 262, 5442, 23772, 373, 3932, 316, 1122, 532, 8092, 290, 287, 262, 29385, 23158, 373, 33572, 3327, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 25272, 33411, 366, 16643, 768, 28407, 273, 1, 796, 705, 11696, 316, 1122, 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 ]
[ 13828, 2835, 373, 262, 5442, 23772, 373, 3932, 316, 1122, 532, 8092, 290, 287, 262, 29385, 23158, 373, 33572, 3327, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 25272, 33411, 366, 16643, 768, 28407, 273, 1, 796, 705, 11696, 316, 1122, 5...
Please list the years of film market estimations when the market is in country 'Japan' in descending order, and count them by a bar chart
SELECT Year, COUNT(Year) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T2.Country = "Japan" ORDER BY T1.Year DESC
[ 5492, 1351, 262, 812, 286, 2646, 1910, 3959, 602, 618, 262, 1910, 318, 287, 1499, 705, 16504, 6, 287, 31491, 1502, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 6280, 11, 327, 28270, 7, 17688, 8, 16034, 2646, 62, 10728, 62, 395, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5492, 1351, 262, 812, 286, 2646, 1910, 3959, 602, 618, 262, 1910, 318, 287, 1499, 705, 16504, 6, 287, 31491, 1502, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 6280, 11, 327, 28270, 7, 17688, 8, 16034, 2646, 62, 10728, 62, 395, ...
What seed was California?
SELECT "Seed" FROM table_28680 WHERE "School" = 'California'
[ 2061, 9403, 373, 3442, 30, 46506, 366, 50, 2308, 1, 16034, 3084, 62, 27033, 1795, 33411, 366, 26130, 1, 796, 705, 25284, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 9403, 373, 3442, 30, 46506, 366, 50, 2308, 1, 16034, 3084, 62, 27033, 1795, 33411, 366, 26130, 1, 796, 705, 25284, 6 ]
What is 2007, when Tournament is 'Madrid'?
SELECT 2007 FROM table_name_27 WHERE tournament = "madrid"
[ 2061, 318, 4343, 11, 618, 9595, 318, 705, 18454, 6058, 30960, 46506, 4343, 16034, 3084, 62, 3672, 62, 1983, 33411, 7756, 796, 366, 9937, 6058, 1 ]
[ 1, 1, 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, 4343, 11, 618, 9595, 318, 705, 18454, 6058, 30960, 46506, 4343, 16034, 3084, 62, 3672, 62, 1983, 33411, 7756, 796, 366, 9937, 6058, 1 ]
what amount has spain as second place and the language is russian?
SELECT COUNT("Margin") FROM table_822 WHERE "Second place" = 'Spain' AND "Language" = 'Russian'
[ 10919, 2033, 468, 599, 391, 355, 1218, 1295, 290, 262, 3303, 318, 374, 31562, 30, 46506, 327, 28270, 7203, 24428, 259, 4943, 16034, 3084, 62, 23, 1828, 33411, 366, 12211, 1295, 1, 796, 705, 45355, 6, 5357, 366, 32065, 1, 796, 705, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 2033, 468, 599, 391, 355, 1218, 1295, 290, 262, 3303, 318, 374, 31562, 30, 46506, 327, 28270, 7203, 24428, 259, 4943, 16034, 3084, 62, 23, 1828, 33411, 366, 12211, 1295, 1, 796, 705, 45355, 6, 5357, 366, 32065, 1, 796, 705, 1...
What is the kickoff time for the game in week of 17?
SELECT "Kickoff Time" FROM table_78820 WHERE "Week" = '17'
[ 2061, 318, 262, 40532, 640, 329, 262, 983, 287, 1285, 286, 1596, 30, 46506, 366, 45390, 2364, 3862, 1, 16034, 3084, 62, 22, 3459, 1238, 33411, 366, 20916, 1, 796, 705, 1558, 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 ]
[ 2061, 318, 262, 40532, 640, 329, 262, 983, 287, 1285, 286, 1596, 30, 46506, 366, 45390, 2364, 3862, 1, 16034, 3084, 62, 22, 3459, 1238, 33411, 366, 20916, 1, 796, 705, 1558, 6 ]
When Richmond played as the away team, what was the ground?
SELECT "Ground" FROM table_30952 WHERE "Away team" = 'Richmond'
[ 2215, 16940, 2826, 355, 262, 1497, 1074, 11, 644, 373, 262, 2323, 30, 46506, 366, 35539, 1, 16034, 3084, 62, 1270, 49234, 33411, 366, 32, 1014, 1074, 1, 796, 705, 14868, 6327, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 16940, 2826, 355, 262, 1497, 1074, 11, 644, 373, 262, 2323, 30, 46506, 366, 35539, 1, 16034, 3084, 62, 1270, 49234, 33411, 366, 32, 1014, 1074, 1, 796, 705, 14868, 6327, 6 ]
show me flights from PHILADELPHIA to BALTIMORE
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PHILADELPHIA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'B...
[ 12860, 502, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 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...
[ 12860, 502, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62,...
What is the composition at Valles lava dome?
SELECT composition FROM table_1081235_1 WHERE name_of_lava_dome = "Valles lava dome"
[ 2061, 318, 262, 11742, 379, 46929, 274, 28856, 29500, 30, 46506, 11742, 16034, 3084, 62, 15711, 1065, 2327, 62, 16, 33411, 1438, 62, 1659, 62, 75, 4170, 62, 67, 462, 796, 366, 53, 439, 274, 28856, 29500, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11742, 379, 46929, 274, 28856, 29500, 30, 46506, 11742, 16034, 3084, 62, 15711, 1065, 2327, 62, 16, 33411, 1438, 62, 1659, 62, 75, 4170, 62, 67, 462, 796, 366, 53, 439, 274, 28856, 29500, 1 ]
what were the four most frequent drugs prescribed within the same month to the patients aged 40s after having been diagnosed with acute kidney failure nos this year?
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, 547, 262, 1440, 749, 10792, 5010, 14798, 1626, 262, 976, 1227, 284, 262, 3871, 9722, 2319, 82, 706, 1719, 587, 14641, 351, 14352, 21919, 5287, 43630, 428, 614, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 3034...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1440, 749, 10792, 5010, 14798, 1626, 262, 976, 1227, 284, 262, 3871, 9722, 2319, 82, 706, 1719, 587, 14641, 351, 14352, 21919, 5287, 43630, 428, 614, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 3034...
what is the number of patient whose primary disease is mesenteric ischemia and with procdedure chordae tendinae ops?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "MESENTERIC ISCHEMIA" AND procedures.short_title = "Chordae tendineae ops"
[ 10919, 318, 262, 1271, 286, 5827, 3025, 4165, 4369, 318, 18842, 9255, 291, 318, 15245, 544, 290, 351, 13834, 9395, 495, 25594, 3609, 4327, 1437, 68, 39628, 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...
[ 10919, 318, 262, 1271, 286, 5827, 3025, 4165, 4369, 318, 18842, 9255, 291, 318, 15245, 544, 290, 351, 13834, 9395, 495, 25594, 3609, 4327, 1437, 68, 39628, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
What was the decision from the Vancouver home game on April 21?
SELECT decision FROM table_name_2 WHERE home = "vancouver" AND date = "april 21"
[ 2061, 373, 262, 2551, 422, 262, 10930, 1363, 983, 319, 3035, 2310, 30, 46506, 2551, 16034, 3084, 62, 3672, 62, 17, 33411, 1363, 796, 366, 85, 10264, 1, 5357, 3128, 796, 366, 499, 22379, 2310, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2551, 422, 262, 10930, 1363, 983, 319, 3035, 2310, 30, 46506, 2551, 16034, 3084, 62, 3672, 62, 17, 33411, 1363, 796, 366, 85, 10264, 1, 5357, 3128, 796, 366, 499, 22379, 2310, 1 ]
What is the capacity of the mine that is operated by Cyprus Amax minerals?
SELECT "Capacity (thousands of metric tons)" FROM table_69233 WHERE "Operator" = 'cyprus amax minerals'
[ 2061, 318, 262, 5339, 286, 262, 6164, 326, 318, 12228, 416, 27885, 1703, 897, 21622, 30, 46506, 366, 15610, 4355, 357, 400, 19983, 286, 18663, 10860, 16725, 16034, 3084, 62, 3388, 25429, 33411, 366, 18843, 1352, 1, 796, 705, 948, 26440,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5339, 286, 262, 6164, 326, 318, 12228, 416, 27885, 1703, 897, 21622, 30, 46506, 366, 15610, 4355, 357, 400, 19983, 286, 18663, 10860, 16725, 16034, 3084, 62, 3388, 25429, 33411, 366, 18843, 1352, 1, 796, 705, 948, 26440,...
Give me a pie chart that group and count names of technicians with series of machines they are assigned to repair.
SELECT Name, COUNT(Name) FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.Machine_ID = T2.Machine_ID JOIN technician AS T3 ON T1.technician_id = T3.technician_id GROUP BY Name
[ 23318, 502, 257, 2508, 8262, 326, 1448, 290, 954, 3891, 286, 33519, 351, 2168, 286, 8217, 484, 389, 8686, 284, 9185, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 9185, 62, 562, 16747, 7054, 309, 16, 32357, 1268, 4572, 7054, 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...
[ 23318, 502, 257, 2508, 8262, 326, 1448, 290, 954, 3891, 286, 33519, 351, 2168, 286, 8217, 484, 389, 8686, 284, 9185, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 9185, 62, 562, 16747, 7054, 309, 16, 32357, 1268, 4572, 7054, 3...
how many cities are below 1000 in population ?
SELECT COUNT("urban settlements") FROM table_204_6 WHERE "population" < 1000
[ 4919, 867, 4736, 389, 2174, 8576, 287, 3265, 5633, 46506, 327, 28270, 7203, 32679, 18573, 4943, 16034, 3084, 62, 18638, 62, 21, 33411, 366, 39748, 1, 1279, 8576 ]
[ 1, 1, 1, 1, 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, 4736, 389, 2174, 8576, 287, 3265, 5633, 46506, 327, 28270, 7203, 32679, 18573, 4943, 16034, 3084, 62, 18638, 62, 21, 33411, 366, 39748, 1, 1279, 8576 ]
Name the series ep for darts
SELECT series_ep FROM table_name_27 WHERE segment_d = "darts"
[ 5376, 262, 2168, 2462, 329, 47807, 46506, 2168, 62, 538, 16034, 3084, 62, 3672, 62, 1983, 33411, 10618, 62, 67, 796, 366, 67, 5889, 1 ]
[ 1, 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, 2168, 2462, 329, 47807, 46506, 2168, 62, 538, 16034, 3084, 62, 3672, 62, 1983, 33411, 10618, 62, 67, 796, 366, 67, 5889, 1 ]
What is the total Gold with a Bronze smaller than 7, a Total of 1, a Nation of cape verde, and a Silver smaller than 0?
SELECT SUM("Gold") FROM table_69438 WHERE "Bronze" < '7' AND "Total" = '1' AND "Nation" = 'cape verde' AND "Silver" < '0'
[ 2061, 318, 262, 2472, 3561, 351, 257, 19461, 4833, 621, 767, 11, 257, 7472, 286, 352, 11, 257, 8741, 286, 36023, 3326, 2934, 11, 290, 257, 7698, 4833, 621, 657, 30, 46506, 35683, 7203, 13306, 4943, 16034, 3084, 62, 3388, 43704, 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, 2472, 3561, 351, 257, 19461, 4833, 621, 767, 11, 257, 7472, 286, 352, 11, 257, 8741, 286, 36023, 3326, 2934, 11, 290, 257, 7698, 4833, 621, 657, 30, 46506, 35683, 7203, 13306, 4943, 16034, 3084, 62, 3388, 43704, 33411,...
What designer has a restaurant named The Citizen?
SELECT designer FROM table_name_42 WHERE restaurant_name = "the citizen"
[ 2061, 11915, 468, 257, 7072, 3706, 383, 22307, 30, 46506, 11915, 16034, 3084, 62, 3672, 62, 3682, 33411, 7072, 62, 3672, 796, 366, 1169, 9511, 1 ]
[ 1, 1, 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, 11915, 468, 257, 7072, 3706, 383, 22307, 30, 46506, 11915, 16034, 3084, 62, 3672, 62, 3682, 33411, 7072, 62, 3672, 796, 366, 1169, 9511, 1 ]
What is the range (varies by payload weight) for the unknown player?
SELECT range__varies_with_payload_weight_ FROM table_name_34 WHERE payload = "unknown"
[ 2061, 318, 262, 2837, 357, 85, 3166, 416, 21437, 3463, 8, 329, 262, 6439, 2137, 30, 46506, 2837, 834, 85, 3166, 62, 4480, 62, 15577, 2220, 62, 6551, 62, 16034, 3084, 62, 3672, 62, 2682, 33411, 21437, 796, 366, 34680, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2837, 357, 85, 3166, 416, 21437, 3463, 8, 329, 262, 6439, 2137, 30, 46506, 2837, 834, 85, 3166, 62, 4480, 62, 15577, 2220, 62, 6551, 62, 16034, 3084, 62, 3672, 62, 2682, 33411, 21437, 796, 366, 34680, 1 ]
For all employees who have the letters D or S in their first name, a bar chart shows the distribution of hire_date and the sum of salary bin hire_date by weekday, list total number of salary from low to high order.
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(SALARY)
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 28269, 11, 1351, 2472, 1271, 286, 9588, 422...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 28269, 11, 1351, 2472, 1271, 286, 9588, 422...
Good question vs includes code.
SELECT MAX(CreationDate) FROM Posts
[ 10248, 1808, 3691, 3407, 2438, 13, 46506, 25882, 7, 12443, 341, 10430, 8, 16034, 12043 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10248, 1808, 3691, 3407, 2438, 13, 46506, 25882, 7, 12443, 341, 10430, 8, 16034, 12043 ]
Find the names of customers who have bought by at least three distinct products.
SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id JOIN order_items AS T3 ON T2.order_id = T3.order_id GROUP BY T1.customer_id HAVING COUNT(DISTINCT T3.product_id) >= 3
[ 16742, 262, 3891, 286, 4297, 508, 423, 5839, 416, 379, 1551, 1115, 7310, 3186, 13, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 23144, 263, 62, 3672, 16034, 4297, 7054, 309, 16, 32357, 1268, 6491, 62, 6361, 7054, 309, 17, 6177, 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, 1...
[ 16742, 262, 3891, 286, 4297, 508, 423, 5839, 416, 379, 1551, 1115, 7310, 3186, 13, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 23144, 263, 62, 3672, 16034, 4297, 7054, 309, 16, 32357, 1268, 6491, 62, 6361, 7054, 309, 17, 6177, 309, 1...
Show the number of documents created in each day and bin document date by year interval with a line chart, and I want to rank Document_Date in asc order.
SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code ORDER BY Document_Date
[ 15307, 262, 1271, 286, 4963, 2727, 287, 1123, 1110, 290, 9874, 3188, 3128, 416, 614, 16654, 351, 257, 1627, 8262, 11, 290, 314, 765, 284, 4279, 16854, 62, 10430, 287, 10570, 1502, 13, 46506, 16854, 62, 10430, 11, 327, 28270, 7, 24941,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4963, 2727, 287, 1123, 1110, 290, 9874, 3188, 3128, 416, 614, 16654, 351, 257, 1627, 8262, 11, 290, 314, 765, 284, 4279, 16854, 62, 10430, 287, 10570, 1502, 13, 46506, 16854, 62, 10430, 11, 327, 28270, 7, 24941,...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of founder and the sum of revenue , and group by attribute founder.
SELECT Founder, SUM(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 9119, 290, 262, 2160, 286, 6426, 837, 290, 1448, 416, 11688, 9119, 13, 46506, 30153, 11, 35683, 7, 3041, 4080, 8, 16034, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 9119, 290, 262, 2160, 286, 6426, 837, 290, 1448, 416, 11688, 9119, 13, 46506, 30153, 11, 35683, 7, 3041, 4080, 8, 16034, 1...
how much do the -monos actually cost?
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'lab' AND cost.eventid IN (SELECT lab.labid FROM lab WHERE lab.labname = '-monos')
[ 4919, 881, 466, 262, 532, 2144, 418, 1682, 1575, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 2248, 13, 23912, 312, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 881, 466, 262, 532, 2144, 418, 1682, 1575, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 2248, 13, 23912, 312, 160...
How many points has more than 15 wins and less than 10 losses?
SELECT "Points" FROM table_14831 WHERE "Wins" > '15' AND "Losses" < '10'
[ 2437, 867, 2173, 468, 517, 621, 1315, 7864, 290, 1342, 621, 838, 9089, 30, 46506, 366, 40710, 1, 16034, 3084, 62, 18294, 3132, 33411, 366, 54, 1040, 1, 1875, 705, 1314, 6, 5357, 366, 43, 793, 274, 1, 1279, 705, 940, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2173, 468, 517, 621, 1315, 7864, 290, 1342, 621, 838, 9089, 30, 46506, 366, 40710, 1, 16034, 3084, 62, 18294, 3132, 33411, 366, 54, 1040, 1, 1875, 705, 1314, 6, 5357, 366, 43, 793, 274, 1, 1279, 705, 940, 6 ]
What's the score for $22,500?
SELECT score FROM table_name_62 WHERE money___$__ = "22,500"
[ 2061, 338, 262, 4776, 329, 720, 1828, 11, 4059, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5237, 33411, 1637, 17569, 3, 834, 796, 366, 1828, 11, 4059, 1 ]
[ 1, 1, 1, 1, 1, 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, 4776, 329, 720, 1828, 11, 4059, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5237, 33411, 1637, 17569, 3, 834, 796, 366, 1828, 11, 4059, 1 ]
How many million U.S. viewers saw the episode with production code 3X5710?
SELECT "U.S. viewers (million)" FROM table_74321 WHERE "Production code" = '3X5710'
[ 2437, 867, 1510, 471, 13, 50, 13, 10209, 2497, 262, 4471, 351, 3227, 2438, 513, 55, 3553, 940, 30, 46506, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 16034, 3084, 62, 22, 3559, 2481, 33411, 366, 35027, 2438, 1, 796, 705, 18, 55...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1510, 471, 13, 50, 13, 10209, 2497, 262, 4471, 351, 3227, 2438, 513, 55, 3553, 940, 30, 46506, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 16034, 3084, 62, 22, 3559, 2481, 33411, 366, 35027, 2438, 1, 796, 705, 18, 55...
What kind of Winning driver has a Winning constructor of mercer?
SELECT "Winning driver" FROM table_59452 WHERE "Winning constructor" = 'mercer'
[ 2061, 1611, 286, 40983, 4639, 468, 257, 40983, 23772, 286, 4017, 2189, 30, 46506, 366, 16643, 768, 4639, 1, 16034, 3084, 62, 3270, 37730, 33411, 366, 16643, 768, 23772, 1, 796, 705, 647, 2189, 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, 1611, 286, 40983, 4639, 468, 257, 40983, 23772, 286, 4017, 2189, 30, 46506, 366, 16643, 768, 4639, 1, 16034, 3084, 62, 3270, 37730, 33411, 366, 16643, 768, 23772, 1, 796, 705, 647, 2189, 6 ]
how many opponents were played twice that season ?
SELECT COUNT(*) FROM (SELECT "opponent" FROM table_204_947 GROUP BY "opponent" HAVING COUNT(*) = 2)
[ 4919, 867, 7691, 547, 2826, 5403, 326, 1622, 5633, 46506, 327, 28270, 7, 28104, 16034, 357, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 18638, 62, 24, 2857, 44441, 11050, 366, 10365, 3471, 1, 367, 10116, 2751, 327, 28270, 7, 28104, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 7691, 547, 2826, 5403, 326, 1622, 5633, 46506, 327, 28270, 7, 28104, 16034, 357, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 18638, 62, 24, 2857, 44441, 11050, 366, 10365, 3471, 1, 367, 10116, 2751, 327, 28270, 7, 28104, 7...
What President has a Presidency greater than 7?
SELECT "President" FROM table_55847 WHERE "Presidency" > '7'
[ 2061, 1992, 468, 257, 35696, 3744, 621, 767, 30, 46506, 366, 10364, 1, 16034, 3084, 62, 40486, 2857, 33411, 366, 25460, 9147, 1, 1875, 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, 1, 1, 1, 1 ]
[ 2061, 1992, 468, 257, 35696, 3744, 621, 767, 30, 46506, 366, 10364, 1, 16034, 3084, 62, 40486, 2857, 33411, 366, 25460, 9147, 1, 1875, 705, 22, 6 ]
how many summer flag bearers have there been ?
SELECT COUNT("flag bearer") FROM table_204_266 WHERE "season" = 'summer'
[ 4919, 867, 3931, 6056, 307, 34231, 423, 612, 587, 5633, 46506, 327, 28270, 7203, 32109, 49508, 4943, 16034, 3084, 62, 18638, 62, 25540, 33411, 366, 6230, 1, 796, 705, 16345, 647, 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 ]
[ 4919, 867, 3931, 6056, 307, 34231, 423, 612, 587, 5633, 46506, 327, 28270, 7203, 32109, 49508, 4943, 16034, 3084, 62, 18638, 62, 25540, 33411, 366, 6230, 1, 796, 705, 16345, 647, 6 ]
What is the lowest laps that Vittorio Iannuzzo completed?
SELECT MIN(laps) FROM table_name_1 WHERE rider = "vittorio iannuzzo"
[ 2061, 318, 262, 9016, 24590, 326, 569, 715, 40974, 314, 1236, 4715, 78, 5668, 30, 46506, 20625, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 16, 33411, 17876, 796, 366, 85, 715, 40974, 220, 28627, 4715, 78, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24590, 326, 569, 715, 40974, 314, 1236, 4715, 78, 5668, 30, 46506, 20625, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 16, 33411, 17876, 796, 366, 85, 715, 40974, 220, 28627, 4715, 78, 1 ]
How many companies in each headquarter? Plot a bar chart, could you order in ascending by the y-axis please?
SELECT Headquarters, COUNT(Headquarters) FROM company GROUP BY Headquarters ORDER BY COUNT(Headquarters)
[ 2437, 867, 2706, 287, 1123, 1182, 24385, 30, 28114, 257, 2318, 8262, 11, 714, 345, 1502, 287, 41988, 416, 262, 331, 12, 22704, 3387, 30, 46506, 32193, 11, 327, 28270, 7, 13847, 8230, 8, 16034, 1664, 44441, 11050, 32193, 38678, 11050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2706, 287, 1123, 1182, 24385, 30, 28114, 257, 2318, 8262, 11, 714, 345, 1502, 287, 41988, 416, 262, 331, 12, 22704, 3387, 30, 46506, 32193, 11, 327, 28270, 7, 13847, 8230, 8, 16034, 1664, 44441, 11050, 32193, 38678, 11050, ...
what was the name of the procedure that was given two or more times to patient 58730?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, COUNT(procedures_icd.charttime) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 587...
[ 10919, 373, 262, 1438, 286, 262, 8771, 326, 373, 1813, 734, 393, 517, 1661, 284, 5827, 642, 5774, 1270, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 326, 373, 1813, 734, 393, 517, 1661, 284, 5827, 642, 5774, 1270, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288,...
What is the highest numbred district that has brian w. thomas as an incumbent?
SELECT MAX(district) FROM table_26416704_2 WHERE incumbent = "Brian W. Thomas"
[ 2061, 318, 262, 4511, 35519, 445, 4783, 326, 468, 275, 4484, 266, 13, 294, 16911, 355, 281, 23526, 30, 46506, 25882, 7, 17080, 2012, 8, 16034, 3084, 62, 18897, 1433, 32869, 62, 17, 33411, 23526, 796, 366, 24761, 370, 13, 5658, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 35519, 445, 4783, 326, 468, 275, 4484, 266, 13, 294, 16911, 355, 281, 23526, 30, 46506, 25882, 7, 17080, 2012, 8, 16034, 3084, 62, 18897, 1433, 32869, 62, 17, 33411, 23526, 796, 366, 24761, 370, 13, 5658, 1 ]
For those records from the products and each product's manufacturer, give me the comparison about the average of code over the founder , and group by attribute founder, and show Founder in desc order.
SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T2.Founder DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 2438, 625, 262, 9119, 837, 290, 1448, 416, 11688, 9119, 11, 290, 905, 30153, 287, 1715, 1502, 13, 46506, 309, 17, 13, 21077...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2438, 625, 262, 9119, 837, 290, 1448, 416, 11688, 9119, 11, 290, 905, 30153, 287, 1715, 1502, 13, 46506, 309, 17, 13, 21077...
What team had a qual 1 of 59.895?
SELECT team FROM table_name_72 WHERE qual_1 = "59.895"
[ 2061, 1074, 550, 257, 4140, 352, 286, 7863, 13, 23, 3865, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 4761, 33411, 4140, 62, 16, 796, 366, 3270, 13, 23, 3865, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1074, 550, 257, 4140, 352, 286, 7863, 13, 23, 3865, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 4761, 33411, 4140, 62, 16, 796, 366, 3270, 13, 23, 3865, 1 ]
Name the being qualities for having things of language, religions, work, customs, values, norms
SELECT being__qualities_ FROM table_name_36 WHERE having__things_ = "language, religions, work, customs, values, norms"
[ 5376, 262, 852, 14482, 329, 1719, 1243, 286, 3303, 11, 18879, 11, 670, 11, 17112, 11, 3815, 11, 19444, 46506, 852, 834, 13255, 871, 62, 16034, 3084, 62, 3672, 62, 2623, 33411, 1719, 834, 27971, 62, 796, 366, 16129, 11, 18879, 11, 67...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 852, 14482, 329, 1719, 1243, 286, 3303, 11, 18879, 11, 670, 11, 17112, 11, 3815, 11, 19444, 46506, 852, 834, 13255, 871, 62, 16034, 3084, 62, 3672, 62, 2623, 33411, 1719, 834, 27971, 62, 796, 366, 16129, 11, 18879, 11, 67...
When Butler one the regular season who was the conference player of the year?
SELECT "Conference Player of the Year" FROM table_3027 WHERE "Regular Season Winner" = 'Butler'
[ 2215, 17389, 530, 262, 3218, 1622, 508, 373, 262, 4495, 2137, 286, 262, 614, 30, 46506, 366, 3103, 4288, 7853, 286, 262, 6280, 1, 16034, 3084, 62, 1270, 1983, 33411, 366, 40164, 7369, 25358, 1, 796, 705, 1537, 1754, 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 ]
[ 2215, 17389, 530, 262, 3218, 1622, 508, 373, 262, 4495, 2137, 286, 262, 614, 30, 46506, 366, 3103, 4288, 7853, 286, 262, 6280, 1, 16034, 3084, 62, 1270, 1983, 33411, 366, 40164, 7369, 25358, 1, 796, 705, 1537, 1754, 6 ]
How many wins have 24 points?
SELECT wins FROM table_18703133_6 WHERE points = 24
[ 2437, 867, 7864, 423, 1987, 2173, 30, 46506, 7864, 16034, 3084, 62, 1507, 36809, 16945, 62, 21, 33411, 2173, 796, 1987 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7864, 423, 1987, 2173, 30, 46506, 7864, 16034, 3084, 62, 1507, 36809, 16945, 62, 21, 33411, 2173, 796, 1987 ]
What region is the toshiba emi label with a cd format?
SELECT region FROM table_name_51 WHERE format_s_ = "cd" AND label = "toshiba emi"
[ 2061, 3814, 318, 262, 284, 1477, 23718, 795, 72, 6167, 351, 257, 22927, 5794, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 4349, 33411, 5794, 62, 82, 62, 796, 366, 10210, 1, 5357, 6167, 796, 366, 83, 418, 49224, 795, 72, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3814, 318, 262, 284, 1477, 23718, 795, 72, 6167, 351, 257, 22927, 5794, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 4349, 33411, 5794, 62, 82, 62, 796, 366, 10210, 1, 5357, 6167, 796, 366, 83, 418, 49224, 795, 72, 1 ]
How many laps in total does the driver named Eddie Irvine have?
SELECT COUNT("Laps") FROM table_55623 WHERE "Driver" = 'eddie irvine'
[ 2437, 867, 24590, 287, 2472, 857, 262, 4639, 3706, 19478, 37277, 423, 30, 46506, 327, 28270, 7203, 43, 1686, 4943, 16034, 3084, 62, 37864, 1954, 33411, 366, 32103, 1, 796, 705, 6048, 494, 4173, 26818, 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 ]
[ 2437, 867, 24590, 287, 2472, 857, 262, 4639, 3706, 19478, 37277, 423, 30, 46506, 327, 28270, 7203, 43, 1686, 4943, 16034, 3084, 62, 37864, 1954, 33411, 366, 32103, 1, 796, 705, 6048, 494, 4173, 26818, 6 ]
How many stations have been owned since wfts-tv?
SELECT "Owned Since" FROM table_22339 WHERE "Station" = 'WFTS-TV'
[ 2437, 867, 8985, 423, 587, 6898, 1201, 266, 35594, 12, 14981, 30, 46506, 366, 23858, 276, 4619, 1, 16034, 3084, 62, 1828, 29626, 33411, 366, 12367, 1, 796, 705, 48397, 4694, 12, 6849, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 8985, 423, 587, 6898, 1201, 266, 35594, 12, 14981, 30, 46506, 366, 23858, 276, 4619, 1, 16034, 3084, 62, 1828, 29626, 33411, 366, 12367, 1, 796, 705, 48397, 4694, 12, 6849, 6 ]
Which Player has a To par of 1?
SELECT "Player" FROM table_49291 WHERE "To par" = '–1'
[ 13828, 7853, 468, 257, 1675, 1582, 286, 352, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 2920, 33551, 33411, 366, 2514, 1582, 1, 796, 705, 1906, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7853, 468, 257, 1675, 1582, 286, 352, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 2920, 33551, 33411, 366, 2514, 1582, 1, 796, 705, 1906, 16, 6 ]