instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Tell me the record for round more than 1
SELECT "Record" FROM table_53236 WHERE "Round" > '1'
[ 24446, 502, 262, 1700, 329, 2835, 517, 621, 352, 46506, 366, 23739, 1, 16034, 3084, 62, 4310, 24940, 33411, 366, 22685, 1, 1875, 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 ]
[ 24446, 502, 262, 1700, 329, 2835, 517, 621, 352, 46506, 366, 23739, 1, 16034, 3084, 62, 4310, 24940, 33411, 366, 22685, 1, 1875, 705, 16, 6 ]
How much is the purse ( $ ) when the margin of victory is 1 stroke?
SELECT "Purse ( $ )" FROM table_664 WHERE "Margin of victory" = '1 stroke'
[ 2437, 881, 318, 262, 27517, 357, 720, 1267, 618, 262, 10330, 286, 5373, 318, 352, 14000, 30, 46506, 366, 47, 12321, 357, 720, 1267, 1, 16034, 3084, 62, 21, 2414, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 16, 14000, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 318, 262, 27517, 357, 720, 1267, 618, 262, 10330, 286, 5373, 318, 352, 14000, 30, 46506, 366, 47, 12321, 357, 720, 1267, 1, 16034, 3084, 62, 21, 2414, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 16, 14000, 6 ]
what is the number of patients whose ethnicity is asian and admission year is less than 2158?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.admityear < "2158"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 13938, 614, 318, 1342, 621, 362, 21273, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 1921, 16868, 1, 5357, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 21273, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26289, 318, 355, 666, 290, 13938, 614, 318, 1342, 621, 362, 21273, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 1921, 16868, 1, 5357, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 21273, 1 ]
What are the name and ID of the product bought the most.
SELECT t2.product_details, t2.product_id FROM order_items AS t1 JOIN products AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_id ORDER BY SUM(t1.order_quantity) LIMIT 1
[ 2061, 389, 262, 1438, 290, 4522, 286, 262, 1720, 5839, 262, 749, 13, 46506, 256, 17, 13, 11167, 62, 36604, 11, 256, 17, 13, 11167, 62, 312, 16034, 1502, 62, 23814, 7054, 256, 16, 32357, 1268, 3186, 7054, 256, 17, 6177, 256, 16, 13, 11167, 62, 312, 796, 256, 17, 13, 11167, 62, 312, 44441, 11050, 256, 16, 13, 11167, 62, 312, 38678, 11050, 35683, 7, 83, 16, 13, 2875, 62, 40972, 414, 8, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 290, 4522, 286, 262, 1720, 5839, 262, 749, 13, 46506, 256, 17, 13, 11167, 62, 36604, 11, 256, 17, 13, 11167, 62, 312, 16034, 1502, 62, 23814, 7054, 256, 16, 32357, 1268, 3186, 7054, 256, 17, 6177, 256, 16, 13, 11167, 62, 312, 796, 256, 17, 13, 11167, 62, 312, 44441, 11050, 256, 16, 13, 11167, 62, 312, 38678, 11050, 35683, 7, 83, 16, 13, 2875, 62, 40972, 414, 8, 27564, 2043, 352 ]
in the case of patients who received intravenous diuretic - iv diuretic - bolus infusion in 2102, what are the three most common diagnoses that followed in the same hospital visit?
SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, 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 = 'intravenous diuretic - iv diuretic - bolus infusion' AND STRFTIME('%y', treatment.treatmenttime) = '2102') AS t1 JOIN (SELECT patient.uniquepid, diagnosis.diagnosisname, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE STRFTIME('%y', diagnosis.diagnosistime) = '2102') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.diagnosistime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid GROUP BY t2.diagnosisname) AS t3 WHERE t3.c1 <= 3
[ 259, 262, 1339, 286, 3871, 508, 2722, 45840, 516, 2566, 495, 13370, 532, 21628, 2566, 495, 13370, 532, 11572, 385, 35547, 287, 362, 15377, 11, 644, 389, 262, 1115, 749, 2219, 40567, 326, 3940, 287, 262, 976, 4436, 3187, 30, 46506, 256, 18, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 17, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 3513, 13, 42487, 2435, 11, 5827, 13, 26029, 13948, 10057, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 262, 1339, 286, 3871, 508, 2722, 45840, 516, 2566, 495, 13370, 532, 21628, 2566, 495, 13370, 532, 11572, 385, 35547, 287, 362, 15377, 11, 644, 389, 262, 1115, 749, 2219, 40567, 326, 3940, 287, 262, 976, 4436, 3187, 30, 46506, 256, 18, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 17, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 3513, 13, 42487, 2435, 11, 5827, 13, 26029, 13948, 10057, 31712, 312 ]
Who was in the original 3rd us tour cast while scott j. campbell was in the original 1st us tour cast?
SELECT original_3rd_us_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Scott J. Campbell"
[ 8241, 373, 287, 262, 2656, 513, 4372, 514, 4205, 3350, 981, 629, 1252, 474, 13, 1413, 7923, 373, 287, 262, 2656, 352, 301, 514, 4205, 3350, 30, 46506, 2656, 62, 18, 4372, 62, 385, 62, 83, 454, 62, 2701, 16034, 3084, 62, 1731, 33319, 23756, 62, 16, 33411, 2656, 62, 16, 301, 62, 385, 62, 83, 454, 62, 2701, 796, 366, 19040, 449, 13, 14327, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 262, 2656, 513, 4372, 514, 4205, 3350, 981, 629, 1252, 474, 13, 1413, 7923, 373, 287, 262, 2656, 352, 301, 514, 4205, 3350, 30, 46506, 2656, 62, 18, 4372, 62, 385, 62, 83, 454, 62, 2701, 16034, 3084, 62, 1731, 33319, 23756, 62, 16, 33411, 2656, 62, 16, 301, 62, 385, 62, 83, 454, 62, 2701, 796, 366, 19040, 449, 13, 14327, 1 ]
How many times was taiwan 3rd runner-up?
SELECT MAX("3rd Runner-up") FROM table_30635 WHERE "Country" = 'Taiwan'
[ 2437, 867, 1661, 373, 256, 1872, 8149, 513, 4372, 17490, 12, 929, 30, 46506, 25882, 7203, 18, 4372, 21529, 12, 929, 4943, 16034, 3084, 62, 20548, 2327, 33411, 366, 33921, 1, 796, 705, 47976, 8149, 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, 373, 256, 1872, 8149, 513, 4372, 17490, 12, 929, 30, 46506, 25882, 7203, 18, 4372, 21529, 12, 929, 4943, 16034, 3084, 62, 20548, 2327, 33411, 366, 33921, 1, 796, 705, 47976, 8149, 6 ]
Who earned high points in game 69?
SELECT "High points" FROM table_21536 WHERE "Game" = '69'
[ 8241, 7366, 1029, 2173, 287, 983, 8644, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 23349, 2623, 33411, 366, 8777, 1, 796, 705, 3388, 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 ]
[ 8241, 7366, 1029, 2173, 287, 983, 8644, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 23349, 2623, 33411, 366, 8777, 1, 796, 705, 3388, 6 ]
Name the incumbent for texas 22 district
SELECT incumbent FROM table_1341423_43 WHERE district = "Texas 22"
[ 5376, 262, 23526, 329, 48659, 292, 2534, 4783, 46506, 23526, 16034, 3084, 62, 19880, 1415, 1954, 62, 3559, 33411, 4783, 796, 366, 21607, 2534, 1 ]
[ 1, 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, 23526, 329, 48659, 292, 2534, 4783, 46506, 23526, 16034, 3084, 62, 19880, 1415, 1954, 62, 3559, 33411, 4783, 796, 366, 21607, 2534, 1 ]
What is the smallest point amount for years prior to 1958 when the class is 350cc?
SELECT MIN("Points") FROM table_35460 WHERE "Year" < '1958' AND "Class" = '350cc'
[ 2061, 318, 262, 18197, 966, 2033, 329, 812, 3161, 284, 24648, 618, 262, 1398, 318, 13803, 535, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 32182, 1899, 33411, 366, 17688, 1, 1279, 705, 1129, 3365, 6, 5357, 366, 9487, 1, 796, 705, 14877, 535, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18197, 966, 2033, 329, 812, 3161, 284, 24648, 618, 262, 1398, 318, 13803, 535, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 32182, 1899, 33411, 366, 17688, 1, 1279, 705, 1129, 3365, 6, 5357, 366, 9487, 1, 796, 705, 14877, 535, 6 ]
Find the addresses and author IDs of the course authors that teach at least two courses.
SELECT T1.address_line_1, T2.author_id FROM course_authors_and_tutors AS T1 JOIN courses AS T2 ON T1.author_id = T2.author_id GROUP BY T2.author_id HAVING COUNT(*) >= 2
[ 16742, 262, 9405, 290, 1772, 32373, 286, 262, 1781, 7035, 326, 4545, 379, 1551, 734, 10902, 13, 46506, 309, 16, 13, 21975, 62, 1370, 62, 16, 11, 309, 17, 13, 9800, 62, 312, 16034, 1781, 62, 41617, 62, 392, 62, 83, 315, 669, 7054, 309, 16, 32357, 1268, 10902, 7054, 309, 17, 6177, 309, 16, 13, 9800, 62, 312, 796, 309, 17, 13, 9800, 62, 312, 44441, 11050, 309, 17, 13, 9800, 62, 312, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9405, 290, 1772, 32373, 286, 262, 1781, 7035, 326, 4545, 379, 1551, 734, 10902, 13, 46506, 309, 16, 13, 21975, 62, 1370, 62, 16, 11, 309, 17, 13, 9800, 62, 312, 16034, 1781, 62, 41617, 62, 392, 62, 83, 315, 669, 7054, 309, 16, 32357, 1268, 10902, 7054, 309, 17, 6177, 309, 16, 13, 9800, 62, 312, 796, 309, 17, 13, 9800, 62, 312, 44441, 11050, 309, 17, 13, 9800, 62, 312, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 362 ]
List the builders of railways in ascending alphabetical order.
SELECT builder FROM railway ORDER BY builder
[ 8053, 262, 31606, 286, 45247, 287, 41988, 24830, 605, 1502, 13, 46506, 27098, 16034, 20515, 38678, 11050, 27098 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 31606, 286, 45247, 287, 41988, 24830, 605, 1502, 13, 46506, 27098, 16034, 20515, 38678, 11050, 27098 ]
The Prix UIP Vilo Do Conde festival nominated which film?
SELECT film FROM table_name_7 WHERE nominating_festival = "prix uip vilo do conde"
[ 464, 23832, 471, 4061, 569, 18526, 2141, 9724, 68, 10876, 19332, 543, 2646, 30, 46506, 2646, 16034, 3084, 62, 3672, 62, 22, 33411, 48833, 62, 69, 6743, 796, 366, 3448, 87, 334, 541, 410, 18526, 466, 1779, 68, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 23832, 471, 4061, 569, 18526, 2141, 9724, 68, 10876, 19332, 543, 2646, 30, 46506, 2646, 16034, 3084, 62, 3672, 62, 22, 33411, 48833, 62, 69, 6743, 796, 366, 3448, 87, 334, 541, 410, 18526, 466, 1779, 68, 1 ]
What is the highest Cycle, when the Number of Constestants is 11, and when Premiere Date is September 3, 2012?
SELECT MAX("Cycle") FROM table_47958 WHERE "Number of contestants" = '11' AND "Premiere date" = 'september 3, 2012'
[ 2061, 318, 262, 4511, 26993, 11, 618, 262, 7913, 286, 4757, 395, 1187, 318, 1367, 11, 290, 618, 44151, 7536, 318, 2693, 513, 11, 2321, 30, 46506, 25882, 7203, 20418, 2375, 4943, 16034, 3084, 62, 31714, 3365, 33411, 366, 15057, 286, 37851, 1, 796, 705, 1157, 6, 5357, 366, 24914, 13235, 3128, 1, 796, 705, 325, 457, 1491, 513, 11, 2321, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 26993, 11, 618, 262, 7913, 286, 4757, 395, 1187, 318, 1367, 11, 290, 618, 44151, 7536, 318, 2693, 513, 11, 2321, 30, 46506, 25882, 7203, 20418, 2375, 4943, 16034, 3084, 62, 31714, 3365, 33411, 366, 15057, 286, 37851, 1, 796, 705, 1157, 6, 5357, 366, 24914, 13235, 3128, 1, 796, 705, 325, 457, 1491, 513, 11, 2321, 6 ]
Who wrote the episode titled 'Trojan Horst'?
SELECT "Written by" FROM table_22357 WHERE "Title" = 'Trojan Horst'
[ 8241, 2630, 262, 4471, 11946, 705, 44095, 13881, 6075, 301, 30960, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1828, 27277, 33411, 366, 19160, 1, 796, 705, 44095, 13881, 6075, 301, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2630, 262, 4471, 11946, 705, 44095, 13881, 6075, 301, 30960, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1828, 27277, 33411, 366, 19160, 1, 796, 705, 44095, 13881, 6075, 301, 6 ]
what is the minimum age of patients who are diagnosed with primary disease aortic insufficiency\re-do sternotomy aortic valve replacement and stayed in hospital for 20 days?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.diagnosis = "AORTIC INSUFFICIENCY\RE-DO STERNOTOMY; AORTIC VALVE REPLACEMENT " AND demographic.days_stay = "20"
[ 10919, 318, 262, 5288, 2479, 286, 3871, 508, 389, 14641, 351, 4165, 4369, 257, 419, 291, 1035, 1648, 19777, 59, 260, 12, 4598, 26370, 38385, 257, 419, 291, 22580, 9014, 290, 9658, 287, 4436, 329, 1160, 1528, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 32, 9863, 2149, 3268, 12564, 5777, 2149, 40, 45155, 59, 2200, 12, 18227, 3563, 1137, 11929, 2662, 56, 26, 317, 9863, 2149, 26173, 6089, 45285, 2246, 12529, 220, 220, 366, 5357, 16728, 13, 12545, 62, 31712, 796, 366, 1238, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 2479, 286, 3871, 508, 389, 14641, 351, 4165, 4369, 257, 419, 291, 1035, 1648, 19777, 59, 260, 12, 4598, 26370, 38385, 257, 419, 291, 22580, 9014, 290, 9658, 287, 4436, 329, 1160, 1528, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 32, 9863, 2149, 3268, 12564, 5777, 2149, 40, 45155, 59, 2200, 12, 18227, 3563, 1137, 11929, 2662, 56, 26, 317, 9863, 2149, 26173, 6089, 45285, 2246, 12529, 220, 220, 366, 5357, 16728, 13, 12545, 62, 31712, 796, 366, 1238, 1 ]
What is the constructor of the race with Juan Manuel Fangio as the fastest lap and Giuseppe Farina as the winning driver?
SELECT constructor FROM table_name_26 WHERE fastest_lap = "juan manuel fangio" AND winning_driver = "giuseppe farina"
[ 2061, 318, 262, 23772, 286, 262, 3234, 351, 16852, 25995, 24468, 952, 355, 262, 14162, 14779, 290, 8118, 1904, 27768, 6755, 1437, 355, 262, 5442, 4639, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 2075, 33411, 14162, 62, 37796, 796, 366, 73, 7258, 582, 2731, 277, 648, 952, 1, 5357, 5442, 62, 26230, 796, 366, 12397, 1904, 27768, 1290, 1437, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23772, 286, 262, 3234, 351, 16852, 25995, 24468, 952, 355, 262, 14162, 14779, 290, 8118, 1904, 27768, 6755, 1437, 355, 262, 5442, 4639, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 2075, 33411, 14162, 62, 37796, 796, 366, 73, 7258, 582, 2731, 277, 648, 952, 1, 5357, 5442, 62, 26230, 796, 366, 12397, 1904, 27768, 1290, 1437, 1 ]
What's the Result for week 15?
SELECT result FROM table_name_53 WHERE week = 15
[ 2061, 338, 262, 25414, 329, 1285, 1315, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 4310, 33411, 1285, 796, 1315 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 25414, 329, 1285, 1315, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 4310, 33411, 1285, 796, 1315 ]
count the number of patients who the last year had an intake of d10.
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT intakeoutput.patientunitstayid FROM intakeoutput WHERE intakeoutput.celllabel = 'd10' AND intakeoutput.cellpath LIKE '%input%' AND DATETIME(intakeoutput.intakeoutputtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year'))
[ 9127, 262, 1271, 286, 3871, 508, 262, 938, 614, 550, 281, 10337, 286, 288, 940, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 10337, 22915, 13, 26029, 20850, 31712, 312, 16034, 10337, 22915, 33411, 10337, 22915, 13, 3846, 18242, 796, 705, 67, 940, 6, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 15414, 4, 6, 5357, 360, 1404, 2767, 12789, 7, 600, 539, 22915, 13, 600, 539, 22915, 2435, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 938, 614, 550, 281, 10337, 286, 288, 940, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 10337, 22915, 13, 26029, 20850, 31712, 312, 16034, 10337, 22915, 33411, 10337, 22915, 13, 3846, 18242, 796, 705, 67, 940, 6, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 15414, 4, 6, 5357, 360, 1404, 2767, 12789, 7, 600, 539, 22915, 13, 600, 539, 22915, 2435, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767 ]
What is the value of the size (steps) that has just ratio 10:9 and a size (cents) more than 160
SELECT COUNT(size__steps_) FROM table_name_26 WHERE just_ratio = "10:9" AND size__cents_ > 160
[ 2061, 318, 262, 1988, 286, 262, 2546, 357, 20214, 8, 326, 468, 655, 8064, 838, 25, 24, 290, 257, 2546, 357, 66, 658, 8, 517, 621, 13454, 46506, 327, 28270, 7, 7857, 834, 20214, 62, 8, 16034, 3084, 62, 3672, 62, 2075, 33411, 655, 62, 10366, 952, 796, 366, 940, 25, 24, 1, 5357, 2546, 834, 66, 658, 62, 1875, 13454 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1988, 286, 262, 2546, 357, 20214, 8, 326, 468, 655, 8064, 838, 25, 24, 290, 257, 2546, 357, 66, 658, 8, 517, 621, 13454, 46506, 327, 28270, 7, 7857, 834, 20214, 62, 8, 16034, 3084, 62, 3672, 62, 2075, 33411, 655, 62, 10366, 952, 796, 366, 940, 25, 24, 1, 5357, 2546, 834, 66, 658, 62, 1875, 13454 ]
cardiogenic shock ( sbp < 80 mmhg for > 30 minutes, or requiring iv pressors or intra _ aortic balloon bump ( iabp ) or other hemodynamic support device for hypotension )
SELECT * FROM table_test_14 WHERE cardiogenic_shock = 1 OR (systolic_blood_pressure_sbp < 80 OR iv_pressors = 1 OR intra_aortic_balloon_pump_iabp = 1 OR hemodynamic_instability = 1)
[ 9517, 72, 15147, 6380, 357, 264, 46583, 1279, 4019, 8085, 71, 70, 329, 1875, 1542, 2431, 11, 393, 10616, 21628, 1803, 669, 393, 23422, 4808, 257, 419, 291, 21190, 13852, 357, 1312, 397, 79, 1267, 393, 584, 16869, 34743, 1104, 3335, 329, 8813, 3004, 1267, 46506, 1635, 16034, 3084, 62, 9288, 62, 1415, 33411, 2657, 72, 15147, 62, 39563, 796, 352, 6375, 357, 1837, 301, 4160, 62, 18041, 62, 36151, 62, 36299, 79, 1279, 4019, 6375, 21628, 62, 8439, 669, 796, 352, 6375, 23422, 62, 64, 419, 291, 62, 1894, 2049, 62, 79, 931, 62, 72, 397, 79, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9517, 72, 15147, 6380, 357, 264, 46583, 1279, 4019, 8085, 71, 70, 329, 1875, 1542, 2431, 11, 393, 10616, 21628, 1803, 669, 393, 23422, 4808, 257, 419, 291, 21190, 13852, 357, 1312, 397, 79, 1267, 393, 584, 16869, 34743, 1104, 3335, 329, 8813, 3004, 1267, 46506, 1635, 16034, 3084, 62, 9288, 62, 1415, 33411, 2657, 72, 15147, 62, 39563, 796, 352, 6375, 357, 1837, 301, 4160, 62, 18041, 62, 36151, 62, 36299, 79, 1279, 4019, 6375, 21628, 62, 8439, 669, 796, 352, 6375, 23422, 62, 64, 419, 291, 62, 1894, 2049, 62, 79, 931, 62, 72, 397, 79, 796, 352 ]
Show the names of companies and the number of employees they have
SELECT T3.name, COUNT(*) FROM employment AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id JOIN company AS T3 ON T1.company_id = T3.company_id GROUP BY T3.name
[ 15307, 262, 3891, 286, 2706, 290, 262, 1271, 286, 4409, 484, 423, 46506, 309, 18, 13, 3672, 11, 327, 28270, 7, 28104, 16034, 7184, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 15332, 62, 312, 796, 309, 17, 13, 15332, 62, 312, 32357, 1268, 1664, 7054, 309, 18, 6177, 309, 16, 13, 39722, 62, 312, 796, 309, 18, 13, 39722, 62, 312, 44441, 11050, 309, 18, 13, 3672 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 3891, 286, 2706, 290, 262, 1271, 286, 4409, 484, 423, 46506, 309, 18, 13, 3672, 11, 327, 28270, 7, 28104, 16034, 7184, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 15332, 62, 312, 796, 309, 17, 13, 15332, 62, 312, 32357, 1268, 1664, 7054, 309, 18, 6177, 309, 16, 13, 39722, 62, 312, 796, 309, 18, 13, 39722, 62, 312, 44441, 11050, 309, 18, 13, 3672 ]
What was the largest attendance at the Telstra Dome, when the home team was the Western Bulldogs?
SELECT MAX("Crowd") FROM table_34938 WHERE "Ground" = 'telstra dome' AND "Home team" = 'western bulldogs'
[ 2061, 373, 262, 4387, 14858, 379, 262, 12088, 12044, 31390, 11, 618, 262, 1363, 1074, 373, 262, 4885, 34969, 30, 46506, 25882, 7203, 34, 3986, 4943, 16034, 3084, 62, 27371, 2548, 33411, 366, 35539, 1, 796, 705, 37524, 12044, 29500, 6, 5357, 366, 16060, 1074, 1, 796, 705, 14197, 6473, 22242, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4387, 14858, 379, 262, 12088, 12044, 31390, 11, 618, 262, 1363, 1074, 373, 262, 4885, 34969, 30, 46506, 25882, 7203, 34, 3986, 4943, 16034, 3084, 62, 27371, 2548, 33411, 366, 35539, 1, 796, 705, 37524, 12044, 29500, 6, 5357, 366, 16060, 1074, 1, 796, 705, 14197, 6473, 22242, 6 ]
What are the payment dates for any payments that have an amount greater than 10 or were handled by a staff member with the first name Elsa, and count them by a bar chart, I want to display by the Y in descending.
SELECT payment_date, COUNT(payment_date) FROM payment WHERE amount > 10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = 'Elsa' ORDER BY COUNT(payment_date) DESC
[ 2061, 389, 262, 6074, 9667, 329, 597, 7524, 326, 423, 281, 2033, 3744, 621, 838, 393, 547, 12118, 416, 257, 3085, 2888, 351, 262, 717, 1438, 19226, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 314, 765, 284, 3359, 416, 262, 575, 287, 31491, 13, 46506, 6074, 62, 4475, 11, 327, 28270, 7, 37301, 62, 4475, 8, 16034, 6074, 33411, 2033, 1875, 838, 4725, 2849, 33493, 309, 16, 13, 37301, 62, 4475, 16034, 6074, 7054, 309, 16, 32357, 1268, 3085, 7054, 309, 17, 6177, 309, 16, 13, 28120, 62, 312, 796, 309, 17, 13, 28120, 62, 312, 33411, 309 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6074, 9667, 329, 597, 7524, 326, 423, 281, 2033, 3744, 621, 838, 393, 547, 12118, 416, 257, 3085, 2888, 351, 262, 717, 1438, 19226, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 314, 765, 284, 3359, 416, 262, 575, 287, 31491, 13, 46506, 6074, 62, 4475, 11, 327, 28270, 7, 37301, 62, 4475, 8, 16034, 6074, 33411, 2033, 1875, 838, 4725, 2849, 33493, 309, 16, 13, 37301, 62, 4475, 16034, 6074, 7054, 309, 16, 32357, 1268, 3085, 7054, 309, 17, 6177, 309, 16, 13, 28120, 62, 312, 796, 309, 17, 13, 28120, 62, 312, 33411, 309 ]
How many games did they play when their record 0-2-0?
SELECT COUNT("Date") FROM table_24091 WHERE "Record" = '0-2-0'
[ 2437, 867, 1830, 750, 484, 711, 618, 511, 1700, 657, 12, 17, 12, 15, 30, 46506, 327, 28270, 7203, 10430, 4943, 16034, 3084, 62, 1731, 2931, 16, 33411, 366, 23739, 1, 796, 705, 15, 12, 17, 12, 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 ]
[ 2437, 867, 1830, 750, 484, 711, 618, 511, 1700, 657, 12, 17, 12, 15, 30, 46506, 327, 28270, 7203, 10430, 4943, 16034, 3084, 62, 1731, 2931, 16, 33411, 366, 23739, 1, 796, 705, 15, 12, 17, 12, 15, 6 ]
Who was the opponent of the Bye result?
SELECT opponent FROM table_name_67 WHERE result = "bye"
[ 8241, 373, 262, 6125, 286, 262, 47843, 1255, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 3134, 33411, 1255, 796, 366, 16390, 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, 286, 262, 47843, 1255, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 3134, 33411, 1255, 796, 366, 16390, 1 ]
What was the away team that played against Melbourne?
SELECT away_team FROM table_name_96 WHERE home_team = "melbourne"
[ 2061, 373, 262, 1497, 1074, 326, 2826, 1028, 14819, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 4846, 33411, 1363, 62, 15097, 796, 366, 17694, 12544, 1 ]
[ 1, 1, 1, 1, 1, 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, 1497, 1074, 326, 2826, 1028, 14819, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 4846, 33411, 1363, 62, 15097, 796, 366, 17694, 12544, 1 ]
Which Date has a Record of 11 10 2?
SELECT date FROM table_name_92 WHERE record = "11–10–2"
[ 13828, 7536, 468, 257, 13266, 286, 1367, 838, 362, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5892, 33411, 1700, 796, 366, 1157, 1906, 940, 1906, 17, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7536, 468, 257, 13266, 286, 1367, 838, 362, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5892, 33411, 1700, 796, 366, 1157, 1906, 940, 1906, 17, 1 ]
Name the average total medals with ensemble of goshen hs
SELECT AVG(total_medals) FROM table_name_2 WHERE ensemble = "goshen hs"
[ 5376, 262, 2811, 2472, 28057, 351, 34549, 286, 308, 418, 831, 289, 82, 46506, 35224, 7, 23350, 62, 1150, 874, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 34549, 796, 366, 70, 418, 831, 289, 82, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2811, 2472, 28057, 351, 34549, 286, 308, 418, 831, 289, 82, 46506, 35224, 7, 23350, 62, 1150, 874, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 34549, 796, 366, 70, 418, 831, 289, 82, 1 ]
What is the teaching language for Master of Quantitative Finance?
SELECT teaching_language FROM table_name_69 WHERE program = "master of quantitative finance"
[ 2061, 318, 262, 7743, 3303, 329, 5599, 286, 16972, 12464, 15007, 30, 46506, 7743, 62, 16129, 16034, 3084, 62, 3672, 62, 3388, 33411, 1430, 796, 366, 9866, 286, 26610, 9604, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 7743, 3303, 329, 5599, 286, 16972, 12464, 15007, 30, 46506, 7743, 62, 16129, 16034, 3084, 62, 3672, 62, 3388, 33411, 1430, 796, 366, 9866, 286, 26610, 9604, 1 ]
What is the hometown for Santiago?
SELECT "Hometown" FROM table_61591 WHERE "Province, Community" = 'santiago'
[ 2061, 318, 262, 20994, 329, 34802, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 47007, 6420, 33411, 366, 15946, 924, 11, 8108, 1, 796, 705, 82, 17096, 3839, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 20994, 329, 34802, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 47007, 6420, 33411, 366, 15946, 924, 11, 8108, 1, 796, 705, 82, 17096, 3839, 6 ]
What was the class position of the team that was in the 4th position?
SELECT "Class Pos." FROM table_77295 WHERE "Pos." = '4th'
[ 2061, 373, 262, 1398, 2292, 286, 262, 1074, 326, 373, 287, 262, 604, 400, 2292, 30, 46506, 366, 9487, 18574, 526, 16034, 3084, 62, 3324, 25710, 33411, 366, 21604, 526, 796, 705, 19, 400, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1398, 2292, 286, 262, 1074, 326, 373, 287, 262, 604, 400, 2292, 30, 46506, 366, 9487, 18574, 526, 16034, 3084, 62, 3324, 25710, 33411, 366, 21604, 526, 796, 705, 19, 400, 6 ]
Which visiting team wound up with a final score of 18-40?
SELECT "Visiting Team" FROM table_71822 WHERE "Final Score" = '18-40'
[ 13828, 10013, 1074, 11699, 510, 351, 257, 2457, 4776, 286, 1248, 12, 1821, 30, 46506, 366, 15854, 1780, 4816, 1, 16034, 3084, 62, 45720, 1828, 33411, 366, 19006, 15178, 1, 796, 705, 1507, 12, 1821, 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 ]
[ 13828, 10013, 1074, 11699, 510, 351, 257, 2457, 4776, 286, 1248, 12, 1821, 30, 46506, 366, 15854, 1780, 4816, 1, 16034, 3084, 62, 45720, 1828, 33411, 366, 19006, 15178, 1, 796, 705, 1507, 12, 1821, 6 ]
What is the lowest numbered lane of Sue Rolph with a rank under 5?
SELECT MIN(lane) FROM table_name_17 WHERE name = "sue rolph" AND rank < 5
[ 2061, 318, 262, 9016, 25840, 11193, 286, 26089, 371, 10196, 351, 257, 4279, 739, 642, 30, 46506, 20625, 7, 33533, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 1438, 796, 366, 82, 518, 686, 75, 746, 1, 5357, 4279, 1279, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 25840, 11193, 286, 26089, 371, 10196, 351, 257, 4279, 739, 642, 30, 46506, 20625, 7, 33533, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 1438, 796, 366, 82, 518, 686, 75, 746, 1, 5357, 4279, 1279, 642 ]
count the number of patients whose year of birth is less than 2182 and drug type is main?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2182" AND prescriptions.drug_type = "MAIN"
[ 9127, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 362, 24294, 290, 2563, 2099, 318, 1388, 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, 76, 62, 312, 33411, 16728, 13, 67, 672, 62, 1941, 1279, 366, 17, 24294, 1, 5357, 34092, 13, 30349, 62, 4906, 796, 366, 5673, 1268, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 362, 24294, 290, 2563, 2099, 318, 1388, 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, 76, 62, 312, 33411, 16728, 13, 67, 672, 62, 1941, 1279, 366, 17, 24294, 1, 5357, 34092, 13, 30349, 62, 4906, 796, 366, 5673, 1268, 1 ]
What is the code for a Le Haut-Saint-Laurent municipality that has 16 or more regions?
SELECT MIN(code) FROM table_name_14 WHERE regional_county_municipality = "le haut-saint-laurent" AND region > 16
[ 2061, 318, 262, 2438, 329, 257, 1004, 367, 2306, 12, 48615, 12, 14772, 495, 429, 27264, 326, 468, 1467, 393, 517, 7652, 30, 46506, 20625, 7, 8189, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 7915, 62, 9127, 88, 62, 6199, 4311, 1483, 796, 366, 293, 387, 315, 12, 82, 2913, 12, 5031, 495, 429, 1, 5357, 3814, 1875, 1467 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2438, 329, 257, 1004, 367, 2306, 12, 48615, 12, 14772, 495, 429, 27264, 326, 468, 1467, 393, 517, 7652, 30, 46506, 20625, 7, 8189, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 7915, 62, 9127, 88, 62, 6199, 4311, 1483, 796, 366, 293, 387, 315, 12, 82, 2913, 12, 5031, 495, 429, 1, 5357, 3814, 1875, 1467 ]
What is # Eng., when Outside Diameter, Main Passenger Deck is 'inches (m)', and when Maximum Metric MTOW is '231.3 tons'?
SELECT "# Eng." FROM table_62436 WHERE "Outside Diameter, main passenger deck" = 'inches (m)' AND "Maximum Metric MTOW" = '231.3 tons'
[ 2061, 318, 1303, 1985, 1539, 618, 22151, 360, 13173, 11, 8774, 47239, 20961, 318, 705, 45457, 357, 76, 8, 3256, 290, 618, 22246, 3395, 1173, 19308, 3913, 318, 705, 25667, 13, 18, 10860, 30960, 46506, 25113, 1985, 526, 16034, 3084, 62, 21, 1731, 2623, 33411, 366, 30815, 360, 13173, 11, 1388, 11849, 6203, 1, 796, 705, 45457, 357, 76, 33047, 5357, 366, 40541, 3395, 1173, 19308, 3913, 1, 796, 705, 25667, 13, 18, 10860, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 1303, 1985, 1539, 618, 22151, 360, 13173, 11, 8774, 47239, 20961, 318, 705, 45457, 357, 76, 8, 3256, 290, 618, 22246, 3395, 1173, 19308, 3913, 318, 705, 25667, 13, 18, 10860, 30960, 46506, 25113, 1985, 526, 16034, 3084, 62, 21, 1731, 2623, 33411, 366, 30815, 360, 13173, 11, 1388, 11849, 6203, 1, 796, 705, 45457, 357, 76, 33047, 5357, 366, 40541, 3395, 1173, 19308, 3913, 1, 796, 705, 25667, 13, 18, 10860, 6 ]
when was the last microbiological test of patient 031-3355 performed in 12/2105?
SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355')) AND STRFTIME('%y-%m', microlab.culturetakentime) = '2105-12' ORDER BY microlab.culturetakentime DESC LIMIT 1
[ 12518, 373, 262, 938, 24559, 2770, 1332, 286, 5827, 657, 3132, 12, 2091, 2816, 6157, 287, 1105, 14, 17, 13348, 30, 46506, 4580, 23912, 13, 25584, 83, 461, 298, 524, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 2091, 2816, 6, 4008, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 4580, 23912 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24559, 2770, 1332, 286, 5827, 657, 3132, 12, 2091, 2816, 6157, 287, 1105, 14, 17, 13348, 30, 46506, 4580, 23912, 13, 25584, 83, 461, 298, 524, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 2091, 2816, 6, 4008, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 4580, 23912 ]
what is maximum days of hospital stay of patients whose age is greater than or equal to 43?
SELECT MAX(demographic.days_stay) FROM demographic WHERE demographic.age >= "43"
[ 10919, 318, 5415, 1528, 286, 4436, 2652, 286, 3871, 3025, 2479, 318, 3744, 621, 393, 4961, 284, 5946, 30, 46506, 25882, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 496, 18189, 366, 3559, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5415, 1528, 286, 4436, 2652, 286, 3871, 3025, 2479, 318, 3744, 621, 393, 4961, 284, 5946, 30, 46506, 25882, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 496, 18189, 366, 3559, 1 ]
Which object has an Apparent magnitude larger than 9.6, and a Right ascension ( J2000 ) of 17h59m02.0s?
SELECT "Object type" FROM table_58288 WHERE "Apparent magnitude" > '9.6' AND "Right ascension ( J2000 )" = '17h59m02.0s'
[ 13828, 2134, 468, 281, 2034, 1580, 14735, 4025, 621, 860, 13, 21, 11, 290, 257, 6498, 10570, 3004, 357, 449, 11024, 1267, 286, 1596, 71, 3270, 76, 2999, 13, 15, 82, 30, 46506, 366, 10267, 2099, 1, 16034, 3084, 62, 3365, 25270, 33411, 366, 4677, 1580, 14735, 1, 1875, 705, 24, 13, 21, 6, 5357, 366, 11028, 10570, 3004, 357, 449, 11024, 1267, 1, 796, 705, 1558, 71, 3270, 76, 2999, 13, 15, 82, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2134, 468, 281, 2034, 1580, 14735, 4025, 621, 860, 13, 21, 11, 290, 257, 6498, 10570, 3004, 357, 449, 11024, 1267, 286, 1596, 71, 3270, 76, 2999, 13, 15, 82, 30, 46506, 366, 10267, 2099, 1, 16034, 3084, 62, 3365, 25270, 33411, 366, 4677, 1580, 14735, 1, 1875, 705, 24, 13, 21, 6, 5357, 366, 11028, 10570, 3004, 357, 449, 11024, 1267, 1, 796, 705, 1558, 71, 3270, 76, 2999, 13, 15, 82, 6 ]
return me the papers written by ' H. V. Jagadish ' and ' Divesh Srivastava ' with more than 200 citations .
SELECT publication.title FROM author AS AUTHOR_0, author AS AUTHOR_1, publication, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.name = 'H. V. Jagadish' AND AUTHOR_1.name = 'Divesh Srivastava' AND publication.citation_num > 200 AND WRITES_0.aid = AUTHOR_0.aid AND WRITES_0.pid = publication.pid AND WRITES_1.aid = AUTHOR_1.aid AND WRITES_1.pid = publication.pid
[ 7783, 502, 262, 9473, 3194, 416, 705, 367, 13, 569, 13, 35687, 48563, 705, 290, 705, 360, 1083, 71, 311, 15104, 459, 4170, 705, 351, 517, 621, 939, 33499, 764, 46506, 9207, 13, 7839, 16034, 1772, 7054, 44746, 62, 15, 11, 1772, 7054, 44746, 62, 16, 11, 9207, 11, 6797, 7054, 11342, 2043, 1546, 62, 15, 11, 6797, 7054, 11342, 2043, 1546, 62, 16, 33411, 44746, 62, 15, 13, 3672, 796, 705, 39, 13, 569, 13, 35687, 48563, 6, 5357, 44746, 62, 16, 13, 3672, 796, 705, 35, 1083, 71, 311, 15104, 459, 4170, 6, 5357, 9207, 13, 66, 3780 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7783, 502, 262, 9473, 3194, 416, 705, 367, 13, 569, 13, 35687, 48563, 705, 290, 705, 360, 1083, 71, 311, 15104, 459, 4170, 705, 351, 517, 621, 939, 33499, 764, 46506, 9207, 13, 7839, 16034, 1772, 7054, 44746, 62, 15, 11, 1772, 7054, 44746, 62, 16, 11, 9207, 11, 6797, 7054, 11342, 2043, 1546, 62, 15, 11, 6797, 7054, 11342, 2043, 1546, 62, 16, 33411, 44746, 62, 15, 13, 3672, 796, 705, 39, 13, 569, 13, 35687, 48563, 6, 5357, 44746, 62, 16, 13, 3672, 796, 705, 35, 1083, 71, 311, 15104, 459, 4170, 6, 5357, 9207, 13, 66, 3780 ]
Which segment a's Netflix is S05E22?
SELECT segment_a FROM table_name_86 WHERE netflix = "s05e22"
[ 13828, 10618, 257, 338, 12074, 318, 311, 2713, 36, 1828, 30, 46506, 10618, 62, 64, 16034, 3084, 62, 3672, 62, 4521, 33411, 2010, 10046, 796, 366, 82, 2713, 68, 1828, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 10618, 257, 338, 12074, 318, 311, 2713, 36, 1828, 30, 46506, 10618, 62, 64, 16034, 3084, 62, 3672, 62, 4521, 33411, 2010, 10046, 796, 366, 82, 2713, 68, 1828, 1 ]
what was the name of the procedure that patient 45612 received two or more times until 06/2101.
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, COUNT(procedures_icd.charttime) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 45612) AND STRFTIME('%y-%m', procedures_icd.charttime) <= '2101-06' GROUP BY procedures_icd.icd9_code) AS t1 WHERE t1.c1 >= 2)
[ 10919, 373, 262, 1438, 286, 262, 8771, 326, 5827, 604, 3980, 1065, 2722, 734, 393, 517, 1661, 1566, 9130, 14, 2481, 486, 13, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 16, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 11, 327, 28270, 7, 1676, 771, 942, 62, 291, 67, 13, 40926, 2435, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 1438, 286, 262, 8771, 326, 5827, 604, 3980, 1065, 2722, 734, 393, 517, 1661, 1566, 9130, 14, 2481, 486, 13, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 16, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 11, 327, 28270, 7, 1676, 771, 942, 62, 291, 67, 13, 40926, 2435, 8, 7054, 269 ]
until 4 years ago what was the top five most frequent diagnoses that patients were given within 2 months after being diagnosed with mesenteric trauma?
SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, 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 = 'mesenteric trauma' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-4 year')) AS t1 JOIN (SELECT patient.uniquepid, diagnosis.diagnosisname, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-4 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.diagnosistime AND DATETIME(t2.diagnosistime) BETWEEN DATETIME(t1.diagnosistime) AND DATETIME(t1.diagnosistime, '+2 month') GROUP BY t2.diagnosisname) AS t3 WHERE t3.c1 <= 5
[ 28446, 604, 812, 2084, 644, 373, 262, 1353, 1936, 749, 10792, 40567, 326, 3871, 547, 1813, 1626, 362, 1933, 706, 852, 14641, 351, 18842, 9255, 291, 14649, 30, 46506, 256, 18, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 17, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 28446, 604, 812, 2084, 644, 373, 262, 1353, 1936, 749, 10792, 40567, 326, 3871, 547, 1813, 1626, 362, 1933, 706, 852, 14641, 351, 18842, 9255, 291, 14649, 30, 46506, 256, 18, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 17, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712 ]
How many laps did the car do that had a final position of 17?
SELECT "Laps" FROM table_46185 WHERE "Fin. Pos" = '17'
[ 2437, 867, 24590, 750, 262, 1097, 466, 326, 550, 257, 2457, 2292, 286, 1596, 30, 46506, 366, 43, 1686, 1, 16034, 3084, 62, 3510, 21652, 33411, 366, 18467, 13, 18574, 1, 796, 705, 1558, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 24590, 750, 262, 1097, 466, 326, 550, 257, 2457, 2292, 286, 1596, 30, 46506, 366, 43, 1686, 1, 16034, 3084, 62, 3510, 21652, 33411, 366, 18467, 13, 18574, 1, 796, 705, 1558, 6 ]
patient 49140 was during the first hospital visit in the emergency room?
SELECT COUNT(*) > 0 FROM admissions WHERE admissions.subject_id = 49140 AND admissions.admission_location = 'emergency room admit' AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1
[ 26029, 5125, 15187, 373, 1141, 262, 717, 4436, 3187, 287, 262, 6334, 2119, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 5125, 15187, 5357, 25349, 13, 324, 3411, 62, 24886, 796, 705, 24677, 4949, 2119, 9159, 6, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 25349, 13, 324, 20124, 524, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26029, 5125, 15187, 373, 1141, 262, 717, 4436, 3187, 287, 262, 6334, 2119, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 5125, 15187, 5357, 25349, 13, 324, 3411, 62, 24886, 796, 705, 24677, 4949, 2119, 9159, 6, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 25349, 13, 324, 20124, 524, 27564, 2043, 352 ]
what is the average opening weekend gross between iron man 3 and the dark knight ?
SELECT AVG("opening weekend\n(three day)") FROM table_203_174 WHERE "film" IN ('iron man 3', 'the dark knight')
[ 10919, 318, 262, 2811, 4756, 5041, 10319, 1022, 6953, 582, 513, 290, 262, 3223, 22062, 5633, 46506, 35224, 7203, 29443, 5041, 59, 77, 7, 15542, 1110, 8, 4943, 16034, 3084, 62, 22416, 62, 22985, 33411, 366, 26240, 1, 3268, 19203, 1934, 582, 513, 3256, 705, 1169, 3223, 22062, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 4756, 5041, 10319, 1022, 6953, 582, 513, 290, 262, 3223, 22062, 5633, 46506, 35224, 7203, 29443, 5041, 59, 77, 7, 15542, 1110, 8, 4943, 16034, 3084, 62, 22416, 62, 22985, 33411, 366, 26240, 1, 3268, 19203, 1934, 582, 513, 3256, 705, 1169, 3223, 22062, 11537 ]
Which date had the Hornets as the home team?
SELECT "Date" FROM table_40651 WHERE "Home" = 'hornets'
[ 13828, 3128, 550, 262, 38602, 355, 262, 1363, 1074, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1821, 40639, 33411, 366, 16060, 1, 796, 705, 25311, 1039, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3128, 550, 262, 38602, 355, 262, 1363, 1074, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1821, 40639, 33411, 366, 16060, 1, 796, 705, 25311, 1039, 6 ]
What are the number of the distinct visit dates?, order by the x axis in descending.
SELECT Visit_Date, COUNT(Visit_Date) FROM Visits ORDER BY Visit_Date DESC
[ 2061, 389, 262, 1271, 286, 262, 7310, 3187, 9667, 21747, 1502, 416, 262, 2124, 16488, 287, 31491, 13, 46506, 16440, 62, 10430, 11, 327, 28270, 7, 31141, 62, 10430, 8, 16034, 6911, 896, 38678, 11050, 16440, 62, 10430, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1271, 286, 262, 7310, 3187, 9667, 21747, 1502, 416, 262, 2124, 16488, 287, 31491, 13, 46506, 16440, 62, 10430, 11, 327, 28270, 7, 31141, 62, 10430, 8, 16034, 6911, 896, 38678, 11050, 16440, 62, 10430, 22196, 34 ]
What score did the away team receive against home team Port Adelaide?
SELECT away_team AS score FROM table_16388478_3 WHERE home_team = "Port Adelaide"
[ 2061, 4776, 750, 262, 1497, 1074, 3328, 1028, 1363, 1074, 4347, 27139, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 1433, 30460, 29059, 62, 18, 33411, 1363, 62, 15097, 796, 366, 13924, 27139, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4776, 750, 262, 1497, 1074, 3328, 1028, 1363, 1074, 4347, 27139, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 1433, 30460, 29059, 62, 18, 33411, 1363, 62, 15097, 796, 366, 13924, 27139, 1 ]
What are the dimensions of the amp with a 180W output?
SELECT "Dimensions" FROM table_63035 WHERE "Output" = '180w'
[ 2061, 389, 262, 15225, 286, 262, 20766, 351, 257, 11546, 54, 5072, 30, 46506, 366, 29271, 5736, 1, 16034, 3084, 62, 30005, 2327, 33411, 366, 26410, 1, 796, 705, 15259, 86, 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, 389, 262, 15225, 286, 262, 20766, 351, 257, 11546, 54, 5072, 30, 46506, 366, 29271, 5736, 1, 16034, 3084, 62, 30005, 2327, 33411, 366, 26410, 1, 796, 705, 15259, 86, 6 ]
Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama?
SELECT airing_date FROM table_name_39 WHERE number_of_episodes > 20 AND genre = "modern drama"
[ 13828, 317, 3428, 3128, 468, 257, 7913, 286, 8640, 4025, 621, 1160, 11, 290, 257, 5215, 260, 286, 3660, 10512, 30, 46506, 31701, 62, 4475, 16034, 3084, 62, 3672, 62, 2670, 33411, 1271, 62, 1659, 62, 538, 8052, 1875, 1160, 5357, 12121, 796, 366, 23922, 10512, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 317, 3428, 3128, 468, 257, 7913, 286, 8640, 4025, 621, 1160, 11, 290, 257, 5215, 260, 286, 3660, 10512, 30, 46506, 31701, 62, 4475, 16034, 3084, 62, 3672, 62, 2670, 33411, 1271, 62, 1659, 62, 538, 8052, 1875, 1160, 5357, 12121, 796, 366, 23922, 10512, 1 ]
Find the last name and age of the student who has allergy to both milk and cat Show a bar chart, I want to order in desc by the X.
SELECT LName, Age FROM Student WHERE StuID IN (SELECT StuID FROM Has_Allergy WHERE Allergy = "Milk" INTERSECT SELECT StuID FROM Has_Allergy WHERE Allergy = "Cat") ORDER BY LName DESC
[ 16742, 262, 938, 1438, 290, 2479, 286, 262, 3710, 508, 468, 36197, 284, 1111, 7545, 290, 3797, 5438, 257, 2318, 8262, 11, 314, 765, 284, 1502, 287, 1715, 416, 262, 1395, 13, 46506, 406, 5376, 11, 7129, 16034, 13613, 33411, 520, 84, 2389, 3268, 357, 46506, 520, 84, 2389, 16034, 7875, 62, 3237, 26079, 33411, 1439, 26079, 796, 366, 24857, 74, 1, 17828, 4877, 9782, 33493, 520, 84, 2389, 16034, 7875, 62, 3237, 26079, 33411, 1439, 26079, 796, 366, 21979, 4943, 38678, 11050, 406, 5376, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 1438, 290, 2479, 286, 262, 3710, 508, 468, 36197, 284, 1111, 7545, 290, 3797, 5438, 257, 2318, 8262, 11, 314, 765, 284, 1502, 287, 1715, 416, 262, 1395, 13, 46506, 406, 5376, 11, 7129, 16034, 13613, 33411, 520, 84, 2389, 3268, 357, 46506, 520, 84, 2389, 16034, 7875, 62, 3237, 26079, 33411, 1439, 26079, 796, 366, 24857, 74, 1, 17828, 4877, 9782, 33493, 520, 84, 2389, 16034, 7875, 62, 3237, 26079, 33411, 1439, 26079, 796, 366, 21979, 4943, 38678, 11050, 406, 5376, 22196, 34 ]
Give me the number of patients diagnosed with chronic kidney disease nos and have drug route as sc.
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 = "Chronic kidney dis NOS" AND prescriptions.route = "SC"
[ 23318, 502, 262, 1271, 286, 3871, 14641, 351, 10726, 21919, 4369, 43630, 290, 423, 2563, 6339, 355, 629, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 1925, 4565, 21919, 595, 399, 2640, 1, 5357, 34092, 13, 38629, 796, 366, 6173, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3871, 14641, 351, 10726, 21919, 4369, 43630, 290, 423, 2563, 6339, 355, 629, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 1925, 4565, 21919, 595, 399, 2640, 1, 5357, 34092, 13, 38629, 796, 366, 6173, 1 ]
What was the crowd size on 4 july 1981, and a Away team of essendon?
SELECT "Crowd" FROM table_54824 WHERE "Date" = '4 july 1981' AND "Away team" = 'essendon'
[ 2061, 373, 262, 4315, 2546, 319, 604, 474, 2062, 14745, 11, 290, 257, 21986, 1074, 286, 3209, 43153, 30, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 49934, 1731, 33411, 366, 10430, 1, 796, 705, 19, 474, 2062, 14745, 6, 5357, 366, 32, 1014, 1074, 1, 796, 705, 408, 43153, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4315, 2546, 319, 604, 474, 2062, 14745, 11, 290, 257, 21986, 1074, 286, 3209, 43153, 30, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 49934, 1731, 33411, 366, 10430, 1, 796, 705, 19, 474, 2062, 14745, 6, 5357, 366, 32, 1014, 1074, 1, 796, 705, 408, 43153, 6 ]
provide the number of patients whose gender is m and diagnoses short title is portal hypertension?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.short_title = "Portal hypertension"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5279, 318, 285, 290, 40567, 1790, 3670, 318, 17898, 37454, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 40567, 13, 19509, 62, 7839, 796, 366, 13924, 282, 37454, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5279, 318, 285, 290, 40567, 1790, 3670, 318, 17898, 37454, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 40567, 13, 19509, 62, 7839, 796, 366, 13924, 282, 37454, 1 ]
How many number of series have the production code of 1.11?
SELECT MAX("No. in series") FROM table_24863 WHERE "Production code" = '1.11'
[ 2437, 867, 1271, 286, 2168, 423, 262, 3227, 2438, 286, 352, 13, 1157, 30, 46506, 25882, 7203, 2949, 13, 287, 2168, 4943, 16034, 3084, 62, 1731, 4521, 18, 33411, 366, 35027, 2438, 1, 796, 705, 16, 13, 1157, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1271, 286, 2168, 423, 262, 3227, 2438, 286, 352, 13, 1157, 30, 46506, 25882, 7203, 2949, 13, 287, 2168, 4943, 16034, 3084, 62, 1731, 4521, 18, 33411, 366, 35027, 2438, 1, 796, 705, 16, 13, 1157, 6 ]
Return a bar chart about the distribution of Time and meter_100 , and I want to rank in asc by the x axis.
SELECT Time, meter_100 FROM swimmer ORDER BY Time
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 3862, 290, 16430, 62, 3064, 837, 290, 314, 765, 284, 4279, 287, 10570, 416, 262, 2124, 16488, 13, 46506, 3862, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 3862 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 546, 262, 6082, 286, 3862, 290, 16430, 62, 3064, 837, 290, 314, 765, 284, 4279, 287, 10570, 416, 262, 2124, 16488, 13, 46506, 3862, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 3862 ]
What is the home team for punt road oval?
SELECT "Home team" FROM table_74668 WHERE "Venue" = 'punt road oval'
[ 2061, 318, 262, 1363, 1074, 329, 35363, 2975, 41186, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 4524, 35809, 33411, 366, 37522, 518, 1, 796, 705, 79, 2797, 2975, 41186, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1363, 1074, 329, 35363, 2975, 41186, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 4524, 35809, 33411, 366, 37522, 518, 1, 796, 705, 79, 2797, 2975, 41186, 6 ]
Who was the visiting team who played at the hubert h. humphrey metrodome stadium?
SELECT visiting_team FROM table_name_67 WHERE stadium = "hubert h. humphrey metrodome"
[ 8241, 373, 262, 10013, 1074, 508, 2826, 379, 262, 289, 84, 4835, 289, 13, 1311, 746, 4364, 1138, 14892, 462, 10308, 30, 46506, 10013, 62, 15097, 16034, 3084, 62, 3672, 62, 3134, 33411, 10308, 796, 366, 13415, 4835, 289, 13, 1311, 746, 4364, 1138, 14892, 462, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10013, 1074, 508, 2826, 379, 262, 289, 84, 4835, 289, 13, 1311, 746, 4364, 1138, 14892, 462, 10308, 30, 46506, 10013, 62, 15097, 16034, 3084, 62, 3672, 62, 3134, 33411, 10308, 796, 366, 13415, 4835, 289, 13, 1311, 746, 4364, 1138, 14892, 462, 1 ]
Who is the actor in the original production when Troy Stephens is the GamePlan?
SELECT "Actor in original production" FROM table_62571 WHERE "GamePlan" = 'troy stephens'
[ 8241, 318, 262, 8674, 287, 262, 2656, 3227, 618, 21439, 37072, 318, 262, 3776, 20854, 30, 46506, 366, 40277, 287, 2656, 3227, 1, 16034, 3084, 62, 26704, 4869, 33411, 366, 8777, 20854, 1, 796, 705, 83, 3287, 2239, 5135, 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 ]
[ 8241, 318, 262, 8674, 287, 262, 2656, 3227, 618, 21439, 37072, 318, 262, 3776, 20854, 30, 46506, 366, 40277, 287, 2656, 3227, 1, 16034, 3084, 62, 26704, 4869, 33411, 366, 8777, 20854, 1, 796, 705, 83, 3287, 2239, 5135, 6 ]
head coach , jon roberts , had his team from where ?
SELECT "location" FROM table_204_442 WHERE "head coach" = 'jon roberts'
[ 2256, 3985, 837, 474, 261, 686, 527, 912, 837, 550, 465, 1074, 422, 810, 5633, 46506, 366, 24886, 1, 16034, 3084, 62, 18638, 62, 39506, 33411, 366, 2256, 3985, 1, 796, 705, 46286, 686, 527, 912, 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 ]
[ 2256, 3985, 837, 474, 261, 686, 527, 912, 837, 550, 465, 1074, 422, 810, 5633, 46506, 366, 24886, 1, 16034, 3084, 62, 18638, 62, 39506, 33411, 366, 2256, 3985, 1, 796, 705, 46286, 686, 527, 912, 6 ]
Average question score of tag combinations.
SELECT AVG(CAST(Score AS FLOAT)) FROM Posts WHERE PostTypeId = 1 AND Tags LIKE @Tag1 AND Tags LIKE @Tag2
[ 26287, 1808, 4776, 286, 7621, 17790, 13, 46506, 35224, 7, 44647, 7, 26595, 7054, 9977, 46, 1404, 4008, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 44789, 34178, 2488, 24835, 16, 5357, 44789, 34178, 2488, 24835, 17 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26287, 1808, 4776, 286, 7621, 17790, 13, 46506, 35224, 7, 44647, 7, 26595, 7054, 9977, 46, 1404, 4008, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 44789, 34178, 2488, 24835, 16, 5357, 44789, 34178, 2488, 24835, 17 ]
give me a good arabic in mountain view ?
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'mountain view' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
[ 26535, 502, 257, 922, 610, 397, 291, 287, 8598, 1570, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 14948, 391, 1570, 6, 5357, 7072, 13, 19425, 62, 4906, 796, 705, 283, 397, 291, 6, 5357, 7072, 13, 312, 796, 4067, 13, 2118, 2899, 415, 62, 312, 5357, 7072, 13, 8821, 1875, 362, 13, 20 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 922, 610, 397, 291, 287, 8598, 1570, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 14948, 391, 1570, 6, 5357, 7072, 13, 19425, 62, 4906, 796, 705, 283, 397, 291, 6, 5357, 7072, 13, 312, 796, 4067, 13, 2118, 2899, 415, 62, 312, 5357, 7072, 13, 8821, 1875, 362, 13, 20 ]
What is the record on November 18?
SELECT "Record" FROM table_71498 WHERE "Date" = 'november 18'
[ 2061, 318, 262, 1700, 319, 3389, 1248, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 45722, 4089, 33411, 366, 10430, 1, 796, 705, 77, 3239, 1248, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1700, 319, 3389, 1248, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 45722, 4089, 33411, 366, 10430, 1, 796, 705, 77, 3239, 1248, 6 ]
college attended of previous pick to bob anderegg
SELECT "college" FROM table_204_93 WHERE "pick" = (SELECT "pick" FROM table_204_93 WHERE "player" = 'bob anderegg') - 1
[ 44107, 9141, 286, 2180, 2298, 284, 29202, 290, 567, 1130, 46506, 366, 44107, 1, 16034, 3084, 62, 18638, 62, 6052, 33411, 366, 27729, 1, 796, 357, 46506, 366, 27729, 1, 16034, 3084, 62, 18638, 62, 6052, 33411, 366, 7829, 1, 796, 705, 65, 672, 290, 567, 1130, 11537, 532, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 44107, 9141, 286, 2180, 2298, 284, 29202, 290, 567, 1130, 46506, 366, 44107, 1, 16034, 3084, 62, 18638, 62, 6052, 33411, 366, 27729, 1, 796, 357, 46506, 366, 27729, 1, 16034, 3084, 62, 18638, 62, 6052, 33411, 366, 7829, 1, 796, 705, 65, 672, 290, 567, 1130, 11537, 532, 352 ]
how much difference of arterial bp [systolic] was there in patient 30235 last measured on the first icu visit compared to the second to last value measured on the first icu visit?
SELECT (SELECT chartevents.valuenum 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 = 30235) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [systolic]' AND d_items.linksto = 'chartevents') ORDER BY chartevents.charttime DESC LIMIT 1) - (SELECT chartevents.valuenum 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 = 30235) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [systolic]' AND d_items.linksto = 'chartevents') ORDER BY chartevents.charttime DESC LIMIT 1 OFFSET 1)
[ 4919, 881, 3580, 286, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 373, 612, 287, 5827, 1542, 22370, 938, 8630, 319, 262, 717, 14158, 84, 3187, 3688, 284, 262, 1218, 284, 938, 1988, 8630, 319, 262, 717, 14158, 84, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 881, 3580, 286, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 373, 612, 287, 5827, 1542, 22370, 938, 8630, 319, 262, 717, 14158, 84, 3187, 3688, 284, 262, 1218, 284, 938, 1988, 8630, 319, 262, 717, 14158, 84, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411 ]
what was the name of the organism that was found during the last swab test of patient 62983 until 29 months ago?
SELECT microbiologyevents.org_name FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 62983) AND microbiologyevents.spec_type_desc = 'swab' AND NOT microbiologyevents.org_name IS NULL AND DATETIME(microbiologyevents.charttime) <= DATETIME(CURRENT_TIME(), '-29 month') ORDER BY microbiologyevents.charttime DESC LIMIT 1
[ 10919, 373, 262, 1438, 286, 262, 26433, 326, 373, 1043, 1141, 262, 938, 1509, 397, 1332, 286, 5827, 718, 1959, 5999, 1566, 2808, 1933, 2084, 30, 46506, 24559, 1435, 31534, 13, 2398, 62, 3672, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 718, 1959, 5999, 8, 5357, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 796, 705, 2032, 397, 6, 5357, 5626, 24559, 1435, 31534, 13, 2398, 62, 3672, 3180, 15697, 5357, 360, 1404, 2767, 12789 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 1438, 286, 262, 26433, 326, 373, 1043, 1141, 262, 938, 1509, 397, 1332, 286, 5827, 718, 1959, 5999, 1566, 2808, 1933, 2084, 30, 46506, 24559, 1435, 31534, 13, 2398, 62, 3672, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 718, 1959, 5999, 8, 5357, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 796, 705, 2032, 397, 6, 5357, 5626, 24559, 1435, 31534, 13, 2398, 62, 3672, 3180, 15697, 5357, 360, 1404, 2767, 12789 ]
What does a hand of Theoretical return have as a 3 credit?
SELECT "3 credits" FROM table_52381 WHERE "Hand" = 'theoretical return'
[ 2061, 857, 257, 1021, 286, 383, 9997, 605, 1441, 423, 355, 257, 513, 3884, 30, 46506, 366, 18, 10824, 1, 16034, 3084, 62, 49803, 6659, 33411, 366, 12885, 1, 796, 705, 1169, 9997, 605, 1441, 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, 857, 257, 1021, 286, 383, 9997, 605, 1441, 423, 355, 257, 513, 3884, 30, 46506, 366, 18, 10824, 1, 16034, 3084, 62, 49803, 6659, 33411, 366, 12885, 1, 796, 705, 1169, 9997, 605, 1441, 6 ]
What's the production code of the episode originally aired on February 21, 1985?
SELECT MIN("Production code") FROM table_30369 WHERE "Original air date" = 'February 21, 1985'
[ 2061, 338, 262, 3227, 2438, 286, 262, 4471, 6198, 18530, 319, 3945, 2310, 11, 12863, 30, 46506, 20625, 7203, 35027, 2438, 4943, 16034, 3084, 62, 1270, 30803, 33411, 366, 20556, 1633, 3128, 1, 796, 705, 21816, 2310, 11, 12863, 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, 338, 262, 3227, 2438, 286, 262, 4471, 6198, 18530, 319, 3945, 2310, 11, 12863, 30, 46506, 20625, 7203, 35027, 2438, 4943, 16034, 3084, 62, 1270, 30803, 33411, 366, 20556, 1633, 3128, 1, 796, 705, 21816, 2310, 11, 12863, 6 ]
Name the rank for laps less than 130 and year of 1951
SELECT "Rank" FROM table_80344 WHERE "Laps" < '130' AND "Year" = '1951'
[ 5376, 262, 4279, 329, 24590, 1342, 621, 11323, 290, 614, 286, 27937, 46506, 366, 27520, 1, 16034, 3084, 62, 1795, 33535, 33411, 366, 43, 1686, 1, 1279, 705, 12952, 6, 5357, 366, 17688, 1, 796, 705, 1129, 4349, 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 ]
[ 5376, 262, 4279, 329, 24590, 1342, 621, 11323, 290, 614, 286, 27937, 46506, 366, 27520, 1, 16034, 3084, 62, 1795, 33535, 33411, 366, 43, 1686, 1, 1279, 705, 12952, 6, 5357, 366, 17688, 1, 796, 705, 1129, 4349, 6 ]
For those records from the products and each product's manufacturer, give me the comparison about the sum of price over the founder , and group by attribute founder by a bar chart.
SELECT Founder, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 2756, 625, 262, 9119, 837, 290, 1448, 416, 11688, 9119, 416, 257, 2318, 8262, 13, 46506, 30153, 11, 35683, 7, 18124, 8, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 30153 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 2756, 625, 262, 9119, 837, 290, 1448, 416, 11688, 9119, 416, 257, 2318, 8262, 13, 46506, 30153, 11, 35683, 7, 18124, 8, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 30153 ]
Find the founder of the company whose name begins with the letter 'S'.
SELECT founder FROM manufacturers WHERE name LIKE 'S%'
[ 16742, 262, 9119, 286, 262, 1664, 3025, 1438, 6140, 351, 262, 3850, 705, 50, 4458, 46506, 9119, 16034, 11372, 33411, 1438, 34178, 705, 50, 4, 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 ]
[ 16742, 262, 9119, 286, 262, 1664, 3025, 1438, 6140, 351, 262, 3850, 705, 50, 4458, 46506, 9119, 16034, 11372, 33411, 1438, 34178, 705, 50, 4, 6 ]
How close am I to Convention badge?.
SELECT PostId AS "post_link", COUNT(*) AS CommentCount, Score FROM Comments WHERE UserId = @UserId AND Score >= 2 GROUP BY PostId, Score ORDER BY Score DESC
[ 2437, 1969, 716, 314, 284, 11680, 23009, 30, 13, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 18957, 12332, 11, 15178, 16034, 19502, 33411, 11787, 7390, 796, 2488, 12982, 7390, 5357, 15178, 18189, 362, 44441, 11050, 2947, 7390, 11, 15178, 38678, 11050, 15178, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 1969, 716, 314, 284, 11680, 23009, 30, 13, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 18957, 12332, 11, 15178, 16034, 19502, 33411, 11787, 7390, 796, 2488, 12982, 7390, 5357, 15178, 18189, 362, 44441, 11050, 2947, 7390, 11, 15178, 38678, 11050, 15178, 22196, 34 ]
which group stage was there 0 play-offs and 12 clubs played in it
SELECT COUNT("Group stage") FROM table_22993 WHERE "Play-off" = '0' AND "Clubs" = '12'
[ 4758, 1448, 3800, 373, 612, 657, 711, 12, 8210, 290, 1105, 9784, 2826, 287, 340, 46506, 327, 28270, 7203, 13247, 3800, 4943, 16034, 3084, 62, 1828, 44821, 33411, 366, 11002, 12, 2364, 1, 796, 705, 15, 6, 5357, 366, 2601, 23161, 1, 796, 705, 1065, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 1448, 3800, 373, 612, 657, 711, 12, 8210, 290, 1105, 9784, 2826, 287, 340, 46506, 327, 28270, 7203, 13247, 3800, 4943, 16034, 3084, 62, 1828, 44821, 33411, 366, 11002, 12, 2364, 1, 796, 705, 15, 6, 5357, 366, 2601, 23161, 1, 796, 705, 1065, 6 ]
Visualize a bar chart about the distribution of meter_200 and the average of ID , and group by attribute meter_200, and rank by the Y in desc.
SELECT meter_200, AVG(ID) FROM swimmer GROUP BY meter_200 ORDER BY AVG(ID) DESC
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 16430, 62, 2167, 290, 262, 2811, 286, 4522, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 11, 290, 4279, 416, 262, 575, 287, 1715, 13, 46506, 16430, 62, 2167, 11, 35224, 7, 2389, 8, 16034, 9422, 647, 44441, 11050, 16430, 62, 2167, 38678, 11050, 35224, 7, 2389, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 16430, 62, 2167, 290, 262, 2811, 286, 4522, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 11, 290, 4279, 416, 262, 575, 287, 1715, 13, 46506, 16430, 62, 2167, 11, 35224, 7, 2389, 8, 16034, 9422, 647, 44441, 11050, 16430, 62, 2167, 38678, 11050, 35224, 7, 2389, 8, 22196, 34 ]
What format was conductor Erich Leinsdorf's album released on?
SELECT "Format" FROM table_31677 WHERE "Conductor" = 'erich leinsdorf'
[ 2061, 5794, 373, 39206, 5256, 488, 1004, 1040, 67, 24263, 338, 5062, 2716, 319, 30, 46506, 366, 26227, 1, 16034, 3084, 62, 33400, 3324, 33411, 366, 25559, 33029, 1, 796, 705, 263, 488, 443, 1040, 67, 24263, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5794, 373, 39206, 5256, 488, 1004, 1040, 67, 24263, 338, 5062, 2716, 319, 30, 46506, 366, 26227, 1, 16034, 3084, 62, 33400, 3324, 33411, 366, 25559, 33029, 1, 796, 705, 263, 488, 443, 1040, 67, 24263, 6 ]
list all flights on CO leaving DENVER
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND flight.airline_code = 'CO'
[ 4868, 477, 13956, 319, 7375, 4305, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 357, 34, 9050, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 41819, 5959, 6, 5357, 27993, 62, 16, 13, 19205, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4868, 477, 13956, 319, 7375, 4305, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 357, 34, 9050, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 41819, 5959, 6, 5357, 27993, 62, 16, 13, 19205, 62, 8189 ]
Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst?
SELECT studio_host FROM table_name_19 WHERE play_by_play = "paul sunderland" AND studio_analysts = "jack haley"
[ 8241, 318, 262, 8034, 2583, 329, 262, 983, 326, 468, 3362, 35706, 355, 711, 416, 711, 28823, 290, 3619, 30646, 355, 262, 11733, 44600, 30, 46506, 8034, 62, 4774, 16034, 3084, 62, 3672, 62, 1129, 33411, 711, 62, 1525, 62, 1759, 796, 366, 79, 2518, 424, 681, 1044, 1, 5357, 8034, 62, 38200, 6448, 796, 366, 19650, 289, 16730, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8034, 2583, 329, 262, 983, 326, 468, 3362, 35706, 355, 711, 416, 711, 28823, 290, 3619, 30646, 355, 262, 11733, 44600, 30, 46506, 8034, 62, 4774, 16034, 3084, 62, 3672, 62, 1129, 33411, 711, 62, 1525, 62, 1759, 796, 366, 79, 2518, 424, 681, 1044, 1, 5357, 8034, 62, 38200, 6448, 796, 366, 19650, 289, 16730, 1 ]
Which player finished at +10?
SELECT "Player" FROM table_76900 WHERE "To par" = '+10'
[ 13828, 2137, 5201, 379, 1343, 940, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 22, 3388, 405, 33411, 366, 2514, 1582, 1, 796, 705, 10, 940, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2137, 5201, 379, 1343, 940, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 22, 3388, 405, 33411, 366, 2514, 1582, 1, 796, 705, 10, 940, 6 ]
which episode was Transmitted on friday if the episode of '414 insanely twisted shadow planet' was transmitted on tuesday?
SELECT "Friday" FROM table_1824 WHERE "Tuesday" = '414 Insanely Twisted Shadow Planet'
[ 4758, 4471, 373, 3602, 3291, 319, 1216, 2567, 611, 262, 4471, 286, 705, 37309, 40848, 19074, 9082, 5440, 6, 373, 18307, 319, 256, 3322, 30, 46506, 366, 20610, 1, 16034, 3084, 62, 1507, 1731, 33411, 366, 26133, 1, 796, 705, 37309, 7088, 1531, 306, 40006, 8843, 11397, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 4471, 373, 3602, 3291, 319, 1216, 2567, 611, 262, 4471, 286, 705, 37309, 40848, 19074, 9082, 5440, 6, 373, 18307, 319, 256, 3322, 30, 46506, 366, 20610, 1, 16034, 3084, 62, 1507, 1731, 33411, 366, 26133, 1, 796, 705, 37309, 7088, 1531, 306, 40006, 8843, 11397, 6 ]
Which 2011 has a Career Win-Loss of 7 10?
SELECT "2011" FROM table_35147 WHERE "Career Win-Loss" = '7–10'
[ 13828, 2813, 468, 257, 32619, 7178, 12, 43, 793, 286, 767, 838, 30, 46506, 366, 9804, 1, 16034, 3084, 62, 2327, 20198, 33411, 366, 17784, 263, 7178, 12, 43, 793, 1, 796, 705, 22, 1906, 940, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2813, 468, 257, 32619, 7178, 12, 43, 793, 286, 767, 838, 30, 46506, 366, 9804, 1, 16034, 3084, 62, 2327, 20198, 33411, 366, 17784, 263, 7178, 12, 43, 793, 1, 796, 705, 22, 1906, 940, 6 ]
Leet' Users (reputation of precisely 1337). Return the DisplayName of currently 'Leet' users.
SELECT DisplayName FROM Users WHERE Reputation = 1337
[ 3123, 316, 6, 18987, 357, 260, 1996, 341, 286, 10582, 1511, 2718, 737, 8229, 262, 16531, 5376, 286, 3058, 705, 3123, 316, 6, 2985, 13, 46506, 16531, 5376, 16034, 18987, 33411, 1432, 7094, 796, 1511, 2718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3123, 316, 6, 18987, 357, 260, 1996, 341, 286, 10582, 1511, 2718, 737, 8229, 262, 16531, 5376, 286, 3058, 705, 3123, 316, 6, 2985, 13, 46506, 16531, 5376, 16034, 18987, 33411, 1432, 7094, 796, 1511, 2718 ]
what is the organisation when the year is less than 2005 and the award is the best variety show host?
SELECT "Organisation" FROM table_51485 WHERE "Year" < '2005' AND "Award" = 'best variety show host'
[ 10919, 318, 262, 12684, 618, 262, 614, 318, 1342, 621, 5075, 290, 262, 5764, 318, 262, 1266, 4996, 905, 2583, 30, 46506, 366, 26121, 5612, 1, 16034, 3084, 62, 47396, 5332, 33411, 366, 17688, 1, 1279, 705, 14315, 6, 5357, 366, 32, 904, 1, 796, 705, 13466, 4996, 905, 2583, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 12684, 618, 262, 614, 318, 1342, 621, 5075, 290, 262, 5764, 318, 262, 1266, 4996, 905, 2583, 30, 46506, 366, 26121, 5612, 1, 16034, 3084, 62, 47396, 5332, 33411, 366, 17688, 1, 1279, 705, 14315, 6, 5357, 366, 32, 904, 1, 796, 705, 13466, 4996, 905, 2583, 6 ]
How many wins did Canterbury Wizards have?
SELECT MAX("Won") FROM table_27604 WHERE "Team" = 'Canterbury Wizards'
[ 2437, 867, 7864, 750, 43581, 21092, 423, 30, 46506, 25882, 7203, 54, 261, 4943, 16034, 3084, 62, 1983, 31916, 33411, 366, 15592, 1, 796, 705, 6090, 353, 10711, 21092, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7864, 750, 43581, 21092, 423, 30, 46506, 25882, 7203, 54, 261, 4943, 16034, 3084, 62, 1983, 31916, 33411, 366, 15592, 1, 796, 705, 6090, 353, 10711, 21092, 6 ]
SELECT * where [CreationDate] >= CAST(GETDATE() AS date).
SELECT COUNT(*) FROM Posts WHERE 'creationdate' < DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0)
[ 46506, 1635, 810, 685, 12443, 341, 10430, 60, 18189, 327, 11262, 7, 18851, 35, 6158, 3419, 7054, 3128, 737, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 705, 38793, 4475, 6, 1279, 360, 6158, 29266, 7, 820, 11, 360, 11617, 29267, 7, 820, 11, 657, 11, 17151, 35, 6158, 3419, 828, 657, 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 ]
[ 46506, 1635, 810, 685, 12443, 341, 10430, 60, 18189, 327, 11262, 7, 18851, 35, 6158, 3419, 7054, 3128, 737, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 705, 38793, 4475, 6, 1279, 360, 6158, 29266, 7, 820, 11, 360, 11617, 29267, 7, 820, 11, 657, 11, 17151, 35, 6158, 3419, 828, 657, 8 ]
name the primary disease and short title of procedure for the patient lue white.
SELECT demographic.diagnosis, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Lue White"
[ 3672, 262, 4165, 4369, 290, 1790, 3670, 286, 8771, 329, 262, 5827, 300, 518, 2330, 13, 46506, 16728, 13, 47356, 5958, 11, 9021, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 796, 366, 43, 518, 2635, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3672, 262, 4165, 4369, 290, 1790, 3670, 286, 8771, 329, 262, 5827, 300, 518, 2330, 13, 46506, 16728, 13, 47356, 5958, 11, 9021, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 796, 366, 43, 518, 2635, 1 ]
what is the only wager that is not hair ?
SELECT "wager" FROM table_204_212 WHERE "wager" <> 'hair'
[ 10919, 318, 262, 691, 266, 3536, 326, 318, 407, 4190, 5633, 46506, 366, 86, 3536, 1, 16034, 3084, 62, 18638, 62, 21777, 33411, 366, 86, 3536, 1, 1279, 29, 705, 27108, 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 ]
[ 10919, 318, 262, 691, 266, 3536, 326, 318, 407, 4190, 5633, 46506, 366, 86, 3536, 1, 16034, 3084, 62, 18638, 62, 21777, 33411, 366, 86, 3536, 1, 1279, 29, 705, 27108, 6 ]
posts with more image markdown than html images.
SELECT PostId AS "post_link", mdi.numimages AS numMarkdownImages, hi.numimages AS NumHtmlImages, hi.ViewCount AS ViewCount, hi.Score AS Score, hi.CreationDate AS CreationDate FROM (SELECT PostId, LENGTH(markdown) - LENGTH(REPLACE(markdown, '![', 'X')) AS numimages FROM (SELECT ph.Text AS markdown, ph.PostId AS postid FROM PostHistory AS ph JOIN (SELECT MAX(Id) AS id FROM PostHistory WHERE (PostHistoryTypeId = 2 OR PostHistoryTypeId = 5 OR PostHistoryTypeId = 8) GROUP BY PostId) AS latestid ON latestid.Id = ph.Id) AS md) AS mdi JOIN (SELECT Id, CreationDate, Score, ViewCount, LENGTH(Body) - LENGTH(REPLACE(Body, '<img src', '<img sr')) AS numimages FROM Posts) AS hi ON mdi.PostId = hi.Id WHERE mdi.numimages > 0 AND mdi.numimages > hi.numimages
[ 24875, 351, 517, 2939, 1317, 2902, 621, 27711, 4263, 13, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 285, 10989, 13, 22510, 17566, 7054, 997, 9704, 2902, 29398, 11, 23105, 13, 22510, 17566, 7054, 31835, 39, 20369, 29398, 11, 23105, 13, 7680, 12332, 7054, 3582, 12332, 11, 23105, 13, 26595, 7054, 15178, 11, 23105, 13, 12443, 341, 10430, 7054, 21582, 10430, 16034, 357, 46506, 2947, 7390, 11, 406, 49494, 7, 4102, 2902, 8, 532, 406, 49494, 7, 2200, 6489, 11598, 7, 4102, 2902, 11, 705, 0, 58, 3256, 705, 55, 6, 4008, 7054, 997, 17566, 16034, 357, 46506, 872 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24875, 351, 517, 2939, 1317, 2902, 621, 27711, 4263, 13, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 285, 10989, 13, 22510, 17566, 7054, 997, 9704, 2902, 29398, 11, 23105, 13, 22510, 17566, 7054, 31835, 39, 20369, 29398, 11, 23105, 13, 7680, 12332, 7054, 3582, 12332, 11, 23105, 13, 26595, 7054, 15178, 11, 23105, 13, 12443, 341, 10430, 7054, 21582, 10430, 16034, 357, 46506, 2947, 7390, 11, 406, 49494, 7, 4102, 2902, 8, 532, 406, 49494, 7, 2200, 6489, 11598, 7, 4102, 2902, 11, 705, 0, 58, 3256, 705, 55, 6, 4008, 7054, 997, 17566, 16034, 357, 46506, 872 ]
does AA fly from BOSTON to SAN FRANCISCO
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, flight WHERE ((flight.airline_code = 'AA') AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND flight.airline_code = airline.airline_code AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
[ 22437, 15923, 6129, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 14808, 22560, 13, 958, 1370, 62, 8189, 796, 705, 3838, 11537, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 22437, 15923, 6129, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 14808, 22560, 13, 958, 1370, 62, 8189, 796, 705, 3838, 11537, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16 ]
Which college was the wide receiver whose pick was less than 130.0 picked from?
SELECT "College" FROM table_19489 WHERE "Position" = 'Wide Receiver' AND "Pick #" < '130.0'
[ 13828, 4152, 373, 262, 3094, 9733, 3025, 2298, 373, 1342, 621, 11323, 13, 15, 6497, 422, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 1129, 35890, 33411, 366, 26545, 1, 796, 705, 42559, 39106, 6, 5357, 366, 31686, 1303, 1, 1279, 705, 12952, 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, 1, 1 ]
[ 13828, 4152, 373, 262, 3094, 9733, 3025, 2298, 373, 1342, 621, 11323, 13, 15, 6497, 422, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 1129, 35890, 33411, 366, 26545, 1, 796, 705, 42559, 39106, 6, 5357, 366, 31686, 1303, 1, 1279, 705, 12952, 13, 15, 6 ]
For each party, use a bar chart to show the number of its delegates, and could you rank in descending by the Y-axis please?
SELECT T2.Party, COUNT(T2.Party) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party ORDER BY COUNT(T2.Party) DESC
[ 1890, 1123, 2151, 11, 779, 257, 2318, 8262, 284, 905, 262, 1271, 286, 663, 15265, 11, 290, 714, 345, 4279, 287, 31491, 416, 262, 575, 12, 22704, 3387, 30, 46506, 309, 17, 13, 33553, 11, 327, 28270, 7, 51, 17, 13, 33553, 8, 16034, 3071, 7054, 309, 16, 32357, 1268, 2151, 7054, 309, 17, 6177, 309, 16, 13, 33553, 796, 309, 17, 13, 33553, 62, 2389, 44441, 11050, 309, 17, 13, 33553, 38678, 11050, 327, 28270, 7, 51, 17, 13, 33553, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 1123, 2151, 11, 779, 257, 2318, 8262, 284, 905, 262, 1271, 286, 663, 15265, 11, 290, 714, 345, 4279, 287, 31491, 416, 262, 575, 12, 22704, 3387, 30, 46506, 309, 17, 13, 33553, 11, 327, 28270, 7, 51, 17, 13, 33553, 8, 16034, 3071, 7054, 309, 16, 32357, 1268, 2151, 7054, 309, 17, 6177, 309, 16, 13, 33553, 796, 309, 17, 13, 33553, 62, 2389, 44441, 11050, 309, 17, 13, 33553, 38678, 11050, 327, 28270, 7, 51, 17, 13, 33553, 8, 22196, 34 ]
What is the Country when the IATA shows cju?
SELECT "Country" FROM table_38159 WHERE "IATA" = 'cju'
[ 2061, 318, 262, 12946, 618, 262, 314, 13563, 2523, 269, 14396, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2548, 19707, 33411, 366, 40, 13563, 1, 796, 705, 66, 14396, 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, 12946, 618, 262, 314, 13563, 2523, 269, 14396, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2548, 19707, 33411, 366, 40, 13563, 1, 796, 705, 66, 14396, 6 ]
What is the GVW for model 97H00?
SELECT gvw__kg_ton_ FROM table_20866024_4 WHERE model_designation = "97H00"
[ 2061, 318, 262, 402, 30133, 329, 2746, 10111, 39, 405, 30, 46506, 308, 85, 86, 834, 10025, 62, 1122, 62, 16034, 3084, 62, 1238, 4521, 1899, 1731, 62, 19, 33411, 2746, 62, 26124, 341, 796, 366, 5607, 39, 405, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 402, 30133, 329, 2746, 10111, 39, 405, 30, 46506, 308, 85, 86, 834, 10025, 62, 1122, 62, 16034, 3084, 62, 1238, 4521, 1899, 1731, 62, 19, 33411, 2746, 62, 26124, 341, 796, 366, 5607, 39, 405, 1 ]
What is the value of D 47 + when the value of D 44 O is r 24?
SELECT "D 47 +" FROM table_80441 WHERE "D 44 O" = 'r 24'
[ 2061, 318, 262, 1988, 286, 360, 6298, 1343, 618, 262, 1988, 286, 360, 5846, 440, 318, 374, 1987, 30, 46506, 366, 35, 6298, 1343, 1, 16034, 3084, 62, 1795, 39710, 33411, 366, 35, 5846, 440, 1, 796, 705, 81, 1987, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1988, 286, 360, 6298, 1343, 618, 262, 1988, 286, 360, 5846, 440, 318, 374, 1987, 30, 46506, 366, 35, 6298, 1343, 1, 16034, 3084, 62, 1795, 39710, 33411, 366, 35, 5846, 440, 1, 796, 705, 81, 1987, 6 ]
fasting blood glucose 100 _ 125 mg / dl, or 2 _ hour post _ challenge capillary glucose 140 _ 199 mg / dl
SELECT * FROM table_dev_32 WHERE fasting_blood_glucose_fbg >= 100 AND fasting_blood_glucose_fbg <= 125 OR (post_challenge_capillary_glucose >= 140 AND post_challenge_capillary_glucose <= 199)
[ 7217, 278, 2910, 15701, 1802, 4808, 13151, 10527, 1220, 288, 75, 11, 393, 362, 4808, 1711, 1281, 4808, 4427, 1451, 15856, 15701, 12713, 4808, 1594, 10527, 1220, 288, 75, 46506, 1635, 16034, 3084, 62, 7959, 62, 2624, 33411, 24845, 62, 18041, 62, 4743, 1229, 577, 62, 21855, 70, 18189, 1802, 5357, 24845, 62, 18041, 62, 4743, 1229, 577, 62, 21855, 70, 19841, 13151, 6375, 357, 7353, 62, 36747, 3540, 62, 11128, 15856, 62, 4743, 1229, 577, 18189, 12713, 5357, 1281, 62, 36747, 3540, 62, 11128, 15856, 62, 4743, 1229, 577, 19841, 1594, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7217, 278, 2910, 15701, 1802, 4808, 13151, 10527, 1220, 288, 75, 11, 393, 362, 4808, 1711, 1281, 4808, 4427, 1451, 15856, 15701, 12713, 4808, 1594, 10527, 1220, 288, 75, 46506, 1635, 16034, 3084, 62, 7959, 62, 2624, 33411, 24845, 62, 18041, 62, 4743, 1229, 577, 62, 21855, 70, 18189, 1802, 5357, 24845, 62, 18041, 62, 4743, 1229, 577, 62, 21855, 70, 19841, 13151, 6375, 357, 7353, 62, 36747, 3540, 62, 11128, 15856, 62, 4743, 1229, 577, 18189, 12713, 5357, 1281, 62, 36747, 3540, 62, 11128, 15856, 62, 4743, 1229, 577, 19841, 1594, 8 ]
were more points scored against butler or purdue ?
SELECT "opponent" FROM table_204_795 WHERE "opponent" IN ('butler', 'purdue') ORDER BY "score" + "score" DESC LIMIT 1
[ 22474, 517, 2173, 7781, 1028, 475, 1754, 393, 1308, 23301, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 18638, 62, 41544, 33411, 366, 10365, 3471, 1, 3268, 19203, 4360, 1754, 3256, 705, 79, 30345, 11537, 38678, 11050, 366, 26675, 1, 1343, 366, 26675, 1, 22196, 34, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 22474, 517, 2173, 7781, 1028, 475, 1754, 393, 1308, 23301, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 18638, 62, 41544, 33411, 366, 10365, 3471, 1, 3268, 19203, 4360, 1754, 3256, 705, 79, 30345, 11537, 38678, 11050, 366, 26675, 1, 1343, 366, 26675, 1, 22196, 34, 27564, 2043, 352 ]
Which player went to the college Southern California?
SELECT "Player" FROM table_306 WHERE "College" = 'Southern California'
[ 13828, 2137, 1816, 284, 262, 4152, 8050, 3442, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 20548, 33411, 366, 38951, 1, 796, 705, 44993, 3442, 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, 2137, 1816, 284, 262, 4152, 8050, 3442, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 20548, 33411, 366, 38951, 1, 796, 705, 44993, 3442, 6 ]
what were the five procedures that were the most frequent in 2101?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE STRFTIME('%y', procedures_icd.charttime) = '2101' GROUP BY procedures_icd.icd9_code) AS t1 WHERE t1.c1 <= 5)
[ 10919, 547, 262, 1936, 9021, 326, 547, 262, 749, 10792, 287, 2310, 486, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 16, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 9021, 62 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1936, 9021, 326, 547, 262, 749, 10792, 287, 2310, 486, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 16, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 9021, 62 ]
What athletes represented the country of germany?
SELECT athletes FROM table_name_82 WHERE country = "germany"
[ 2061, 10856, 7997, 262, 1499, 286, 308, 2224, 88, 30, 46506, 10856, 16034, 3084, 62, 3672, 62, 6469, 33411, 1499, 796, 366, 1362, 21834, 1 ]
[ 1, 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, 10856, 7997, 262, 1499, 286, 308, 2224, 88, 30, 46506, 10856, 16034, 3084, 62, 3672, 62, 6469, 33411, 1499, 796, 366, 1362, 21834, 1 ]