instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What was Fitzroy's score when they were the away team?
SELECT away_team AS score FROM table_name_18 WHERE away_team = "fitzroy"
[ 2061, 373, 16703, 3287, 338, 4776, 618, 484, 547, 262, 1497, 1074, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 1507, 33411, 1497, 62, 15097, 796, 366, 69, 4224, 3287, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16703, 3287, 338, 4776, 618, 484, 547, 262, 1497, 1074, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 1507, 33411, 1497, 62, 15097, 796, 366, 69, 4224, 3287, 1 ]
Name the city for IATA of llw
SELECT city FROM table_name_32 WHERE iata = "llw"
[ 5376, 262, 1748, 329, 314, 13563, 286, 32660, 86, 46506, 1748, 16034, 3084, 62, 3672, 62, 2624, 33411, 1312, 1045, 796, 366, 297, 86, 1 ]
[ 1, 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, 1748, 329, 314, 13563, 286, 32660, 86, 46506, 1748, 16034, 3084, 62, 3672, 62, 2624, 33411, 1312, 1045, 796, 366, 297, 86, 1 ]
How much Bronze has a Gold larger than 1, and a Silver smaller than 3, and a Nation of germany, and a Total larger than 11?
SELECT COUNT("Bronze") FROM table_79516 WHERE "Gold" > '1' AND "Silver" < '3' AND "Nation" = 'germany' AND "Total" > '11'
[ 2437, 881, 19461, 468, 257, 3561, 4025, 621, 352, 11, 290, 257, 7698, 4833, 621, 513, 11, 290, 257, 8741, 286, 308, 2224, 88, 11, 290, 257, 7472, 4025, 621, 1367, 30, 46506, 327, 28270, 7203, 18760, 2736, 4943, 16034, 3084, 62, 4154...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 881, 19461, 468, 257, 3561, 4025, 621, 352, 11, 290, 257, 7698, 4833, 621, 513, 11, 290, 257, 8741, 286, 308, 2224, 88, 11, 290, 257, 7472, 4025, 621, 1367, 30, 46506, 327, 28270, 7203, 18760, 2736, 4943, 16034, 3084, 62, 4154...
AAD Question count by month.
SELECT * FROM Posts AS p JOIN PostTags AS pt ON p.Id = pt.PostId JOIN Tags AS t ON pt.TagId = t.Id WHERE t.TagName IN ('azure-active-directory', 'azure-ad-b2c', 'azure-ad-graph-api', 'adal', 'microsoft-account') AND p.PostTypeId = 1
[ 32, 2885, 18233, 954, 416, 1227, 13, 46506, 1635, 16034, 12043, 7054, 279, 32357, 1268, 2947, 36142, 7054, 42975, 6177, 279, 13, 7390, 796, 42975, 13, 6307, 7390, 32357, 1268, 44789, 7054, 256, 6177, 42975, 13, 24835, 7390, 796, 256, 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...
[ 32, 2885, 18233, 954, 416, 1227, 13, 46506, 1635, 16034, 12043, 7054, 279, 32357, 1268, 2947, 36142, 7054, 42975, 6177, 279, 13, 7390, 796, 42975, 13, 6307, 7390, 32357, 1268, 44789, 7054, 256, 6177, 42975, 13, 24835, 7390, 796, 256, 13...
When first elected was 2006, who was the delegate?
SELECT "Delegate" FROM table_75479 WHERE "First Elected" = '2006'
[ 2215, 717, 7018, 373, 4793, 11, 508, 373, 262, 23191, 30, 46506, 366, 5005, 34637, 1, 16034, 3084, 62, 2425, 31714, 33411, 366, 5962, 5903, 276, 1, 796, 705, 13330, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 717, 7018, 373, 4793, 11, 508, 373, 262, 23191, 30, 46506, 366, 5005, 34637, 1, 16034, 3084, 62, 2425, 31714, 33411, 366, 5962, 5903, 276, 1, 796, 705, 13330, 6 ]
What is the record in TKO 20: Champion Vs Champion?
SELECT "Record" FROM table_9598 WHERE "Event" = 'tko 20: champion vs champion'
[ 2061, 318, 262, 1700, 287, 309, 22328, 1160, 25, 15869, 31280, 15869, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 24, 41292, 33411, 366, 9237, 1, 796, 705, 83, 7204, 1160, 25, 8783, 3691, 8783, 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 ]
[ 2061, 318, 262, 1700, 287, 309, 22328, 1160, 25, 15869, 31280, 15869, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 24, 41292, 33411, 366, 9237, 1, 796, 705, 83, 7204, 1160, 25, 8783, 3691, 8783, 6 ]
How many dates did David Savage get man of the match?
SELECT COUNT(date) FROM table_17120964_7 WHERE man_of_the_match = "David Savage"
[ 2437, 867, 9667, 750, 3271, 22287, 651, 582, 286, 262, 2872, 30, 46506, 327, 28270, 7, 4475, 8, 16034, 3084, 62, 1558, 1065, 2931, 2414, 62, 22, 33411, 582, 62, 1659, 62, 1169, 62, 15699, 796, 366, 11006, 22287, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9667, 750, 3271, 22287, 651, 582, 286, 262, 2872, 30, 46506, 327, 28270, 7, 4475, 8, 16034, 3084, 62, 1558, 1065, 2931, 2414, 62, 22, 33411, 582, 62, 1659, 62, 1169, 62, 15699, 796, 366, 11006, 22287, 1 ]
who is the tuf competitor when the method id decision (unanimous)?
SELECT "TUF Competitor" FROM table_43574 WHERE "Method" = 'decision (unanimous)'
[ 8727, 318, 262, 256, 3046, 20319, 618, 262, 2446, 4686, 2551, 357, 403, 45873, 19427, 46506, 366, 51, 36820, 38558, 2072, 1, 16034, 3084, 62, 40064, 4524, 33411, 366, 17410, 1, 796, 705, 12501, 1166, 357, 403, 45873, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 318, 262, 256, 3046, 20319, 618, 262, 2446, 4686, 2551, 357, 403, 45873, 19427, 46506, 366, 51, 36820, 38558, 2072, 1, 16034, 3084, 62, 40064, 4524, 33411, 366, 17410, 1, 796, 705, 12501, 1166, 357, 403, 45873, 33047 ]
What Label is dated April 1986 in 7' single Format in France?
SELECT "Label" FROM table_34441 WHERE "Region" = 'france' AND "Format" = '7" single' AND "Date" = 'april 1986'
[ 2061, 36052, 318, 14567, 3035, 12113, 287, 767, 6, 2060, 18980, 287, 4881, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 33535, 3901, 33411, 366, 47371, 1, 796, 705, 69, 8132, 6, 5357, 366, 26227, 1, 796, 705, 22, 1, 2060, 6, 5357, 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 ]
[ 2061, 36052, 318, 14567, 3035, 12113, 287, 767, 6, 2060, 18980, 287, 4881, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 33535, 3901, 33411, 366, 47371, 1, 796, 705, 69, 8132, 6, 5357, 366, 26227, 1, 796, 705, 22, 1, 2060, 6, 5357, 3...
which patients have levo500pm drug code?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "LEVO500PM"
[ 4758, 3871, 423, 443, 13038, 4059, 4426, 2563, 2438, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 181...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 3871, 423, 443, 13038, 4059, 4426, 2563, 2438, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 181...
What Club Established in 2010 has a League of MHL?
SELECT club FROM table_name_13 WHERE league = "mhl" AND established = 2010
[ 2061, 6289, 10062, 22555, 287, 3050, 468, 257, 4041, 286, 337, 6581, 30, 46506, 3430, 16034, 3084, 62, 3672, 62, 1485, 33411, 4652, 796, 366, 76, 18519, 1, 5357, 4920, 796, 3050 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 6289, 10062, 22555, 287, 3050, 468, 257, 4041, 286, 337, 6581, 30, 46506, 3430, 16034, 3084, 62, 3672, 62, 1485, 33411, 4652, 796, 366, 76, 18519, 1, 5357, 4920, 796, 3050 ]
For each director, how many reviews have they received?
SELECT COUNT(*), T1.director FROM movie AS T1 JOIN rating AS T2 ON T1.mid = T2.mid GROUP BY T1.director
[ 1890, 1123, 3437, 11, 703, 867, 8088, 423, 484, 2722, 30, 46506, 327, 28270, 46491, 828, 309, 16, 13, 35248, 16034, 3807, 7054, 309, 16, 32357, 1268, 7955, 7054, 309, 17, 6177, 309, 16, 13, 13602, 796, 309, 17, 13, 13602, 44441, 110...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3437, 11, 703, 867, 8088, 423, 484, 2722, 30, 46506, 327, 28270, 46491, 828, 309, 16, 13, 35248, 16034, 3807, 7054, 309, 16, 32357, 1268, 7955, 7054, 309, 17, 6177, 309, 16, 13, 13602, 796, 309, 17, 13, 13602, 44441, 110...
Which Date has a Result of w 13 6?
SELECT "Date" FROM table_35527 WHERE "Result" = 'w 13–6'
[ 13828, 7536, 468, 257, 25414, 286, 266, 1511, 718, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 28567, 1983, 33411, 366, 23004, 1, 796, 705, 86, 1511, 1906, 21, 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 ]
[ 13828, 7536, 468, 257, 25414, 286, 266, 1511, 718, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 28567, 1983, 33411, 366, 23004, 1, 796, 705, 86, 1511, 1906, 21, 6 ]
Which Against has a Position larger than 11?
SELECT COUNT(against) FROM table_name_32 WHERE position > 11
[ 13828, 12914, 468, 257, 23158, 4025, 621, 1367, 30, 46506, 327, 28270, 7, 32826, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 2292, 1875, 1367 ]
[ 1, 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, 12914, 468, 257, 23158, 4025, 621, 1367, 30, 46506, 327, 28270, 7, 32826, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 2292, 1875, 1367 ]
show me all direct flights from DALLAS FORT WORTH to either SAN FRANCISCO or OAKLAND
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, airport_service AS AIRPORT_SERVICE_3, city AS CITY_0, city AS CITY_1, city AS CITY_2, city AS CITY_3, flight WHERE ((CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND ...
[ 12860, 502, 477, 1277, 13956, 422, 360, 7036, 1921, 7473, 51, 21881, 4221, 284, 2035, 37376, 8782, 20940, 1797, 8220, 393, 440, 10206, 28182, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 1277, 13956, 422, 360, 7036, 1921, 7473, 51, 21881, 4221, 284, 2035, 37376, 8782, 20940, 1797, 8220, 393, 440, 10206, 28182, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 1...
What tournament had a game with a score of 6-7, 4-6?
SELECT tournament FROM table_name_35 WHERE score = "6-7, 4-6"
[ 2061, 7756, 550, 257, 983, 351, 257, 4776, 286, 718, 12, 22, 11, 604, 12, 21, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 2327, 33411, 4776, 796, 366, 21, 12, 22, 11, 604, 12, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7756, 550, 257, 983, 351, 257, 4776, 286, 718, 12, 22, 11, 604, 12, 21, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 2327, 33411, 4776, 796, 366, 21, 12, 22, 11, 604, 12, 21, 1 ]
Find the address and staff number of the shops that do not have any happy hour Visualize by bar chart, and order by the X-axis in desc.
SELECT Address, Num_of_staff FROM shop WHERE NOT Shop_ID IN (SELECT Shop_ID FROM happy_hour) ORDER BY Address DESC
[ 16742, 262, 2209, 290, 3085, 1271, 286, 262, 12437, 326, 466, 407, 423, 597, 3772, 1711, 15612, 1096, 416, 2318, 8262, 11, 290, 1502, 416, 262, 1395, 12, 22704, 287, 1715, 13, 46506, 17917, 11, 31835, 62, 1659, 62, 28120, 16034, 6128,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2209, 290, 3085, 1271, 286, 262, 12437, 326, 466, 407, 423, 597, 3772, 1711, 15612, 1096, 416, 2318, 8262, 11, 290, 1502, 416, 262, 1395, 12, 22704, 287, 1715, 13, 46506, 17917, 11, 31835, 62, 1659, 62, 28120, 16034, 6128,...
What is Year (Ceremony), when Director is 'Farid Gumbatov Category:Articles With hCards'?
SELECT year__ceremony_ FROM table_name_51 WHERE director = "farid gumbatov category:articles with hcards"
[ 2061, 318, 6280, 357, 34, 567, 9926, 828, 618, 5890, 318, 705, 21428, 312, 402, 2178, 265, 709, 21743, 25, 8001, 2983, 2080, 289, 34, 1371, 30960, 46506, 614, 834, 344, 2787, 1647, 62, 16034, 3084, 62, 3672, 62, 4349, 33411, 3437, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 6280, 357, 34, 567, 9926, 828, 618, 5890, 318, 705, 21428, 312, 402, 2178, 265, 709, 21743, 25, 8001, 2983, 2080, 289, 34, 1371, 30960, 46506, 614, 834, 344, 2787, 1647, 62, 16034, 3084, 62, 3672, 62, 4349, 33411, 3437, 7...
What is the average year having 142 points?
SELECT AVG(year) FROM table_name_61 WHERE points = 142
[ 2061, 318, 262, 2811, 614, 1719, 25181, 2173, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 2173, 796, 25181 ]
[ 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, 614, 1719, 25181, 2173, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 2173, 796, 25181 ]
how many patients died within 2 months after having been diagnosed until 2101 with acute gastritis w hmrhg?
SELECT COUNT(DISTINCT t2.subject_id) FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_di...
[ 4919, 867, 3871, 3724, 1626, 362, 1933, 706, 1719, 587, 14641, 1566, 2310, 486, 351, 14352, 21956, 27398, 266, 289, 76, 17179, 70, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3724, 1626, 362, 1933, 706, 1719, 587, 14641, 1566, 2310, 486, 351, 14352, 21956, 27398, 266, 289, 76, 17179, 70, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25...
count the number of patients who had been diagnosed with wound dehiscence / evisceration until 2104.
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'wound dehiscence / evisceration' AND STRFTIME('%y', diagnosis.diagnosistime) <= '2104')
[ 9127, 262, 1271, 286, 3871, 508, 550, 587, 14641, 351, 11699, 390, 71, 2304, 594, 1220, 819, 271, 2189, 341, 1566, 362, 13464, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 582...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 550, 587, 14641, 351, 11699, 390, 71, 2304, 594, 1220, 819, 271, 2189, 341, 1566, 362, 13464, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 582...
Who was the developer of XCom: Enemy Unknown?
SELECT "Developer(s)" FROM table_66448 WHERE "Game" = 'xcom: enemy unknown'
[ 8241, 373, 262, 8517, 286, 1395, 5377, 25, 21785, 16185, 30, 46506, 366, 45351, 7, 82, 16725, 16034, 3084, 62, 21, 2414, 2780, 33411, 366, 8777, 1, 796, 705, 87, 785, 25, 4472, 6439, 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 ]
[ 8241, 373, 262, 8517, 286, 1395, 5377, 25, 21785, 16185, 30, 46506, 366, 45351, 7, 82, 16725, 16034, 3084, 62, 21, 2414, 2780, 33411, 366, 8777, 1, 796, 705, 87, 785, 25, 4472, 6439, 6 ]
what is the district where the incumbent is james a. haley?
SELECT district FROM table_1341672_10 WHERE incumbent = "James A. Haley"
[ 10919, 318, 262, 4783, 810, 262, 23526, 318, 474, 1047, 257, 13, 289, 16730, 30, 46506, 4783, 16034, 3084, 62, 19880, 1433, 4761, 62, 940, 33411, 23526, 796, 366, 14731, 317, 13, 30646, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4783, 810, 262, 23526, 318, 474, 1047, 257, 13, 289, 16730, 30, 46506, 4783, 16034, 3084, 62, 19880, 1433, 4761, 62, 940, 33411, 23526, 796, 366, 14731, 317, 13, 30646, 1 ]
when was the last time in 10/2104 that patient 14990 was prescribed with lisinopril and potassium chloride at the same time?
SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'lisinopril' AND admissions.subject_id = 14990 AND STRFTIME('%y-%m', prescriptions.startdate) = '2104-10') AS t1 JOIN (SELECT admiss...
[ 12518, 373, 262, 938, 640, 287, 838, 14, 17, 13464, 326, 5827, 1478, 34155, 373, 14798, 351, 300, 45763, 404, 22379, 290, 33156, 44921, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 46506, 25349, 13, 32796, 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...
[ 12518, 373, 262, 938, 640, 287, 838, 14, 17, 13464, 326, 5827, 1478, 34155, 373, 14798, 351, 300, 45763, 404, 22379, 290, 33156, 44921, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 46506, 25349, 13, 32796, 62, ...
when did patient 77987 receive venous cath nec the first time a year before?
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'venous cath nec') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 77987) AND DATETIME...
[ 12518, 750, 5827, 767, 3720, 5774, 3328, 8710, 516, 32171, 27576, 262, 717, 640, 257, 614, 878, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 767, 3720, 5774, 3328, 8710, 516, 32171, 27576, 262, 717, 640, 257, 614, 878, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357...
For episode number 7, what was the numbers of original air dates?
SELECT COUNT("Original air date") FROM table_22928 WHERE "#" = '7'
[ 1890, 4471, 1271, 767, 11, 644, 373, 262, 3146, 286, 2656, 1633, 9667, 30, 46506, 327, 28270, 7203, 20556, 1633, 3128, 4943, 16034, 3084, 62, 23539, 2078, 33411, 25113, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 4471, 1271, 767, 11, 644, 373, 262, 3146, 286, 2656, 1633, 9667, 30, 46506, 327, 28270, 7203, 20556, 1633, 3128, 4943, 16034, 3084, 62, 23539, 2078, 33411, 25113, 1, 796, 705, 22, 6 ]
What is the country's name with a numeric code less than 246 and a Latin 3-letter code of slv?
SELECT country_name FROM table_name_63 WHERE numeric_code < 246 AND latin_3_letter_code = "slv"
[ 2061, 318, 262, 1499, 338, 1438, 351, 257, 35575, 2438, 1342, 621, 34951, 290, 257, 9133, 513, 12, 9291, 2438, 286, 1017, 85, 30, 46506, 1499, 62, 3672, 16034, 3084, 62, 3672, 62, 5066, 33411, 35575, 62, 8189, 1279, 34951, 5357, 3042,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1499, 338, 1438, 351, 257, 35575, 2438, 1342, 621, 34951, 290, 257, 9133, 513, 12, 9291, 2438, 286, 1017, 85, 30, 46506, 1499, 62, 3672, 16034, 3084, 62, 3672, 62, 5066, 33411, 35575, 62, 8189, 1279, 34951, 5357, 3042,...
What is the away side's score when the home team's score is 15.14 (104)?
SELECT "Away team score" FROM table_33111 WHERE "Home team score" = '15.14 (104)'
[ 2061, 318, 262, 1497, 1735, 338, 4776, 618, 262, 1363, 1074, 338, 4776, 318, 1315, 13, 1415, 357, 13464, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 2091, 16243, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 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 ]
[ 2061, 318, 262, 1497, 1735, 338, 4776, 618, 262, 1363, 1074, 338, 4776, 318, 1315, 13, 1415, 357, 13464, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 2091, 16243, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 13, ...
How many kitmaker correspond to team ittihad kalba?
SELECT COUNT(kitmaker) FROM table_27631756_2 WHERE team = "Ittihad Kalba"
[ 2437, 867, 6220, 10297, 6053, 284, 1074, 340, 83, 11166, 479, 282, 7012, 30, 46506, 327, 28270, 7, 15813, 10297, 8, 16034, 3084, 62, 1983, 5066, 1558, 3980, 62, 17, 33411, 1074, 796, 366, 40, 926, 11166, 12612, 7012, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6220, 10297, 6053, 284, 1074, 340, 83, 11166, 479, 282, 7012, 30, 46506, 327, 28270, 7, 15813, 10297, 8, 16034, 3084, 62, 1983, 5066, 1558, 3980, 62, 17, 33411, 1074, 796, 366, 40, 926, 11166, 12612, 7012, 1 ]
what is the name of the drug that patient 16992 was prescribed within 2 days after having received a partial ostectomy nec procedure until 08/2105?
SELECT t2.drug FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 16992 AND procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = ...
[ 10919, 318, 262, 1438, 286, 262, 2563, 326, 5827, 1467, 41561, 373, 14798, 1626, 362, 1528, 706, 1719, 2722, 257, 13027, 23619, 42505, 27576, 8771, 1566, 8487, 14, 17, 13348, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 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, 1438, 286, 262, 2563, 326, 5827, 1467, 41561, 373, 14798, 1626, 362, 1528, 706, 1719, 2722, 257, 13027, 23619, 42505, 27576, 8771, 1566, 8487, 14, 17, 13348, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13, ...
has patient 031-4423 had any allergies since 42 months ago?
SELECT COUNT(*) > 0 FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-4423')) AND DATETIME(allergy.allergytime) >= DATETIME(CURRENT_TIME(), '-42 m...
[ 10134, 5827, 657, 3132, 12, 2598, 1954, 550, 597, 36665, 1201, 5433, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 657, 3132, 12, 2598, 1954, 550, 597, 36665, 1201, 5433, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, ...
How many players were drafted from the Boston Cannons in the round?
SELECT SUM(round) FROM table_name_74 WHERE team = "boston cannons"
[ 2437, 867, 1938, 547, 15937, 422, 262, 6182, 12283, 684, 287, 262, 2835, 30, 46506, 35683, 7, 744, 8, 16034, 3084, 62, 3672, 62, 4524, 33411, 1074, 796, 366, 65, 5744, 37577, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 15937, 422, 262, 6182, 12283, 684, 287, 262, 2835, 30, 46506, 35683, 7, 744, 8, 16034, 3084, 62, 3672, 62, 4524, 33411, 1074, 796, 366, 65, 5744, 37577, 1 ]
For each bed type, find the average base price of different bed type. Plot them as pie chart.
SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType
[ 1890, 1123, 3996, 2099, 11, 1064, 262, 2811, 2779, 2756, 286, 1180, 3996, 2099, 13, 28114, 606, 355, 2508, 8262, 13, 46506, 3996, 6030, 11, 35224, 7, 8692, 18124, 8, 16034, 42043, 44441, 11050, 3996, 6030 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3996, 2099, 11, 1064, 262, 2811, 2779, 2756, 286, 1180, 3996, 2099, 13, 28114, 606, 355, 2508, 8262, 13, 46506, 3996, 6030, 11, 35224, 7, 8692, 18124, 8, 16034, 42043, 44441, 11050, 3996, 6030 ]
Show me a bar chart for what are the apartment number and the room count of each apartment?, and could you show y axis from high to low order please?
SELECT apt_number, room_count FROM Apartments ORDER BY room_count DESC
[ 15307, 502, 257, 2318, 8262, 329, 644, 389, 262, 7962, 1271, 290, 262, 2119, 954, 286, 1123, 7962, 21747, 290, 714, 345, 905, 331, 16488, 422, 1029, 284, 1877, 1502, 3387, 30, 46506, 15409, 62, 17618, 11, 2119, 62, 9127, 16034, 22596,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 502, 257, 2318, 8262, 329, 644, 389, 262, 7962, 1271, 290, 262, 2119, 954, 286, 1123, 7962, 21747, 290, 714, 345, 905, 331, 16488, 422, 1029, 284, 1877, 1502, 3387, 30, 46506, 15409, 62, 17618, 11, 2119, 62, 9127, 16034, 22596,...
What competition, federation, or league are the Tennessee Titans a member of?
SELECT "Competition , federation , or league" FROM table_32600 WHERE "Team" = 'tennessee titans'
[ 2061, 5449, 11, 36986, 11, 393, 4652, 389, 262, 11287, 18711, 257, 2888, 286, 30, 46506, 366, 7293, 15620, 837, 36986, 837, 393, 4652, 1, 16034, 3084, 62, 39195, 405, 33411, 366, 15592, 1, 796, 705, 1452, 2516, 3826, 5259, 504, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5449, 11, 36986, 11, 393, 4652, 389, 262, 11287, 18711, 257, 2888, 286, 30, 46506, 366, 7293, 15620, 837, 36986, 837, 393, 4652, 1, 16034, 3084, 62, 39195, 405, 33411, 366, 15592, 1, 796, 705, 1452, 2516, 3826, 5259, 504, 6 ]
Which state does Jimmy Quillen represent?
SELECT state FROM table_name_32 WHERE representative = "jimmy quillen"
[ 13828, 1181, 857, 12963, 2264, 359, 268, 2380, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 2624, 33411, 8852, 796, 366, 73, 320, 1820, 627, 359, 268, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1181, 857, 12963, 2264, 359, 268, 2380, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 2624, 33411, 8852, 796, 366, 73, 320, 1820, 627, 359, 268, 1 ]
A bar chart for finding the number of the enrollment date for all the tests that have 'Pass' result.
SELECT date_of_enrolment, COUNT(date_of_enrolment) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Pass"
[ 32, 2318, 8262, 329, 4917, 262, 1271, 286, 262, 20753, 3128, 329, 477, 262, 5254, 326, 423, 705, 14478, 6, 1255, 13, 46506, 3128, 62, 1659, 62, 268, 3225, 434, 11, 327, 28270, 7, 4475, 62, 1659, 62, 268, 3225, 434, 8, 16034, 13613...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32, 2318, 8262, 329, 4917, 262, 1271, 286, 262, 20753, 3128, 329, 477, 262, 5254, 326, 423, 705, 14478, 6, 1255, 13, 46506, 3128, 62, 1659, 62, 268, 3225, 434, 11, 327, 28270, 7, 4475, 62, 1659, 62, 268, 3225, 434, 8, 16034, 13613...
On June 8, what's the loss when the Blue Jays played the Tigers?
SELECT loss FROM table_name_58 WHERE opponent = "tigers" AND date = "june 8"
[ 2202, 2795, 807, 11, 644, 338, 262, 2994, 618, 262, 4518, 23288, 2826, 262, 17662, 30, 46506, 2994, 16034, 3084, 62, 3672, 62, 3365, 33411, 6125, 796, 366, 83, 34984, 1, 5357, 3128, 796, 366, 73, 1726, 807, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 2795, 807, 11, 644, 338, 262, 2994, 618, 262, 4518, 23288, 2826, 262, 17662, 30, 46506, 2994, 16034, 3084, 62, 3672, 62, 3365, 33411, 6125, 796, 366, 83, 34984, 1, 5357, 3128, 796, 366, 73, 1726, 807, 1 ]
Which Fuel Propulsion has a Fleet Series (Quantity) of 04001-04125 (125)?
SELECT "Fuel Propulsion" FROM table_71699 WHERE "Fleet Series (Quantity)" = '04001-04125 (125)'
[ 13828, 25483, 8772, 15204, 468, 257, 20001, 7171, 357, 31208, 8, 286, 657, 7029, 16, 12, 3023, 11623, 357, 11623, 19427, 46506, 366, 42663, 8772, 15204, 1, 16034, 3084, 62, 22, 1433, 2079, 33411, 366, 47669, 316, 7171, 357, 31208, 16725...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 25483, 8772, 15204, 468, 257, 20001, 7171, 357, 31208, 8, 286, 657, 7029, 16, 12, 3023, 11623, 357, 11623, 19427, 46506, 366, 42663, 8772, 15204, 1, 16034, 3084, 62, 22, 1433, 2079, 33411, 366, 47669, 316, 7171, 357, 31208, 16725...
i would like a flight on CO leaving from BOSTON making a stop in DENVER and arriving in SAN FRANCISCO
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CI...
[ 72, 561, 588, 257, 5474, 319, 7375, 4305, 422, 347, 10892, 1340, 1642, 257, 2245, 287, 37692, 5959, 290, 14820, 287, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 561, 588, 257, 5474, 319, 7375, 4305, 422, 347, 10892, 1340, 1642, 257, 2245, 287, 37692, 5959, 290, 14820, 287, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054,...
show me FIRST class airlines from SAN FRANCISCO to PITTSBURGH on next tuesday FIRST class only
SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis AS FARE_BASIS_0, fare_basis AS FARE_BASIS_1, flight, flight_fare...
[ 12860, 502, 31328, 1398, 26225, 422, 37376, 8782, 20940, 1797, 8220, 284, 49040, 4694, 38926, 17511, 319, 1306, 256, 3322, 31328, 1398, 691, 46506, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31328, 1398, 26225, 422, 37376, 8782, 20940, 1797, 8220, 284, 49040, 4694, 38926, 17511, 319, 1306, 256, 3322, 31328, 1398, 691, 46506, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, ...
In order to declare a major in ANTHRCUL , what classes must I take ?
SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE course.department LIKE '%ANTHRCUL%' AND program_course.category LIKE 'PreMajor' AND program_course.course_id = course.course_id
[ 818, 1502, 284, 13627, 257, 1688, 287, 3537, 4221, 7397, 6239, 837, 644, 6097, 1276, 314, 1011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, 62, 17319, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1502, 284, 13627, 257, 1688, 287, 3537, 4221, 7397, 6239, 837, 644, 6097, 1276, 314, 1011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, 62, 17319, 3341...
What kind of Rank has a Bronze of 0 and a Total smaller than 3 and a Nation of austria?
SELECT MAX("Rank") FROM table_7672 WHERE "Bronze" = '0' AND "Total" < '3' AND "Nation" = 'austria'
[ 2061, 1611, 286, 10916, 468, 257, 19461, 286, 657, 290, 257, 7472, 4833, 621, 513, 290, 257, 8741, 286, 38132, 7496, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 32059, 17, 33411, 366, 18760, 2736, 1, 796, 705, 15, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1611, 286, 10916, 468, 257, 19461, 286, 657, 290, 257, 7472, 4833, 621, 513, 290, 257, 8741, 286, 38132, 7496, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 32059, 17, 33411, 366, 18760, 2736, 1, 796, 705, 15, 6, 5357, ...
Name the host team for january 1 (2006)
SELECT host_team FROM table_name_93 WHERE date = "january 1 (2006)"
[ 5376, 262, 2583, 1074, 329, 42897, 2838, 352, 357, 13330, 8, 46506, 2583, 62, 15097, 16034, 3084, 62, 3672, 62, 6052, 33411, 3128, 796, 366, 13881, 2838, 352, 357, 13330, 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 ]
[ 5376, 262, 2583, 1074, 329, 42897, 2838, 352, 357, 13330, 8, 46506, 2583, 62, 15097, 16034, 3084, 62, 3672, 62, 6052, 33411, 3128, 796, 366, 13881, 2838, 352, 357, 13330, 16725 ]
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and the amount of name , and group by attribute name, could you show x axis in desc order?
SELECT T2.Name, COUNT(T2.Name) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2033, 286, 1438, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 905, 2124, 16488, 287, 1715, 1502, 30, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2033, 286, 1438, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 905, 2124, 16488, 287, 1715, 1502, 30, 46...
how many inpatient hospital admission patients have prescription for gentamicin medication?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND prescriptions.drug = "Gentamicin"
[ 4919, 867, 287, 26029, 4436, 13938, 3871, 423, 15077, 329, 25049, 18127, 259, 14103, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 26029, 4436, 13938, 3871, 423, 15077, 329, 25049, 18127, 259, 14103, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76...
what is the top four of the frequent input event in 2101?
SELECT t1.celllabel FROM (SELECT intakeoutput.celllabel, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM intakeoutput WHERE intakeoutput.cellpath LIKE '%intake%' AND STRFTIME('%y', intakeoutput.intakeoutputtime) = '2101' GROUP BY intakeoutput.celllabel) AS t1 WHERE t1.c1 <= 4
[ 10919, 318, 262, 1353, 1440, 286, 262, 10792, 5128, 1785, 287, 2310, 486, 30, 46506, 256, 16, 13, 3846, 18242, 16034, 357, 46506, 10337, 22915, 13, 3846, 18242, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1353, 1440, 286, 262, 10792, 5128, 1785, 287, 2310, 486, 30, 46506, 256, 16, 13, 3846, 18242, 16034, 357, 46506, 10337, 22915, 13, 3846, 18242, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, ...
what is the places when for the soviet union with a rank more than 11?
SELECT SUM("Places") FROM table_58360 WHERE "Nation" = 'soviet union' AND "Rank" > '11'
[ 10919, 318, 262, 4113, 618, 329, 262, 523, 85, 1155, 6441, 351, 257, 4279, 517, 621, 1367, 30, 46506, 35683, 7203, 3646, 2114, 4943, 16034, 3084, 62, 3365, 15277, 33411, 366, 46108, 1, 796, 705, 47272, 1155, 6441, 6, 5357, 366, 27520,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4113, 618, 329, 262, 523, 85, 1155, 6441, 351, 257, 4279, 517, 621, 1367, 30, 46506, 35683, 7203, 3646, 2114, 4943, 16034, 3084, 62, 3365, 15277, 33411, 366, 46108, 1, 796, 705, 47272, 1155, 6441, 6, 5357, 366, 27520,...
what is the number of patients whose primary disease is left femur fracture and lab test abnormal status is delta?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "LEFT FEMUR FRACTURE" AND lab.flag = "delta"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 1364, 2796, 333, 31846, 290, 2248, 1332, 18801, 3722, 318, 25979, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 1364, 2796, 333, 31846, 290, 2248, 1332, 18801, 3722, 318, 25979, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
How many tournaments were at sime darby lpga malaysia?
SELECT COUNT("No.") FROM table_24523 WHERE "Tournament" = 'Sime Darby LPGA Malaysia'
[ 2437, 867, 18130, 547, 379, 264, 524, 288, 283, 1525, 300, 79, 4908, 6428, 592, 544, 30, 46506, 327, 28270, 7203, 2949, 19570, 16034, 3084, 62, 22995, 1954, 33411, 366, 51, 5138, 1, 796, 705, 50, 524, 7491, 1525, 406, 6968, 32, 1533...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18130, 547, 379, 264, 524, 288, 283, 1525, 300, 79, 4908, 6428, 592, 544, 30, 46506, 327, 28270, 7203, 2949, 19570, 16034, 3084, 62, 22995, 1954, 33411, 366, 51, 5138, 1, 796, 705, 50, 524, 7491, 1525, 406, 6968, 32, 1533...
Return a bar chart on what is the average age for each gender?, and could you rank x-axis in asc order?
SELECT gender, AVG(age) FROM Person GROUP BY gender ORDER BY gender
[ 13615, 257, 2318, 8262, 319, 644, 318, 262, 2811, 2479, 329, 1123, 5279, 21747, 290, 714, 345, 4279, 2124, 12, 22704, 287, 10570, 1502, 30, 46506, 5279, 11, 35224, 7, 496, 8, 16034, 7755, 44441, 11050, 5279, 38678, 11050, 5279 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 2318, 8262, 319, 644, 318, 262, 2811, 2479, 329, 1123, 5279, 21747, 290, 714, 345, 4279, 2124, 12, 22704, 287, 10570, 1502, 30, 46506, 5279, 11, 35224, 7, 496, 8, 16034, 7755, 44441, 11050, 5279, 38678, 11050, 5279 ]
What is the name of the integrated where the component are customers?
SELECT "Integrated" FROM table_387 WHERE "Component" = 'Customers'
[ 2061, 318, 262, 1438, 286, 262, 11521, 810, 262, 7515, 389, 4297, 30, 46506, 366, 34500, 4111, 1, 16034, 3084, 62, 32220, 33411, 366, 21950, 1, 796, 705, 15022, 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 ]
[ 2061, 318, 262, 1438, 286, 262, 11521, 810, 262, 7515, 389, 4297, 30, 46506, 366, 34500, 4111, 1, 16034, 3084, 62, 32220, 33411, 366, 21950, 1, 796, 705, 15022, 364, 6 ]
Which year did The Adventures of Tintin come out?
SELECT SUM(year) FROM table_name_17 WHERE film = "the adventures of tintin"
[ 13828, 614, 750, 383, 15640, 286, 309, 600, 259, 1282, 503, 30, 46506, 35683, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 2646, 796, 366, 1169, 17545, 286, 34791, 259, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 750, 383, 15640, 286, 309, 600, 259, 1282, 503, 30, 46506, 35683, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 2646, 796, 366, 1169, 17545, 286, 34791, 259, 1 ]
who danced 11 and finished at more than a 2.0
SELECT "Couple" FROM table_18806 WHERE "Number of dances" = '11' AND "Competition finish" > '2.0'
[ 8727, 39480, 1367, 290, 5201, 379, 517, 621, 257, 362, 13, 15, 46506, 366, 34, 43846, 1, 16034, 3084, 62, 1507, 37988, 33411, 366, 15057, 286, 38207, 1, 796, 705, 1157, 6, 5357, 366, 7293, 15620, 5461, 1, 1875, 705, 17, 13, 15, 6 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 39480, 1367, 290, 5201, 379, 517, 621, 257, 362, 13, 15, 46506, 366, 34, 43846, 1, 16034, 3084, 62, 1507, 37988, 33411, 366, 15057, 286, 38207, 1, 796, 705, 1157, 6, 5357, 366, 7293, 15620, 5461, 1, 1875, 705, 17, 13, 15, 6 ...
Santa Clara was played how many times?
SELECT opponents FROM table_21058836_1 WHERE opponent = "Santa Clara"
[ 42694, 27443, 373, 2826, 703, 867, 1661, 30, 46506, 7691, 16034, 3084, 62, 21536, 39118, 2623, 62, 16, 33411, 6125, 796, 366, 42694, 27443, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 42694, 27443, 373, 2826, 703, 867, 1661, 30, 46506, 7691, 16034, 3084, 62, 21536, 39118, 2623, 62, 16, 33411, 6125, 796, 366, 42694, 27443, 1 ]
What is the Torque of the model with the engine code of M54B25?
SELECT "Torque" FROM table_56299 WHERE "Engine code" = 'm54b25'
[ 2061, 318, 262, 4022, 4188, 286, 262, 2746, 351, 262, 3113, 2438, 286, 337, 4051, 33, 1495, 30, 46506, 366, 15884, 4188, 1, 16034, 3084, 62, 3980, 22579, 33411, 366, 13798, 2438, 1, 796, 705, 76, 4051, 65, 1495, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4022, 4188, 286, 262, 2746, 351, 262, 3113, 2438, 286, 337, 4051, 33, 1495, 30, 46506, 366, 15884, 4188, 1, 16034, 3084, 62, 3980, 22579, 33411, 366, 13798, 2438, 1, 796, 705, 76, 4051, 65, 1495, 6 ]
Return the average price of products that have each category code, and sort in ascending by the names.
SELECT product_category_code, AVG(product_price) FROM Products GROUP BY product_category_code ORDER BY product_category_code
[ 13615, 262, 2811, 2756, 286, 3186, 326, 423, 1123, 6536, 2438, 11, 290, 3297, 287, 41988, 416, 262, 3891, 13, 46506, 1720, 62, 22872, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 16034, 18675, 44441, 11050, 1720, 62, 22872, 62, 8189, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 2811, 2756, 286, 3186, 326, 423, 1123, 6536, 2438, 11, 290, 3297, 287, 41988, 416, 262, 3891, 13, 46506, 1720, 62, 22872, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 16034, 18675, 44441, 11050, 1720, 62, 22872, 62, 8189, ...
What is the lowest Year, when Notes is 'Spanish adaptation of 'Hope There's Someone.''?
SELECT MIN("Year") FROM table_46951 WHERE "Notes" = 'spanish adaptation of "hope there''s someone.'
[ 2061, 318, 262, 9016, 6280, 11, 618, 11822, 318, 705, 43584, 16711, 286, 705, 34456, 1318, 338, 17877, 13531, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 42947, 4349, 33411, 366, 16130, 1, 796, 705, 2777, 7115, 16711, 286, 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 ]
[ 2061, 318, 262, 9016, 6280, 11, 618, 11822, 318, 705, 43584, 16711, 286, 705, 34456, 1318, 338, 17877, 13531, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 42947, 4349, 33411, 366, 16130, 1, 796, 705, 2777, 7115, 16711, 286, 366...
What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327?
SELECT AVG("FIPS code") FROM table_65004 WHERE "Area" = '114.76 sq mi (297.23 sq km)' AND "Population (2010)" < '166,327'
[ 2061, 318, 262, 18930, 3705, 2438, 329, 262, 27264, 326, 468, 281, 1989, 286, 17342, 13, 4304, 19862, 21504, 357, 26561, 13, 1954, 19862, 10571, 8, 290, 550, 257, 3050, 3265, 286, 1342, 621, 26753, 11, 34159, 30, 46506, 35224, 7203, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 18930, 3705, 2438, 329, 262, 27264, 326, 468, 281, 1989, 286, 17342, 13, 4304, 19862, 21504, 357, 26561, 13, 1954, 19862, 10571, 8, 290, 550, 257, 3050, 3265, 286, 1342, 621, 26753, 11, 34159, 30, 46506, 35224, 7203, 1...
Top 200 users from India.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%ankara%' OR UPPER(Location) LIKE '%' ORDER BY Reputation LIMIT 200
[ 9126, 939, 2985, 422, 3794, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36048, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 939, 2985, 422, 3794, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36048, 7...
What is the average earnings of a United States player who had a score of 72-68-74-72=286?
SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE country = "united states" AND score = 72 - 68 - 74 - 72 = 286
[ 2061, 318, 262, 2811, 12042, 286, 257, 1578, 1829, 2137, 508, 550, 257, 4776, 286, 7724, 12, 3104, 12, 4524, 12, 4761, 28, 27033, 30, 46506, 35224, 7, 451, 23400, 17569, 8, 7054, 720, 834, 16034, 3084, 62, 3672, 62, 3365, 33411, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12042, 286, 257, 1578, 1829, 2137, 508, 550, 257, 4776, 286, 7724, 12, 3104, 12, 4524, 12, 4761, 28, 27033, 30, 46506, 35224, 7, 451, 23400, 17569, 8, 7054, 720, 834, 16034, 3084, 62, 3672, 62, 3365, 33411, 149...
provide the number of patients whose primary disease is st elevated myocardial infarction\cardiac cath and admission year is less than 2135?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH" AND demographic.admityear < "2135"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 336, 15321, 616, 44412, 498, 1167, 283, 596, 59, 9517, 9607, 32171, 290, 13938, 614, 318, 1342, 621, 362, 17059, 30, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 336, 15321, 616, 44412, 498, 1167, 283, 596, 59, 9517, 9607, 32171, 290, 13938, 614, 318, 1342, 621, 362, 17059, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796...
What is the technical number for Jiang Tingting & Jiang Wenwen, and the total was more than 96.334?
SELECT MAX("Technical") FROM table_64519 WHERE "Athlete" = 'jiang tingting & jiang wenwen' AND "Total" > '96.334'
[ 2061, 318, 262, 6276, 1271, 329, 32294, 309, 278, 889, 1222, 32294, 31164, 21006, 11, 290, 262, 2472, 373, 517, 621, 9907, 13, 31380, 30, 46506, 25882, 7203, 45638, 4943, 16034, 3084, 62, 49259, 1129, 33411, 366, 32, 400, 5807, 1, 796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 6276, 1271, 329, 32294, 309, 278, 889, 1222, 32294, 31164, 21006, 11, 290, 262, 2472, 373, 517, 621, 9907, 13, 31380, 30, 46506, 25882, 7203, 45638, 4943, 16034, 3084, 62, 49259, 1129, 33411, 366, 32, 400, 5807, 1, 796...
Find the total rating ratio for each channel owner Visualize by bar chart, sort in descending by the bars.
SELECT Owner, SUM(Rating_in_percent) FROM channel GROUP BY Owner ORDER BY Owner DESC
[ 16742, 262, 2472, 7955, 8064, 329, 1123, 6518, 4870, 15612, 1096, 416, 2318, 8262, 11, 3297, 287, 31491, 416, 262, 9210, 13, 46506, 23853, 11, 35683, 7, 29321, 62, 259, 62, 25067, 8, 16034, 6518, 44441, 11050, 23853, 38678, 11050, 23853...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 7955, 8064, 329, 1123, 6518, 4870, 15612, 1096, 416, 2318, 8262, 11, 3297, 287, 31491, 416, 262, 9210, 13, 46506, 23853, 11, 35683, 7, 29321, 62, 259, 62, 25067, 8, 16034, 6518, 44441, 11050, 23853, 38678, 11050, 23853...
when was the first time patient 26799 was having less than 18.0 respiratory rate on 09/20/last year?
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26799)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'respirat...
[ 12518, 373, 262, 717, 640, 5827, 37364, 2079, 373, 1719, 1342, 621, 1248, 13, 15, 22949, 2494, 319, 7769, 14, 1238, 14, 12957, 614, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 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...
[ 12518, 373, 262, 717, 640, 5827, 37364, 2079, 373, 1719, 1342, 621, 1248, 13, 15, 22949, 2494, 319, 7769, 14, 1238, 14, 12957, 614, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62...
Tag usage in Popular Questions.
SELECT t.TagName, COUNT(*) AS usage FROM Posts AS p INNER JOIN PostTags AS pt ON pt.PostId = p.Id INNER JOIN Tags AS t ON t.Id = pt.TagId WHERE p.PostTypeId = 1 AND p.ViewCount >= 1000 GROUP BY t.TagName ORDER BY COUNT(*) DESC
[ 24835, 8748, 287, 22623, 20396, 13, 46506, 256, 13, 24835, 5376, 11, 327, 28270, 7, 28104, 7054, 8748, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 2947, 36142, 7054, 42975, 6177, 42975, 13, 6307, 7390, 796, 279, 13, 7390, 3268, 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...
[ 24835, 8748, 287, 22623, 20396, 13, 46506, 256, 13, 24835, 5376, 11, 327, 28270, 7, 28104, 7054, 8748, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 2947, 36142, 7054, 42975, 6177, 42975, 13, 6307, 7390, 796, 279, 13, 7390, 3268, 2...
Show the distinct names of mountains climbed by climbers from country 'West Germany'.
SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = "West Germany"
[ 15307, 262, 7310, 3891, 286, 12269, 19952, 416, 39311, 422, 1499, 705, 15045, 4486, 4458, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 5376, 16034, 5424, 527, 7054, 309, 16, 32357, 1268, 8598, 7054, 309, 17, 6177, 309, 16, 13, 44, 18635...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7310, 3891, 286, 12269, 19952, 416, 39311, 422, 1499, 705, 15045, 4486, 4458, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 5376, 16034, 5424, 527, 7054, 309, 16, 32357, 1268, 8598, 7054, 309, 17, 6177, 309, 16, 13, 44, 18635...
which single was released before tomber ?
SELECT "single" FROM table_203_696 WHERE id = (SELECT id FROM table_203_696 WHERE "single" = '"tomber"') - 1
[ 4758, 2060, 373, 2716, 878, 284, 1916, 5633, 46506, 366, 29762, 1, 16034, 3084, 62, 22416, 62, 38205, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 38205, 33411, 366, 29762, 1, 796, 705, 1, 39532, 527, 1, 11537, 532,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 2060, 373, 2716, 878, 284, 1916, 5633, 46506, 366, 29762, 1, 16034, 3084, 62, 22416, 62, 38205, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 38205, 33411, 366, 29762, 1, 796, 705, 1, 39532, 527, 1, 11537, 532,...
Show the number of heads of departments born in each state with a pie chart.
SELECT born_state, COUNT(born_state) FROM head GROUP BY born_state
[ 15307, 262, 1271, 286, 6665, 286, 13346, 4642, 287, 1123, 1181, 351, 257, 2508, 8262, 13, 46506, 4642, 62, 5219, 11, 327, 28270, 7, 6286, 62, 5219, 8, 16034, 1182, 44441, 11050, 4642, 62, 5219 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6665, 286, 13346, 4642, 287, 1123, 1181, 351, 257, 2508, 8262, 13, 46506, 4642, 62, 5219, 11, 327, 28270, 7, 6286, 62, 5219, 8, 16034, 1182, 44441, 11050, 4642, 62, 5219 ]
what are the three most frequently ordered specimen tests for patients who were diagnosed with anxiety before during this year within 2 months?
SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'anxiety' AND DATETIME(diagnosis.diagnosistim...
[ 10919, 389, 262, 1115, 749, 6777, 6149, 31674, 5254, 329, 3871, 508, 547, 14641, 351, 9751, 878, 1141, 428, 614, 1626, 362, 1933, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17, 13, 40820, 942, 578, 11, 360, 242...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1115, 749, 6777, 6149, 31674, 5254, 329, 3871, 508, 547, 14641, 351, 9751, 878, 1141, 428, 614, 1626, 362, 1933, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17, 13, 40820, 942, 578, 11, 360, 242...
What is the average Lane where Belarus is the nationality?
SELECT AVG("Lane") FROM table_70815 WHERE "Nationality" = 'belarus'
[ 2061, 318, 262, 2811, 15016, 810, 33368, 318, 262, 29835, 30, 46506, 35224, 7203, 43, 1531, 4943, 16034, 3084, 62, 32583, 1314, 33411, 366, 16186, 414, 1, 796, 705, 6667, 20272, 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, 2811, 15016, 810, 33368, 318, 262, 29835, 30, 46506, 35224, 7203, 43, 1531, 4943, 16034, 3084, 62, 32583, 1314, 33411, 366, 16186, 414, 1, 796, 705, 6667, 20272, 6 ]
How many episodes were released on DVD in the US on October 13, 2009?
SELECT episodes FROM table_14855908_3 WHERE region_1__us_ = "October 13, 2009"
[ 2437, 867, 8640, 547, 2716, 319, 12490, 287, 262, 1294, 319, 3267, 1511, 11, 3717, 30, 46506, 8640, 16034, 3084, 62, 18294, 38605, 2919, 62, 18, 33411, 3814, 62, 16, 834, 385, 62, 796, 366, 18517, 1511, 11, 3717, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 8640, 547, 2716, 319, 12490, 287, 262, 1294, 319, 3267, 1511, 11, 3717, 30, 46506, 8640, 16034, 3084, 62, 18294, 38605, 2919, 62, 18, 33411, 3814, 62, 16, 834, 385, 62, 796, 366, 18517, 1511, 11, 3717, 1 ]
If the game was on January 21, which game was it?
SELECT MAX(game) FROM table_27537870_6 WHERE january = 21
[ 1532, 262, 983, 373, 319, 3269, 2310, 11, 543, 983, 373, 340, 30, 46506, 25882, 7, 6057, 8, 16034, 3084, 62, 23195, 30695, 2154, 62, 21, 33411, 42897, 2838, 796, 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 ]
[ 1532, 262, 983, 373, 319, 3269, 2310, 11, 543, 983, 373, 340, 30, 46506, 25882, 7, 6057, 8, 16034, 3084, 62, 23195, 30695, 2154, 62, 21, 33411, 42897, 2838, 796, 2310 ]
What 1998 has 2r as a 1993, and 1r as a 1990?
SELECT "1998" FROM table_34163 WHERE "1993" = '2r' AND "1990" = '1r'
[ 2061, 7795, 468, 362, 81, 355, 257, 9656, 11, 290, 352, 81, 355, 257, 6303, 30, 46506, 366, 21113, 1, 16034, 3084, 62, 2682, 24136, 33411, 366, 24465, 1, 796, 705, 17, 81, 6, 5357, 366, 19891, 1, 796, 705, 16, 81, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 7795, 468, 362, 81, 355, 257, 9656, 11, 290, 352, 81, 355, 257, 6303, 30, 46506, 366, 21113, 1, 16034, 3084, 62, 2682, 24136, 33411, 366, 24465, 1, 796, 705, 17, 81, 6, 5357, 366, 19891, 1, 796, 705, 16, 81, 6 ]
Can you draw the trend of avg(attendance) over the year?, and sort x axis from high to low order.
SELECT year, AVG(attendance) FROM home_game ORDER BY year DESC
[ 6090, 345, 3197, 262, 5182, 286, 42781, 7, 1078, 437, 590, 8, 625, 262, 614, 21747, 290, 3297, 2124, 16488, 422, 1029, 284, 1877, 1502, 13, 46506, 614, 11, 35224, 7, 1078, 437, 590, 8, 16034, 1363, 62, 6057, 38678, 11050, 614, 22196...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 6090, 345, 3197, 262, 5182, 286, 42781, 7, 1078, 437, 590, 8, 625, 262, 614, 21747, 290, 3297, 2124, 16488, 422, 1029, 284, 1877, 1502, 13, 46506, 614, 11, 35224, 7, 1078, 437, 590, 8, 16034, 1363, 62, 6057, 38678, 11050, 614, 22196...
for the patients who received inotropic agent - milrinone in a year before, what are the top three most common procedures which have been followed within the same hospital visit?
SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'inotr...
[ 1640, 262, 3871, 508, 2722, 287, 46084, 5797, 532, 1465, 12769, 505, 287, 257, 614, 878, 11, 644, 389, 262, 1353, 1115, 749, 2219, 9021, 543, 423, 587, 3940, 1626, 262, 976, 4436, 3187, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1640, 262, 3871, 508, 2722, 287, 46084, 5797, 532, 1465, 12769, 505, 287, 257, 614, 878, 11, 644, 389, 262, 1353, 1115, 749, 2219, 9021, 543, 423, 587, 3940, 1626, 262, 976, 4436, 3187, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 35...
what is admission location and procedure icd9 code of subject id 2560?
SELECT demographic.admission_location, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "2560"
[ 10919, 318, 13938, 4067, 290, 8771, 14158, 67, 24, 2438, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 9021, 13, 291, 67, 24, 62, 8189, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 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 ]
[ 10919, 318, 13938, 4067, 290, 8771, 14158, 67, 24, 2438, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 9021, 13, 291, 67, 24, 62, 8189, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 1810...
what is marital status of subject name paul edwards?
SELECT demographic.marital_status FROM demographic WHERE demographic.name = "Paul Edwards"
[ 10919, 318, 29555, 3722, 286, 2426, 1438, 279, 2518, 1225, 2017, 30, 46506, 16728, 13, 3876, 1287, 62, 13376, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 12041, 17381, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 29555, 3722, 286, 2426, 1438, 279, 2518, 1225, 2017, 30, 46506, 16728, 13, 3876, 1287, 62, 13376, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 12041, 17381, 1 ]
When did the episode air that had 7.3 viewers?
SELECT air_date FROM table_name_65 WHERE viewers = 7.3
[ 2215, 750, 262, 4471, 1633, 326, 550, 767, 13, 18, 10209, 30, 46506, 1633, 62, 4475, 16034, 3084, 62, 3672, 62, 2996, 33411, 10209, 796, 767, 13, 18 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 262, 4471, 1633, 326, 550, 767, 13, 18, 10209, 30, 46506, 1633, 62, 4475, 16034, 3084, 62, 3672, 62, 2996, 33411, 10209, 796, 767, 13, 18 ]
What is the format for UK catalog S 63795?
SELECT "Format" FROM table_12903 WHERE "Country" = 'uk' AND "Catalog" = 's 63795'
[ 2061, 318, 262, 5794, 329, 3482, 18388, 311, 718, 2718, 3865, 30, 46506, 366, 26227, 1, 16034, 3084, 62, 18741, 3070, 33411, 366, 33921, 1, 796, 705, 2724, 6, 5357, 366, 49015, 1, 796, 705, 82, 718, 2718, 3865, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5794, 329, 3482, 18388, 311, 718, 2718, 3865, 30, 46506, 366, 26227, 1, 16034, 3084, 62, 18741, 3070, 33411, 366, 33921, 1, 796, 705, 2724, 6, 5357, 366, 49015, 1, 796, 705, 82, 718, 2718, 3865, 6 ]
What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55?
SELECT "Preschool (0\u20135 years)" FROM table_27313 WHERE "Tertiary (18\u201324 years)" = '29.55'
[ 2061, 318, 262, 20753, 8064, 329, 38725, 287, 262, 3814, 810, 20753, 8064, 329, 48358, 8042, 318, 2808, 13, 2816, 30, 46506, 366, 25460, 1251, 357, 15, 59, 84, 1264, 2327, 812, 16725, 16034, 3084, 62, 1983, 25838, 33411, 366, 51, 861,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20753, 8064, 329, 38725, 287, 262, 3814, 810, 20753, 8064, 329, 48358, 8042, 318, 2808, 13, 2816, 30, 46506, 366, 25460, 1251, 357, 15, 59, 84, 1264, 2327, 812, 16725, 16034, 3084, 62, 1983, 25838, 33411, 366, 51, 861,...
What is the Club of the Player with a Date of Birth of 1979-01-29?
SELECT club FROM table_name_18 WHERE date_of_birth = "1979-01-29"
[ 2061, 318, 262, 6289, 286, 262, 7853, 351, 257, 7536, 286, 17647, 286, 13521, 12, 486, 12, 1959, 30, 46506, 3430, 16034, 3084, 62, 3672, 62, 1507, 33411, 3128, 62, 1659, 62, 24280, 796, 366, 33581, 12, 486, 12, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 6289, 286, 262, 7853, 351, 257, 7536, 286, 17647, 286, 13521, 12, 486, 12, 1959, 30, 46506, 3430, 16034, 3084, 62, 3672, 62, 1507, 33411, 3128, 62, 1659, 62, 24280, 796, 366, 33581, 12, 486, 12, 1959, 1 ]
How many games are associated with over 0 golds and a first year before 2008?
SELECT SUM(games) FROM table_name_61 WHERE gold > 0 AND first < 2008
[ 2437, 867, 1830, 389, 3917, 351, 625, 657, 3869, 82, 290, 257, 717, 614, 878, 3648, 30, 46506, 35683, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 3869, 1875, 657, 5357, 717, 1279, 3648 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1830, 389, 3917, 351, 625, 657, 3869, 82, 290, 257, 717, 614, 878, 3648, 30, 46506, 35683, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 3869, 1875, 657, 5357, 717, 1279, 3648 ]
What was the highest amount of episodes for the season with 5.74 million viewers?
SELECT MAX("Episodes") FROM table_25402 WHERE "Viewers (in millions)" = '5.74'
[ 2061, 373, 262, 4511, 2033, 286, 8640, 329, 262, 1622, 351, 642, 13, 4524, 1510, 10209, 30, 46506, 25882, 7203, 13807, 8052, 4943, 16034, 3084, 62, 1495, 32531, 33411, 366, 7680, 364, 357, 259, 5242, 16725, 796, 705, 20, 13, 4524, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4511, 2033, 286, 8640, 329, 262, 1622, 351, 642, 13, 4524, 1510, 10209, 30, 46506, 25882, 7203, 13807, 8052, 4943, 16034, 3084, 62, 1495, 32531, 33411, 366, 7680, 364, 357, 259, 5242, 16725, 796, 705, 20, 13, 4524, 6 ]
What is Playoff Result, when Winner is 'Alaska Aces', when Win # is greater than 1, when Points is less than 106, and when Year is '2011-12'?
SELECT "Playoff result" FROM table_76168 WHERE "Winner" = 'alaska aces' AND "Win #" > '1' AND "Points" < '106' AND "Year" = '2011-12'
[ 2061, 318, 41325, 25414, 11, 618, 25358, 318, 705, 2348, 8480, 317, 728, 3256, 618, 7178, 1303, 318, 3744, 621, 352, 11, 618, 11045, 318, 1342, 621, 15696, 11, 290, 618, 6280, 318, 705, 9804, 12, 1065, 30960, 46506, 366, 11002, 2364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 41325, 25414, 11, 618, 25358, 318, 705, 2348, 8480, 317, 728, 3256, 618, 7178, 1303, 318, 3744, 621, 352, 11, 618, 11045, 318, 1342, 621, 15696, 11, 290, 618, 6280, 318, 705, 9804, 12, 1065, 30960, 46506, 366, 11002, 2364, ...
Which Catalog has a Country of Japan?
SELECT "Catalog" FROM table_9406 WHERE "Country" = 'japan'
[ 13828, 44515, 468, 257, 12946, 286, 2869, 30, 46506, 366, 49015, 1, 16034, 3084, 62, 24, 29703, 33411, 366, 33921, 1, 796, 705, 73, 2674, 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 ]
[ 13828, 44515, 468, 257, 12946, 286, 2869, 30, 46506, 366, 49015, 1, 16034, 3084, 62, 24, 29703, 33411, 366, 33921, 1, 796, 705, 73, 2674, 6 ]
Who wrote the title that received 1.211 million total viewers?
SELECT "Written by" FROM table_17656 WHERE "Total viewers (in millions)" = '1.211'
[ 8241, 2630, 262, 3670, 326, 2722, 352, 13, 21895, 1510, 2472, 10209, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1558, 37466, 33411, 366, 14957, 10209, 357, 259, 5242, 16725, 796, 705, 16, 13, 21895, 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, 2630, 262, 3670, 326, 2722, 352, 13, 21895, 1510, 2472, 10209, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1558, 37466, 33411, 366, 14957, 10209, 357, 259, 5242, 16725, 796, 705, 16, 13, 21895, 6 ]
What school did the linebacker who was drafted after round 8 come from?
SELECT "School/Club Team" FROM table_4923 WHERE "Round" > '8' AND "Position" = 'linebacker'
[ 2061, 1524, 750, 262, 18961, 508, 373, 15937, 706, 2835, 807, 1282, 422, 30, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 2920, 1954, 33411, 366, 22685, 1, 1875, 705, 23, 6, 5357, 366, 26545, 1, 796, 705, 1370, 49978, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1524, 750, 262, 18961, 508, 373, 15937, 706, 2835, 807, 1282, 422, 30, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 2920, 1954, 33411, 366, 22685, 1, 1875, 705, 23, 6, 5357, 366, 26545, 1, 796, 705, 1370, 49978, 6 ]
for the first time in 03/this year, what was the drug that patient 40116 was prescribed via iv bolus route?
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 40116) AND prescriptions.route = 'iv bolus' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m'...
[ 1640, 262, 717, 640, 287, 7643, 14, 5661, 614, 11, 644, 373, 262, 2563, 326, 5827, 22219, 1433, 373, 14798, 2884, 21628, 11572, 385, 6339, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 465...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1640, 262, 717, 640, 287, 7643, 14, 5661, 614, 11, 644, 373, 262, 2563, 326, 5827, 22219, 1433, 373, 14798, 2884, 21628, 11572, 385, 6339, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 465...
Find the name and gender type of the dorms whose capacity is greater than 300 or less than 100.
SELECT dorm_name, gender FROM dorm WHERE student_capacity > 300 OR student_capacity < 100
[ 16742, 262, 1438, 290, 5279, 2099, 286, 262, 18586, 82, 3025, 5339, 318, 3744, 621, 5867, 393, 1342, 621, 1802, 13, 46506, 18586, 62, 3672, 11, 5279, 16034, 18586, 33411, 3710, 62, 42404, 1875, 5867, 6375, 3710, 62, 42404, 1279, 1802 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1438, 290, 5279, 2099, 286, 262, 18586, 82, 3025, 5339, 318, 3744, 621, 5867, 393, 1342, 621, 1802, 13, 46506, 18586, 62, 3672, 11, 5279, 16034, 18586, 33411, 3710, 62, 42404, 1875, 5867, 6375, 3710, 62, 42404, 1279, 1802 ]
please show me ground transportation in DENVER
SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'DENVER' AND ground_service.city_code = city.city_code
[ 29688, 905, 502, 2323, 9358, 287, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 41819, 5959, 6, 5357, 2323, 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 ]
[ 29688, 905, 502, 2323, 9358, 287, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 41819, 5959, 6, 5357, 2323, 62, ...
Find the id and local authority of the station whose maximum precipitation is higher than 50. Plot them as pie chart.
SELECT local_authority, id FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id
[ 16742, 262, 4686, 290, 1957, 4934, 286, 262, 4429, 3025, 5415, 32025, 318, 2440, 621, 2026, 13, 28114, 606, 355, 2508, 8262, 13, 46506, 1957, 62, 9800, 414, 11, 4686, 16034, 10273, 62, 23563, 7054, 256, 16, 32357, 1268, 4429, 7054, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4686, 290, 1957, 4934, 286, 262, 4429, 3025, 5415, 32025, 318, 2440, 621, 2026, 13, 28114, 606, 355, 2508, 8262, 13, 46506, 1957, 62, 9800, 414, 11, 4686, 16034, 10273, 62, 23563, 7054, 256, 16, 32357, 1268, 4429, 7054, 25...
What party is class 1 in wisconsin?
SELECT "Party" FROM table_11775 WHERE "Class" = '1' AND "State" = 'wisconsin'
[ 2061, 2151, 318, 1398, 352, 287, 266, 8816, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 17657, 2425, 33411, 366, 9487, 1, 796, 705, 16, 6, 5357, 366, 9012, 1, 796, 705, 86, 8816, 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, 2151, 318, 1398, 352, 287, 266, 8816, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 17657, 2425, 33411, 366, 9487, 1, 796, 705, 16, 6, 5357, 366, 9012, 1, 796, 705, 86, 8816, 6 ]
Show each location and the number of cinemas there.
SELECT location, COUNT(*) FROM cinema GROUP BY location
[ 15307, 1123, 4067, 290, 262, 1271, 286, 13483, 292, 612, 13, 46506, 4067, 11, 327, 28270, 7, 28104, 16034, 22041, 44441, 11050, 4067 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 1123, 4067, 290, 262, 1271, 286, 13483, 292, 612, 13, 46506, 4067, 11, 327, 28270, 7, 28104, 16034, 22041, 44441, 11050, 4067 ]
For the player from Fiji, what was his finish?
SELECT finish FROM table_name_83 WHERE country = "fiji"
[ 1890, 262, 2137, 422, 43676, 11, 644, 373, 465, 5461, 30, 46506, 5461, 16034, 3084, 62, 3672, 62, 5999, 33411, 1499, 796, 366, 69, 20770, 1 ]
[ 1, 1, 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, 2137, 422, 43676, 11, 644, 373, 465, 5461, 30, 46506, 5461, 16034, 3084, 62, 3672, 62, 5999, 33411, 1499, 796, 366, 69, 20770, 1 ]
how many patients with diagnosis short title as sed, hyp, anxiolyt dep-con had drug type as additive?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Sed,hyp,anxiolyt dep-con" AND prescriptions.drug_type = "ADDITIVE"
[ 4919, 867, 3871, 351, 13669, 1790, 3670, 355, 10081, 11, 5328, 11, 7296, 952, 306, 83, 1207, 12, 1102, 550, 2563, 2099, 355, 38298, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 351, 13669, 1790, 3670, 355, 10081, 11, 5328, 11, 7296, 952, 306, 83, 1207, 12, 1102, 550, 2563, 2099, 355, 38298, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
How many Big 12 teams made it to the Final Four?
SELECT final_four FROM table_name_1 WHERE conference = "big 12"
[ 2437, 867, 4403, 1105, 3466, 925, 340, 284, 262, 8125, 6675, 30, 46506, 2457, 62, 14337, 16034, 3084, 62, 3672, 62, 16, 33411, 4495, 796, 366, 14261, 1105, 1 ]
[ 1, 1, 1, 1, 1, 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, 4403, 1105, 3466, 925, 340, 284, 262, 8125, 6675, 30, 46506, 2457, 62, 14337, 16034, 3084, 62, 3672, 62, 16, 33411, 4495, 796, 366, 14261, 1105, 1 ]
What is the sum of Points, when Home is 'Pittsburgh', when Date is 'December 21', and when Attendance is greater than 5,307?
SELECT SUM("Points") FROM table_47365 WHERE "Home" = 'pittsburgh' AND "Date" = 'december 21' AND "Attendance" > '5,307'
[ 2061, 318, 262, 2160, 286, 11045, 11, 618, 5995, 318, 705, 47627, 11931, 3256, 618, 7536, 318, 705, 20588, 2310, 3256, 290, 618, 46502, 590, 318, 3744, 621, 642, 11, 22996, 30, 46506, 35683, 7203, 40710, 4943, 16034, 3084, 62, 2857, 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...
[ 2061, 318, 262, 2160, 286, 11045, 11, 618, 5995, 318, 705, 47627, 11931, 3256, 618, 7536, 318, 705, 20588, 2310, 3256, 290, 618, 46502, 590, 318, 3744, 621, 642, 11, 22996, 30, 46506, 35683, 7203, 40710, 4943, 16034, 3084, 62, 2857, 2...
What is the sum number of Pl GP when the pick number is 178 and the road number is bigger than 9?
SELECT COUNT("Pl GP") FROM table_78200 WHERE "Pick #" = '178' AND "Rd #" > '9'
[ 2061, 318, 262, 2160, 1271, 286, 1345, 14714, 618, 262, 2298, 1271, 318, 27368, 290, 262, 2975, 1271, 318, 5749, 621, 860, 30, 46506, 327, 28270, 7203, 3646, 14714, 4943, 16034, 3084, 62, 3695, 2167, 33411, 366, 31686, 1303, 1, 796, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 1271, 286, 1345, 14714, 618, 262, 2298, 1271, 318, 27368, 290, 262, 2975, 1271, 318, 5749, 621, 860, 30, 46506, 327, 28270, 7203, 3646, 14714, 4943, 16034, 3084, 62, 3695, 2167, 33411, 366, 31686, 1303, 1, 796, 7...
How many Spins sources have a CCM Chart of CHR with a peak position less than 1?
SELECT COUNT("Spins (since 1998) source: Mediabase") FROM table_41907 WHERE "CCM Chart" = 'chr' AND "Peak Pos" < '1'
[ 2437, 867, 1338, 1040, 4237, 423, 257, 12624, 44, 22086, 286, 32567, 351, 257, 9103, 2292, 1342, 621, 352, 30, 46506, 327, 28270, 7203, 4561, 1040, 357, 20777, 7795, 8, 2723, 25, 2019, 72, 5754, 4943, 16034, 3084, 62, 45068, 2998, 334...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1338, 1040, 4237, 423, 257, 12624, 44, 22086, 286, 32567, 351, 257, 9103, 2292, 1342, 621, 352, 30, 46506, 327, 28270, 7203, 4561, 1040, 357, 20777, 7795, 8, 2723, 25, 2019, 72, 5754, 4943, 16034, 3084, 62, 45068, 2998, 334...