instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
papers about WordNet and Dbpedia
SELECT DISTINCT paper.paperid FROM dataset, paper, paperdataset WHERE dataset.datasetname IN ('WordNet', 'Dbpedia') AND paperdataset.datasetid = dataset.datasetid AND paper.paperid = paperdataset.paperid GROUP BY paper.paperid
[ 40491, 546, 9678, 7934, 290, 360, 46583, 5507, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 27039, 11, 3348, 11, 3348, 19608, 292, 316, 33411, 27039, 13, 19608, 292, 316, 3672, 3268, 19203, 26449, 7934, 3256, 705, 43832, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 40491, 546, 9678, 7934, 290, 360, 46583, 5507, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 27039, 11, 3348, 11, 3348, 19608, 292, 316, 33411, 27039, 13, 19608, 292, 316, 3672, 3268, 19203, 26449, 7934, 3256, 705, 43832, 5...
When was the most recently named feature named?
SELECT MAX("Year named") FROM table_21086
[ 2215, 373, 262, 749, 2904, 3706, 3895, 3706, 30, 46506, 25882, 7203, 17688, 3706, 4943, 16034, 3084, 62, 21536, 4521 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 749, 2904, 3706, 3895, 3706, 30, 46506, 25882, 7203, 17688, 3706, 4943, 16034, 3084, 62, 21536, 4521 ]
What is the notes when the displacement is 220cid (3,604cc)?
SELECT notes FROM table_name_78 WHERE displacement = "220cid (3,604cc)"
[ 2061, 318, 262, 4710, 618, 262, 29358, 318, 15629, 66, 312, 357, 18, 11, 31916, 535, 19427, 46506, 4710, 16034, 3084, 62, 3672, 62, 3695, 33411, 29358, 796, 366, 17572, 66, 312, 357, 18, 11, 31916, 535, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4710, 618, 262, 29358, 318, 15629, 66, 312, 357, 18, 11, 31916, 535, 19427, 46506, 4710, 16034, 3084, 62, 3672, 62, 3695, 33411, 29358, 796, 366, 17572, 66, 312, 357, 18, 11, 31916, 535, 16725 ]
What country is ranked number 4?
SELECT "Country" FROM table_64412 WHERE "Rank" = '4'
[ 2061, 1499, 318, 10307, 1271, 604, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 29173, 1065, 33411, 366, 27520, 1, 796, 705, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 318, 10307, 1271, 604, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 29173, 1065, 33411, 366, 27520, 1, 796, 705, 19, 6 ]
Who is the home team that played the away team that scored 11.13 (79)?
SELECT "Home team score" FROM table_51471 WHERE "Away team score" = '11.13 (79)'
[ 8241, 318, 262, 1363, 1074, 326, 2826, 262, 1497, 1074, 326, 7781, 1367, 13, 1485, 357, 3720, 19427, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 47396, 4869, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1157, 13, 1485, 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 ]
[ 8241, 318, 262, 1363, 1074, 326, 2826, 262, 1497, 1074, 326, 7781, 1367, 13, 1485, 357, 3720, 19427, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 47396, 4869, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1157, 13, 1485, 357, ...
i'd like to find the least expensive one way fare from BOSTON to PHILADELPHIA
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_...
[ 72, 1549, 588, 284, 1064, 262, 1551, 5789, 530, 835, 14505, 422, 347, 10892, 1340, 284, 9370, 4146, 2885, 3698, 11909, 40, 11159, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 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...
[ 72, 1549, 588, 284, 1064, 262, 1551, 5789, 530, 835, 14505, 422, 347, 10892, 1340, 284, 9370, 4146, 2885, 3698, 11909, 40, 11159, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, ...
count the number of patients whose short title of diagnosis is hx-ven thrombosis/embols and stayed in hospital for more than 7 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "7" AND diagnoses.short_title = "Hx-ven thrombosis/embols"
[ 9127, 262, 1271, 286, 3871, 3025, 1790, 3670, 286, 13669, 318, 289, 87, 12, 574, 294, 398, 65, 5958, 14, 24419, 10220, 290, 9658, 287, 4436, 329, 517, 621, 767, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 1790, 3670, 286, 13669, 318, 289, 87, 12, 574, 294, 398, 65, 5958, 14, 24419, 10220, 290, 9658, 287, 4436, 329, 517, 621, 767, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796,...
List the id, color scheme, and name for all the photos.
SELECT id, color, name FROM photos
[ 8053, 262, 4686, 11, 3124, 7791, 11, 290, 1438, 329, 477, 262, 5205, 13, 46506, 4686, 11, 3124, 11, 1438, 16034, 5205 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 4686, 11, 3124, 7791, 11, 290, 1438, 329, 477, 262, 5205, 13, 46506, 4686, 11, 3124, 11, 1438, 16034, 5205 ]
What is the alignment that predicts an alignment of the linuxbinary link?
SELECT alignment_alignment AS :_predicts_an_alignment_, _ FROM table_name_27 WHERE link = "linuxbinary"
[ 2061, 318, 262, 19114, 326, 26334, 281, 19114, 286, 262, 32639, 39491, 2792, 30, 46506, 19114, 62, 282, 16747, 7054, 1058, 62, 28764, 14137, 62, 272, 62, 282, 16747, 62, 11, 4808, 16034, 3084, 62, 3672, 62, 1983, 33411, 2792, 796, 366...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 19114, 326, 26334, 281, 19114, 286, 262, 32639, 39491, 2792, 30, 46506, 19114, 62, 282, 16747, 7054, 1058, 62, 28764, 14137, 62, 272, 62, 282, 16747, 62, 11, 4808, 16034, 3084, 62, 3672, 62, 1983, 33411, 2792, 796, 366...
Which series number had the production code of 116
SELECT no_in_series FROM table_15938543_1 WHERE production_code = 116
[ 13828, 2168, 1271, 550, 262, 3227, 2438, 286, 18693, 46506, 645, 62, 259, 62, 25076, 16034, 3084, 62, 19707, 27203, 3559, 62, 16, 33411, 3227, 62, 8189, 796, 18693 ]
[ 1, 1, 1, 1, 1, 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, 2168, 1271, 550, 262, 3227, 2438, 286, 18693, 46506, 645, 62, 259, 62, 25076, 16034, 3084, 62, 19707, 27203, 3559, 62, 16, 33411, 3227, 62, 8189, 796, 18693 ]
When's the release date of the model with part number adh485biaa5do?
SELECT "Release Date" FROM table_896 WHERE "Part Number(s)" = 'ADH485BIAA5DO'
[ 2215, 338, 262, 2650, 3128, 286, 262, 2746, 351, 636, 1271, 512, 71, 32642, 23339, 64, 20, 4598, 30, 46506, 366, 26362, 7536, 1, 16034, 3084, 62, 48712, 33411, 366, 7841, 7913, 7, 82, 16725, 796, 705, 2885, 39, 32642, 3483, 3838, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 338, 262, 2650, 3128, 286, 262, 2746, 351, 636, 1271, 512, 71, 32642, 23339, 64, 20, 4598, 30, 46506, 366, 26362, 7536, 1, 16034, 3084, 62, 48712, 33411, 366, 7841, 7913, 7, 82, 16725, 796, 705, 2885, 39, 32642, 3483, 3838, 20...
Player of mike o'quinn, and a Round smaller than 15 had what lowest pick?
SELECT MIN(pick) FROM table_name_30 WHERE player = "mike o'quinn" AND round < 15
[ 14140, 286, 285, 522, 267, 6, 421, 3732, 11, 290, 257, 10485, 4833, 621, 1315, 550, 644, 9016, 2298, 30, 46506, 20625, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 2137, 796, 366, 76, 522, 267, 6, 421, 3732, 1, 5357, 2835,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14140, 286, 285, 522, 267, 6, 421, 3732, 11, 290, 257, 10485, 4833, 621, 1315, 550, 644, 9016, 2298, 30, 46506, 20625, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 2137, 796, 366, 76, 522, 267, 6, 421, 3732, 1, 5357, 2835,...
How many credits does the department offer Show bar chart, I want to sort y-axis in desc order.
SELECT DEPT_CODE, SUM(CRS_CREDIT) FROM COURSE GROUP BY DEPT_CODE ORDER BY SUM(CRS_CREDIT) DESC
[ 2437, 867, 10824, 857, 262, 5011, 2897, 5438, 2318, 8262, 11, 314, 765, 284, 3297, 331, 12, 22704, 287, 1715, 1502, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 35683, 7, 34, 6998, 62, 9419, 24706, 8, 16034, 37384, 5188, 44441, 11050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 10824, 857, 262, 5011, 2897, 5438, 2318, 8262, 11, 314, 765, 284, 3297, 331, 12, 22704, 287, 1715, 1502, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 35683, 7, 34, 6998, 62, 9419, 24706, 8, 16034, 37384, 5188, 44441, 11050, ...
What pole position was Rubens Barrichello when he had the fastest lap and a round larger than 11?
SELECT "Pole Position" FROM table_52449 WHERE "Fastest Lap" = 'rubens barrichello' AND "Round" > '11'
[ 2061, 16825, 2292, 373, 6256, 641, 2409, 1173, 31373, 618, 339, 550, 262, 14162, 14779, 290, 257, 2835, 4025, 621, 1367, 30, 46506, 366, 47, 2305, 23158, 1, 16034, 3084, 62, 48057, 2920, 33411, 366, 22968, 395, 26944, 1, 796, 705, 250...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16825, 2292, 373, 6256, 641, 2409, 1173, 31373, 618, 339, 550, 262, 14162, 14779, 290, 257, 2835, 4025, 621, 1367, 30, 46506, 366, 47, 2305, 23158, 1, 16034, 3084, 62, 48057, 2920, 33411, 366, 22968, 395, 26944, 1, 796, 705, 250...
What is the average time with a rank lower than 2 for Andy Turner?
SELECT AVG("Time") FROM table_66096 WHERE "Rank" > '2' AND "Name" = 'andy turner'
[ 2061, 318, 262, 2811, 640, 351, 257, 4279, 2793, 621, 362, 329, 12382, 15406, 30, 46506, 35224, 7203, 7575, 4943, 16034, 3084, 62, 39885, 4846, 33411, 366, 27520, 1, 1875, 705, 17, 6, 5357, 366, 5376, 1, 796, 705, 10757, 1210, 263, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 351, 257, 4279, 2793, 621, 362, 329, 12382, 15406, 30, 46506, 35224, 7203, 7575, 4943, 16034, 3084, 62, 39885, 4846, 33411, 366, 27520, 1, 1875, 705, 17, 6, 5357, 366, 5376, 1, 796, 705, 10757, 1210, 263, ...
give me the number of patients whose drug code is posa200l and lab test fluid is urine?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "POSA200L" AND lab.fluid = "Urine"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2563, 2438, 318, 1426, 64, 2167, 75, 290, 2248, 1332, 11711, 318, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 340...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 2438, 318, 1426, 64, 2167, 75, 290, 2248, 1332, 11711, 318, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 340...
Name the sum of played for serik berdalin and drawn more than 4
SELECT SUM("Played") FROM table_31973 WHERE "Manager" = 'serik berdalin' AND "Drawn" > '4'
[ 5376, 262, 2160, 286, 2826, 329, 1055, 1134, 18157, 67, 14414, 290, 7428, 517, 621, 604, 46506, 35683, 7203, 11002, 276, 4943, 16034, 3084, 62, 35175, 4790, 33411, 366, 13511, 1, 796, 705, 2655, 1134, 18157, 67, 14414, 6, 5357, 366, 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 ]
[ 5376, 262, 2160, 286, 2826, 329, 1055, 1134, 18157, 67, 14414, 290, 7428, 517, 621, 604, 46506, 35683, 7203, 11002, 276, 4943, 16034, 3084, 62, 35175, 4790, 33411, 366, 13511, 1, 796, 705, 2655, 1134, 18157, 67, 14414, 6, 5357, 366, 3...
What is the average value for 1970, when the Region is East Europe (7 Economies), and when 2000 has a value greater than 2?
SELECT AVG("1970") FROM table_48981 WHERE "Region" = 'east europe (7 economies)' AND "2000" > '2'
[ 2061, 318, 262, 2811, 1988, 329, 8069, 11, 618, 262, 17718, 318, 3687, 2031, 357, 22, 6683, 444, 828, 290, 618, 4751, 468, 257, 1988, 3744, 621, 362, 30, 46506, 35224, 7203, 30986, 4943, 16034, 3084, 62, 2780, 4089, 16, 33411, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1988, 329, 8069, 11, 618, 262, 17718, 318, 3687, 2031, 357, 22, 6683, 444, 828, 290, 618, 4751, 468, 257, 1988, 3744, 621, 362, 30, 46506, 35224, 7203, 30986, 4943, 16034, 3084, 62, 2780, 4089, 16, 33411, 366, ...
On the date October 21, 2007, what is the No.?
SELECT no FROM table_26202847_6 WHERE date = "October 21, 2007"
[ 2202, 262, 3128, 3267, 2310, 11, 4343, 11, 644, 318, 262, 1400, 40791, 46506, 645, 16034, 3084, 62, 2075, 1238, 2078, 2857, 62, 21, 33411, 3128, 796, 366, 18517, 2310, 11, 4343, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 262, 3128, 3267, 2310, 11, 4343, 11, 644, 318, 262, 1400, 40791, 46506, 645, 16034, 3084, 62, 2075, 1238, 2078, 2857, 62, 21, 33411, 3128, 796, 366, 18517, 2310, 11, 4343, 1 ]
what's patient 7698's minimum value of ph in a month before?
SELECT MIN(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7698) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'ph') AND DATETIME(labevents.charttime, 'start of month') = DATETIME(CURRENT_...
[ 10919, 338, 5827, 767, 39357, 338, 5288, 1988, 286, 872, 287, 257, 1227, 878, 30, 46506, 20625, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 1810...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 338, 5827, 767, 39357, 338, 5288, 1988, 286, 872, 287, 257, 1227, 878, 30, 46506, 20625, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 1810...
What is the most recent year for a first elected republican?
SELECT MAX("First elected") FROM table_12524 WHERE "Party" = 'republican'
[ 2061, 318, 262, 749, 2274, 614, 329, 257, 717, 7018, 41477, 30, 46506, 25882, 7203, 5962, 7018, 4943, 16034, 3084, 62, 11623, 1731, 33411, 366, 33553, 1, 796, 705, 7856, 841, 272, 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, 749, 2274, 614, 329, 257, 717, 7018, 41477, 30, 46506, 25882, 7203, 5962, 7018, 4943, 16034, 3084, 62, 11623, 1731, 33411, 366, 33553, 1, 796, 705, 7856, 841, 272, 6 ]
Which stage had a Points Classification of Francesco Moser and a general classification of Bernard Hinault?
SELECT "Stage" FROM table_54225 WHERE "Points classification" = 'francesco moser' AND "General classification" = 'bernard hinault'
[ 13828, 3800, 550, 257, 11045, 40984, 286, 27025, 1073, 5826, 263, 290, 257, 2276, 17923, 286, 16197, 367, 1437, 586, 30, 46506, 366, 29391, 1, 16034, 3084, 62, 20, 3682, 1495, 33411, 366, 40710, 17923, 1, 796, 705, 8310, 1817, 1073, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3800, 550, 257, 11045, 40984, 286, 27025, 1073, 5826, 263, 290, 257, 2276, 17923, 286, 16197, 367, 1437, 586, 30, 46506, 366, 29391, 1, 16034, 3084, 62, 20, 3682, 1495, 33411, 366, 40710, 17923, 1, 796, 705, 8310, 1817, 1073, 1...
give me the number of private insurance patients who had immunoglobulin m lab test.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Private" AND lab.label = "Immunoglobulin M"
[ 26535, 502, 262, 1271, 286, 2839, 5096, 3871, 508, 550, 16217, 28678, 672, 11599, 285, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 2839, 5096, 3871, 508, 550, 16217, 28678, 672, 11599, 285, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
Which classes offered this Winter at EPID are upper-level classes ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EPID' AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'Winter...
[ 13828, 6097, 4438, 428, 10633, 379, 14724, 2389, 389, 6727, 12, 5715, 6097, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1430, 62, 17319...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6097, 4438, 428, 10633, 379, 14724, 2389, 389, 6727, 12, 5715, 6097, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1430, 62, 17319...
Visualize a bar chart, group by name and compute each group's total number, and display X-axis in ascending order.
SELECT Name, COUNT(Name) FROM train GROUP BY Name ORDER BY Name
[ 36259, 1096, 257, 2318, 8262, 11, 1448, 416, 1438, 290, 24061, 1123, 1448, 338, 2472, 1271, 11, 290, 3359, 1395, 12, 22704, 287, 41988, 1502, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 4512, 44441, 11050, 6530, 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 ]
[ 36259, 1096, 257, 2318, 8262, 11, 1448, 416, 1438, 290, 24061, 1123, 1448, 338, 2472, 1271, 11, 290, 3359, 1395, 12, 22704, 287, 41988, 1502, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 4512, 44441, 11050, 6530, 38678, 11050, ...
What team in France had 15 UCi points?
SELECT team FROM table_name_81 WHERE country = "france" AND uci_points = "15"
[ 2061, 1074, 287, 4881, 550, 1315, 14417, 72, 2173, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 6659, 33411, 1499, 796, 366, 69, 8132, 1, 5357, 334, 979, 62, 13033, 796, 366, 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, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 287, 4881, 550, 1315, 14417, 72, 2173, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 6659, 33411, 1499, 796, 366, 69, 8132, 1, 5357, 334, 979, 62, 13033, 796, 366, 1314, 1 ]
What is the total of the first season in Segunda Divisi n that has a City of ca ete?
SELECT SUM(first_season_of_current_spell_in_segunda_división) FROM table_name_44 WHERE city = "cañete"
[ 2061, 318, 262, 2472, 286, 262, 717, 1622, 287, 31220, 46535, 4777, 23267, 299, 326, 468, 257, 2254, 286, 1275, 304, 660, 30, 46506, 35683, 7, 11085, 62, 6230, 62, 1659, 62, 14421, 62, 46143, 62, 259, 62, 325, 70, 46535, 62, 7146, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 717, 1622, 287, 31220, 46535, 4777, 23267, 299, 326, 468, 257, 2254, 286, 1275, 304, 660, 30, 46506, 35683, 7, 11085, 62, 6230, 62, 1659, 62, 14421, 62, 46143, 62, 259, 62, 325, 70, 46535, 62, 7146, ...
What is the type for the Panionios moving to?
SELECT "Type" FROM table_58969 WHERE "Moving to" = 'panionios'
[ 2061, 318, 262, 2099, 329, 262, 5961, 295, 4267, 3867, 284, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 3365, 38819, 33411, 366, 33622, 284, 1, 796, 705, 6839, 295, 4267, 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, 2099, 329, 262, 5961, 295, 4267, 3867, 284, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 3365, 38819, 33411, 366, 33622, 284, 1, 796, 705, 6839, 295, 4267, 6 ]
When was Piedmont College founded?
SELECT MAX(founded) FROM table_255188_1 WHERE institution = "Piedmont College"
[ 2215, 373, 350, 798, 8691, 5535, 9393, 30, 46506, 25882, 7, 27060, 8, 16034, 3084, 62, 13381, 20356, 62, 16, 33411, 9901, 796, 366, 47, 798, 8691, 5535, 1 ]
[ 1, 1, 1, 1, 1, 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, 350, 798, 8691, 5535, 9393, 30, 46506, 25882, 7, 27060, 8, 16034, 3084, 62, 13381, 20356, 62, 16, 33411, 9901, 796, 366, 47, 798, 8691, 5535, 1 ]
what was the first thing patient 55360 got diagnosed with in 2105?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT diagnoses_icd.icd9_code FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 55360) AND STRFTIME('%y', diagnoses_icd.charttime) = '2105' ORDER BY diagn...
[ 10919, 373, 262, 717, 1517, 5827, 642, 4310, 1899, 1392, 14641, 351, 287, 362, 13348, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 717, 1517, 5827, 642, 4310, 1899, 1392, 14641, 351, 287, 362, 13348, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, ...
What was the result of week 11?
SELECT "Result" FROM table_46493 WHERE "Week" = '11'
[ 2061, 373, 262, 1255, 286, 1285, 1367, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 44578, 6052, 33411, 366, 20916, 1, 796, 705, 1157, 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 ]
[ 2061, 373, 262, 1255, 286, 1285, 1367, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 44578, 6052, 33411, 366, 20916, 1, 796, 705, 1157, 6 ]
When a race had less than 18 laps and time/retired of accident, what was the smallest grid?
SELECT MIN(grid) FROM table_name_16 WHERE time_retired = "accident" AND laps < 18
[ 2215, 257, 3234, 550, 1342, 621, 1248, 24590, 290, 640, 14, 1186, 1202, 286, 5778, 11, 644, 373, 262, 18197, 10706, 30, 46506, 20625, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 640, 62, 1186, 1202, 796, 366, 4134, 738, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 3234, 550, 1342, 621, 1248, 24590, 290, 640, 14, 1186, 1202, 286, 5778, 11, 644, 373, 262, 18197, 10706, 30, 46506, 20625, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 640, 62, 1186, 1202, 796, 366, 4134, 738, 1, ...
Find the number of scientists involved for each project name.
SELECT COUNT(*), T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project GROUP BY T1.name
[ 16742, 262, 1271, 286, 5519, 2950, 329, 1123, 1628, 1438, 13, 46506, 327, 28270, 46491, 828, 309, 16, 13, 3672, 16034, 4493, 7054, 309, 16, 32357, 1268, 8686, 1462, 7054, 309, 17, 6177, 309, 16, 13, 8189, 796, 309, 17, 13, 16302, 44...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 5519, 2950, 329, 1123, 1628, 1438, 13, 46506, 327, 28270, 46491, 828, 309, 16, 13, 3672, 16034, 4493, 7054, 309, 16, 32357, 1268, 8686, 1462, 7054, 309, 17, 6177, 309, 16, 13, 8189, 796, 309, 17, 13, 16302, 44...
Are there upper level classes that have projects but no exams ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.has_exams = 'N' AND course.has_projects = 'Y' AND program_course.category LIKE 'ULCS'
[ 8491, 612, 6727, 1241, 6097, 326, 423, 4493, 475, 645, 26420, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 612, 6727, 1241, 6097, 326, 423, 4493, 475, 645, 26420, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, ...
What is the Airdate for the episode titled thirteen to centaurus Adapted by stanley miller?
SELECT "Airdate" FROM table_7092 WHERE "Adapted by" = 'stanley miller' AND "Title" = '“thirteen to centaurus”'
[ 2061, 318, 262, 317, 1447, 378, 329, 262, 4471, 11946, 28306, 284, 1247, 22302, 30019, 276, 416, 336, 272, 1636, 3939, 263, 30, 46506, 366, 32, 1447, 378, 1, 16034, 3084, 62, 2154, 5892, 33411, 366, 48003, 276, 416, 1, 796, 705, 141...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 317, 1447, 378, 329, 262, 4471, 11946, 28306, 284, 1247, 22302, 30019, 276, 416, 336, 272, 1636, 3939, 263, 30, 46506, 366, 32, 1447, 378, 1, 16034, 3084, 62, 2154, 5892, 33411, 366, 48003, 276, 416, 1, 796, 705, 141...
What Pastoral Region has Episcopal Vicar Robert Francis Hennessey?
SELECT "Pastoral Region" FROM table_43918 WHERE "Episcopal vicar" = 'robert francis hennessey'
[ 2061, 11303, 6864, 17718, 468, 48378, 24017, 283, 5199, 12155, 367, 42573, 4397, 30, 46506, 366, 34533, 6864, 17718, 1, 16034, 3084, 62, 47106, 1507, 33411, 366, 13807, 42522, 20429, 283, 1, 796, 705, 305, 4835, 46754, 271, 30963, 2516, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11303, 6864, 17718, 468, 48378, 24017, 283, 5199, 12155, 367, 42573, 4397, 30, 46506, 366, 34533, 6864, 17718, 1, 16034, 3084, 62, 47106, 1507, 33411, 366, 13807, 42522, 20429, 283, 1, 796, 705, 305, 4835, 46754, 271, 30963, 2516, ...
Who was the opponent when the Washington Nationals had a record of 8-4?
SELECT "Opponent" FROM table_68237 WHERE "Record" = '8-4'
[ 8241, 373, 262, 6125, 618, 262, 2669, 26291, 550, 257, 1700, 286, 807, 12, 19, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 3104, 24693, 33411, 366, 23739, 1, 796, 705, 23, 12, 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, 1 ]
[ 8241, 373, 262, 6125, 618, 262, 2669, 26291, 550, 257, 1700, 286, 807, 12, 19, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 3104, 24693, 33411, 366, 23739, 1, 796, 705, 23, 12, 19, 6 ]
Who was the visitor on October 31?
SELECT visitor FROM table_name_75 WHERE date = "october 31"
[ 8241, 373, 262, 21493, 319, 3267, 3261, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 2425, 33411, 3128, 796, 366, 38441, 2023, 3261, 1 ]
[ 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, 21493, 319, 3267, 3261, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 2425, 33411, 3128, 796, 366, 38441, 2023, 3261, 1 ]
Return the number of the completion date for all the tests that have 'Fail' result, and list Y in asc order.
SELECT date_of_completion, COUNT(date_of_completion) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail" GROUP BY date_of_completion ORDER BY COUNT(date_of_completion)
[ 13615, 262, 1271, 286, 262, 11939, 3128, 329, 477, 262, 5254, 326, 423, 705, 39044, 6, 1255, 11, 290, 1351, 575, 287, 10570, 1502, 13, 46506, 3128, 62, 1659, 62, 785, 24547, 11, 327, 28270, 7, 4475, 62, 1659, 62, 785, 24547, 8, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13615, 262, 1271, 286, 262, 11939, 3128, 329, 477, 262, 5254, 326, 423, 705, 39044, 6, 1255, 11, 290, 1351, 575, 287, 10570, 1502, 13, 46506, 3128, 62, 1659, 62, 785, 24547, 11, 327, 28270, 7, 4475, 62, 1659, 62, 785, 24547, 8, 16...
What was the result of the open cup when they finished 4th in the regular season?
SELECT "Open Cup" FROM table_17370 WHERE "Reg. Season" = '4th'
[ 2061, 373, 262, 1255, 286, 262, 1280, 6508, 618, 484, 5201, 604, 400, 287, 262, 3218, 1622, 30, 46506, 366, 11505, 5454, 1, 16034, 3084, 62, 1558, 20167, 33411, 366, 8081, 13, 7369, 1, 796, 705, 19, 400, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 286, 262, 1280, 6508, 618, 484, 5201, 604, 400, 287, 262, 3218, 1622, 30, 46506, 366, 11505, 5454, 1, 16034, 3084, 62, 1558, 20167, 33411, 366, 8081, 13, 7369, 1, 796, 705, 19, 400, 6 ]
What game number is the Washington team.
SELECT COUNT(game) FROM table_27713583_6 WHERE team = "Washington"
[ 2061, 983, 1271, 318, 262, 2669, 1074, 13, 46506, 327, 28270, 7, 6057, 8, 16034, 3084, 62, 27019, 1485, 46239, 62, 21, 33411, 1074, 796, 366, 17402, 1 ]
[ 1, 1, 1, 1, 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, 983, 1271, 318, 262, 2669, 1074, 13, 46506, 327, 28270, 7, 6057, 8, 16034, 3084, 62, 27019, 1485, 46239, 62, 21, 33411, 1074, 796, 366, 17402, 1 ]
count the number of patients whose discharge location is snf and lab test name is alkaline phosphatase?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.discharge_location = "SNF" AND lab.label = "Alkaline Phosphatase"
[ 9127, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 3013, 69, 290, 2248, 1332, 1438, 318, 32915, 20663, 18431, 265, 589, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 3013, 69, 290, 2248, 1332, 1438, 318, 32915, 20663, 18431, 265, 589, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1...
what is the number of conservative representatives listed ?
SELECT COUNT("name") FROM table_203_345 WHERE "party" = 'conservative'
[ 10919, 318, 262, 1271, 286, 5940, 10826, 5610, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 27712, 33411, 366, 10608, 1, 796, 705, 43218, 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 ]
[ 10919, 318, 262, 1271, 286, 5940, 10826, 5610, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 27712, 33411, 366, 10608, 1, 796, 705, 43218, 6 ]
How many gold medals did Denmark win?
SELECT MIN("Gold") FROM table_66255 WHERE "Nation" = 'denmark'
[ 2437, 867, 3869, 28057, 750, 16490, 1592, 30, 46506, 20625, 7203, 13306, 4943, 16034, 3084, 62, 2791, 13381, 33411, 366, 46108, 1, 796, 705, 6559, 4102, 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 ]
[ 2437, 867, 3869, 28057, 750, 16490, 1592, 30, 46506, 20625, 7203, 13306, 4943, 16034, 3084, 62, 2791, 13381, 33411, 366, 46108, 1, 796, 705, 6559, 4102, 6 ]
WHAT YEAR WAS ROBERT COOMBES CHAMPION ON MAY 7?
SELECT COUNT(year) FROM table_name_97 WHERE champion = "robert coombes" AND date = "may 7"
[ 32971, 32914, 21725, 36449, 17395, 7375, 2662, 33, 1546, 5870, 23518, 2849, 6177, 26720, 767, 30, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 8783, 796, 366, 305, 4835, 763, 2381, 274, 1, 5357, 3128, 796, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 32914, 21725, 36449, 17395, 7375, 2662, 33, 1546, 5870, 23518, 2849, 6177, 26720, 767, 30, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 8783, 796, 366, 305, 4835, 763, 2381, 274, 1, 5357, 3128, 796, 36...
How many points did landskrona bois get when they were ranked below 18?
SELECT COUNT("Points") FROM table_54782 WHERE "Club" = 'landskrona bois' AND "Rank" < '18'
[ 2437, 867, 2173, 750, 8604, 74, 1313, 64, 1489, 271, 651, 618, 484, 547, 10307, 2174, 1248, 30, 46506, 327, 28270, 7203, 40710, 4943, 16034, 3084, 62, 20, 2857, 6469, 33411, 366, 42350, 1, 796, 705, 4447, 74, 1313, 64, 1489, 271, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2173, 750, 8604, 74, 1313, 64, 1489, 271, 651, 618, 484, 547, 10307, 2174, 1248, 30, 46506, 327, 28270, 7203, 40710, 4943, 16034, 3084, 62, 20, 2857, 6469, 33411, 366, 42350, 1, 796, 705, 4447, 74, 1313, 64, 1489, 271, 6,...
What is the sum of League Goals, when Position is 'DF', when League Cup Apps is '0', when Total Apps is '7', and when FLT Goals is less than 0?
SELECT SUM(league_goals) FROM table_name_95 WHERE position = "df" AND league_cup_apps = "0" AND total_apps = "7" AND flt_goals < 0
[ 2061, 318, 262, 2160, 286, 4041, 28510, 11, 618, 23158, 318, 705, 8068, 3256, 618, 4041, 5454, 27710, 318, 705, 15, 3256, 618, 7472, 27710, 318, 705, 22, 3256, 290, 618, 9977, 51, 28510, 318, 1342, 621, 657, 30, 46506, 35683, 7, 193...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4041, 28510, 11, 618, 23158, 318, 705, 8068, 3256, 618, 4041, 5454, 27710, 318, 705, 15, 3256, 618, 7472, 27710, 318, 705, 22, 3256, 290, 618, 9977, 51, 28510, 318, 1342, 621, 657, 30, 46506, 35683, 7, 193...
What date did the episode with code 110 originally air?
SELECT original_air_date FROM table_24425976_2 WHERE production_code = "110"
[ 2061, 3128, 750, 262, 4471, 351, 2438, 9796, 6198, 1633, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 25707, 25191, 4304, 62, 17, 33411, 3227, 62, 8189, 796, 366, 11442, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 750, 262, 4471, 351, 2438, 9796, 6198, 1633, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 25707, 25191, 4304, 62, 17, 33411, 3227, 62, 8189, 796, 366, 11442, 1 ]
Which class is the easiest one to fulfill the Other requirement ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%Other%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_c...
[ 13828, 1398, 318, 262, 16638, 530, 284, 14658, 262, 3819, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 13, 1818, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1398, 318, 262, 16638, 530, 284, 14658, 262, 3819, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 13, 1818, ...
What win method has a time of 2:32?
SELECT "Method" FROM table_37092 WHERE "Time" = '2:32'
[ 2061, 1592, 2446, 468, 257, 640, 286, 362, 25, 2624, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 20167, 5892, 33411, 366, 7575, 1, 796, 705, 17, 25, 2624, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1592, 2446, 468, 257, 640, 286, 362, 25, 2624, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 20167, 5892, 33411, 366, 7575, 1, 796, 705, 17, 25, 2624, 6 ]
What are the descriptions for the aircrafts, and count them by a bar chart, and order by the total number in descending please.
SELECT Description, COUNT(Description) FROM aircraft GROUP BY Description ORDER BY COUNT(Description) DESC
[ 2061, 389, 262, 16969, 329, 262, 6215, 82, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 1502, 416, 262, 2472, 1271, 287, 31491, 3387, 13, 46506, 12489, 11, 327, 28270, 7, 11828, 8, 16034, 6215, 44441, 11050, 12489, 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, 1, 1 ]
[ 2061, 389, 262, 16969, 329, 262, 6215, 82, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 1502, 416, 262, 2472, 1271, 287, 31491, 3387, 13, 46506, 12489, 11, 327, 28270, 7, 11828, 8, 16034, 6215, 44441, 11050, 12489, 38678, 11050, ...
On what Date was the Works Number 7?
SELECT "Date" FROM table_58106 WHERE "Works number" = '7'
[ 2202, 644, 7536, 373, 262, 10933, 7913, 767, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3365, 15801, 33411, 366, 23044, 1271, 1, 796, 705, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 7536, 373, 262, 10933, 7913, 767, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3365, 15801, 33411, 366, 23044, 1271, 1, 796, 705, 22, 6 ]
What is the average of the team who has Jacobo as a goalkeeper and has played more than 32 matches?
SELECT AVG(average) FROM table_name_14 WHERE goalkeeper = "jacobo" AND matches > 32
[ 2061, 318, 262, 2811, 286, 262, 1074, 508, 468, 12806, 78, 355, 257, 26318, 290, 468, 2826, 517, 621, 3933, 7466, 30, 46506, 35224, 7, 23913, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 26318, 796, 366, 30482, 20391, 1, 5357, 7466, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 1074, 508, 468, 12806, 78, 355, 257, 26318, 290, 468, 2826, 517, 621, 3933, 7466, 30, 46506, 35224, 7, 23913, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 26318, 796, 366, 30482, 20391, 1, 5357, 7466, 1...
Which Date has a Pictorials of mercedes mcnab, girls of hawaiian tropic?
SELECT date FROM table_name_67 WHERE pictorials = "mercedes mcnab, girls of hawaiian tropic"
[ 13828, 7536, 468, 257, 10780, 5132, 82, 286, 4017, 19285, 285, 31522, 397, 11, 4813, 286, 23185, 1872, 666, 14673, 291, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3134, 33411, 2862, 5132, 82, 796, 366, 647, 19285, 285, 31522, 397, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7536, 468, 257, 10780, 5132, 82, 286, 4017, 19285, 285, 31522, 397, 11, 4813, 286, 23185, 1872, 666, 14673, 291, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3134, 33411, 2862, 5132, 82, 796, 366, 647, 19285, 285, 31522, 397, 11...
Who was the brother of Edward VIII?
SELECT "Name" FROM table_11390 WHERE "Relationship with Predecessor(s)" = 'brother of edward viii'
[ 8241, 373, 262, 3956, 286, 10443, 25197, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 1157, 25964, 33411, 366, 47117, 1056, 351, 14322, 721, 5987, 7, 82, 16725, 796, 705, 37343, 286, 1225, 904, 410, 15479, 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 ]
[ 8241, 373, 262, 3956, 286, 10443, 25197, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 1157, 25964, 33411, 366, 47117, 1056, 351, 14322, 721, 5987, 7, 82, 16725, 796, 705, 37343, 286, 1225, 904, 410, 15479, 6 ]
Who was appointed on October 24, 1997?
SELECT name FROM table_name_63 WHERE appointment = "october 24, 1997"
[ 8241, 373, 9899, 319, 3267, 1987, 11, 8309, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 5066, 33411, 12557, 796, 366, 38441, 2023, 1987, 11, 8309, 1 ]
[ 1, 1, 1, 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, 9899, 319, 3267, 1987, 11, 8309, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 5066, 33411, 12557, 796, 366, 38441, 2023, 1987, 11, 8309, 1 ]
What is the intro date for the interface that equals pci?
SELECT "Intro Date" FROM table_31330 WHERE "Interface" = 'PCI'
[ 2061, 318, 262, 18951, 3128, 329, 262, 7071, 326, 21767, 39886, 30, 46506, 366, 5317, 305, 7536, 1, 16034, 3084, 62, 25838, 1270, 33411, 366, 39317, 1, 796, 705, 5662, 40, 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, 18951, 3128, 329, 262, 7071, 326, 21767, 39886, 30, 46506, 366, 5317, 305, 7536, 1, 16034, 3084, 62, 25838, 1270, 33411, 366, 39317, 1, 796, 705, 5662, 40, 6 ]
get me the patient ids who are diagnosed with fever - kidney transplant - postop < 2 weeks.
SELECT patient.uniquepid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'fever - kidney transplant - postop < 2 weeks')
[ 1136, 502, 262, 5827, 220, 2340, 508, 389, 14641, 351, 17372, 532, 21919, 23319, 532, 1281, 404, 1279, 362, 2745, 13, 46506, 5827, 13, 403, 1557, 538, 312, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 13669,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 502, 262, 5827, 220, 2340, 508, 389, 14641, 351, 17372, 532, 21919, 23319, 532, 1281, 404, 1279, 362, 2745, 13, 46506, 5827, 13, 403, 1557, 538, 312, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 13669,...
Name the least total apaps for txema
SELECT MIN("Total Apps") FROM table_25109 WHERE "Player" = 'Txema'
[ 5376, 262, 1551, 2472, 2471, 1686, 329, 27765, 19687, 46506, 20625, 7203, 14957, 27710, 4943, 16034, 3084, 62, 1495, 14454, 33411, 366, 14140, 1, 796, 705, 46047, 19687, 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 ]
[ 5376, 262, 1551, 2472, 2471, 1686, 329, 27765, 19687, 46506, 20625, 7203, 14957, 27710, 4943, 16034, 3084, 62, 1495, 14454, 33411, 366, 14140, 1, 796, 705, 46047, 19687, 6 ]
What's the date for HOF week?
SELECT date FROM table_name_63 WHERE week = "hof"
[ 2061, 338, 262, 3128, 329, 367, 19238, 1285, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5066, 33411, 1285, 796, 366, 39891, 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, 3128, 329, 367, 19238, 1285, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5066, 33411, 1285, 796, 366, 39891, 1 ]
What is the administrative division that has an area of 30 km^2?
SELECT "Administrative Division" FROM table_1631 WHERE "Area (km\u00b2)" = '30'
[ 2061, 318, 262, 11553, 7297, 326, 468, 281, 1989, 286, 1542, 10571, 61, 17, 30, 46506, 366, 41862, 13260, 7458, 1, 16034, 3084, 62, 1433, 3132, 33411, 366, 30547, 357, 13276, 59, 84, 405, 65, 17, 16725, 796, 705, 1270, 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, 318, 262, 11553, 7297, 326, 468, 281, 1989, 286, 1542, 10571, 61, 17, 30, 46506, 366, 41862, 13260, 7458, 1, 16034, 3084, 62, 1433, 3132, 33411, 366, 30547, 357, 13276, 59, 84, 405, 65, 17, 16725, 796, 705, 1270, 6 ]
My comments on posts edited by owner after comment ('It's-a me!' hat). https://winterbash2018.stackexchange.com/itsa-me
SELECT Comment.Id AS "comment_link", MAX(Comment.Score) AS "score", MAX(Post.Id) AS "post_link", MAX(Type.Name) AS "type", MAX(Post.OwnerUserId) AS "user_link", MAX(Post.CreationDate) AS "posted", MAX(Comment.CreationDate) AS "commented", MIN(Edit.CreationDate) AS "edited" FROM Comments AS Comment JOIN Posts AS Post ON...
[ 3666, 3651, 319, 6851, 13012, 416, 4870, 706, 2912, 19203, 1026, 338, 12, 64, 502, 13679, 6877, 737, 3740, 1378, 40078, 41757, 7908, 13, 301, 330, 365, 87, 3803, 13, 785, 14, 896, 64, 12, 1326, 46506, 18957, 13, 7390, 7054, 366, 238...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3666, 3651, 319, 6851, 13012, 416, 4870, 706, 2912, 19203, 1026, 338, 12, 64, 502, 13679, 6877, 737, 3740, 1378, 40078, 41757, 7908, 13, 301, 330, 365, 87, 3803, 13, 785, 14, 896, 64, 12, 1326, 46506, 18957, 13, 7390, 7054, 366, 238...
For the names and the players of clubs, count the names by names in a bar chart, and order in ascending by the x-axis.
SELECT T1.name, COUNT(T1.name) FROM club AS T1 JOIN player AS T2 ON T1.Club_ID = T2.Club_ID GROUP BY T1.name ORDER BY T1.name
[ 1890, 262, 3891, 290, 262, 1938, 286, 9784, 11, 954, 262, 3891, 416, 3891, 287, 257, 2318, 8262, 11, 290, 1502, 287, 41988, 416, 262, 2124, 12, 22704, 13, 46506, 309, 16, 13, 3672, 11, 327, 28270, 7, 51, 16, 13, 3672, 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...
[ 1890, 262, 3891, 290, 262, 1938, 286, 9784, 11, 954, 262, 3891, 416, 3891, 287, 257, 2318, 8262, 11, 290, 1502, 287, 41988, 416, 262, 2124, 12, 22704, 13, 46506, 309, 16, 13, 3672, 11, 327, 28270, 7, 51, 16, 13, 3672, 8, 16034, ...
Name for me the total number in attendance for week before 2 and result of t 24-24
SELECT COUNT(attendance) FROM table_name_60 WHERE result = "t 24-24" AND week < 2
[ 5376, 329, 502, 262, 2472, 1271, 287, 14858, 329, 1285, 878, 362, 290, 1255, 286, 256, 1987, 12, 1731, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 1255, 796, 366, 83, 1987, 12, 1731, 1, 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 ]
[ 5376, 329, 502, 262, 2472, 1271, 287, 14858, 329, 1285, 878, 362, 290, 1255, 286, 256, 1987, 12, 1731, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 1255, 796, 366, 83, 1987, 12, 1731, 1, 5357, 1...
Which Game has Points smaller than 10, and an October larger than 12, and an Opponent of @ washington capitals?
SELECT SUM(game) FROM table_name_5 WHERE points < 10 AND october > 12 AND opponent = "@ washington capitals"
[ 13828, 3776, 468, 11045, 4833, 621, 838, 11, 290, 281, 3267, 4025, 621, 1105, 11, 290, 281, 9385, 3471, 286, 2488, 20518, 1122, 44590, 30, 46506, 35683, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 20, 33411, 2173, 1279, 838, 5357, 19318, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3776, 468, 11045, 4833, 621, 838, 11, 290, 281, 3267, 4025, 621, 1105, 11, 290, 281, 9385, 3471, 286, 2488, 20518, 1122, 44590, 30, 46506, 35683, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 20, 33411, 2173, 1279, 838, 5357, 19318, ...
what is the name of the treatment that patient 17237 had been given two times in 05/last year?
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 = 172...
[ 10919, 318, 262, 1438, 286, 262, 3513, 326, 5827, 1596, 24693, 550, 587, 1813, 734, 1661, 287, 8870, 14, 12957, 614, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3513, 326, 5827, 1596, 24693, 550, 587, 1813, 734, 1661, 287, 8870, 14, 12957, 614, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942...
How many players had a best winning average of 20?
SELECT COUNT(games_won) FROM table_27533947_1 WHERE best_winning_average = "20"
[ 2437, 867, 1938, 550, 257, 1266, 5442, 2811, 286, 1160, 30, 46506, 327, 28270, 7, 19966, 62, 26502, 8, 16034, 3084, 62, 23195, 29626, 2857, 62, 16, 33411, 1266, 62, 14463, 62, 23913, 796, 366, 1238, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1938, 550, 257, 1266, 5442, 2811, 286, 1160, 30, 46506, 327, 28270, 7, 19966, 62, 26502, 8, 16034, 3084, 62, 23195, 29626, 2857, 62, 16, 33411, 1266, 62, 14463, 62, 23913, 796, 366, 1238, 1 ]
WHAT IS THE 8:00AM WITH LOCAL PROGRAMS AT 3:00PM?
SELECT "8:00 am" FROM table_59279 WHERE "3:00 pm" = 'local programs'
[ 32971, 3180, 3336, 807, 25, 405, 2390, 13315, 37347, 1847, 46805, 50, 5161, 513, 25, 405, 5868, 30, 46506, 366, 23, 25, 405, 716, 1, 16034, 3084, 62, 3270, 26050, 33411, 366, 18, 25, 405, 9114, 1, 796, 705, 12001, 4056, 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 ]
[ 32971, 3180, 3336, 807, 25, 405, 2390, 13315, 37347, 1847, 46805, 50, 5161, 513, 25, 405, 5868, 30, 46506, 366, 23, 25, 405, 716, 1, 16034, 3084, 62, 3270, 26050, 33411, 366, 18, 25, 405, 9114, 1, 796, 705, 12001, 4056, 6 ]
how many of the patients treated with meth10sy had a lab test for cerebrospinal fluid (csf)?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "METH10SY" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 4919, 867, 286, 262, 3871, 5716, 351, 11248, 940, 1837, 550, 257, 2248, 1332, 329, 6736, 7957, 2777, 1292, 11711, 357, 6359, 69, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 3871, 5716, 351, 11248, 940, 1837, 550, 257, 2248, 1332, 329, 6736, 7957, 2777, 1292, 11711, 357, 6359, 69, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
What are the goals for a lost of Involuntary suspension of Season (hurricane Rita)?
SELECT goals_for FROM table_name_44 WHERE lost = "involuntary suspension of season (hurricane rita)"
[ 2061, 389, 262, 4661, 329, 257, 2626, 286, 10001, 349, 26468, 11461, 286, 7369, 357, 48349, 11551, 42605, 19427, 46506, 4661, 62, 1640, 16034, 3084, 62, 3672, 62, 2598, 33411, 2626, 796, 366, 259, 10396, 26468, 11461, 286, 1622, 357, 48...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 4661, 329, 257, 2626, 286, 10001, 349, 26468, 11461, 286, 7369, 357, 48349, 11551, 42605, 19427, 46506, 4661, 62, 1640, 16034, 3084, 62, 3672, 62, 2598, 33411, 2626, 796, 366, 259, 10396, 26468, 11461, 286, 1622, 357, 48...
What is Date, when Margin Of Victory is 4 Strokes?
SELECT "Date" FROM table_48755 WHERE "Margin of victory" = '4 strokes'
[ 2061, 318, 7536, 11, 618, 11899, 259, 3226, 21203, 318, 604, 30183, 5209, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2780, 38172, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 19, 29483, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7536, 11, 618, 11899, 259, 3226, 21203, 318, 604, 30183, 5209, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2780, 38172, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 19, 29483, 6 ]
Which class is easier : EECS 633 or EECS 498 ?
SELECT DISTINCT course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (course.number = 633 OR course.number = 498) AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 INNER JOIN course AS COURSEalias1 ON ...
[ 13828, 1398, 318, 4577, 1058, 412, 2943, 50, 718, 2091, 393, 412, 2943, 50, 604, 4089, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 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...
[ 13828, 1398, 318, 4577, 1058, 412, 2943, 50, 718, 2091, 393, 412, 2943, 50, 604, 4089, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, ...
What was the largest crowd at Arden Street Oval?
SELECT MAX("Crowd") FROM table_33398 WHERE "Venue" = 'arden street oval'
[ 2061, 373, 262, 4387, 4315, 379, 943, 6559, 3530, 25165, 30, 46506, 25882, 7203, 34, 3986, 4943, 16034, 3084, 62, 2091, 31952, 33411, 366, 37522, 518, 1, 796, 705, 5872, 4675, 41186, 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, 373, 262, 4387, 4315, 379, 943, 6559, 3530, 25165, 30, 46506, 25882, 7203, 34, 3986, 4943, 16034, 3084, 62, 2091, 31952, 33411, 366, 37522, 518, 1, 796, 705, 5872, 4675, 41186, 6 ]
For those employees who did not have any job in the past, show me about the distribution of hire_date and the sum of employee_id bin hire_date by weekday in a bar chart, could you sort total number in descending order?
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(EMPLOYEE_ID) DESC
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 287, 257, 2318, 8262, 11, 714, 345, 3297, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 287, 257, 2318, 8262, 11, 714, 345, 3297, 2...
How many publications does scott klemmer have ?
SELECT DISTINCT COUNT(DISTINCT writes.paperid) FROM author, writes WHERE author.authorname = 'scott klemmer' AND writes.authorid = author.authorid
[ 2437, 867, 16125, 857, 629, 1252, 479, 10671, 647, 423, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 6797, 13, 20189, 312, 8, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 1416, 1252, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16125, 857, 629, 1252, 479, 10671, 647, 423, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 6797, 13, 20189, 312, 8, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 1416, 1252, ...
What is the Clean & jerk for the snatch less than 150 and a Bodyweight of 76.18?
SELECT "Clean & jerk" FROM table_53481 WHERE "Snatch" < '150' AND "Bodyweight" = '76.18'
[ 2061, 318, 262, 5985, 1222, 29757, 329, 262, 43388, 1342, 621, 6640, 290, 257, 12290, 6551, 286, 8684, 13, 1507, 30, 46506, 366, 32657, 1222, 29757, 1, 16034, 3084, 62, 20, 2682, 6659, 33411, 366, 16501, 963, 1, 1279, 705, 8628, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5985, 1222, 29757, 329, 262, 43388, 1342, 621, 6640, 290, 257, 12290, 6551, 286, 8684, 13, 1507, 30, 46506, 366, 32657, 1222, 29757, 1, 16034, 3084, 62, 20, 2682, 6659, 33411, 366, 16501, 963, 1, 1279, 705, 8628, 6, ...
what are all the rating with viewers (m) being 2.61
SELECT "Rating" FROM table_17989 WHERE "Viewers (m)" = '2.61'
[ 10919, 389, 477, 262, 7955, 351, 10209, 357, 76, 8, 852, 362, 13, 5333, 46506, 366, 29321, 1, 16034, 3084, 62, 1558, 42520, 33411, 366, 7680, 364, 357, 76, 16725, 796, 705, 17, 13, 5333, 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 ]
[ 10919, 389, 477, 262, 7955, 351, 10209, 357, 76, 8, 852, 362, 13, 5333, 46506, 366, 29321, 1, 16034, 3084, 62, 1558, 42520, 33411, 366, 7680, 364, 357, 76, 16725, 796, 705, 17, 13, 5333, 6 ]
What is the original title of season number 3?
SELECT "Title (original)" FROM table_19588 WHERE "Number of season" = '3'
[ 2061, 318, 262, 2656, 3670, 286, 1622, 1271, 513, 30, 46506, 366, 19160, 357, 14986, 16725, 16034, 3084, 62, 1129, 39118, 33411, 366, 15057, 286, 1622, 1, 796, 705, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2656, 3670, 286, 1622, 1271, 513, 30, 46506, 366, 19160, 357, 14986, 16725, 16034, 3084, 62, 1129, 39118, 33411, 366, 15057, 286, 1622, 1, 796, 705, 18, 6 ]
what is the most bronze when the total is 9?
SELECT MAX("Bronze") FROM table_63781 WHERE "Total" = '9'
[ 10919, 318, 262, 749, 22101, 618, 262, 2472, 318, 860, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 21, 2718, 6659, 33411, 366, 14957, 1, 796, 705, 24, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 749, 22101, 618, 262, 2472, 318, 860, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 21, 2718, 6659, 33411, 366, 14957, 1, 796, 705, 24, 6 ]
Who was the manufacturer for the race on grid 12?
SELECT "Manufacturer" FROM table_48677 WHERE "Grid" = '12'
[ 8241, 373, 262, 11554, 329, 262, 3234, 319, 10706, 1105, 30, 46506, 366, 44445, 15051, 1, 16034, 3084, 62, 2780, 40179, 33411, 366, 41339, 1, 796, 705, 1065, 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 ]
[ 8241, 373, 262, 11554, 329, 262, 3234, 319, 10706, 1105, 30, 46506, 366, 44445, 15051, 1, 16034, 3084, 62, 2780, 40179, 33411, 366, 41339, 1, 796, 705, 1065, 6 ]
give me the number of patients whose diagnoses icd9 code is v5416 and lab test fluid is pleural?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "V5416" AND lab.fluid = "Pleural"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 410, 4051, 1433, 290, 2248, 1332, 11711, 318, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14158, 67, 24, 2438, 318, 410, 4051, 1433, 290, 2248, 1332, 11711, 318, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479...
With 10 as the points for foundation, what is the maximum points for ordinary?
SELECT MAX("Points for Ordinary") FROM table_12934 WHERE "Points for Foundation" = '10'
[ 3152, 838, 355, 262, 2173, 329, 8489, 11, 644, 318, 262, 5415, 2173, 329, 8850, 30, 46506, 25882, 7203, 40710, 329, 14230, 3219, 4943, 16034, 3084, 62, 18741, 2682, 33411, 366, 40710, 329, 5693, 1, 796, 705, 940, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3152, 838, 355, 262, 2173, 329, 8489, 11, 644, 318, 262, 5415, 2173, 329, 8850, 30, 46506, 25882, 7203, 40710, 329, 14230, 3219, 4943, 16034, 3084, 62, 18741, 2682, 33411, 366, 40710, 329, 5693, 1, 796, 705, 940, 6 ]
What was the final score on March 22, 1993?
SELECT "Score in the final" FROM table_64089 WHERE "Date" = 'march 22, 1993'
[ 2061, 373, 262, 2457, 4776, 319, 2805, 2534, 11, 9656, 30, 46506, 366, 26595, 287, 262, 2457, 1, 16034, 3084, 62, 31102, 4531, 33411, 366, 10430, 1, 796, 705, 76, 998, 2534, 11, 9656, 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, 373, 262, 2457, 4776, 319, 2805, 2534, 11, 9656, 30, 46506, 366, 26595, 287, 262, 2457, 1, 16034, 3084, 62, 31102, 4531, 33411, 366, 10430, 1, 796, 705, 76, 998, 2534, 11, 9656, 6 ]
give me the number of patients whose primary disease is colangitis and age is less than 85?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "COLANGITIS" AND demographic.age < "85"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 951, 648, 11815, 290, 2479, 318, 1342, 621, 7600, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 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 ]
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 951, 648, 11815, 290, 2479, 318, 1342, 621, 7600, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796,...
Name the total number of high asists for 34-27
SELECT COUNT("High assists") FROM table_30081 WHERE "Record" = '34-27'
[ 5376, 262, 2472, 1271, 286, 1029, 355, 1023, 329, 4974, 12, 1983, 46506, 327, 28270, 7203, 11922, 13648, 4943, 16034, 3084, 62, 6200, 6659, 33411, 366, 23739, 1, 796, 705, 2682, 12, 1983, 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 ]
[ 5376, 262, 2472, 1271, 286, 1029, 355, 1023, 329, 4974, 12, 1983, 46506, 327, 28270, 7203, 11922, 13648, 4943, 16034, 3084, 62, 6200, 6659, 33411, 366, 23739, 1, 796, 705, 2682, 12, 1983, 6 ]
Search for posts which have attracted significantly more controversial or bad answers than good ones. Search for posts which have attracted significantly more controversial or bad answers than good ones
SELECT p.Id AS "post_link", p.Score FROM (SELECT p.ParentId, COUNT(*) AS ContACnt FROM (SELECT PostId, up = SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE 0 END), down = SUM(CASE WHEN VoteTypeId = 3 THEN 1 ELSE 0 END) FROM Votes AS v JOIN Posts AS p ON p.Id = v.PostId WHERE VoteTypeId IN (2, 3) AND PostTypeId = 2 GROUP BY Po...
[ 18243, 329, 6851, 543, 423, 12725, 5566, 517, 8381, 393, 2089, 7429, 621, 922, 3392, 13, 11140, 329, 6851, 543, 423, 12725, 5566, 517, 8381, 393, 2089, 7429, 621, 922, 3392, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18243, 329, 6851, 543, 423, 12725, 5566, 517, 8381, 393, 2089, 7429, 621, 922, 3392, 13, 11140, 329, 6851, 543, 423, 12725, 5566, 517, 8381, 393, 2089, 7429, 621, 922, 3392, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, ...
Championship larger than 3, and a FA Cup smaller than 3, and a Total smaller than 6 involves what highest league cup?
SELECT MAX("League Cup") FROM table_36286 WHERE "Championship" > '3' AND "FA Cup" < '3' AND "Total" < '6'
[ 1925, 4350, 1056, 4025, 621, 513, 11, 290, 257, 9677, 5454, 4833, 621, 513, 11, 290, 257, 7472, 4833, 621, 718, 9018, 644, 4511, 4652, 6508, 30, 46506, 25882, 7203, 24623, 5454, 4943, 16034, 3084, 62, 2623, 27033, 33411, 366, 1925, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1925, 4350, 1056, 4025, 621, 513, 11, 290, 257, 9677, 5454, 4833, 621, 513, 11, 290, 257, 7472, 4833, 621, 718, 9018, 644, 4511, 4652, 6508, 30, 46506, 25882, 7203, 24623, 5454, 4943, 16034, 3084, 62, 2623, 27033, 33411, 366, 1925, 43...
What are the famous titles of artists who have not only had volumes that spent more than 2 weeks on top but also volumes that spent less than 2 weeks on top?
SELECT T1.famous_title FROM artist AS T1 JOIN volume AS T2 ON T1.artist_id = T2.artist_id WHERE T2.weeks_on_top > 2 INTERSECT SELECT T1.famous_title FROM artist AS T1 JOIN volume AS T2 ON T1.artist_id = T2.artist_id WHERE T2.weeks_on_top < 2
[ 2061, 389, 262, 5863, 8714, 286, 7912, 508, 423, 407, 691, 550, 15343, 326, 3377, 517, 621, 362, 2745, 319, 1353, 475, 635, 15343, 326, 3377, 1342, 621, 362, 2745, 319, 1353, 30, 46506, 309, 16, 13, 45143, 62, 7839, 16034, 6802, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 5863, 8714, 286, 7912, 508, 423, 407, 691, 550, 15343, 326, 3377, 517, 621, 362, 2745, 319, 1353, 475, 635, 15343, 326, 3377, 1342, 621, 362, 2745, 319, 1353, 30, 46506, 309, 16, 13, 45143, 62, 7839, 16034, 6802, 705...
How many reports are there in the race that Forsythe Racing won and Teo Fabi had the pole position in?
SELECT COUNT(report) FROM table_10706961_2 WHERE winning_team = "Forsythe Racing" AND pole_position = "Teo Fabi"
[ 2437, 867, 3136, 389, 612, 287, 262, 3234, 326, 27325, 88, 1169, 14954, 1839, 290, 1665, 78, 14236, 72, 550, 262, 16825, 2292, 287, 30, 46506, 327, 28270, 7, 13116, 8, 16034, 3084, 62, 940, 2154, 3388, 5333, 62, 17, 33411, 5442, 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 ]
[ 2437, 867, 3136, 389, 612, 287, 262, 3234, 326, 27325, 88, 1169, 14954, 1839, 290, 1665, 78, 14236, 72, 550, 262, 16825, 2292, 287, 30, 46506, 327, 28270, 7, 13116, 8, 16034, 3084, 62, 940, 2154, 3388, 5333, 62, 17, 33411, 5442, 62,...
What is the place of the player with a 72-70-67=209 score?
SELECT place FROM table_name_51 WHERE score = 72 - 70 - 67 = 209
[ 2061, 318, 262, 1295, 286, 262, 2137, 351, 257, 7724, 12, 2154, 12, 3134, 28, 22567, 4776, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 4349, 33411, 4776, 796, 7724, 532, 4317, 532, 8275, 796, 28815 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1295, 286, 262, 2137, 351, 257, 7724, 12, 2154, 12, 3134, 28, 22567, 4776, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 4349, 33411, 4776, 796, 7724, 532, 4317, 532, 8275, 796, 28815 ]
Who was the opponent when the record was 31-24?
SELECT "Opponent" FROM table_63164 WHERE "Record" = '31-24'
[ 8241, 373, 262, 6125, 618, 262, 1700, 373, 3261, 12, 1731, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 5066, 23237, 33411, 366, 23739, 1, 796, 705, 3132, 12, 1731, 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, 373, 262, 6125, 618, 262, 1700, 373, 3261, 12, 1731, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 5066, 23237, 33411, 366, 23739, 1, 796, 705, 3132, 12, 1731, 6 ]
What is the number of jurisdiction for 57.3 percent?
SELECT COUNT("Jurisdiction") FROM table_17409 WHERE "Percent For" = '57.3'
[ 2061, 318, 262, 1271, 286, 12934, 329, 7632, 13, 18, 1411, 30, 46506, 327, 28270, 7203, 41, 333, 9409, 2867, 4943, 16034, 3084, 62, 1558, 29416, 33411, 366, 31905, 1114, 1, 796, 705, 3553, 13, 18, 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, 1271, 286, 12934, 329, 7632, 13, 18, 1411, 30, 46506, 327, 28270, 7203, 41, 333, 9409, 2867, 4943, 16034, 3084, 62, 1558, 29416, 33411, 366, 31905, 1114, 1, 796, 705, 3553, 13, 18, 6 ]
What is every average when number of dances is 1?
SELECT average FROM table_26375386_28 WHERE number_of_dances = 1
[ 2061, 318, 790, 2811, 618, 1271, 286, 38207, 318, 352, 30, 46506, 2811, 16034, 3084, 62, 2075, 22318, 21734, 62, 2078, 33411, 1271, 62, 1659, 62, 67, 1817, 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, 1, 1, 1, 1, 1 ]
[ 2061, 318, 790, 2811, 618, 1271, 286, 38207, 318, 352, 30, 46506, 2811, 16034, 3084, 62, 2075, 22318, 21734, 62, 2078, 33411, 1271, 62, 1659, 62, 67, 1817, 796, 352 ]
What is the english title where the premiere is less than 30.0 and the finale is bigger than 36.0?
SELECT english_title FROM table_11173827_1 WHERE premiere < 30.0 AND finale > 36.0
[ 2061, 318, 262, 46932, 3670, 810, 262, 19245, 318, 1342, 621, 1542, 13, 15, 290, 262, 19523, 318, 5749, 621, 4570, 13, 15, 30, 46506, 46932, 62, 7839, 16034, 3084, 62, 1157, 1558, 2548, 1983, 62, 16, 33411, 19245, 1279, 1542, 13, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 46932, 3670, 810, 262, 19245, 318, 1342, 621, 1542, 13, 15, 290, 262, 19523, 318, 5749, 621, 4570, 13, 15, 30, 46506, 46932, 62, 7839, 16034, 3084, 62, 1157, 1558, 2548, 1983, 62, 16, 33411, 19245, 1279, 1542, 13, 15...
What number episode in the season had a production code of 334?
SELECT MAX(season__number) FROM table_29102100_1 WHERE prod_code = 334
[ 2061, 1271, 4471, 287, 262, 1622, 550, 257, 3227, 2438, 286, 42819, 30, 46506, 25882, 7, 6230, 834, 17618, 8, 16034, 3084, 62, 1959, 940, 2481, 405, 62, 16, 33411, 40426, 62, 8189, 796, 42819 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 4471, 287, 262, 1622, 550, 257, 3227, 2438, 286, 42819, 30, 46506, 25882, 7, 6230, 834, 17618, 8, 16034, 3084, 62, 1959, 940, 2481, 405, 62, 16, 33411, 40426, 62, 8189, 796, 42819 ]
Which Platform has an Actual version of 0.8.29?
SELECT platform FROM table_name_96 WHERE actual_version = "0.8.29"
[ 13828, 19193, 468, 281, 33520, 2196, 286, 657, 13, 23, 13, 1959, 30, 46506, 3859, 16034, 3084, 62, 3672, 62, 4846, 33411, 4036, 62, 9641, 796, 366, 15, 13, 23, 13, 1959, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19193, 468, 281, 33520, 2196, 286, 657, 13, 23, 13, 1959, 30, 46506, 3859, 16034, 3084, 62, 3672, 62, 4846, 33411, 4036, 62, 9641, 796, 366, 15, 13, 23, 13, 1959, 1 ]
Name the bus width bits when bandwidth mb/s is 3200
SELECT "Bus width (bits)" FROM table_19202 WHERE "Bandwidth (MB/s)" = '3200'
[ 5376, 262, 1323, 9647, 10340, 618, 19484, 285, 65, 14, 82, 318, 513, 2167, 46506, 366, 16286, 9647, 357, 9895, 16725, 16034, 3084, 62, 1129, 19004, 33411, 366, 31407, 10394, 357, 10744, 14, 82, 16725, 796, 705, 18, 2167, 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 ]
[ 5376, 262, 1323, 9647, 10340, 618, 19484, 285, 65, 14, 82, 318, 513, 2167, 46506, 366, 16286, 9647, 357, 9895, 16725, 16034, 3084, 62, 1129, 19004, 33411, 366, 31407, 10394, 357, 10744, 14, 82, 16725, 796, 705, 18, 2167, 6 ]
how many teams had at least five players ?
SELECT COUNT("team") FROM table_204_735 WHERE "names" >= 5
[ 4919, 867, 3466, 550, 379, 1551, 1936, 1938, 5633, 46506, 327, 28270, 7203, 15097, 4943, 16034, 3084, 62, 18638, 62, 22, 2327, 33411, 366, 14933, 1, 18189, 642 ]
[ 1, 1, 1, 1, 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, 3466, 550, 379, 1551, 1936, 1938, 5633, 46506, 327, 28270, 7203, 15097, 4943, 16034, 3084, 62, 18638, 62, 22, 2327, 33411, 366, 14933, 1, 18189, 642 ]
What is the geo id when water is 0.457?
SELECT MIN("GEO ID") FROM table_22469 WHERE "Water (sqmi)" = '0.457'
[ 2061, 318, 262, 40087, 4686, 618, 1660, 318, 657, 13, 33032, 30, 46506, 20625, 7203, 38, 4720, 4522, 4943, 16034, 3084, 62, 24137, 3388, 33411, 366, 19184, 357, 31166, 11632, 16725, 796, 705, 15, 13, 33032, 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, 40087, 4686, 618, 1660, 318, 657, 13, 33032, 30, 46506, 20625, 7203, 38, 4720, 4522, 4943, 16034, 3084, 62, 24137, 3388, 33411, 366, 19184, 357, 31166, 11632, 16725, 796, 705, 15, 13, 33032, 6 ]
What's the KV-85 when the KV-1S is 45?
SELECT "KV-85 M1943" FROM table_14225 WHERE "KV-1S M1942" = '45'
[ 2061, 338, 262, 509, 53, 12, 5332, 618, 262, 509, 53, 12, 16, 50, 318, 4153, 30, 46506, 366, 42, 53, 12, 5332, 337, 1129, 3559, 1, 16034, 3084, 62, 1415, 18182, 33411, 366, 42, 53, 12, 16, 50, 337, 1129, 3682, 1, 796, 705, 223...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 509, 53, 12, 5332, 618, 262, 509, 53, 12, 16, 50, 318, 4153, 30, 46506, 366, 42, 53, 12, 5332, 337, 1129, 3559, 1, 16034, 3084, 62, 1415, 18182, 33411, 366, 42, 53, 12, 16, 50, 337, 1129, 3682, 1, 796, 705, 223...