instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
which patients take medication via inhalation route?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.route = "INHALATION"
[ 4758, 3871, 1011, 14103, 2884, 40982, 341, 6339, 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, 18108, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 3871, 1011, 14103, 2884, 40982, 341, 6339, 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, 18108, ...
who won more awards ? walt disney or james dean ?
SELECT "name" FROM table_203_17 WHERE "name" IN ('walt disney', 'james dean') AND "winner" = 'won' GROUP BY "name" ORDER BY COUNT("academy award") DESC LIMIT 1
[ 8727, 1839, 517, 13304, 5633, 266, 2501, 595, 1681, 393, 474, 1047, 34798, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 22416, 62, 1558, 33411, 366, 3672, 1, 3268, 19203, 86, 2501, 595, 1681, 3256, 705, 73, 1047, 34798, 11537, 5357, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8727, 1839, 517, 13304, 5633, 266, 2501, 595, 1681, 393, 474, 1047, 34798, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 22416, 62, 1558, 33411, 366, 3672, 1, 3268, 19203, 86, 2501, 595, 1681, 3256, 705, 73, 1047, 34798, 11537, 5357, 36...
What is the total enrollment for a private/catholic affiliation and founded after 1842?
SELECT COUNT("Enrollment") FROM table_37203 WHERE "Affiliation" = 'private/catholic' AND "Founded" > '1842'
[ 2061, 318, 262, 2472, 20753, 329, 257, 2839, 14, 66, 776, 4160, 26218, 290, 9393, 706, 1248, 3682, 30, 46506, 327, 28270, 7203, 4834, 48108, 4943, 16034, 3084, 62, 2718, 22416, 33411, 366, 35191, 15547, 1, 796, 705, 19734, 14, 66, 776...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20753, 329, 257, 2839, 14, 66, 776, 4160, 26218, 290, 9393, 706, 1248, 3682, 30, 46506, 327, 28270, 7203, 4834, 48108, 4943, 16034, 3084, 62, 2718, 22416, 33411, 366, 35191, 15547, 1, 796, 705, 19734, 14, 66, 776...
Who wrote Episode #3?
SELECT writer FROM table_10470082_6 WHERE _number = 3
[ 8241, 2630, 7922, 1303, 18, 30, 46506, 6260, 16034, 3084, 62, 940, 2857, 405, 6469, 62, 21, 33411, 4808, 17618, 796, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2630, 7922, 1303, 18, 30, 46506, 6260, 16034, 3084, 62, 940, 2857, 405, 6469, 62, 21, 33411, 4808, 17618, 796, 513 ]
What are the order dates of orders with price higher than 1000?
SELECT T1.order_date FROM customer_orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id JOIN products AS T3 ON T2.product_id = T3.product_id WHERE T3.product_price > 1000
[ 2061, 389, 262, 1502, 9667, 286, 6266, 351, 2756, 2440, 621, 8576, 30, 46506, 309, 16, 13, 2875, 62, 4475, 16034, 6491, 62, 6361, 7054, 309, 16, 32357, 1268, 1502, 62, 23814, 7054, 309, 17, 6177, 309, 16, 13, 2875, 62, 312, 796, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1502, 9667, 286, 6266, 351, 2756, 2440, 621, 8576, 30, 46506, 309, 16, 13, 2875, 62, 4475, 16034, 6491, 62, 6361, 7054, 309, 16, 32357, 1268, 1502, 62, 23814, 7054, 309, 17, 6177, 309, 16, 13, 2875, 62, 312, 796, 3...
What are the numbers of episodes that were broadcast on September 1, 2003
SELECT episode__number FROM table_17481974_1 WHERE original_airdate = "September 1, 2003"
[ 2061, 389, 262, 3146, 286, 8640, 326, 547, 7025, 319, 2693, 352, 11, 5816, 46506, 4471, 834, 17618, 16034, 3084, 62, 1558, 2780, 40828, 62, 16, 33411, 2656, 62, 958, 4475, 796, 366, 17543, 352, 11, 5816, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3146, 286, 8640, 326, 547, 7025, 319, 2693, 352, 11, 5816, 46506, 4471, 834, 17618, 16034, 3084, 62, 1558, 2780, 40828, 62, 16, 33411, 2656, 62, 958, 4475, 796, 366, 17543, 352, 11, 5816, 1 ]
How many apartment bookings in each weekday? Show me a bar chart binning booking start date by weekday, and order total number in ascending order.
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings ORDER BY COUNT(booking_start_date)
[ 2437, 867, 7962, 1492, 654, 287, 1123, 28269, 30, 5438, 502, 257, 2318, 8262, 9874, 768, 25452, 923, 3128, 416, 28269, 11, 290, 1502, 2472, 1271, 287, 41988, 1502, 13, 46506, 25452, 62, 9688, 62, 4475, 11, 327, 28270, 7, 2070, 278, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7962, 1492, 654, 287, 1123, 28269, 30, 5438, 502, 257, 2318, 8262, 9874, 768, 25452, 923, 3128, 416, 28269, 11, 290, 1502, 2472, 1271, 287, 41988, 1502, 13, 46506, 25452, 62, 9688, 62, 4475, 11, 327, 28270, 7, 2070, 278, ...
What is the class of the Coca-cola classic 12 hours of sebring race?
SELECT class FROM table_name_35 WHERE race = "coca-cola classic 12 hours of sebring"
[ 2061, 318, 262, 1398, 286, 262, 29803, 12, 4033, 64, 6833, 1105, 2250, 286, 384, 48580, 3234, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 2327, 33411, 3234, 796, 366, 66, 11216, 12, 4033, 64, 6833, 1105, 2250, 286, 384, 48580, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1398, 286, 262, 29803, 12, 4033, 64, 6833, 1105, 2250, 286, 384, 48580, 3234, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 2327, 33411, 3234, 796, 366, 66, 11216, 12, 4033, 64, 6833, 1105, 2250, 286, 384, 48580, 1 ]
If I take 746 and 886 , can I leave at 5 ?
SELECT COUNT(*) = 0 FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE (course.number = 746 OR course.number = 886) AND course_offering.end_time > '17:00:00' AND semester.semester = 'WN' AND semester.year = ...
[ 1532, 314, 1011, 767, 3510, 290, 807, 4521, 837, 460, 314, 2666, 379, 642, 5633, 46506, 327, 28270, 7, 28104, 796, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 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...
[ 1532, 314, 1011, 767, 3510, 290, 807, 4521, 837, 460, 314, 2666, 379, 642, 5633, 46506, 327, 28270, 7, 28104, 796, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, ...
Which Artist is listed as having Top 6 in Week
SELECT artist FROM table_name_32 WHERE week = "top 6"
[ 13828, 18902, 318, 5610, 355, 1719, 5849, 718, 287, 6119, 46506, 6802, 16034, 3084, 62, 3672, 62, 2624, 33411, 1285, 796, 366, 4852, 718, 1 ]
[ 1, 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, 18902, 318, 5610, 355, 1719, 5849, 718, 287, 6119, 46506, 6802, 16034, 3084, 62, 3672, 62, 2624, 33411, 1285, 796, 366, 4852, 718, 1 ]
What is the away team with the score 13.15 (93) ?
SELECT "Away team" FROM table_4912 WHERE "Away team score" = '13.15 (93)'
[ 2061, 318, 262, 1497, 1074, 351, 262, 4776, 1511, 13, 1314, 357, 6052, 8, 5633, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2920, 1065, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1485, 13, 1314, 357, 6052, 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, 1, 1 ]
[ 2061, 318, 262, 1497, 1074, 351, 262, 4776, 1511, 13, 1314, 357, 6052, 8, 5633, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2920, 1065, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1485, 13, 1314, 357, 6052, 33047 ]
What's the name of the person in the CF Pos?
SELECT "Name" FROM table_65839 WHERE "Pos." = 'cf'
[ 2061, 338, 262, 1438, 286, 262, 1048, 287, 262, 18551, 18574, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 38431, 2670, 33411, 366, 21604, 526, 796, 705, 12993, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 1438, 286, 262, 1048, 287, 262, 18551, 18574, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 38431, 2670, 33411, 366, 21604, 526, 796, 705, 12993, 6 ]
what were the top three most frequently performed procedures that the patient received within the same hospital visit after diagnosis of fx dorsal vertebra-close until 2102?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_i...
[ 10919, 547, 262, 1353, 1115, 749, 6777, 6157, 9021, 326, 262, 5827, 2722, 1626, 262, 976, 4436, 3187, 706, 13669, 286, 277, 87, 45254, 30362, 16057, 12, 19836, 1566, 362, 15377, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 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, 1...
[ 10919, 547, 262, 1353, 1115, 749, 6777, 6157, 9021, 326, 262, 5827, 2722, 1626, 262, 976, 4436, 3187, 706, 13669, 286, 277, 87, 45254, 30362, 16057, 12, 19836, 1566, 362, 15377, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 1...
What is the lowest Rank of Denmark County with a Total smaller than 1?
SELECT MIN("Rank") FROM table_36609 WHERE "Country" = 'denmark' AND "Total" < '1'
[ 2061, 318, 262, 9016, 10916, 286, 16490, 3418, 351, 257, 7472, 4833, 621, 352, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 2623, 31751, 33411, 366, 33921, 1, 796, 705, 6559, 4102, 6, 5357, 366, 14957, 1, 1279, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 10916, 286, 16490, 3418, 351, 257, 7472, 4833, 621, 352, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 2623, 31751, 33411, 366, 33921, 1, 796, 705, 6559, 4102, 6, 5357, 366, 14957, 1, 1279, 705, 16, 6 ]
What round did the home team Pohang Steelers play?
SELECT round FROM table_name_32 WHERE home_team = "pohang steelers"
[ 2061, 2835, 750, 262, 1363, 1074, 350, 1219, 648, 21323, 711, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 2624, 33411, 1363, 62, 15097, 796, 366, 79, 1219, 648, 7771, 364, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2835, 750, 262, 1363, 1074, 350, 1219, 648, 21323, 711, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 2624, 33411, 1363, 62, 15097, 796, 366, 79, 1219, 648, 7771, 364, 1 ]
Margot Kidder had what director?
SELECT "Director" FROM table_16978 WHERE "Celebrity" = 'Margot Kidder'
[ 24428, 313, 16828, 1082, 550, 644, 3437, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 22172, 3695, 33411, 366, 42741, 1671, 414, 1, 796, 705, 24428, 313, 16828, 1082, 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 ]
[ 24428, 313, 16828, 1082, 550, 644, 3437, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 22172, 3695, 33411, 366, 42741, 1671, 414, 1, 796, 705, 24428, 313, 16828, 1082, 6 ]
What is the average Total for the Rank of 6, when Silver is smaller than 0?
SELECT AVG("Total") FROM table_37930 WHERE "Rank" = '6' AND "Silver" < '0'
[ 2061, 318, 262, 2811, 7472, 329, 262, 10916, 286, 718, 11, 618, 7698, 318, 4833, 621, 657, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 29088, 1270, 33411, 366, 27520, 1, 796, 705, 21, 6, 5357, 366, 26766, 1, 1279, 705, 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 ]
[ 2061, 318, 262, 2811, 7472, 329, 262, 10916, 286, 718, 11, 618, 7698, 318, 4833, 621, 657, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 29088, 1270, 33411, 366, 27520, 1, 796, 705, 21, 6, 5357, 366, 26766, 1, 1279, 705, 15,...
Give me a pie chart to reflect the proportion of Team_Name and School_ID.
SELECT Team_Name, School_ID FROM basketball_match
[ 23318, 502, 257, 2508, 8262, 284, 4079, 262, 9823, 286, 4816, 62, 5376, 290, 3961, 62, 2389, 13, 46506, 4816, 62, 5376, 11, 3961, 62, 2389, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 2508, 8262, 284, 4079, 262, 9823, 286, 4816, 62, 5376, 290, 3961, 62, 2389, 13, 46506, 4816, 62, 5376, 11, 3961, 62, 2389, 16034, 9669, 62, 15699 ]
what is the days of hospital stay and diagnosis of patient id 19420?
SELECT demographic.days_stay, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "19420"
[ 10919, 318, 262, 1528, 286, 4436, 2652, 290, 13669, 286, 5827, 4686, 678, 27211, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 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 ]
[ 10919, 318, 262, 1528, 286, 4436, 2652, 290, 13669, 286, 5827, 4686, 678, 27211, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312,...
What is the density (hab/km ) with a population censo 2007(hab) of 336.293*?
SELECT "Density (hab/ km\u00b2 )" FROM table_49343 WHERE "Population censo 2007(hab)" = '336.293*'
[ 2061, 318, 262, 12109, 357, 5976, 14, 13276, 1267, 351, 257, 3265, 269, 268, 568, 4343, 7, 5976, 8, 286, 38867, 13, 31675, 9, 30, 46506, 366, 35, 6377, 357, 5976, 14, 10571, 59, 84, 405, 65, 17, 1267, 1, 16034, 3084, 62, 2920, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 12109, 357, 5976, 14, 13276, 1267, 351, 257, 3265, 269, 268, 568, 4343, 7, 5976, 8, 286, 38867, 13, 31675, 9, 30, 46506, 366, 35, 6377, 357, 5976, 14, 10571, 59, 84, 405, 65, 17, 1267, 1, 16034, 3084, 62, 2920, 3...
how did patient 40059 this year first admitted to hospital?
SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 40059 AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY admissions.admittime LIMIT 1
[ 4919, 750, 5827, 7337, 3270, 428, 614, 717, 6848, 284, 4436, 30, 46506, 25349, 13, 324, 3411, 62, 4906, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 7337, 3270, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324, 20124, 524, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 5827, 7337, 3270, 428, 614, 717, 6848, 284, 4436, 30, 46506, 25349, 13, 324, 3411, 62, 4906, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 7337, 3270, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324, 20124, 524, ...
What is the relationship between Clean_Jerk and Total ?
SELECT Clean_Jerk, Total FROM body_builder
[ 2061, 318, 262, 2776, 1022, 5985, 62, 41, 9587, 290, 7472, 5633, 46506, 5985, 62, 41, 9587, 11, 7472, 16034, 1767, 62, 38272 ]
[ 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, 2776, 1022, 5985, 62, 41, 9587, 290, 7472, 5633, 46506, 5985, 62, 41, 9587, 11, 7472, 16034, 1767, 62, 38272 ]
What is the number for match when the draws in more than 0, the team is Polonia Bydgoszcz, and there are less than 17 points?
SELECT SUM("Match") FROM table_10036 WHERE "Draw" > '0' AND "Team" = 'polonia bydgoszcz' AND "Points" < '17'
[ 2061, 318, 262, 1271, 329, 2872, 618, 262, 14293, 287, 517, 621, 657, 11, 262, 1074, 318, 2165, 11339, 2750, 67, 70, 418, 89, 26691, 11, 290, 612, 389, 1342, 621, 1596, 2173, 30, 46506, 35683, 7203, 23850, 4943, 16034, 3084, 62, 306...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 2872, 618, 262, 14293, 287, 517, 621, 657, 11, 262, 1074, 318, 2165, 11339, 2750, 67, 70, 418, 89, 26691, 11, 290, 612, 389, 1342, 621, 1596, 2173, 30, 46506, 35683, 7203, 23850, 4943, 16034, 3084, 62, 306...
What date was the game when the liberty had a record of 12-9?
SELECT date FROM table_name_63 WHERE record = "12-9"
[ 2061, 3128, 373, 262, 983, 618, 262, 12354, 550, 257, 1700, 286, 1105, 12, 24, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5066, 33411, 1700, 796, 366, 1065, 12, 24, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 262, 983, 618, 262, 12354, 550, 257, 1700, 286, 1105, 12, 24, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5066, 33411, 1700, 796, 366, 1065, 12, 24, 1 ]
How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471?
SELECT COUNT("Tot Enlisted") FROM table_26119 WHERE "Enlisted o/s" = '801471'
[ 2437, 867, 1180, 3146, 286, 20323, 30166, 389, 612, 319, 262, 9667, 618, 262, 1271, 286, 2039, 17935, 267, 14, 82, 373, 807, 486, 38339, 30, 46506, 327, 28270, 7203, 51, 313, 2039, 17935, 4943, 16034, 3084, 62, 2075, 16315, 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 ]
[ 2437, 867, 1180, 3146, 286, 20323, 30166, 389, 612, 319, 262, 9667, 618, 262, 1271, 286, 2039, 17935, 267, 14, 82, 373, 807, 486, 38339, 30, 46506, 327, 28270, 7203, 51, 313, 2039, 17935, 4943, 16034, 3084, 62, 2075, 16315, 33411, 366...
Tell me the highest overall rank for lane less than 8 and time less than 27.16
SELECT MAX("Overall Rank") FROM table_31894 WHERE "Lane" < '8' AND "Time" < '27.16'
[ 24446, 502, 262, 4511, 4045, 4279, 329, 11193, 1342, 621, 807, 290, 640, 1342, 621, 2681, 13, 1433, 46506, 25882, 7203, 16350, 10916, 4943, 16034, 3084, 62, 36042, 5824, 33411, 366, 43, 1531, 1, 1279, 705, 23, 6, 5357, 366, 7575, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 4511, 4045, 4279, 329, 11193, 1342, 621, 807, 290, 640, 1342, 621, 2681, 13, 1433, 46506, 25882, 7203, 16350, 10916, 4943, 16034, 3084, 62, 36042, 5824, 33411, 366, 43, 1531, 1, 1279, 705, 23, 6, 5357, 366, 7575, 1, ...
hematocrit ( hct ) > 34 %
SELECT * FROM table_train_167 WHERE hematocrit_hct > 34
[ 10024, 420, 799, 357, 289, 310, 1267, 1875, 4974, 4064, 46506, 1635, 16034, 3084, 62, 27432, 62, 21940, 33411, 339, 6759, 420, 799, 62, 71, 310, 1875, 4974 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10024, 420, 799, 357, 289, 310, 1267, 1875, 4974, 4064, 46506, 1635, 16034, 3084, 62, 27432, 62, 21940, 33411, 339, 6759, 420, 799, 62, 71, 310, 1875, 4974 ]
What was the final score for the match where Hereford United was the home team?
SELECT score FROM table_name_57 WHERE home_team = "hereford united"
[ 2061, 373, 262, 2457, 4776, 329, 262, 2872, 810, 3423, 3841, 1578, 373, 262, 1363, 1074, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3553, 33411, 1363, 62, 15097, 796, 366, 1456, 3841, 16503, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 262, 2872, 810, 3423, 3841, 1578, 373, 262, 1363, 1074, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3553, 33411, 1363, 62, 15097, 796, 366, 1456, 3841, 16503, 1 ]
give me the drug type and drug route for tuberculin protein.
SELECT prescriptions.drug_type, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Tuberculin Protein"
[ 26535, 502, 262, 2563, 2099, 290, 2563, 6339, 329, 35813, 3129, 259, 7532, 13, 46506, 34092, 13, 30349, 62, 4906, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 51, 18478, 3129, 259, 31702, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 2099, 290, 2563, 6339, 329, 35813, 3129, 259, 7532, 13, 46506, 34092, 13, 30349, 62, 4906, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 51, 18478, 3129, 259, 31702, 1 ]
calculate the number of patients with abdominal pain as primary disease and aged below 72
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ABDOMINAL PAIN" AND demographic.age < "72"
[ 9948, 3129, 378, 262, 1271, 286, 3871, 351, 32692, 2356, 355, 4165, 4369, 290, 9722, 2174, 7724, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 6242, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9948, 3129, 378, 262, 1271, 286, 3871, 351, 32692, 2356, 355, 4165, 4369, 290, 9722, 2174, 7724, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 6242, 39...
What are the total points for the skier with 3.18 slalom points?
SELECT total FROM table_name_33 WHERE slalom_points = "3.18"
[ 2061, 389, 262, 2472, 2173, 329, 262, 1341, 959, 351, 513, 13, 1507, 1017, 282, 296, 2173, 30, 46506, 2472, 16034, 3084, 62, 3672, 62, 2091, 33411, 1017, 282, 296, 62, 13033, 796, 366, 18, 13, 1507, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 2173, 329, 262, 1341, 959, 351, 513, 13, 1507, 1017, 282, 296, 2173, 30, 46506, 2472, 16034, 3084, 62, 3672, 62, 2091, 33411, 1017, 282, 296, 62, 13033, 796, 366, 18, 13, 1507, 1 ]
What is the sum of skin depth with a resistivity of 1.12 and a relative permeability larger than 1?
SELECT SUM("Skin depth, inches") FROM table_68994 WHERE "Resistivity (10 \u22126 ohm-inches)" = '1.12' AND "Relative permeability" > '1'
[ 2061, 318, 262, 2160, 286, 4168, 6795, 351, 257, 4180, 3458, 286, 352, 13, 1065, 290, 257, 3585, 29298, 1799, 4025, 621, 352, 30, 46506, 35683, 7203, 42455, 6795, 11, 8331, 4943, 16034, 3084, 62, 3104, 42691, 33411, 366, 4965, 396, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2160, 286, 4168, 6795, 351, 257, 4180, 3458, 286, 352, 13, 1065, 290, 257, 3585, 29298, 1799, 4025, 621, 352, 30, 46506, 35683, 7203, 42455, 6795, 11, 8331, 4943, 16034, 3084, 62, 3104, 42691, 33411, 366, 4965, 396, 34...
Who lost the game on May 26?
SELECT "Loss" FROM table_66885 WHERE "Date" = 'may 26'
[ 8241, 2626, 262, 983, 319, 1737, 2608, 30, 46506, 366, 43, 793, 1, 16034, 3084, 62, 2791, 44230, 33411, 366, 10430, 1, 796, 705, 11261, 2608, 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 ]
[ 8241, 2626, 262, 983, 319, 1737, 2608, 30, 46506, 366, 43, 793, 1, 16034, 3084, 62, 2791, 44230, 33411, 366, 10430, 1, 796, 705, 11261, 2608, 6 ]
count the number of patients whose admission year is less than 2203 and procedure icd9 code is 3972?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2203" AND procedures.icd9_code = "3972"
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 15629, 18, 290, 8771, 14158, 67, 24, 2438, 318, 5014, 4761, 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...
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 15629, 18, 290, 8771, 14158, 67, 24, 2438, 318, 5014, 4761, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
What was the score of the game with a H/A/N of H and a record of 12-24?
SELECT score FROM table_name_12 WHERE h_a_n = "h" AND record = "12-24"
[ 2061, 373, 262, 4776, 286, 262, 983, 351, 257, 367, 14, 32, 14, 45, 286, 367, 290, 257, 1700, 286, 1105, 12, 1731, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1065, 33411, 289, 62, 64, 62, 77, 796, 366, 71, 1, 5357, 1700, 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 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 351, 257, 367, 14, 32, 14, 45, 286, 367, 290, 257, 1700, 286, 1105, 12, 1731, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1065, 33411, 289, 62, 64, 62, 77, 796, 366, 71, 1, 5357, 1700, 796, ...
what is the number of patients in careunit ccu until 3 years ago.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.careunit = 'ccu' AND DATETIME(transfers.intime) <= DATETIME(CURRENT_TIME(), '-3 year'))
[ 10919, 318, 262, 1271, 286, 3871, 287, 1337, 20850, 269, 27399, 1566, 513, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 287, 1337, 20850, 269, 27399, 1566, 513, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, ...
which team(s) won $2,605,05
SELECT "Team(s)" FROM table_23556 WHERE "Winnings" = '$2,605,05'
[ 4758, 1074, 7, 82, 8, 1839, 720, 17, 11, 32417, 11, 2713, 46506, 366, 15592, 7, 82, 16725, 16034, 3084, 62, 1954, 37864, 33411, 366, 54, 3732, 654, 1, 796, 705, 3, 17, 11, 32417, 11, 2713, 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 ]
[ 4758, 1074, 7, 82, 8, 1839, 720, 17, 11, 32417, 11, 2713, 46506, 366, 15592, 7, 82, 16725, 16034, 3084, 62, 1954, 37864, 33411, 366, 54, 3732, 654, 1, 796, 705, 3, 17, 11, 32417, 11, 2713, 6 ]
What teams has 1-5 as the away?
SELECT "Teams" FROM table_58914 WHERE "Away" = '1-5'
[ 2061, 3466, 468, 352, 12, 20, 355, 262, 1497, 30, 46506, 366, 6767, 4105, 1, 16034, 3084, 62, 44169, 1415, 33411, 366, 32, 1014, 1, 796, 705, 16, 12, 20, 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, 3466, 468, 352, 12, 20, 355, 262, 1497, 30, 46506, 366, 6767, 4105, 1, 16034, 3084, 62, 44169, 1415, 33411, 366, 32, 1014, 1, 796, 705, 16, 12, 20, 6 ]
What type of settlement is rabe?
SELECT "Type" FROM table_73816 WHERE "Settlement" = 'Rabe'
[ 2061, 2099, 286, 9443, 318, 374, 11231, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 22, 2548, 1433, 33411, 366, 50, 27331, 1, 796, 705, 49, 11231, 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 ]
[ 2061, 2099, 286, 9443, 318, 374, 11231, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 22, 2548, 1433, 33411, 366, 50, 27331, 1, 796, 705, 49, 11231, 6 ]
Give me the comparison about enr over the state .
SELECT state, enr FROM College ORDER BY enr
[ 23318, 502, 262, 7208, 546, 551, 81, 625, 262, 1181, 764, 46506, 1181, 11, 551, 81, 16034, 5535, 38678, 11050, 551, 81 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 7208, 546, 551, 81, 625, 262, 1181, 764, 46506, 1181, 11, 551, 81, 16034, 5535, 38678, 11050, 551, 81 ]
count how many medications patient 31260 has been prescribed in 08/last year.
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31260) AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', prescriptions.startdate) = '08'
[ 9127, 703, 867, 17638, 5827, 34465, 1899, 468, 587, 14798, 287, 8487, 14, 12957, 614, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 703, 867, 17638, 5827, 34465, 1899, 468, 587, 14798, 287, 8487, 14, 12957, 614, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, ...
On what date is Isabel cueto the opponent in the final?
SELECT date FROM table_name_78 WHERE opponent_in_the_final = "isabel cueto"
[ 2202, 644, 3128, 318, 41838, 18912, 27206, 262, 6125, 287, 262, 2457, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 6125, 62, 259, 62, 1169, 62, 20311, 796, 366, 271, 9608, 18912, 27206, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 318, 41838, 18912, 27206, 262, 6125, 287, 262, 2457, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 6125, 62, 259, 62, 1169, 62, 20311, 796, 366, 271, 9608, 18912, 27206, 1 ]
written informed content
SELECT * FROM table_train_52 WHERE consent = 1
[ 15266, 7981, 2695, 46506, 1635, 16034, 3084, 62, 27432, 62, 4309, 33411, 8281, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15266, 7981, 2695, 46506, 1635, 16034, 3084, 62, 27432, 62, 4309, 33411, 8281, 796, 352 ]
has patient 009-5001 been having any allergy this month?
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 = '009-5001')) AND DATETIME(allergy.allergytime, 'start of month') = DATETIME(CURRE...
[ 10134, 5827, 3571, 24, 12, 4059, 16, 587, 1719, 597, 36197, 428, 1227, 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, 16034, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3571, 24, 12, 4059, 16, 587, 1719, 597, 36197, 428, 1227, 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, 16034, 58...
What's the acting segment of lin peiqi's events that are eliminated?
SELECT acting_segment FROM table_name_36 WHERE status = "eliminated" AND name = "林佩琪 lin peiqi"
[ 2061, 338, 262, 7205, 10618, 286, 9493, 613, 25011, 72, 338, 2995, 326, 389, 15254, 30, 46506, 7205, 62, 325, 5154, 16034, 3084, 62, 3672, 62, 2623, 33411, 3722, 796, 366, 417, 320, 3898, 1, 5357, 1438, 796, 366, 162, 252, 245, 1952...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7205, 10618, 286, 9493, 613, 25011, 72, 338, 2995, 326, 389, 15254, 30, 46506, 7205, 62, 325, 5154, 16034, 3084, 62, 3672, 62, 2623, 33411, 3722, 796, 366, 417, 320, 3898, 1, 5357, 1438, 796, 366, 162, 252, 245, 1952...
What was the attendance for the game that has a record of 1-1?
SELECT "Attendance" FROM table_55429 WHERE "Record" = '1-1'
[ 2061, 373, 262, 14858, 329, 262, 983, 326, 468, 257, 1700, 286, 352, 12, 16, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 2816, 11785, 33411, 366, 23739, 1, 796, 705, 16, 12, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14858, 329, 262, 983, 326, 468, 257, 1700, 286, 352, 12, 16, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 2816, 11785, 33411, 366, 23739, 1, 796, 705, 16, 12, 16, 6 ]
Who was the opponent at the game that had a loss of Bell (6 9)?
SELECT "Opponent" FROM table_15206 WHERE "Loss" = 'bell (6–9)'
[ 8241, 373, 262, 6125, 379, 262, 983, 326, 550, 257, 2994, 286, 7459, 357, 21, 860, 19427, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 1314, 22136, 33411, 366, 43, 793, 1, 796, 705, 7923, 357, 21, 1906, 24, 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, 1 ]
[ 8241, 373, 262, 6125, 379, 262, 983, 326, 550, 257, 2994, 286, 7459, 357, 21, 860, 19427, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 1314, 22136, 33411, 366, 43, 793, 1, 796, 705, 7923, 357, 21, 1906, 24, 33047 ]
When twente came in third place and ajax was the winner what are the seasons?
SELECT "Season" FROM table_73235 WHERE "Winner" = 'Ajax' AND "Third Place" = 'Twente'
[ 2215, 21849, 68, 1625, 287, 2368, 1295, 290, 257, 73, 897, 373, 262, 8464, 644, 389, 262, 7028, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 4790, 22370, 33411, 366, 48056, 1, 796, 705, 32, 73, 897, 6, 5357, 366, 22747, 8474, 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 ]
[ 2215, 21849, 68, 1625, 287, 2368, 1295, 290, 257, 73, 897, 373, 262, 8464, 644, 389, 262, 7028, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 4790, 22370, 33411, 366, 48056, 1, 796, 705, 32, 73, 897, 6, 5357, 366, 22747, 8474, 1, 796...
What was the final of the New England Patriots game?
SELECT "Result" FROM table_33562 WHERE "Opponent" = 'new england patriots'
[ 2061, 373, 262, 2457, 286, 262, 968, 4492, 13104, 983, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2091, 43918, 33411, 366, 27524, 3471, 1, 796, 705, 3605, 1786, 1044, 12650, 1747, 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, 2457, 286, 262, 968, 4492, 13104, 983, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2091, 43918, 33411, 366, 27524, 3471, 1, 796, 705, 3605, 1786, 1044, 12650, 1747, 6 ]
What is the name of the activity with the most students?
SELECT T1.activity_name FROM activity AS T1 JOIN participates_in AS T2 ON T1.actid = T2.actid GROUP BY T1.actid ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 1438, 286, 262, 3842, 351, 262, 749, 2444, 30, 46506, 309, 16, 13, 21797, 62, 3672, 16034, 3842, 7054, 309, 16, 32357, 1268, 49567, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 529, 312, 796, 309, 17, 13, 529, 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 ]
[ 2061, 318, 262, 1438, 286, 262, 3842, 351, 262, 749, 2444, 30, 46506, 309, 16, 13, 21797, 62, 3672, 16034, 3842, 7054, 309, 16, 32357, 1268, 49567, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 529, 312, 796, 309, 17, 13, 529, 312, ...
When the elapsed time is 2:14:12:49, what are all yachts associated with this value?
SELECT "Yacht" FROM table_19643 WHERE "Elapsed time d:hh:mm:ss" = '2:14:12:49'
[ 2215, 262, 42118, 640, 318, 362, 25, 1415, 25, 1065, 25, 2920, 11, 644, 389, 477, 331, 620, 912, 3917, 351, 428, 1988, 30, 46506, 366, 56, 19725, 1, 16034, 3084, 62, 1129, 41813, 33411, 366, 9527, 28361, 640, 288, 25, 12337, 25, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 42118, 640, 318, 362, 25, 1415, 25, 1065, 25, 2920, 11, 644, 389, 477, 331, 620, 912, 3917, 351, 428, 1988, 30, 46506, 366, 56, 19725, 1, 16034, 3084, 62, 1129, 41813, 33411, 366, 9527, 28361, 640, 288, 25, 12337, 25, 3...
among patients tested for folate, how many of them were treated with base drug?
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.drug_type = "BASE" AND lab.label = "Folate"
[ 35131, 3871, 6789, 329, 5955, 378, 11, 703, 867, 286, 606, 547, 5716, 351, 2779, 2563, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35131, 3871, 6789, 329, 5955, 378, 11, 703, 867, 286, 606, 547, 5716, 351, 2779, 2563, 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...
Count the Grid which has a Manufacturer of aprilia, and a Rider of bradley smith?
SELECT AVG(grid) FROM table_name_33 WHERE manufacturer = "aprilia" AND rider = "bradley smith"
[ 12332, 262, 24846, 543, 468, 257, 40218, 286, 46593, 17517, 11, 290, 257, 16414, 286, 865, 324, 1636, 895, 342, 30, 46506, 35224, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 11554, 796, 366, 499, 81, 17517, 1, 5357, 17876, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12332, 262, 24846, 543, 468, 257, 40218, 286, 46593, 17517, 11, 290, 257, 16414, 286, 865, 324, 1636, 895, 342, 30, 46506, 35224, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 11554, 796, 366, 499, 81, 17517, 1, 5357, 17876, ...
what is minimum age of patients whose insurance is medicaid and primary disease is upper gi bleed?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.diagnosis = "UPPER GI BLEED"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 5096, 318, 6924, 1698, 290, 4165, 4369, 318, 6727, 308, 72, 30182, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 39112, 1698, 1, 5357, 16728...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 5096, 318, 6924, 1698, 290, 4165, 4369, 318, 6727, 308, 72, 30182, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 39112, 1698, 1, 5357, 16728...
Show how many documents are stored and bin by year in a line chart, and could you rank X from low to high order please?
SELECT Date_Stored, COUNT(Date_Stored) FROM All_Documents AS T1 JOIN Ref_Calendar AS T2 ON T1.Date_Stored = T2.Calendar_Date ORDER BY Date_Stored
[ 15307, 703, 867, 4963, 389, 8574, 290, 9874, 416, 614, 287, 257, 1627, 8262, 11, 290, 714, 345, 4279, 1395, 422, 1877, 284, 1029, 1502, 3387, 30, 46506, 7536, 62, 1273, 1850, 11, 327, 28270, 7, 10430, 62, 1273, 1850, 8, 16034, 1439,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 703, 867, 4963, 389, 8574, 290, 9874, 416, 614, 287, 257, 1627, 8262, 11, 290, 714, 345, 4279, 1395, 422, 1877, 284, 1029, 1502, 3387, 30, 46506, 7536, 62, 1273, 1850, 11, 327, 28270, 7, 10430, 62, 1273, 1850, 8, 16034, 1439,...
What nationality is the swimmer that is in the lane that is less than 2?
SELECT nationality FROM table_name_3 WHERE lane < 2
[ 2061, 29835, 318, 262, 9422, 647, 326, 318, 287, 262, 11193, 326, 318, 1342, 621, 362, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 18, 33411, 11193, 1279, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 29835, 318, 262, 9422, 647, 326, 318, 287, 262, 11193, 326, 318, 1342, 621, 362, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 18, 33411, 11193, 1279, 362 ]
what was the minimum yearly number of patients who had bacteremia?
SELECT MIN(t1.c1) FROM (SELECT COUNT(DISTINCT diagnosis.patientunitstayid) AS c1 FROM diagnosis WHERE diagnosis.diagnosisname = 'bacteremia' GROUP BY STRFTIME('%y', diagnosis.diagnosistime)) AS t1
[ 10919, 373, 262, 5288, 24169, 1271, 286, 3871, 508, 550, 275, 529, 567, 20730, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 13669, 13, 26029, 20850, 31712, 312, 8, 7054, 269, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 24169, 1271, 286, 3871, 508, 550, 275, 529, 567, 20730, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 13669, 13, 26029, 20850, 31712, 312, 8, 7054, 269, ...
Which date had Japanese sales of 0.59 million?
SELECT "Date" FROM table_13490 WHERE "Japan" = '0.59 million'
[ 13828, 3128, 550, 4960, 4200, 286, 657, 13, 3270, 1510, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1485, 31503, 33411, 366, 16504, 1, 796, 705, 15, 13, 3270, 1510, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3128, 550, 4960, 4200, 286, 657, 13, 3270, 1510, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1485, 31503, 33411, 366, 16504, 1, 796, 705, 15, 13, 3270, 1510, 6 ]
what is the position when the pick is higher than 32 and the team is atlanta braves?
SELECT position FROM table_name_8 WHERE pick > 32 AND team = "atlanta braves"
[ 10919, 318, 262, 2292, 618, 262, 2298, 318, 2440, 621, 3933, 290, 262, 1074, 318, 379, 75, 4910, 8290, 1158, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 23, 33411, 2298, 1875, 3933, 5357, 1074, 796, 366, 25864, 4910, 8290, 1158, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2292, 618, 262, 2298, 318, 2440, 621, 3933, 290, 262, 1074, 318, 379, 75, 4910, 8290, 1158, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 23, 33411, 2298, 1875, 3933, 5357, 1074, 796, 366, 25864, 4910, 8290, 1158, 1 ]
What is the livery of the locomotive with a serial number 83-1010?
SELECT "Livery" FROM table_55812 WHERE "Serial No" = '83-1010'
[ 2061, 318, 262, 300, 6315, 286, 262, 33334, 19138, 351, 257, 11389, 1271, 9698, 12, 8784, 15, 30, 46506, 366, 43, 6315, 1, 16034, 3084, 62, 40486, 1065, 33411, 366, 32634, 1400, 1, 796, 705, 5999, 12, 8784, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 300, 6315, 286, 262, 33334, 19138, 351, 257, 11389, 1271, 9698, 12, 8784, 15, 30, 46506, 366, 43, 6315, 1, 16034, 3084, 62, 40486, 1065, 33411, 366, 32634, 1400, 1, 796, 705, 5999, 12, 8784, 15, 6 ]
what is the frequency (hz) when the g ( s/km) is 53.205?
SELECT frequency__hz_ FROM table_261642_3 WHERE g__μs_km_ = "53.205"
[ 10919, 318, 262, 8373, 357, 32179, 8, 618, 262, 308, 357, 264, 14, 13276, 8, 318, 7192, 13, 21261, 30, 46506, 8373, 834, 32179, 62, 16034, 3084, 62, 2075, 1433, 3682, 62, 18, 33411, 308, 834, 34703, 82, 62, 13276, 62, 796, 366, 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 ]
[ 10919, 318, 262, 8373, 357, 32179, 8, 618, 262, 308, 357, 264, 14, 13276, 8, 318, 7192, 13, 21261, 30, 46506, 8373, 834, 32179, 62, 16034, 3084, 62, 2075, 1433, 3682, 62, 18, 33411, 308, 834, 34703, 82, 62, 13276, 62, 796, 366, 43...
what city has a game of friendly and an opponent of tunisia?
SELECT "City" FROM table_35822 WHERE "Type of game" = 'friendly' AND "Opponent" = 'tunisia'
[ 10919, 1748, 468, 257, 983, 286, 8030, 290, 281, 6125, 286, 6278, 271, 544, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 31128, 1828, 33411, 366, 6030, 286, 983, 1, 796, 705, 13120, 6, 5357, 366, 27524, 3471, 1, 796, 705, 28286, 271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1748, 468, 257, 983, 286, 8030, 290, 281, 6125, 286, 6278, 271, 544, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 31128, 1828, 33411, 366, 6030, 286, 983, 1, 796, 705, 13120, 6, 5357, 366, 27524, 3471, 1, 796, 705, 28286, 271, ...
What are the countries of perpetrators? Show each country and the corresponding number of perpetrators there Plot them as bar chart, and could you sort total number in ascending order please?
SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY COUNT(*)
[ 2061, 389, 262, 2678, 286, 25185, 30, 5438, 1123, 1499, 290, 262, 11188, 1271, 286, 25185, 612, 28114, 606, 355, 2318, 8262, 11, 290, 714, 345, 3297, 2472, 1271, 287, 41988, 1502, 3387, 30, 46506, 12946, 11, 327, 28270, 7, 28104, 1603...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2678, 286, 25185, 30, 5438, 1123, 1499, 290, 262, 11188, 1271, 286, 25185, 612, 28114, 606, 355, 2318, 8262, 11, 290, 714, 345, 3297, 2472, 1271, 287, 41988, 1502, 3387, 30, 46506, 12946, 11, 327, 28270, 7, 28104, 1603...
how many patients whose drug code is dapt500i and lab test fluid is ascites?
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 = "DAPT500I" AND lab.fluid = "Ascites"
[ 4919, 867, 3871, 3025, 2563, 2438, 318, 288, 2373, 4059, 72, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 2563, 2438, 318, 288, 2373, 4059, 72, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, ...
How many provinces are named q ngh i sh ng?
SELECT COUNT("ISO \u2116") FROM table_27664 WHERE "Chinese Name" = '青海省 Qīnghǎi Shěng'
[ 2437, 867, 17812, 389, 3706, 10662, 299, 456, 1312, 427, 23370, 30, 46506, 327, 28270, 7203, 40734, 3467, 84, 17, 18298, 4943, 16034, 3084, 62, 27988, 2414, 33411, 366, 23604, 6530, 1, 796, 705, 165, 251, 240, 38184, 115, 40367, 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, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 17812, 389, 3706, 10662, 299, 456, 1312, 427, 23370, 30, 46506, 327, 28270, 7203, 40734, 3467, 84, 17, 18298, 4943, 16034, 3084, 62, 27988, 2414, 33411, 366, 23604, 6530, 1, 796, 705, 165, 251, 240, 38184, 115, 40367, 223, ...
Who is the last/current driver(s) 3 november 2013 when first driver(s) is marlon st ckinger , kotaro sakurai ( 2011 )?
SELECT last_current_driver_s__3_november_2013 FROM table_27279050_3 WHERE first_driver_s_ = "Marlon Stöckinger , Kotaro Sakurai ( 2011 )"
[ 8241, 318, 262, 938, 14, 14421, 4639, 7, 82, 8, 513, 645, 303, 1916, 2211, 618, 717, 4639, 7, 82, 8, 318, 1667, 14995, 336, 269, 3364, 263, 837, 479, 313, 12022, 264, 461, 16998, 357, 2813, 1267, 30, 46506, 938, 62, 14421, 62, 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...
[ 8241, 318, 262, 938, 14, 14421, 4639, 7, 82, 8, 513, 645, 303, 1916, 2211, 618, 717, 4639, 7, 82, 8, 318, 1667, 14995, 336, 269, 3364, 263, 837, 479, 313, 12022, 264, 461, 16998, 357, 2813, 1267, 30, 46506, 938, 62, 14421, 62, 2...
Find the rank of the faculty that the fewest faculties belong to.
SELECT rank FROM faculty GROUP BY rank ORDER BY COUNT(*) LIMIT 1
[ 16742, 262, 4279, 286, 262, 12829, 326, 262, 1178, 395, 47126, 5594, 284, 13, 46506, 4279, 16034, 12829, 44441, 11050, 4279, 38678, 11050, 327, 28270, 7, 28104, 27564, 2043, 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 ]
[ 16742, 262, 4279, 286, 262, 12829, 326, 262, 1178, 395, 47126, 5594, 284, 13, 46506, 4279, 16034, 12829, 44441, 11050, 4279, 38678, 11050, 327, 28270, 7, 28104, 27564, 2043, 352 ]
What place did bobby wadkins come in?
SELECT place FROM table_name_13 WHERE player = "bobby wadkins"
[ 2061, 1295, 750, 275, 11369, 266, 324, 5331, 1282, 287, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1485, 33411, 2137, 796, 366, 65, 11369, 266, 324, 5331, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1295, 750, 275, 11369, 266, 324, 5331, 1282, 287, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1485, 33411, 2137, 796, 366, 65, 11369, 266, 324, 5331, 1 ]
What winning team has a losing pitcher of Juan Dominguez?
SELECT winning_team FROM table_name_31 WHERE losing_pitcher = "juan dominguez"
[ 2061, 5442, 1074, 468, 257, 6078, 18086, 286, 16852, 360, 3383, 14870, 30, 46506, 5442, 62, 15097, 16034, 3084, 62, 3672, 62, 3132, 33411, 6078, 62, 15544, 2044, 796, 366, 73, 7258, 2401, 278, 14870, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5442, 1074, 468, 257, 6078, 18086, 286, 16852, 360, 3383, 14870, 30, 46506, 5442, 62, 15097, 16034, 3084, 62, 3672, 62, 3132, 33411, 6078, 62, 15544, 2044, 796, 366, 73, 7258, 2401, 278, 14870, 1 ]
When Alberto Contador Kanstantsin Sivtsov was the general classification and Alessandro Petacchi was the points classification at the same time while Mark Cavendish is the winner, who was the mountain classification?
SELECT "Mountains classification" FROM table_30585 WHERE "General classification" = 'Alberto Contador Kanstantsin Sivtsov' AND "Points classification" = 'Alessandro Petacchi' AND "Winner" = 'Mark Cavendish'
[ 2215, 40649, 2345, 7079, 14248, 301, 1187, 259, 311, 452, 83, 47272, 373, 262, 2276, 17923, 290, 47319, 28092, 4767, 330, 11072, 373, 262, 2173, 17923, 379, 262, 976, 640, 981, 2940, 19931, 48442, 318, 262, 8464, 11, 508, 373, 262, 85...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2215, 40649, 2345, 7079, 14248, 301, 1187, 259, 311, 452, 83, 47272, 373, 262, 2276, 17923, 290, 47319, 28092, 4767, 330, 11072, 373, 262, 2173, 17923, 379, 262, 976, 640, 981, 2940, 19931, 48442, 318, 262, 8464, 11, 508, 373, 262, 85...
Which nationality's distance was 200m and had a year more recent than 1994 when the record was 33.778s?
SELECT nationality FROM table_name_10 WHERE distance = "200m" AND year > 1994 AND record = "33.778s"
[ 13828, 29835, 338, 5253, 373, 939, 76, 290, 550, 257, 614, 517, 2274, 621, 9162, 618, 262, 1700, 373, 4747, 13, 39761, 82, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 940, 33411, 5253, 796, 366, 2167, 76, 1, 5357, 614, 1875, 9162, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29835, 338, 5253, 373, 939, 76, 290, 550, 257, 614, 517, 2274, 621, 9162, 618, 262, 1700, 373, 4747, 13, 39761, 82, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 940, 33411, 5253, 796, 366, 2167, 76, 1, 5357, 614, 1875, 9162, ...
How many times is a total listed when the player is Jay Washington?
SELECT COUNT("Totals") FROM table_4072 WHERE "Player" = 'Jay Washington'
[ 2437, 867, 1661, 318, 257, 2472, 5610, 618, 262, 2137, 318, 9180, 2669, 30, 46506, 327, 28270, 7203, 51, 313, 874, 4943, 16034, 3084, 62, 1821, 4761, 33411, 366, 14140, 1, 796, 705, 30568, 2669, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1661, 318, 257, 2472, 5610, 618, 262, 2137, 318, 9180, 2669, 30, 46506, 327, 28270, 7203, 51, 313, 874, 4943, 16034, 3084, 62, 1821, 4761, 33411, 366, 14140, 1, 796, 705, 30568, 2669, 6 ]
For Spring and Summer electives , are there any offerings that are considered upper level ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.department = '...
[ 1890, 8225, 290, 10216, 1742, 1083, 837, 389, 612, 597, 18369, 326, 389, 3177, 6727, 1241, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8225, 290, 10216, 1742, 1083, 837, 389, 612, 597, 18369, 326, 389, 3177, 6727, 1241, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, ...
Find all actors who acted in the same movie as ' Tom Hanks
SELECT ACTOR_0.name FROM actor AS ACTOR_0, actor AS ACTOR_1, cast AS CAST_0, cast AS CAST_1, movie WHERE ACTOR_1.name = 'Tom Hanks' AND CAST_0.aid = ACTOR_0.aid AND CAST_1.aid = ACTOR_1.aid AND movie.mid = CAST_0.msid AND movie.mid = CAST_1.msid
[ 16742, 477, 10544, 508, 13134, 287, 262, 976, 3807, 355, 705, 4186, 367, 2283, 46506, 11741, 1581, 62, 15, 13, 3672, 16034, 8674, 7054, 11741, 1581, 62, 15, 11, 8674, 7054, 11741, 1581, 62, 16, 11, 3350, 7054, 327, 11262, 62, 15, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 477, 10544, 508, 13134, 287, 262, 976, 3807, 355, 705, 4186, 367, 2283, 46506, 11741, 1581, 62, 15, 13, 3672, 16034, 8674, 7054, 11741, 1581, 62, 15, 11, 8674, 7054, 11741, 1581, 62, 16, 11, 3350, 7054, 327, 11262, 62, 15, 11...
How many games were played at Cleveland Stadium?
SELECT COUNT("Date") FROM table_21001 WHERE "Game site" = 'Cleveland Stadium'
[ 2437, 867, 1830, 547, 2826, 379, 10306, 10499, 30, 46506, 327, 28270, 7203, 10430, 4943, 16034, 3084, 62, 2481, 8298, 33411, 366, 8777, 2524, 1, 796, 705, 34, 5715, 392, 10499, 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 ]
[ 2437, 867, 1830, 547, 2826, 379, 10306, 10499, 30, 46506, 327, 28270, 7203, 10430, 4943, 16034, 3084, 62, 2481, 8298, 33411, 366, 8777, 2524, 1, 796, 705, 34, 5715, 392, 10499, 6 ]
What location did Anke Huber win the championship?
SELECT "Location" FROM table_61278 WHERE "Champion" = 'anke huber'
[ 2061, 4067, 750, 1052, 365, 11256, 527, 1592, 262, 12184, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 43610, 3695, 33411, 366, 1925, 6734, 1, 796, 705, 49200, 289, 18478, 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, 4067, 750, 1052, 365, 11256, 527, 1592, 262, 12184, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 43610, 3695, 33411, 366, 1925, 6734, 1, 796, 705, 49200, 289, 18478, 6 ]
How many states were there when there was an enrollment of 2789?
SELECT COUNT("State") FROM table_30140 WHERE "Enrollment" = '2789'
[ 2437, 867, 2585, 547, 612, 618, 612, 373, 281, 20753, 286, 2681, 4531, 30, 46506, 327, 28270, 7203, 9012, 4943, 16034, 3084, 62, 18938, 1821, 33411, 366, 4834, 48108, 1, 796, 705, 1983, 4531, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2585, 547, 612, 618, 612, 373, 281, 20753, 286, 2681, 4531, 30, 46506, 327, 28270, 7203, 9012, 4943, 16034, 3084, 62, 18938, 1821, 33411, 366, 4834, 48108, 1, 796, 705, 1983, 4531, 6 ]
what is the primary disease and diagnosis short title of subject id 17772?
SELECT demographic.diagnosis, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "17772"
[ 10919, 318, 262, 4165, 4369, 290, 13669, 1790, 3670, 286, 2426, 4686, 1596, 43571, 30, 46506, 16728, 13, 47356, 5958, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4165, 4369, 290, 13669, 1790, 3670, 286, 2426, 4686, 1596, 43571, 30, 46506, 16728, 13, 47356, 5958, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 79...
who was the top ranked player in a single game ?
SELECT "player" FROM table_204_952 WHERE "rank" = 1
[ 8727, 373, 262, 1353, 10307, 2137, 287, 257, 2060, 983, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 18638, 62, 49234, 33411, 366, 43027, 1, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 373, 262, 1353, 10307, 2137, 287, 257, 2060, 983, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 18638, 62, 49234, 33411, 366, 43027, 1, 796, 352 ]
Which Date has a Crowd that is larger than 18,000 with a Home team score of 14.13 (97)?
SELECT "Date" FROM table_52620 WHERE "Crowd" > '18,000' AND "Home team score" = '14.13 (97)'
[ 13828, 7536, 468, 257, 29452, 326, 318, 4025, 621, 1248, 11, 830, 351, 257, 5995, 1074, 4776, 286, 1478, 13, 1485, 357, 5607, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 48531, 1238, 33411, 366, 34, 3986, 1, 1875, 705, 1507, 11, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7536, 468, 257, 29452, 326, 318, 4025, 621, 1248, 11, 830, 351, 257, 5995, 1074, 4776, 286, 1478, 13, 1485, 357, 5607, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 48531, 1238, 33411, 366, 34, 3986, 1, 1875, 705, 1507, 11, 8...
Find the name and budget of departments whose budgets are more than the average budget. Visualize by bar chart.
SELECT dept_name, budget FROM department WHERE budget > (SELECT AVG(budget) FROM department)
[ 16742, 262, 1438, 290, 4466, 286, 13346, 3025, 21011, 389, 517, 621, 262, 2811, 4466, 13, 15612, 1096, 416, 2318, 8262, 13, 46506, 390, 457, 62, 3672, 11, 4466, 16034, 5011, 33411, 4466, 1875, 357, 46506, 35224, 7, 37315, 8, 16034, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4466, 286, 13346, 3025, 21011, 389, 517, 621, 262, 2811, 4466, 13, 15612, 1096, 416, 2318, 8262, 13, 46506, 390, 457, 62, 3672, 11, 4466, 16034, 5011, 33411, 4466, 1875, 357, 46506, 35224, 7, 37315, 8, 16034, 50...
Give me the comparison about the average of School_ID over the ACC_Road , and group by attribute ACC_Road by a bar chart, I want to sort in desc by the y axis.
SELECT ACC_Road, AVG(School_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY AVG(School_ID) DESC
[ 23318, 502, 262, 7208, 546, 262, 2811, 286, 3961, 62, 2389, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 416, 257, 2318, 8262, 11, 314, 765, 284, 3297, 287, 1715, 416, 262, 331, 16488, 13, 46506, 15859, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23318, 502, 262, 7208, 546, 262, 2811, 286, 3961, 62, 2389, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 416, 257, 2318, 8262, 11, 314, 765, 284, 3297, 287, 1715, 416, 262, 331, 16488, 13, 46506, 15859, ...
What artist had a single called Alien Rock b/w Combat, The Remix on 12 inch Vinyl format?
SELECT artist FROM table_name_82 WHERE format = "12 inch vinyl" AND single = "alien rock b/w combat, the remix"
[ 2061, 6802, 550, 257, 2060, 1444, 17610, 4631, 275, 14, 86, 14487, 11, 383, 23896, 319, 1105, 11111, 45949, 5794, 30, 46506, 6802, 16034, 3084, 62, 3672, 62, 6469, 33411, 5794, 796, 366, 1065, 11111, 23275, 1, 5357, 2060, 796, 366, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6802, 550, 257, 2060, 1444, 17610, 4631, 275, 14, 86, 14487, 11, 383, 23896, 319, 1105, 11111, 45949, 5794, 30, 46506, 6802, 16034, 3084, 62, 3672, 62, 6469, 33411, 5794, 796, 366, 1065, 11111, 23275, 1, 5357, 2060, 796, 366, 42...
What is the final score of the game that was at raymond james stadium?
SELECT final_score FROM table_name_42 WHERE game_site = "raymond james stadium"
[ 2061, 318, 262, 2457, 4776, 286, 262, 983, 326, 373, 379, 26842, 6327, 474, 1047, 10308, 30, 46506, 2457, 62, 26675, 16034, 3084, 62, 3672, 62, 3682, 33411, 983, 62, 15654, 796, 366, 2433, 6327, 474, 1047, 10308, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2457, 4776, 286, 262, 983, 326, 373, 379, 26842, 6327, 474, 1047, 10308, 30, 46506, 2457, 62, 26675, 16034, 3084, 62, 3672, 62, 3682, 33411, 983, 62, 15654, 796, 366, 2433, 6327, 474, 1047, 10308, 1 ]
When was there a development rate of 4.92?
SELECT "From" FROM table_54909 WHERE "Development Rate" = '£4.92'
[ 2215, 373, 612, 257, 2478, 2494, 286, 604, 13, 5892, 30, 46506, 366, 4863, 1, 16034, 3084, 62, 44966, 2931, 33411, 366, 41206, 14806, 1, 796, 705, 14988, 19, 13, 5892, 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 ]
[ 2215, 373, 612, 257, 2478, 2494, 286, 604, 13, 5892, 30, 46506, 366, 4863, 1, 16034, 3084, 62, 44966, 2931, 33411, 366, 41206, 14806, 1, 796, 705, 14988, 19, 13, 5892, 6 ]
When did the episode titled 'Bad dreams' air for the first time?
SELECT "Original air date" FROM table_30370 WHERE "Title" = 'Bad Dreams'
[ 2215, 750, 262, 4471, 11946, 705, 22069, 10625, 6, 1633, 329, 262, 717, 640, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 1270, 20167, 33411, 366, 19160, 1, 796, 705, 22069, 21527, 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 ]
[ 2215, 750, 262, 4471, 11946, 705, 22069, 10625, 6, 1633, 329, 262, 717, 640, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 1270, 20167, 33411, 366, 19160, 1, 796, 705, 22069, 21527, 6 ]
What is the largest year with an Entrant of ron harris / team lotus?
SELECT MAX(year) FROM table_name_79 WHERE entrant = "ron harris / team lotus"
[ 2061, 318, 262, 4387, 614, 351, 281, 7232, 5250, 286, 374, 261, 3971, 2442, 1220, 1074, 1256, 385, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 3720, 33411, 920, 5250, 796, 366, 1313, 3971, 2442, 1220, 1074, 1256, 385, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 614, 351, 281, 7232, 5250, 286, 374, 261, 3971, 2442, 1220, 1074, 1256, 385, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 3720, 33411, 920, 5250, 796, 366, 1313, 3971, 2442, 1220, 1074, 1256, 385, 1...
How many different starts had an average finish of 17.9?
SELECT COUNT(starts) FROM table_2622469_1 WHERE avg_finish = "17.9"
[ 2437, 867, 1180, 4940, 550, 281, 2811, 5461, 286, 1596, 13, 24, 30, 46506, 327, 28270, 7, 301, 5889, 8, 16034, 3084, 62, 2075, 24137, 3388, 62, 16, 33411, 42781, 62, 15643, 680, 796, 366, 1558, 13, 24, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1180, 4940, 550, 281, 2811, 5461, 286, 1596, 13, 24, 30, 46506, 327, 28270, 7, 301, 5889, 8, 16034, 3084, 62, 2075, 24137, 3388, 62, 16, 33411, 42781, 62, 15643, 680, 796, 366, 1558, 13, 24, 1 ]
Give me a pie to show how many home city from different home city.
SELECT Home_city, COUNT(Home_city) FROM driver GROUP BY Home_city
[ 23318, 502, 257, 2508, 284, 905, 703, 867, 1363, 1748, 422, 1180, 1363, 1748, 13, 46506, 5995, 62, 19205, 11, 327, 28270, 7, 16060, 62, 19205, 8, 16034, 4639, 44441, 11050, 5995, 62, 19205 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 2508, 284, 905, 703, 867, 1363, 1748, 422, 1180, 1363, 1748, 13, 46506, 5995, 62, 19205, 11, 327, 28270, 7, 16060, 62, 19205, 8, 16034, 4639, 44441, 11050, 5995, 62, 19205 ]
How many teams have an eagles mascot?
SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Eagles"
[ 2437, 867, 3466, 423, 281, 304, 37803, 37358, 30, 46506, 327, 28270, 7, 2001, 15547, 8, 16034, 3084, 62, 1485, 29228, 19004, 62, 16, 33411, 37358, 796, 366, 36, 37803, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 3466, 423, 281, 304, 37803, 37358, 30, 46506, 327, 28270, 7, 2001, 15547, 8, 16034, 3084, 62, 1485, 29228, 19004, 62, 16, 33411, 37358, 796, 366, 36, 37803, 1 ]
What's the lowest Total thats got an FA Cup larger than 10, Name of Arthur Chandler, and a League Cup thats larger than 0?
SELECT MIN("Total") FROM table_80207 WHERE "FA Cup" > '10' AND "Name" = 'arthur chandler' AND "League Cup" > '0'
[ 2061, 338, 262, 9016, 7472, 29294, 1392, 281, 9677, 5454, 4025, 621, 838, 11, 6530, 286, 13514, 28346, 11, 290, 257, 4041, 5454, 29294, 4025, 621, 657, 30, 46506, 20625, 7203, 14957, 4943, 16034, 3084, 62, 1795, 22745, 33411, 366, 7708,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 7472, 29294, 1392, 281, 9677, 5454, 4025, 621, 838, 11, 6530, 286, 13514, 28346, 11, 290, 257, 4041, 5454, 29294, 4025, 621, 657, 30, 46506, 20625, 7203, 14957, 4943, 16034, 3084, 62, 1795, 22745, 33411, 366, 7708,...
What is the Date with a Opponent with wimbledon, and a Result of won 2-0?
SELECT date FROM table_name_25 WHERE opponent = "wimbledon" AND result = "won 2-0"
[ 2061, 318, 262, 7536, 351, 257, 9385, 3471, 351, 266, 320, 49258, 11, 290, 257, 25414, 286, 1839, 362, 12, 15, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1495, 33411, 6125, 796, 366, 86, 320, 49258, 1, 5357, 1255, 796, 366, 26502, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7536, 351, 257, 9385, 3471, 351, 266, 320, 49258, 11, 290, 257, 25414, 286, 1839, 362, 12, 15, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1495, 33411, 6125, 796, 366, 86, 320, 49258, 1, 5357, 1255, 796, 366, 26502, ...
WHAT IS THE GRID WITH AN ACCIDENT AND HONDA MANUFACTURER?
SELECT MAX(grid) FROM table_name_72 WHERE time_retired = "accident" AND manufacturer = "honda"
[ 32971, 3180, 3336, 10863, 2389, 13315, 3537, 15859, 25256, 5357, 367, 1340, 5631, 17254, 36820, 10659, 4261, 1137, 30, 46506, 25882, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 640, 62, 1186, 1202, 796, 366, 4134, 738, 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 ]
[ 32971, 3180, 3336, 10863, 2389, 13315, 3537, 15859, 25256, 5357, 367, 1340, 5631, 17254, 36820, 10659, 4261, 1137, 30, 46506, 25882, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 640, 62, 1186, 1202, 796, 366, 4134, 738, 1, 5357,...
How many clubs are remaining when the winners from the previous round totals 4?
SELECT clubs_remaining FROM table_18328569_1 WHERE winners_from_previous_round = "4"
[ 2437, 867, 9784, 389, 5637, 618, 262, 14591, 422, 262, 2180, 2835, 26310, 604, 30, 46506, 9784, 62, 2787, 1397, 16034, 3084, 62, 24839, 26279, 3388, 62, 16, 33411, 14591, 62, 6738, 62, 3866, 1442, 62, 744, 796, 366, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9784, 389, 5637, 618, 262, 14591, 422, 262, 2180, 2835, 26310, 604, 30, 46506, 9784, 62, 2787, 1397, 16034, 3084, 62, 24839, 26279, 3388, 62, 16, 33411, 14591, 62, 6738, 62, 3866, 1442, 62, 744, 796, 366, 19, 1 ]
What date was part number rk80533pz933256 released?
SELECT release_date FROM table_name_89 WHERE part_number_s_ = "rk80533pz933256"
[ 2061, 3128, 373, 636, 1271, 374, 74, 28256, 2091, 79, 89, 24, 2091, 11645, 2716, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 4531, 33411, 636, 62, 17618, 62, 82, 62, 796, 366, 81, 74, 28256, 2091, 79, 89, 24, 2091, 11645...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 636, 1271, 374, 74, 28256, 2091, 79, 89, 24, 2091, 11645, 2716, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 4531, 33411, 636, 62, 17618, 62, 82, 62, 796, 366, 81, 74, 28256, 2091, 79, 89, 24, 2091, 11645...
When the longitude is 147.1w what is the namesake of the feature?
SELECT namesake FROM table_16768245_2 WHERE longitude = "147.1W"
[ 2215, 262, 890, 3984, 318, 22909, 13, 16, 86, 644, 318, 262, 49829, 286, 262, 3895, 30, 46506, 49829, 16034, 3084, 62, 21940, 3104, 22995, 62, 17, 33411, 890, 3984, 796, 366, 20198, 13, 16, 54, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 890, 3984, 318, 22909, 13, 16, 86, 644, 318, 262, 49829, 286, 262, 3895, 30, 46506, 49829, 16034, 3084, 62, 21940, 3104, 22995, 62, 17, 33411, 890, 3984, 796, 366, 20198, 13, 16, 54, 1 ]
What is the To par has the presence of Vijay Singh?
SELECT "To par" FROM table_70730 WHERE "Player" = 'vijay singh'
[ 2061, 318, 262, 1675, 1582, 468, 262, 4931, 286, 49219, 323, 14403, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 24038, 1270, 33411, 366, 14140, 1, 796, 705, 85, 2926, 323, 1702, 71, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1675, 1582, 468, 262, 4931, 286, 49219, 323, 14403, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 24038, 1270, 33411, 366, 14140, 1, 796, 705, 85, 2926, 323, 1702, 71, 6 ]
What round was the fight won or loss by a decision?
SELECT MIN("Round") FROM table_9594 WHERE "Method" = 'decision'
[ 2061, 2835, 373, 262, 1907, 1839, 393, 2994, 416, 257, 2551, 30, 46506, 20625, 7203, 22685, 4943, 16034, 3084, 62, 24, 46438, 33411, 366, 17410, 1, 796, 705, 12501, 1166, 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, 2835, 373, 262, 1907, 1839, 393, 2994, 416, 257, 2551, 30, 46506, 20625, 7203, 22685, 4943, 16034, 3084, 62, 24, 46438, 33411, 366, 17410, 1, 796, 705, 12501, 1166, 6 ]
What is the Location when the Opponent shows vs. #23 south carolina?
SELECT location FROM table_name_83 WHERE opponent = "vs. #23 south carolina"
[ 2061, 318, 262, 13397, 618, 262, 9385, 3471, 2523, 3691, 13, 1303, 1954, 5366, 1097, 47196, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 5999, 33411, 6125, 796, 366, 14259, 13, 1303, 1954, 5366, 1097, 47196, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13397, 618, 262, 9385, 3471, 2523, 3691, 13, 1303, 1954, 5366, 1097, 47196, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 5999, 33411, 6125, 796, 366, 14259, 13, 1303, 1954, 5366, 1097, 47196, 1 ]
Draw a bar chart of asset make versus the number of asset make, I want to order y axis from low to high order.
SELECT asset_make, COUNT(asset_make) FROM Assets GROUP BY asset_make ORDER BY COUNT(asset_make)
[ 25302, 257, 2318, 8262, 286, 11171, 787, 9051, 262, 1271, 286, 11171, 787, 11, 314, 765, 284, 1502, 331, 16488, 422, 1877, 284, 1029, 1502, 13, 46506, 11171, 62, 15883, 11, 327, 28270, 7, 562, 316, 62, 15883, 8, 16034, 41059, 44441, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 286, 11171, 787, 9051, 262, 1271, 286, 11171, 787, 11, 314, 765, 284, 1502, 331, 16488, 422, 1877, 284, 1029, 1502, 13, 46506, 11171, 62, 15883, 11, 327, 28270, 7, 562, 316, 62, 15883, 8, 16034, 41059, 44441, ...