instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Give the number of patients that died with a drug named pneumococcal vac polyvalent.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "1" AND prescriptions.drug = "PNEUMOcoccal Vac Polyvalent"
[ 23318, 262, 1271, 286, 3871, 326, 3724, 351, 257, 2563, 3706, 29631, 34403, 9948, 6658, 7514, 2100, 298, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23318, 262, 1271, 286, 3871, 326, 3724, 351, 257, 2563, 3706, 29631, 34403, 9948, 6658, 7514, 2100, 298, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, ...
What is the smallest losses when the wins are 5 and the against less than 1852?
SELECT MIN(losses) FROM table_name_14 WHERE wins = 5 AND against < 1852
[ 2061, 318, 262, 18197, 9089, 618, 262, 7864, 389, 642, 290, 262, 1028, 1342, 621, 1248, 4309, 30, 46506, 20625, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 7864, 796, 642, 5357, 1028, 1279, 1248, 4309 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9089, 618, 262, 7864, 389, 642, 290, 262, 1028, 1342, 621, 1248, 4309, 30, 46506, 20625, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 7864, 796, 642, 5357, 1028, 1279, 1248, 4309 ]
Which 2006 cfl draft pick played college ball at Idaho state?
SELECT pick__number FROM table_name_91 WHERE college = "idaho state"
[ 13828, 4793, 269, 2704, 4538, 2298, 2826, 4152, 2613, 379, 20071, 1181, 30, 46506, 2298, 834, 17618, 16034, 3084, 62, 3672, 62, 6420, 33411, 4152, 796, 366, 312, 17108, 1181, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 4793, 269, 2704, 4538, 2298, 2826, 4152, 2613, 379, 20071, 1181, 30, 46506, 2298, 834, 17618, 16034, 3084, 62, 3672, 62, 6420, 33411, 4152, 796, 366, 312, 17108, 1181, 1 ]
What is every value for area if change% is -3.6?
SELECT "Area (km\u00b2)" FROM table_28574 WHERE "Change (%)" = '-3.6'
[ 2061, 318, 790, 1988, 329, 1989, 611, 1487, 4, 318, 532, 18, 13, 21, 30, 46506, 366, 30547, 357, 13276, 59, 84, 405, 65, 17, 16725, 16034, 3084, 62, 2078, 46900, 33411, 366, 19400, 11509, 1, 796, 705, 12, 18, 13, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 790, 1988, 329, 1989, 611, 1487, 4, 318, 532, 18, 13, 21, 30, 46506, 366, 30547, 357, 13276, 59, 84, 405, 65, 17, 16725, 16034, 3084, 62, 2078, 46900, 33411, 366, 19400, 11509, 1, 796, 705, 12, 18, 13, 21, 6 ]
Display a bar chart for what are the names and budgets of departments with budgets greater than the average?, order from high to low by the x axis please.
SELECT dept_name, budget FROM department WHERE budget > (SELECT AVG(budget) FROM department) ORDER BY dept_name DESC
[ 23114, 257, 2318, 8262, 329, 644, 389, 262, 3891, 290, 21011, 286, 13346, 351, 21011, 3744, 621, 262, 2811, 21747, 1502, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 3387, 13, 46506, 390, 457, 62, 3672, 11, 4466, 16034, 5011, 33411, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23114, 257, 2318, 8262, 329, 644, 389, 262, 3891, 290, 21011, 286, 13346, 351, 21011, 3744, 621, 262, 2811, 21747, 1502, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 3387, 13, 46506, 390, 457, 62, 3672, 11, 4466, 16034, 5011, 33411, 4...
What is the Country when the Content was general television, and a Television service of rai 1?
SELECT country FROM table_name_87 WHERE content = "general television" AND television_service = "rai 1"
[ 2061, 318, 262, 12946, 618, 262, 14041, 373, 2276, 5581, 11, 290, 257, 21516, 2139, 286, 374, 1872, 352, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5774, 33411, 2695, 796, 366, 24622, 5581, 1, 5357, 5581, 62, 15271, 796, 366, 430, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14041, 373, 2276, 5581, 11, 290, 257, 21516, 2139, 286, 374, 1872, 352, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5774, 33411, 2695, 796, 366, 24622, 5581, 1, 5357, 5581, 62, 15271, 796, 366, 430, ...
What is the 1999 tournament that has a Q1 in 2003 and a Q3 in 2002?
SELECT "1999" FROM table_15713 WHERE "2003" = 'q1' AND "2002" = 'q3'
[ 2061, 318, 262, 7358, 7756, 326, 468, 257, 1195, 16, 287, 5816, 290, 257, 1195, 18, 287, 6244, 30, 46506, 366, 18946, 1, 16034, 3084, 62, 18458, 1485, 33411, 366, 16088, 1, 796, 705, 80, 16, 6, 5357, 366, 16942, 1, 796, 705, 80, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7358, 7756, 326, 468, 257, 1195, 16, 287, 5816, 290, 257, 1195, 18, 287, 6244, 30, 46506, 366, 18946, 1, 16034, 3084, 62, 18458, 1485, 33411, 366, 16088, 1, 796, 705, 80, 16, 6, 5357, 366, 16942, 1, 796, 705, 80, ...
how many days have elapsed since the last time patient 022-187132 had an intake of po reg diet on the current icu visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', intakeoutput.intakeoutputtime)) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid =...
[ 4919, 867, 1528, 423, 42118, 1201, 262, 938, 640, 5827, 657, 1828, 12, 23451, 19924, 550, 281, 10337, 286, 745, 842, 5496, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1528, 423, 42118, 1201, 262, 938, 640, 5827, 657, 1828, 12, 23451, 19924, 550, 281, 10337, 286, 745, 842, 5496, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237,...
What New Delhi Competition has a Result of Loss?
SELECT competition FROM table_name_33 WHERE venue = "new delhi" AND result = "loss"
[ 2061, 968, 12517, 27348, 468, 257, 25414, 286, 22014, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 2091, 33411, 14359, 796, 366, 3605, 1619, 5303, 1, 5357, 1255, 796, 366, 22462, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 968, 12517, 27348, 468, 257, 25414, 286, 22014, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 2091, 33411, 14359, 796, 366, 3605, 1619, 5303, 1, 5357, 1255, 796, 366, 22462, 1 ]
What was the latest year in which she took 4th position in Budapest, Hungary?
SELECT MAX(year) FROM table_name_12 WHERE position = "4th" AND venue = "budapest, hungary"
[ 2061, 373, 262, 3452, 614, 287, 543, 673, 1718, 604, 400, 2292, 287, 40959, 11, 19562, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1065, 33411, 2292, 796, 366, 19, 400, 1, 5357, 14359, 796, 366, 65, 463, 35746, 11, 91...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3452, 614, 287, 543, 673, 1718, 604, 400, 2292, 287, 40959, 11, 19562, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1065, 33411, 2292, 796, 366, 19, 400, 1, 5357, 14359, 796, 366, 65, 463, 35746, 11, 91...
Can you tell me the total number of 100s that has the Balls larger than 325, and the Runs smaller than 572?
SELECT COUNT(100 AS s) FROM table_name_44 WHERE balls > 325 AND runs < 572
[ 6090, 345, 1560, 502, 262, 2472, 1271, 286, 1802, 82, 326, 468, 262, 39332, 4025, 621, 29524, 11, 290, 262, 44743, 4833, 621, 642, 4761, 30, 46506, 327, 28270, 7, 3064, 7054, 264, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 11333, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 6090, 345, 1560, 502, 262, 2472, 1271, 286, 1802, 82, 326, 468, 262, 39332, 4025, 621, 29524, 11, 290, 262, 44743, 4833, 621, 642, 4761, 30, 46506, 327, 28270, 7, 3064, 7054, 264, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 11333, 18...
Find the parties associated with the delegates from district 1 Who served as governors of the parties, and count them by a bar chart, rank by the x axis in desc.
SELECT Governor, COUNT(Governor) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 GROUP BY Governor ORDER BY Governor DESC
[ 16742, 262, 4671, 3917, 351, 262, 15265, 422, 4783, 352, 5338, 4983, 355, 26824, 286, 262, 4671, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 4279, 416, 262, 2124, 16488, 287, 1715, 13, 46506, 10807, 11, 327, 28270, 7, 29168, 273, 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...
[ 16742, 262, 4671, 3917, 351, 262, 15265, 422, 4783, 352, 5338, 4983, 355, 26824, 286, 262, 4671, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 4279, 416, 262, 2124, 16488, 287, 1715, 13, 46506, 10807, 11, 327, 28270, 7, 29168, 273, 8...
Rep 'Created' vs Rep 'owned' by top X voters.
WITH Voters AS (SELECT DISTINCT UpVotes, DownVotes, Id, Reputation FROM Users WHERE Reputation != 101 AND Reputation != 1) SELECT Users.Id AS "userlink", Users.DisplayName AS "sortname", Voters.UpVotes * 8 AS "estimatedaddedrep", Voters.DownVotes * 3 AS "estimateddestroyedrep", Users.Reputation AS "ownedrep" FROM Users...
[ 6207, 705, 41972, 6, 3691, 1432, 705, 11990, 6, 416, 1353, 1395, 4446, 13, 54, 10554, 35689, 7054, 357, 46506, 360, 8808, 1268, 4177, 3205, 53, 6421, 11, 5588, 53, 6421, 11, 5121, 11, 1432, 7094, 16034, 18987, 33411, 1432, 7094, 14512...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6207, 705, 41972, 6, 3691, 1432, 705, 11990, 6, 416, 1353, 1395, 4446, 13, 54, 10554, 35689, 7054, 357, 46506, 360, 8808, 1268, 4177, 3205, 53, 6421, 11, 5588, 53, 6421, 11, 5121, 11, 1432, 7094, 16034, 18987, 33411, 1432, 7094, 14512...
how many mission failures were there for the cosmos 305 ?
SELECT COUNT(*) FROM table_204_633 WHERE "name" = 'cosmos 305'
[ 4919, 867, 4365, 15536, 547, 612, 329, 262, 39385, 32747, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 21, 2091, 33411, 366, 3672, 1, 796, 705, 6966, 16785, 32747, 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 ]
[ 4919, 867, 4365, 15536, 547, 612, 329, 262, 39385, 32747, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 21, 2091, 33411, 366, 3672, 1, 796, 705, 6966, 16785, 32747, 6 ]
What are the first and last names of people who payed more than the rooms' base prices?
SELECT T1.firstname, T1.lastname FROM reservations AS T1 JOIN rooms AS T2 ON T1.room = T2.roomid WHERE T1.rate - T2.baseprice > 0
[ 2061, 389, 262, 717, 290, 938, 3891, 286, 661, 508, 1414, 276, 517, 621, 262, 9519, 6, 2779, 4536, 30, 46506, 309, 16, 13, 11085, 3672, 11, 309, 16, 13, 12957, 3672, 16034, 24722, 7054, 309, 16, 32357, 1268, 9519, 7054, 309, 17, 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...
[ 2061, 389, 262, 717, 290, 938, 3891, 286, 661, 508, 1414, 276, 517, 621, 262, 9519, 6, 2779, 4536, 30, 46506, 309, 16, 13, 11085, 3672, 11, 309, 16, 13, 12957, 3672, 16034, 24722, 7054, 309, 16, 32357, 1268, 9519, 7054, 309, 17, 6...
find the number of patients whose admission location is transfer from hosp/extram and duration of hospital stay more than 34 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND demographic.days_stay > "34"
[ 19796, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 4351, 422, 10496, 14, 2302, 859, 290, 9478, 286, 4436, 2652, 517, 621, 4974, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 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...
[ 19796, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 4351, 422, 10496, 14, 2302, 859, 290, 9478, 286, 4436, 2652, 517, 621, 4974, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411,...
Get answers with the most closed votes.
SELECT Posts.Id, ParentId, COUNT(*) AS Votings, OwnerDisplayName, Body, Score FROM Posts, Votes WHERE PostTypeId = 2 AND Votes.PostId = Posts.Id AND VoteTypeId = 10 GROUP BY Votes.PostId, Posts.Id, ParentId, OwnerDisplayName, Body, Score ORDER BY COUNT(*) DESC LIMIT 10
[ 3855, 7429, 351, 262, 749, 4838, 5690, 13, 46506, 12043, 13, 7390, 11, 16774, 7390, 11, 327, 28270, 7, 28104, 7054, 569, 313, 654, 11, 23853, 23114, 5376, 11, 12290, 11, 15178, 16034, 12043, 11, 39584, 33411, 2947, 6030, 7390, 796, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3855, 7429, 351, 262, 749, 4838, 5690, 13, 46506, 12043, 13, 7390, 11, 16774, 7390, 11, 327, 28270, 7, 28104, 7054, 569, 313, 654, 11, 23853, 23114, 5376, 11, 12290, 11, 15178, 16034, 12043, 11, 39584, 33411, 2947, 6030, 7390, 796, 36...
What is the away team whose home is Victoria?
SELECT "Away" FROM table_9228 WHERE "Home" = 'victoria'
[ 2061, 318, 262, 1497, 1074, 3025, 1363, 318, 12313, 30, 46506, 366, 32, 1014, 1, 16034, 3084, 62, 24, 23815, 33411, 366, 16060, 1, 796, 705, 32433, 7661, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1497, 1074, 3025, 1363, 318, 12313, 30, 46506, 366, 32, 1014, 1, 16034, 3084, 62, 24, 23815, 33411, 366, 16060, 1, 796, 705, 32433, 7661, 6 ]
What is the Parts-per example of 2 10 6?
SELECT parts_per_example FROM table_name_75 WHERE value_of_quantity = "2×10 −6"
[ 2061, 318, 262, 22349, 12, 525, 1672, 286, 362, 838, 718, 30, 46506, 3354, 62, 525, 62, 20688, 16034, 3084, 62, 3672, 62, 2425, 33411, 1988, 62, 1659, 62, 40972, 414, 796, 366, 17, 12906, 940, 9746, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 22349, 12, 525, 1672, 286, 362, 838, 718, 30, 46506, 3354, 62, 525, 62, 20688, 16034, 3084, 62, 3672, 62, 2425, 33411, 1988, 62, 1659, 62, 40972, 414, 796, 366, 17, 12906, 940, 9746, 21, 1 ]
What is the Super G value for the season that has an Overall score of 16?
SELECT "Super G" FROM table_53192 WHERE "Overall" = '16'
[ 2061, 318, 262, 3115, 402, 1988, 329, 262, 1622, 326, 468, 281, 14674, 4776, 286, 1467, 30, 46506, 366, 12442, 402, 1, 16034, 3084, 62, 4310, 17477, 33411, 366, 16350, 1, 796, 705, 1433, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3115, 402, 1988, 329, 262, 1622, 326, 468, 281, 14674, 4776, 286, 1467, 30, 46506, 366, 12442, 402, 1, 16034, 3084, 62, 4310, 17477, 33411, 366, 16350, 1, 796, 705, 1433, 6 ]
What was the attendance of the Oakland Raiders game?
SELECT "Attendance" FROM table_77447 WHERE "Opponent" = 'oakland raiders'
[ 2061, 373, 262, 14858, 286, 262, 12369, 16120, 983, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 3324, 34825, 33411, 366, 27524, 3471, 1, 796, 705, 15877, 1044, 9513, 364, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14858, 286, 262, 12369, 16120, 983, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 3324, 34825, 33411, 366, 27524, 3471, 1, 796, 705, 15877, 1044, 9513, 364, 6 ]
give me the number of patients whose year of birth is less than 2170 and lab test fluid is blood?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2170" AND lab.fluid = "Blood"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 362, 17279, 290, 2248, 1332, 11711, 318, 2910, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 362, 17279, 290, 2248, 1332, 11711, 318, 2910, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
let me know the birth date and death date of patient caren obrien.
SELECT demographic.dob, demographic.dod FROM demographic WHERE demographic.name = "Caren Obrien"
[ 1616, 502, 760, 262, 4082, 3128, 290, 1918, 3128, 286, 5827, 1337, 77, 909, 15355, 13, 46506, 16728, 13, 67, 672, 11, 16728, 13, 67, 375, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 34, 5757, 1835, 15355, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1616, 502, 760, 262, 4082, 3128, 290, 1918, 3128, 286, 5827, 1337, 77, 909, 15355, 13, 46506, 16728, 13, 67, 672, 11, 16728, 13, 67, 375, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 34, 5757, 1835, 15355, 1 ]
what is ethnicity of subject id 6983?
SELECT demographic.ethnicity FROM demographic WHERE demographic.subject_id = "6983"
[ 10919, 318, 26289, 286, 2426, 4686, 39861, 18, 30, 46506, 16728, 13, 38546, 414, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 3388, 5999, 1 ]
[ 1, 1, 1, 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, 26289, 286, 2426, 4686, 39861, 18, 30, 46506, 16728, 13, 38546, 414, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 3388, 5999, 1 ]
Who is the pilot on September 27, 1972?
SELECT pilot FROM table_name_42 WHERE date = "september 27, 1972"
[ 8241, 318, 262, 8022, 319, 2693, 2681, 11, 16101, 30, 46506, 8022, 16034, 3084, 62, 3672, 62, 3682, 33411, 3128, 796, 366, 325, 457, 1491, 2681, 11, 16101, 1 ]
[ 1, 1, 1, 1, 1, 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, 8022, 319, 2693, 2681, 11, 16101, 30, 46506, 8022, 16034, 3084, 62, 3672, 62, 3682, 33411, 3128, 796, 366, 325, 457, 1491, 2681, 11, 16101, 1 ]
What day was geelong the home team?
SELECT "Date" FROM table_32684 WHERE "Home team" = 'geelong'
[ 2061, 1110, 373, 4903, 21537, 262, 1363, 1074, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 39195, 5705, 33411, 366, 16060, 1074, 1, 796, 705, 469, 21537, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1110, 373, 4903, 21537, 262, 1363, 1074, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 39195, 5705, 33411, 366, 16060, 1074, 1, 796, 705, 469, 21537, 6 ]
What is the country is ranked more than 4?
SELECT country FROM table_name_66 WHERE rank > 4
[ 2061, 318, 262, 1499, 318, 10307, 517, 621, 604, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2791, 33411, 4279, 1875, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1499, 318, 10307, 517, 621, 604, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2791, 33411, 4279, 1875, 604 ]
A bar chart about how many students are affected by each allergy type?, and could you order in descending by the Y-axis?
SELECT AllergyType, COUNT(*) FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy GROUP BY T2.AllergyType ORDER BY COUNT(*) DESC
[ 32, 2318, 8262, 546, 703, 867, 2444, 389, 5676, 416, 1123, 36197, 2099, 21747, 290, 714, 345, 1502, 287, 31491, 416, 262, 575, 12, 22704, 30, 46506, 1439, 26079, 6030, 11, 327, 28270, 7, 28104, 16034, 7875, 62, 3237, 26079, 7054, 309,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32, 2318, 8262, 546, 703, 867, 2444, 389, 5676, 416, 1123, 36197, 2099, 21747, 290, 714, 345, 1502, 287, 31491, 416, 262, 575, 12, 22704, 30, 46506, 1439, 26079, 6030, 11, 327, 28270, 7, 28104, 16034, 7875, 62, 3237, 26079, 7054, 309,...
What is the genre of the game from 2006?
SELECT genre FROM table_name_72 WHERE year = "2006"
[ 2061, 318, 262, 12121, 286, 262, 983, 422, 4793, 30, 46506, 12121, 16034, 3084, 62, 3672, 62, 4761, 33411, 614, 796, 366, 13330, 1 ]
[ 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, 12121, 286, 262, 983, 422, 4793, 30, 46506, 12121, 16034, 3084, 62, 3672, 62, 4761, 33411, 614, 796, 366, 13330, 1 ]
Where was the attempt on the Prime Minister of Sri Lanka's life made?
SELECT location FROM table_251272_4 WHERE title_at_the_time = "Prime Minister of Sri Lanka"
[ 8496, 373, 262, 2230, 319, 262, 5537, 4139, 286, 20872, 28143, 338, 1204, 925, 30, 46506, 4067, 16034, 3084, 62, 1495, 1065, 4761, 62, 19, 33411, 3670, 62, 265, 62, 1169, 62, 2435, 796, 366, 26405, 4139, 286, 20872, 28143, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 373, 262, 2230, 319, 262, 5537, 4139, 286, 20872, 28143, 338, 1204, 925, 30, 46506, 4067, 16034, 3084, 62, 1495, 1065, 4761, 62, 19, 33411, 3670, 62, 265, 62, 1169, 62, 2435, 796, 366, 26405, 4139, 286, 20872, 28143, 1 ]
What is the end of reign for Dimitar Stojkovski?
SELECT "End of Reign" FROM table_42191 WHERE "Birth Name" = 'dimitar stojkovski'
[ 2061, 318, 262, 886, 286, 13580, 329, 14048, 7940, 520, 13210, 21862, 20545, 30, 46506, 366, 12915, 286, 29297, 1, 16034, 3084, 62, 3682, 26492, 33411, 366, 38480, 6530, 1, 796, 705, 27740, 7940, 3995, 73, 21862, 20545, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 886, 286, 13580, 329, 14048, 7940, 520, 13210, 21862, 20545, 30, 46506, 366, 12915, 286, 29297, 1, 16034, 3084, 62, 3682, 26492, 33411, 366, 38480, 6530, 1, 796, 705, 27740, 7940, 3995, 73, 21862, 20545, 6 ]
Finding comments with specific keywords for specific user id.
SELECT c.PostId AS "post_id", c.Id AS "comment_id", c.Id AS "comment_link", c.CreationDate AS "date_of_posting" FROM Users AS u INNER JOIN Comments AS c ON u.Id = c.UserId WHERE c.Text LIKE '%##Keyword##%' AND c.UserId = '##UserId##' ORDER BY c.CreationDate
[ 36276, 3651, 351, 2176, 26286, 329, 2176, 2836, 4686, 13, 46506, 269, 13, 6307, 7390, 7054, 366, 7353, 62, 312, 1600, 269, 13, 7390, 7054, 366, 23893, 62, 312, 1600, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 269, 13, 12443, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 36276, 3651, 351, 2176, 26286, 329, 2176, 2836, 4686, 13, 46506, 269, 13, 6307, 7390, 7054, 366, 7353, 62, 312, 1600, 269, 13, 7390, 7054, 366, 23893, 62, 312, 1600, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 269, 13, 12443, 3...
how many times has a d & c nec been performed?
SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'd & c nec')
[ 4919, 867, 1661, 468, 257, 288, 1222, 269, 27576, 587, 6157, 30, 46506, 327, 28270, 7, 28104, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1661, 468, 257, 288, 1222, 269, 27576, 587, 6157, 30, 46506, 327, 28270, 7, 28104, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, ...
what are the three most frequently given specimen test for patients that were previously diagnosed with valvular insufficiency - mitral valve within 2 months, a year before?
SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'valvular insufficiency - mitral valve' AND D...
[ 10919, 389, 262, 1115, 749, 6777, 1813, 31674, 1332, 329, 3871, 326, 547, 4271, 14641, 351, 1188, 85, 934, 1035, 1648, 19777, 532, 10255, 1373, 22580, 1626, 362, 1933, 11, 257, 614, 878, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1115, 749, 6777, 1813, 31674, 1332, 329, 3871, 326, 547, 4271, 14641, 351, 1188, 85, 934, 1035, 1648, 19777, 532, 10255, 1373, 22580, 1626, 362, 1933, 11, 257, 614, 878, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034,...
Find the title, credit, and department name of courses that have more than one prerequisites?
SELECT T1.title, T1.credits, T1.dept_name FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING COUNT(*) > 1
[ 16742, 262, 3670, 11, 3884, 11, 290, 5011, 1438, 286, 10902, 326, 423, 517, 621, 530, 662, 34075, 30, 46506, 309, 16, 13, 7839, 11, 309, 16, 13, 66, 20696, 11, 309, 16, 13, 2934, 457, 62, 3672, 16034, 1781, 7054, 309, 16, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 3670, 11, 3884, 11, 290, 5011, 1438, 286, 10902, 326, 423, 517, 621, 530, 662, 34075, 30, 46506, 309, 16, 13, 7839, 11, 309, 16, 13, 66, 20696, 11, 309, 16, 13, 2934, 457, 62, 3672, 16034, 1781, 7054, 309, 16, 32357, ...
when last did patient 31482 have the minimum arterial bp mean during a day before?
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31482)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial...
[ 12518, 938, 750, 5827, 34085, 6469, 423, 262, 5288, 30675, 498, 275, 79, 1612, 1141, 257, 1110, 878, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 750, 5827, 34085, 6469, 423, 262, 5288, 30675, 498, 275, 79, 1612, 1141, 257, 1110, 878, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, ...
Which manager was appointed on 08.06.2010?
SELECT replaced_by FROM table_27091128_2 WHERE date_of_appointment = "08.06.2010"
[ 13828, 4706, 373, 9899, 319, 8487, 13, 3312, 13, 10333, 30, 46506, 6928, 62, 1525, 16034, 3084, 62, 1983, 2931, 16, 12762, 62, 17, 33411, 3128, 62, 1659, 62, 1324, 49805, 796, 366, 2919, 13, 3312, 13, 10333, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4706, 373, 9899, 319, 8487, 13, 3312, 13, 10333, 30, 46506, 6928, 62, 1525, 16034, 3084, 62, 1983, 2931, 16, 12762, 62, 17, 33411, 3128, 62, 1659, 62, 1324, 49805, 796, 366, 2919, 13, 3312, 13, 10333, 1 ]
what changes have been made to the wbc x 1000 values in patient 027-141930 second measured on the first hospital visit compared to the first value measured on the first hospital visit?
SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-141930' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hosp...
[ 10919, 2458, 423, 587, 925, 284, 262, 266, 15630, 2124, 8576, 3815, 287, 5827, 657, 1983, 12, 1415, 1129, 1270, 1218, 8630, 319, 262, 717, 4436, 3187, 3688, 284, 262, 717, 1988, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 2458, 423, 587, 925, 284, 262, 266, 15630, 2124, 8576, 3815, 287, 5827, 657, 1983, 12, 1415, 1129, 1270, 1218, 8630, 319, 262, 717, 4436, 3187, 3688, 284, 262, 717, 1988, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, ...
During which years was the Model 318td (diesel) with the Engine code of m47d20 manufactured?
SELECT "Years" FROM table_56298 WHERE "Engine code" = 'm47d20' AND "Model" = '318td (diesel)'
[ 7191, 543, 812, 373, 262, 9104, 39320, 8671, 357, 25990, 417, 8, 351, 262, 7117, 2438, 286, 285, 2857, 67, 1238, 15943, 30, 46506, 366, 40630, 1, 16034, 3084, 62, 3980, 27728, 33411, 366, 13798, 2438, 1, 796, 705, 76, 2857, 67, 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 ]
[ 7191, 543, 812, 373, 262, 9104, 39320, 8671, 357, 25990, 417, 8, 351, 262, 7117, 2438, 286, 285, 2857, 67, 1238, 15943, 30, 46506, 366, 40630, 1, 16034, 3084, 62, 3980, 27728, 33411, 366, 13798, 2438, 1, 796, 705, 76, 2857, 67, 1238...
What year was Teen Angels 2 nominated?
SELECT year FROM table_name_19 WHERE nominated = "teen angels 2"
[ 2061, 614, 373, 21432, 17654, 362, 19332, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 1129, 33411, 19332, 796, 366, 7821, 21981, 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 ]
[ 2061, 614, 373, 21432, 17654, 362, 19332, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 1129, 33411, 19332, 796, 366, 7821, 21981, 362, 1 ]
If the director is Yannick Bisson, what was the Canadian amount of viewers?
SELECT COUNT(canadian_viewers__millions_) FROM table_25640730_7 WHERE directed_by = "Yannick Bisson"
[ 1532, 262, 3437, 318, 575, 1236, 624, 347, 30927, 11, 644, 373, 262, 5398, 2033, 286, 10209, 30, 46506, 327, 28270, 7, 5171, 18425, 62, 1177, 364, 834, 17805, 507, 62, 8, 16034, 3084, 62, 11645, 30120, 1270, 62, 22, 33411, 7924, 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 ]
[ 1532, 262, 3437, 318, 575, 1236, 624, 347, 30927, 11, 644, 373, 262, 5398, 2033, 286, 10209, 30, 46506, 327, 28270, 7, 5171, 18425, 62, 1177, 364, 834, 17805, 507, 62, 8, 16034, 3084, 62, 11645, 30120, 1270, 62, 22, 33411, 7924, 62,...
list all flights on CO which leave SEATTLE and arrive in CHICAGO departing on sunday after 1630
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, date_day, days, flight WHERE (((date_day.day_number = 27 AND date_day.month_number = 8 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_tim...
[ 4868, 477, 13956, 319, 7375, 543, 2666, 7946, 35455, 290, 9240, 287, 5870, 2149, 4760, 46, 37717, 319, 37437, 323, 706, 1467, 1270, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4868, 477, 13956, 319, 7375, 543, 2666, 7946, 35455, 290, 9240, 287, 5870, 2149, 4760, 46, 37717, 319, 37437, 323, 706, 1467, 1270, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, ...
how many patients were prescribed propofol 10 mg/1 ml 100ml sdv inj within the same hospital visit after the insertion of thoracostomy tube?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'insertion of thoracostomy tube') AS t1 JOIN (SELECT patient.uniquepid, me...
[ 4919, 867, 3871, 547, 14798, 2632, 1659, 349, 838, 10527, 14, 16, 25962, 1802, 4029, 45647, 85, 2529, 1626, 262, 976, 4436, 3187, 706, 262, 36075, 286, 41899, 330, 455, 9145, 12403, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 547, 14798, 2632, 1659, 349, 838, 10527, 14, 16, 25962, 1802, 4029, 45647, 85, 2529, 1626, 262, 976, 4436, 3187, 706, 262, 36075, 286, 41899, 330, 455, 9145, 12403, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256,...
calculate the total amount of propofol patient 018-14586 received on 04/07/last year.
SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '018-14586')) AND intakeoutput.celllabel = 'propo...
[ 9948, 3129, 378, 262, 2472, 2033, 286, 2632, 1659, 349, 5827, 5534, 23, 12, 1415, 29796, 2722, 319, 8702, 14, 2998, 14, 12957, 614, 13, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 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...
[ 9948, 3129, 378, 262, 2472, 2033, 286, 2632, 1659, 349, 5827, 5534, 23, 12, 1415, 29796, 2722, 319, 8702, 14, 2998, 14, 12957, 614, 13, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, ...
Which Opponent has a Result of win, and a Date of march 17?
SELECT "Opponent" FROM table_46172 WHERE "Result" = 'win' AND "Date" = 'march 17'
[ 13828, 9385, 3471, 468, 257, 25414, 286, 1592, 11, 290, 257, 7536, 286, 9960, 1596, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 3510, 23628, 33411, 366, 23004, 1, 796, 705, 5404, 6, 5357, 366, 10430, 1, 796, 705, 76, 998, 1596,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9385, 3471, 468, 257, 25414, 286, 1592, 11, 290, 257, 7536, 286, 9960, 1596, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 3510, 23628, 33411, 366, 23004, 1, 796, 705, 5404, 6, 5357, 366, 10430, 1, 796, 705, 76, 998, 1596,...
Who were the opponents in the final where the score was 6 4, 2 6, 6 4, 7 6(3)?
SELECT "Opponents in the final" FROM table_26208 WHERE "Score in the final" = '6–4, 2–6, 6–4, 7–6(3)'
[ 8241, 547, 262, 7691, 287, 262, 2457, 810, 262, 4776, 373, 718, 604, 11, 362, 718, 11, 718, 604, 11, 767, 718, 7, 18, 19427, 46506, 366, 27524, 3906, 287, 262, 2457, 1, 16034, 3084, 62, 2075, 21315, 33411, 366, 26595, 287, 262, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 7691, 287, 262, 2457, 810, 262, 4776, 373, 718, 604, 11, 362, 718, 11, 718, 604, 11, 767, 718, 7, 18, 19427, 46506, 366, 27524, 3906, 287, 262, 2457, 1, 16034, 3084, 62, 2075, 21315, 33411, 366, 26595, 287, 262, 24...
what team played on april 21
SELECT opponent FROM table_name_93 WHERE date = "april 21"
[ 10919, 1074, 2826, 319, 46593, 346, 2310, 46506, 6125, 16034, 3084, 62, 3672, 62, 6052, 33411, 3128, 796, 366, 499, 22379, 2310, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 1074, 2826, 319, 46593, 346, 2310, 46506, 6125, 16034, 3084, 62, 3672, 62, 6052, 33411, 3128, 796, 366, 499, 22379, 2310, 1 ]
Who is the position for the 2009-2010 season, number 1?
SELECT "Position" FROM table_6810 WHERE "Season" = '2009-2010' AND "Number" = '1'
[ 8241, 318, 262, 2292, 329, 262, 3717, 12, 10333, 1622, 11, 1271, 352, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 3104, 940, 33411, 366, 18960, 1, 796, 705, 10531, 12, 10333, 6, 5357, 366, 15057, 1, 796, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 2292, 329, 262, 3717, 12, 10333, 1622, 11, 1271, 352, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 3104, 940, 33411, 366, 18960, 1, 796, 705, 10531, 12, 10333, 6, 5357, 366, 15057, 1, 796, 705, 16, 6 ]
What are the names of artist whose exhibitions draw over 200 attendees on average?
SELECT T3.name FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id JOIN artist AS T3 ON T3.artist_id = T2.artist_id GROUP BY T3.artist_id HAVING AVG(T1.attendance) > 200
[ 2061, 389, 262, 3891, 286, 6802, 3025, 48130, 3197, 625, 939, 21736, 319, 2811, 30, 46506, 309, 18, 13, 3672, 16034, 17127, 62, 22105, 7054, 309, 16, 32357, 1268, 17127, 7054, 309, 17, 6177, 309, 16, 13, 1069, 24108, 62, 312, 796, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 3891, 286, 6802, 3025, 48130, 3197, 625, 939, 21736, 319, 2811, 30, 46506, 309, 18, 13, 3672, 16034, 17127, 62, 22105, 7054, 309, 16, 32357, 1268, 17127, 7054, 309, 17, 6177, 309, 16, 13, 1069, 24108, 62, 312, 796, 3...
For a CS-LSA degree , show me the requirements ?
SELECT DISTINCT program_requirement.additional_req, program_requirement.category, program_requirement.min_credit, program.name FROM program, program_requirement WHERE program.name LIKE '%CS-LSA%' AND program.program_id = program_requirement.program_id
[ 1890, 257, 9429, 12, 43, 4090, 4922, 837, 905, 502, 262, 5359, 5633, 46506, 360, 8808, 1268, 4177, 1430, 62, 8897, 24615, 13, 2860, 1859, 62, 42180, 11, 1430, 62, 8897, 24615, 13, 22872, 11, 1430, 62, 8897, 24615, 13, 1084, 62, 4308...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 9429, 12, 43, 4090, 4922, 837, 905, 502, 262, 5359, 5633, 46506, 360, 8808, 1268, 4177, 1430, 62, 8897, 24615, 13, 2860, 1859, 62, 42180, 11, 1430, 62, 8897, 24615, 13, 22872, 11, 1430, 62, 8897, 24615, 13, 1084, 62, 4308...
desmond trufant and robert alford both played which position ?
SELECT "position" FROM table_204_635 WHERE "player" = 'desmond trufant'
[ 8906, 6327, 491, 3046, 415, 290, 686, 4835, 435, 3841, 1111, 2826, 543, 2292, 5633, 46506, 366, 9150, 1, 16034, 3084, 62, 18638, 62, 48250, 33411, 366, 7829, 1, 796, 705, 8906, 6327, 491, 3046, 415, 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 ]
[ 8906, 6327, 491, 3046, 415, 290, 686, 4835, 435, 3841, 1111, 2826, 543, 2292, 5633, 46506, 366, 9150, 1, 16034, 3084, 62, 18638, 62, 48250, 33411, 366, 7829, 1, 796, 705, 8906, 6327, 491, 3046, 415, 6 ]
What is Phil Crane, democrat or republican
SELECT party FROM table_1341663_14 WHERE incumbent = "Phil Crane"
[ 2061, 318, 4543, 38376, 11, 43268, 393, 41477, 46506, 2151, 16034, 3084, 62, 19880, 1433, 5066, 62, 1415, 33411, 23526, 796, 366, 18673, 38376, 1 ]
[ 1, 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, 4543, 38376, 11, 43268, 393, 41477, 46506, 2151, 16034, 3084, 62, 19880, 1433, 5066, 62, 1415, 33411, 23526, 796, 366, 18673, 38376, 1 ]
Can you tell me the sum of Area km 2 that has the Official Name of glenelg?
SELECT SUM(area_km_2) FROM table_name_75 WHERE official_name = "glenelg"
[ 6090, 345, 1560, 502, 262, 2160, 286, 9498, 10571, 362, 326, 468, 262, 15934, 6530, 286, 1278, 268, 417, 70, 30, 46506, 35683, 7, 20337, 62, 13276, 62, 17, 8, 16034, 3084, 62, 3672, 62, 2425, 33411, 1743, 62, 3672, 796, 366, 4743, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 6090, 345, 1560, 502, 262, 2160, 286, 9498, 10571, 362, 326, 468, 262, 15934, 6530, 286, 1278, 268, 417, 70, 30, 46506, 35683, 7, 20337, 62, 13276, 62, 17, 8, 16034, 3084, 62, 3672, 62, 2425, 33411, 1743, 62, 3672, 796, 366, 4743, ...
how many patients whose primary disease is syncope;telemetry and year of death is less than or equal to 2179?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "SYNCOPE;TELEMETRY" AND demographic.dod_year <= "2179.0"
[ 4919, 867, 3871, 3025, 4165, 4369, 318, 17510, 3008, 26, 46813, 41935, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 21738, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 4165, 4369, 318, 17510, 3008, 26, 46813, 41935, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 21738, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411,...
Which Record has a Game larger than 32, and a December smaller than 21?
SELECT "Record" FROM table_34737 WHERE "Game" > '32' AND "December" < '21'
[ 13828, 13266, 468, 257, 3776, 4025, 621, 3933, 11, 290, 257, 3426, 4833, 621, 2310, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 30995, 2718, 33411, 366, 8777, 1, 1875, 705, 2624, 6, 5357, 366, 20588, 1, 1279, 705, 2481, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 13266, 468, 257, 3776, 4025, 621, 3933, 11, 290, 257, 3426, 4833, 621, 2310, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 30995, 2718, 33411, 366, 8777, 1, 1875, 705, 2624, 6, 5357, 366, 20588, 1, 1279, 705, 2481, 6 ]
what is the minimum cost of a hospital bill that includes a drug called loperamide hcl in 2101?
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT prescriptions.hadm_id FROM prescriptions WHERE prescriptions.drug = 'loperamide hcl') AND STRFTIME('%y', cost.chargetime) = '2101' GROUP BY cost.hadm_id) AS t1
[ 10919, 318, 262, 5288, 1575, 286, 257, 4436, 2855, 326, 3407, 257, 2563, 1444, 300, 3575, 37905, 289, 565, 287, 2310, 486, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 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...
[ 10919, 318, 262, 5288, 1575, 286, 257, 4436, 2855, 326, 3407, 257, 2563, 1444, 300, 3575, 37905, 289, 565, 287, 2310, 486, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16...
Next semester , how many lecture sections are offered for PSYCH 464 ?
SELECT COUNT(*) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'PSYCH' AND course.number = 464 AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016
[ 10019, 24878, 837, 703, 867, 19143, 9004, 389, 4438, 329, 6599, 56, 3398, 604, 2414, 5633, 46506, 327, 28270, 7, 28104, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10019, 24878, 837, 703, 867, 19143, 9004, 389, 4438, 329, 6599, 56, 3398, 604, 2414, 5633, 46506, 327, 28270, 7, 28104, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, ...
What date was the result 3-1 in Hague?
SELECT "Date" FROM table_65434 WHERE "Result" = '3-1' AND "Location" = 'hague'
[ 2061, 3128, 373, 262, 1255, 513, 12, 16, 287, 37206, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 39111, 2682, 33411, 366, 23004, 1, 796, 705, 18, 12, 16, 6, 5357, 366, 14749, 1, 796, 705, 71, 2064, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 373, 262, 1255, 513, 12, 16, 287, 37206, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 39111, 2682, 33411, 366, 23004, 1, 796, 705, 18, 12, 16, 6, 5357, 366, 14749, 1, 796, 705, 71, 2064, 6 ]
what was the name of the drug patient 60180 was prescribed within 2 days after having received a lower limb endarterect procedure in 09/last year.
SELECT t2.drug FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 60180 AND procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = ...
[ 10919, 373, 262, 1438, 286, 262, 2563, 5827, 49231, 1795, 373, 14798, 1626, 362, 1528, 706, 1719, 2722, 257, 2793, 25035, 886, 433, 567, 310, 8771, 287, 7769, 14, 12957, 614, 13, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 1438, 286, 262, 2563, 5827, 49231, 1795, 373, 14798, 1626, 362, 1528, 706, 1719, 2722, 257, 2793, 25035, 886, 433, 567, 310, 8771, 287, 7769, 14, 12957, 614, 13, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13...
What is the average total that is 1st in 2010?
SELECT AVG(total) FROM table_name_8 WHERE 2010 = "1st"
[ 2061, 318, 262, 2811, 2472, 326, 318, 352, 301, 287, 3050, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 3050, 796, 366, 16, 301, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 2472, 326, 318, 352, 301, 287, 3050, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 3050, 796, 366, 16, 301, 1 ]
On what Week was the Result W 34 24?
SELECT AVG("Week") FROM table_47761 WHERE "Result" = 'w 34–24'
[ 2202, 644, 6119, 373, 262, 25414, 370, 4974, 1987, 30, 46506, 35224, 7203, 20916, 4943, 16034, 3084, 62, 2857, 4304, 16, 33411, 366, 23004, 1, 796, 705, 86, 4974, 1906, 1731, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 6119, 373, 262, 25414, 370, 4974, 1987, 30, 46506, 35224, 7203, 20916, 4943, 16034, 3084, 62, 2857, 4304, 16, 33411, 366, 23004, 1, 796, 705, 86, 4974, 1906, 1731, 6 ]
Find the number of students who took some course and got A or C and group by first name in a bar chart, rank by the Y-axis in desc.
SELECT STU_FNAME, COUNT(STU_FNAME) FROM STUDENT AS T1 JOIN ENROLL AS T2 ON T1.STU_NUM = T2.STU_NUM WHERE T2.ENROLL_GRADE = 'C' OR T2.ENROLL_GRADE = 'A' GROUP BY STU_FNAME ORDER BY COUNT(STU_FNAME) DESC
[ 16742, 262, 1271, 286, 2444, 508, 1718, 617, 1781, 290, 1392, 317, 393, 327, 290, 1448, 416, 717, 1438, 287, 257, 2318, 8262, 11, 4279, 416, 262, 575, 12, 22704, 287, 1715, 13, 46506, 3563, 52, 62, 37, 20608, 11, 327, 28270, 7, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1271, 286, 2444, 508, 1718, 617, 1781, 290, 1392, 317, 393, 327, 290, 1448, 416, 717, 1438, 287, 257, 2318, 8262, 11, 4279, 416, 262, 575, 12, 22704, 287, 1715, 13, 46506, 3563, 52, 62, 37, 20608, 11, 327, 28270, 7, 22...
What is the administration when the division was Ykk nen (first division), and they were in the 1st position in 1996?
SELECT administration FROM table_name_21 WHERE division = "ykkönen (first division)" AND position = "1st" AND season = 1996
[ 2061, 318, 262, 3662, 618, 262, 7297, 373, 575, 28747, 299, 268, 357, 11085, 7297, 828, 290, 484, 547, 287, 262, 352, 301, 2292, 287, 8235, 30, 46506, 3662, 16034, 3084, 62, 3672, 62, 2481, 33411, 7297, 796, 366, 88, 28747, 9101, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3662, 618, 262, 7297, 373, 575, 28747, 299, 268, 357, 11085, 7297, 828, 290, 484, 547, 287, 262, 352, 301, 2292, 287, 8235, 30, 46506, 3662, 16034, 3084, 62, 3672, 62, 2481, 33411, 7297, 796, 366, 88, 28747, 9101, 38...
Report the number of patients with abdominal abscess as their primary disease who died in or before 2132.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ABDOMINAL ABSCESS" AND demographic.dod_year <= "2132.0"
[ 19100, 262, 1271, 286, 3871, 351, 32692, 2352, 919, 355, 511, 4165, 4369, 508, 3724, 287, 393, 878, 362, 19924, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19100, 262, 1271, 286, 3871, 351, 32692, 2352, 919, 355, 511, 4165, 4369, 508, 3724, 287, 393, 878, 362, 19924, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958,...
Name the outcome for zurich
SELECT outcome FROM table_23944006_4 WHERE championship = "Zurich"
[ 5376, 262, 8055, 329, 1976, 333, 488, 46506, 8055, 16034, 3084, 62, 23516, 2598, 28041, 62, 19, 33411, 12184, 796, 366, 57, 333, 488, 1 ]
[ 1, 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, 8055, 329, 1976, 333, 488, 46506, 8055, 16034, 3084, 62, 23516, 2598, 28041, 62, 19, 33411, 12184, 796, 366, 57, 333, 488, 1 ]
Visualize a bar chart for what are the ids and names of the web accelerators that are compatible with two or more browsers?, rank by the id from high to low.
SELECT name, id FROM Web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id ORDER BY id DESC
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 3891, 286, 262, 3992, 8320, 2024, 326, 389, 11670, 351, 734, 393, 517, 22616, 21747, 4279, 416, 262, 4686, 422, 1029, 284, 1877, 13, 46506, 1438, 11, 4686, 16034, 5313,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 644, 389, 262, 220, 2340, 290, 3891, 286, 262, 3992, 8320, 2024, 326, 389, 11670, 351, 734, 393, 517, 22616, 21747, 4279, 416, 262, 4686, 422, 1029, 284, 1877, 13, 46506, 1438, 11, 4686, 16034, 5313,...
number of times patient 016-26884 was prescribed insulin aspart 100 unit/ml sc soln since 2102.
SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-26884')) AND medication.drugname = 'insulin aspart 100 unit/ml sc soln' AN...
[ 17618, 286, 1661, 5827, 5534, 21, 12, 2075, 40353, 373, 14798, 14588, 355, 3911, 1802, 4326, 14, 4029, 629, 1540, 77, 1201, 362, 15377, 13, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 17618, 286, 1661, 5827, 5534, 21, 12, 2075, 40353, 373, 14798, 14588, 355, 3911, 1802, 4326, 14, 4029, 629, 1540, 77, 1201, 362, 15377, 13, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357...
how many times has patient 027-82318 generated a urine output in yesterday?
SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-82318')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.ce...
[ 4919, 867, 1661, 468, 5827, 657, 1983, 12, 23, 1954, 1507, 7560, 257, 18922, 5072, 287, 7415, 30, 46506, 327, 28270, 7, 28104, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 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...
[ 4919, 867, 1661, 468, 5827, 657, 1983, 12, 23, 1954, 1507, 7560, 257, 18922, 5072, 287, 7415, 30, 46506, 327, 28270, 7, 28104, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20...
What is the average diff when games played are more than 6?
SELECT AVG("Diff.") FROM table_32864 WHERE "Played" > '6'
[ 2061, 318, 262, 2811, 814, 618, 1830, 2826, 389, 517, 621, 718, 30, 46506, 35224, 7203, 28813, 19570, 16034, 3084, 62, 34256, 2414, 33411, 366, 11002, 276, 1, 1875, 705, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 814, 618, 1830, 2826, 389, 517, 621, 718, 30, 46506, 35224, 7203, 28813, 19570, 16034, 3084, 62, 34256, 2414, 33411, 366, 11002, 276, 1, 1875, 705, 21, 6 ]
What are the prices of products that have never gotten a complaint?
SELECT product_price FROM products WHERE NOT product_id IN (SELECT product_id FROM complaints)
[ 2061, 389, 262, 4536, 286, 3186, 326, 423, 1239, 7891, 257, 8224, 30, 46506, 1720, 62, 20888, 16034, 3186, 33411, 5626, 1720, 62, 312, 3268, 357, 46506, 1720, 62, 312, 16034, 9687, 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 ]
[ 2061, 389, 262, 4536, 286, 3186, 326, 423, 1239, 7891, 257, 8224, 30, 46506, 1720, 62, 20888, 16034, 3186, 33411, 5626, 1720, 62, 312, 3268, 357, 46506, 1720, 62, 312, 16034, 9687, 8 ]
Which election has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?
SELECT election FROM table_name_40 WHERE second_member = "charles robert colvile" AND first_party = "conservative" AND first_member = "william mundy"
[ 13828, 3071, 468, 1218, 2888, 7516, 5199, 1623, 85, 576, 11, 257, 5940, 717, 2151, 11, 290, 717, 2888, 3977, 33324, 88, 30, 46506, 3071, 16034, 3084, 62, 3672, 62, 1821, 33411, 1218, 62, 19522, 796, 366, 10641, 829, 686, 4835, 951, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3071, 468, 1218, 2888, 7516, 5199, 1623, 85, 576, 11, 257, 5940, 717, 2151, 11, 290, 717, 2888, 3977, 33324, 88, 30, 46506, 3071, 16034, 3084, 62, 3672, 62, 1821, 33411, 1218, 62, 19522, 796, 366, 10641, 829, 686, 4835, 951, ...
what is admission type and diagnoses short title of subject id 8323?
SELECT demographic.admission_type, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "8323"
[ 10919, 318, 13938, 2099, 290, 40567, 1790, 3670, 286, 2426, 4686, 9698, 1954, 30, 46506, 16728, 13, 324, 3411, 62, 4906, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 13938, 2099, 290, 40567, 1790, 3670, 286, 2426, 4686, 9698, 1954, 30, 46506, 16728, 13, 324, 3411, 62, 4906, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312,...
Show writers who have published a book with price more than 4000000.
SELECT T1.Writer FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID WHERE T2.Price > 4000000
[ 15307, 8786, 508, 423, 3199, 257, 1492, 351, 2756, 517, 621, 604, 10535, 13, 46506, 309, 16, 13, 34379, 16034, 1492, 7054, 309, 16, 32357, 1268, 9207, 7054, 309, 17, 6177, 309, 16, 13, 10482, 62, 2389, 796, 309, 17, 13, 10482, 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 ]
[ 15307, 8786, 508, 423, 3199, 257, 1492, 351, 2756, 517, 621, 604, 10535, 13, 46506, 309, 16, 13, 34379, 16034, 1492, 7054, 309, 16, 32357, 1268, 9207, 7054, 309, 17, 6177, 309, 16, 13, 10482, 62, 2389, 796, 309, 17, 13, 10482, 62, ...
Who wrote episode 11, of which was directed by Will Waring?
SELECT written_by FROM table_15284274_1 WHERE directed_by = "Will Waring" AND no_in_season = 11
[ 8241, 2630, 4471, 1367, 11, 286, 543, 373, 7924, 416, 2561, 370, 1723, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 1314, 30336, 28857, 62, 16, 33411, 7924, 62, 1525, 796, 366, 8743, 370, 1723, 1, 5357, 645, 62, 259, 62, 6230, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2630, 4471, 1367, 11, 286, 543, 373, 7924, 416, 2561, 370, 1723, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 1314, 30336, 28857, 62, 16, 33411, 7924, 62, 1525, 796, 366, 8743, 370, 1723, 1, 5357, 645, 62, 259, 62, 6230, 796, ...
What is the highest goals entry with drawn larger than 6 and goals against 85?
SELECT MAX(goals_for) FROM table_name_84 WHERE goals_against = 85 AND drawn > 6
[ 2061, 318, 262, 4511, 4661, 5726, 351, 7428, 4025, 621, 718, 290, 4661, 1028, 7600, 30, 46506, 25882, 7, 2188, 874, 62, 1640, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 4661, 62, 32826, 796, 7600, 5357, 7428, 1875, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 4661, 5726, 351, 7428, 4025, 621, 718, 290, 4661, 1028, 7600, 30, 46506, 25882, 7, 2188, 874, 62, 1640, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 4661, 62, 32826, 796, 7600, 5357, 7428, 1875, 718 ]
Who has the low lap total in a maserati with grid 2?
SELECT MIN(laps) FROM table_name_47 WHERE constructor = "maserati" AND grid = 2
[ 8241, 468, 262, 1877, 14779, 2472, 287, 257, 285, 6005, 7246, 351, 10706, 362, 30, 46506, 20625, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 2857, 33411, 23772, 796, 366, 5356, 263, 7246, 1, 5357, 10706, 796, 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 ]
[ 8241, 468, 262, 1877, 14779, 2472, 287, 257, 285, 6005, 7246, 351, 10706, 362, 30, 46506, 20625, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 2857, 33411, 23772, 796, 366, 5356, 263, 7246, 1, 5357, 10706, 796, 362 ]
What is the area (km2) where the population in millions for 2011 is 37.1?
SELECT "Area (km\u00b2)" FROM table_24460 WHERE "Population (millions, 2011)" = '37.1'
[ 2061, 318, 262, 1989, 357, 13276, 17, 8, 810, 262, 3265, 287, 5242, 329, 2813, 318, 5214, 13, 16, 30, 46506, 366, 30547, 357, 13276, 59, 84, 405, 65, 17, 16725, 16034, 3084, 62, 25707, 1899, 33411, 366, 45251, 357, 17805, 507, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1989, 357, 13276, 17, 8, 810, 262, 3265, 287, 5242, 329, 2813, 318, 5214, 13, 16, 30, 46506, 366, 30547, 357, 13276, 59, 84, 405, 65, 17, 16725, 16034, 3084, 62, 25707, 1899, 33411, 366, 45251, 357, 17805, 507, 11, ...
Who won the mixed restricted when Tomasz Rzeszotko won the mixed veteran and Karina Le Fevre won the U21 womens?
SELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = "Tomasz Rzeszotko" AND u21_womens = "Karina Le Fevre"
[ 8241, 1839, 262, 7668, 10770, 618, 42884, 89, 371, 12271, 89, 313, 7204, 1839, 262, 7668, 9298, 290, 9375, 1437, 1004, 376, 1990, 260, 1839, 262, 471, 2481, 1116, 641, 30, 46506, 7668, 62, 49343, 16034, 3084, 62, 2078, 21895, 45385, 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...
[ 8241, 1839, 262, 7668, 10770, 618, 42884, 89, 371, 12271, 89, 313, 7204, 1839, 262, 7668, 9298, 290, 9375, 1437, 1004, 376, 1990, 260, 1839, 262, 471, 2481, 1116, 641, 30, 46506, 7668, 62, 49343, 16034, 3084, 62, 2078, 21895, 45385, 6...
Give me a bar chart, that group by location and count them, and sort by the the number of location from low to high please.
SELECT Location, COUNT(Location) FROM party GROUP BY Location ORDER BY COUNT(Location)
[ 23318, 502, 257, 2318, 8262, 11, 326, 1448, 416, 4067, 290, 954, 606, 11, 290, 3297, 416, 262, 262, 1271, 286, 4067, 422, 1877, 284, 1029, 3387, 13, 46506, 13397, 11, 327, 28270, 7, 14749, 8, 16034, 2151, 44441, 11050, 13397, 38678, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 2318, 8262, 11, 326, 1448, 416, 4067, 290, 954, 606, 11, 290, 3297, 416, 262, 262, 1271, 286, 4067, 422, 1877, 284, 1029, 3387, 13, 46506, 13397, 11, 327, 28270, 7, 14749, 8, 16034, 2151, 44441, 11050, 13397, 38678, ...
Where did Audette Racing win?
SELECT location FROM table_25773116_2 WHERE winning_team = "Audette Racing"
[ 8496, 750, 7591, 5857, 14954, 1592, 30, 46506, 4067, 16034, 3084, 62, 1495, 46871, 18298, 62, 17, 33411, 5442, 62, 15097, 796, 366, 16353, 5857, 14954, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 750, 7591, 5857, 14954, 1592, 30, 46506, 4067, 16034, 3084, 62, 1495, 46871, 18298, 62, 17, 33411, 5442, 62, 15097, 796, 366, 16353, 5857, 14954, 1 ]
Who is Winners that has editions of 1992, 2003 as Not Winning
SELECT "Winners" FROM table_15300 WHERE "Not winning editions" = '1992, 2003'
[ 8241, 318, 42754, 326, 468, 23713, 286, 9768, 11, 5816, 355, 1892, 40983, 46506, 366, 16643, 2741, 1, 16034, 3084, 62, 1314, 6200, 33411, 366, 3673, 5442, 23713, 1, 796, 705, 23847, 11, 5816, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 42754, 326, 468, 23713, 286, 9768, 11, 5816, 355, 1892, 40983, 46506, 366, 16643, 2741, 1, 16034, 3084, 62, 1314, 6200, 33411, 366, 3673, 5442, 23713, 1, 796, 705, 23847, 11, 5816, 6 ]
Which Time has a Lane smaller than 4, and a Rank larger than 6?
SELECT AVG("Time") FROM table_63105 WHERE "Lane" < '4' AND "Rank" > '6'
[ 13828, 3862, 468, 257, 15016, 4833, 621, 604, 11, 290, 257, 10916, 4025, 621, 718, 30, 46506, 35224, 7203, 7575, 4943, 16034, 3084, 62, 5066, 13348, 33411, 366, 43, 1531, 1, 1279, 705, 19, 6, 5357, 366, 27520, 1, 1875, 705, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3862, 468, 257, 15016, 4833, 621, 604, 11, 290, 257, 10916, 4025, 621, 718, 30, 46506, 35224, 7203, 7575, 4943, 16034, 3084, 62, 5066, 13348, 33411, 366, 43, 1531, 1, 1279, 705, 19, 6, 5357, 366, 27520, 1, 1875, 705, 21, 6 ]
On what day did joe gibbs racing record a time of 1:53:26?
SELECT date FROM table_28178756_1 WHERE team = "Joe Gibbs Racing" AND race_time = "1:53:26"
[ 2202, 644, 1110, 750, 2525, 68, 46795, 1443, 11717, 1700, 257, 640, 286, 352, 25, 4310, 25, 2075, 30, 46506, 3128, 16034, 3084, 62, 2078, 23188, 38219, 62, 16, 33411, 1074, 796, 366, 19585, 41071, 14954, 1, 5357, 3234, 62, 2435, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 1110, 750, 2525, 68, 46795, 1443, 11717, 1700, 257, 640, 286, 352, 25, 4310, 25, 2075, 30, 46506, 3128, 16034, 3084, 62, 2078, 23188, 38219, 62, 16, 33411, 1074, 796, 366, 19585, 41071, 14954, 1, 5357, 3234, 62, 2435, 796, ...
Find the first name and last name for the 'CTO' of the club 'Hopkins Student Enterprises'?
SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t2.position = "CTO"
[ 16742, 262, 717, 1438, 290, 938, 1438, 329, 262, 705, 4177, 46, 6, 286, 262, 3430, 705, 23483, 5331, 13613, 41253, 30960, 46506, 256, 18, 13, 69, 3672, 11, 256, 18, 13, 75, 3672, 16034, 3430, 7054, 256, 16, 32357, 1268, 2888, 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...
[ 16742, 262, 717, 1438, 290, 938, 1438, 329, 262, 705, 4177, 46, 6, 286, 262, 3430, 705, 23483, 5331, 13613, 41253, 30960, 46506, 256, 18, 13, 69, 3672, 11, 256, 18, 13, 75, 3672, 16034, 3430, 7054, 256, 16, 32357, 1268, 2888, 62, ...
list all flights from MEMPHIS to SEATTLE
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 = 'MEMPHIS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SEATTL...
[ 4868, 477, 13956, 422, 35153, 11909, 1797, 284, 7946, 1404, 14990, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4868, 477, 13956, 422, 35153, 11909, 1797, 284, 7946, 1404, 14990, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15...
What is the average Game where there were 65,666 in attendance?
SELECT AVG(game) FROM table_name_24 WHERE attendance = "65,666"
[ 2061, 318, 262, 2811, 3776, 810, 612, 547, 6135, 11, 27310, 287, 14858, 30, 46506, 35224, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 1731, 33411, 14858, 796, 366, 2996, 11, 27310, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 3776, 810, 612, 547, 6135, 11, 27310, 287, 14858, 30, 46506, 35224, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 1731, 33411, 14858, 796, 366, 2996, 11, 27310, 1 ]
What is the order number that has top 20 (10 women) as the week number?
SELECT order__number FROM table_name_16 WHERE week__number = "top 20 (10 women)"
[ 2061, 318, 262, 1502, 1271, 326, 468, 1353, 1160, 357, 940, 1466, 8, 355, 262, 1285, 1271, 30, 46506, 1502, 834, 17618, 16034, 3084, 62, 3672, 62, 1433, 33411, 1285, 834, 17618, 796, 366, 4852, 1160, 357, 940, 1466, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1502, 1271, 326, 468, 1353, 1160, 357, 940, 1466, 8, 355, 262, 1285, 1271, 30, 46506, 1502, 834, 17618, 16034, 3084, 62, 3672, 62, 1433, 33411, 1285, 834, 17618, 796, 366, 4852, 1160, 357, 940, 1466, 16725 ]
Which Goal Difference has Drawn larger than 10, and a Team of lancaster city?
SELECT "Goal Difference" FROM table_13129 WHERE "Drawn" > '10' AND "Team" = 'lancaster city'
[ 13828, 25376, 43795, 468, 50061, 4025, 621, 838, 11, 290, 257, 4816, 286, 300, 1192, 1603, 1748, 30, 46506, 366, 49045, 43795, 1, 16034, 3084, 62, 1485, 18741, 33411, 366, 35, 5791, 1, 1875, 705, 940, 6, 5357, 366, 15592, 1, 796, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 25376, 43795, 468, 50061, 4025, 621, 838, 11, 290, 257, 4816, 286, 300, 1192, 1603, 1748, 30, 46506, 366, 49045, 43795, 1, 16034, 3084, 62, 1485, 18741, 33411, 366, 35, 5791, 1, 1875, 705, 940, 6, 5357, 366, 15592, 1, 796, 70...
10 % of body surface area acute burn injury
SELECT * FROM table_train_46 WHERE burn_injury > 10
[ 940, 4064, 286, 1767, 4417, 1989, 14352, 4245, 5095, 46506, 1635, 16034, 3084, 62, 27432, 62, 3510, 33411, 4245, 62, 259, 21871, 1875, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 940, 4064, 286, 1767, 4417, 1989, 14352, 4245, 5095, 46506, 1635, 16034, 3084, 62, 27432, 62, 3510, 33411, 4245, 62, 259, 21871, 1875, 838 ]
What is Date, when Round is '2'?
SELECT date FROM table_name_38 WHERE round = 2
[ 2061, 318, 7536, 11, 618, 10485, 318, 705, 17, 30960, 46506, 3128, 16034, 3084, 62, 3672, 62, 2548, 33411, 2835, 796, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7536, 11, 618, 10485, 318, 705, 17, 30960, 46506, 3128, 16034, 3084, 62, 3672, 62, 2548, 33411, 2835, 796, 362 ]
what is the number of patients whose age is less than 72 and drug route is po/ng?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "72" AND prescriptions.route = "PO/NG"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 7724, 290, 2563, 6339, 318, 745, 14, 782, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 7724, 290, 2563, 6339, 318, 745, 14, 782, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177,...
Non-closed questions by month and answers to them.
SELECT TIME_TO_STR(p.CreationDate, '%Y') + (TIME_TO_STR(p.CreationDate, '%m') - 1) / 12.0 AS "date", COUNT(*) AS N FROM Posts AS p WHERE p.OwnerUserId = '##userId##' AND p.PostTypeId = 2 AND TIME_TO_STR(p.CreationDate, '%Y') >= '##startYear?2010##' AND TIME_TO_STR(p.CreationDate, '%Y') <= '##endYear?2015##' GROUP BY TI...
[ 15419, 12, 20225, 2683, 416, 1227, 290, 7429, 284, 606, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 79, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 1343, 357, 34694, 62, 10468, 62, 18601, 7, 79, 13, 12443, 341, 10430, 11, 705, 4,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15419, 12, 20225, 2683, 416, 1227, 290, 7429, 284, 606, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 79, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 1343, 357, 34694, 62, 10468, 62, 18601, 7, 79, 13, 12443, 341, 10430, 11, 705, 4,...
have there been any microbiology tests for patient 90663 on their current hospital visit?
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 90663 AND admissions.dischtime IS NULL)
[ 14150, 612, 587, 597, 24559, 1435, 5254, 329, 5827, 4101, 45791, 319, 511, 1459, 4436, 3187, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 253...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14150, 612, 587, 597, 24559, 1435, 5254, 329, 5827, 4101, 45791, 319, 511, 1459, 4436, 3187, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 253...
What are the largest cuts made when the events are less than 21?
SELECT MAX("Cuts made") FROM table_76031 WHERE "Events" < '21'
[ 2061, 389, 262, 4387, 6630, 925, 618, 262, 2995, 389, 1342, 621, 2310, 30, 46506, 25882, 7203, 34, 5500, 925, 4943, 16034, 3084, 62, 40761, 3132, 33411, 366, 37103, 1, 1279, 705, 2481, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 4387, 6630, 925, 618, 262, 2995, 389, 1342, 621, 2310, 30, 46506, 25882, 7203, 34, 5500, 925, 4943, 16034, 3084, 62, 40761, 3132, 33411, 366, 37103, 1, 1279, 705, 2481, 6 ]
in a year before, how many patients were prescribed with fentanyl (pf) 50 mcg/1 ml 2 ml inj in the same month after having undergone vte prophylaxis - compression stockings.
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'vte prophylaxis - compression stockings' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(C...
[ 259, 257, 614, 878, 11, 703, 867, 3871, 547, 14798, 351, 47804, 357, 79, 69, 8, 2026, 36650, 70, 14, 16, 25962, 362, 25962, 2529, 287, 262, 976, 1227, 706, 1719, 29900, 410, 660, 386, 746, 2645, 22704, 532, 19794, 4283, 654, 13, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 614, 878, 11, 703, 867, 3871, 547, 14798, 351, 47804, 357, 79, 69, 8, 2026, 36650, 70, 14, 16, 25962, 362, 25962, 2529, 287, 262, 976, 1227, 706, 1719, 29900, 410, 660, 386, 746, 2645, 22704, 532, 19794, 4283, 654, 13, 4...
Who wrote the episode that received 1.83 million U.S. viewers?
SELECT "Written by" FROM table_72440 WHERE "U.S. viewers (millions)" = '1.83'
[ 8241, 2630, 262, 4471, 326, 2722, 352, 13, 5999, 1510, 471, 13, 50, 13, 10209, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 22, 1731, 1821, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 16, 13, 5999, 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 ]
[ 8241, 2630, 262, 4471, 326, 2722, 352, 13, 5999, 1510, 471, 13, 50, 13, 10209, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 22, 1731, 1821, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 16, 13, 5999, 6 ]
What is the nalchik with 4 played, a rl qual., and 100 jermuk?
SELECT nalchik FROM table_name_32 WHERE played = 4 AND qual = "rl" AND jermuk = "100"
[ 2061, 318, 262, 299, 282, 354, 1134, 351, 604, 2826, 11, 257, 374, 75, 4140, 1539, 290, 1802, 474, 7780, 2724, 30, 46506, 299, 282, 354, 1134, 16034, 3084, 62, 3672, 62, 2624, 33411, 2826, 796, 604, 5357, 4140, 796, 366, 45895, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 299, 282, 354, 1134, 351, 604, 2826, 11, 257, 374, 75, 4140, 1539, 290, 1802, 474, 7780, 2724, 30, 46506, 299, 282, 354, 1134, 16034, 3084, 62, 3672, 62, 2624, 33411, 2826, 796, 604, 5357, 4140, 796, 366, 45895, 1, ...
What is the average number of points for clubs that have played more than 42 times?
SELECT AVG("Points") FROM table_56507 WHERE "Played" > '42'
[ 2061, 318, 262, 2811, 1271, 286, 2173, 329, 9784, 326, 423, 2826, 517, 621, 5433, 1661, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 3980, 35378, 33411, 366, 11002, 276, 1, 1875, 705, 3682, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1271, 286, 2173, 329, 9784, 326, 423, 2826, 517, 621, 5433, 1661, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 3980, 35378, 33411, 366, 11002, 276, 1, 1875, 705, 3682, 6 ]
What's the average number of Laps, that had a start of 25, with a Qual of 138.063?
SELECT AVG("Laps") FROM table_14688 WHERE "Start" = '25' AND "Qual" = '138.063'
[ 2061, 338, 262, 2811, 1271, 286, 406, 1686, 11, 326, 550, 257, 923, 286, 1679, 11, 351, 257, 9537, 286, 21503, 13, 3312, 18, 30, 46506, 35224, 7203, 43, 1686, 4943, 16034, 3084, 62, 1415, 34427, 33411, 366, 10434, 1, 796, 705, 1495,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 1271, 286, 406, 1686, 11, 326, 550, 257, 923, 286, 1679, 11, 351, 257, 9537, 286, 21503, 13, 3312, 18, 30, 46506, 35224, 7203, 43, 1686, 4943, 16034, 3084, 62, 1415, 34427, 33411, 366, 10434, 1, 796, 705, 1495,...
Name the production code for number in season being 21
SELECT "Production code" FROM table_73474 WHERE "No. in season" = '21'
[ 5376, 262, 3227, 2438, 329, 1271, 287, 1622, 852, 2310, 46506, 366, 35027, 2438, 1, 16034, 3084, 62, 22, 2682, 4524, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 2481, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 3227, 2438, 329, 1271, 287, 1622, 852, 2310, 46506, 366, 35027, 2438, 1, 16034, 3084, 62, 22, 2682, 4524, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 2481, 6 ]