instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
How many parties is the incumbent Bob Brady a member of?
SELECT COUNT(party) FROM table_1341423_38 WHERE incumbent = "Bob Brady"
[ 2437, 867, 4671, 318, 262, 23526, 5811, 15260, 257, 2888, 286, 30, 46506, 327, 28270, 7, 10608, 8, 16034, 3084, 62, 19880, 1415, 1954, 62, 2548, 33411, 23526, 796, 366, 18861, 15260, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4671, 318, 262, 23526, 5811, 15260, 257, 2888, 286, 30, 46506, 327, 28270, 7, 10608, 8, 16034, 3084, 62, 19880, 1415, 1954, 62, 2548, 33411, 23526, 796, 366, 18861, 15260, 1 ]
how many patients admitted before 2133 were primarily diagnosed for s/p hanging?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "S/P HANGING" AND demographic.admityear < "2133"
[ 4919, 867, 3871, 6848, 878, 362, 16945, 547, 7525, 14641, 329, 264, 14, 79, 10938, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 50, 14, 47, 367,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6848, 878, 362, 16945, 547, 7525, 14641, 329, 264, 14, 79, 10938, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 50, 14, 47, 367,...
How many categories for elapsed time exist for the $16.50 fixed-limit badugi game?
SELECT COUNT("Elapsed Time") FROM table_24732 WHERE "Event" = '$16.50 Fixed-Limit Badugi'
[ 2437, 867, 9376, 329, 42118, 640, 2152, 329, 262, 720, 1433, 13, 1120, 5969, 12, 32374, 2089, 45659, 983, 30, 46506, 327, 28270, 7203, 9527, 28361, 3862, 4943, 16034, 3084, 62, 23753, 2624, 33411, 366, 9237, 1, 796, 705, 3, 1433, 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 ]
[ 2437, 867, 9376, 329, 42118, 640, 2152, 329, 262, 720, 1433, 13, 1120, 5969, 12, 32374, 2089, 45659, 983, 30, 46506, 327, 28270, 7203, 9527, 28361, 3862, 4943, 16034, 3084, 62, 23753, 2624, 33411, 366, 9237, 1, 796, 705, 3, 1433, 13, ...
What was the name of the competition that took place on may 31, 2008?
SELECT competition FROM table_name_14 WHERE date = "may 31, 2008"
[ 2061, 373, 262, 1438, 286, 262, 5449, 326, 1718, 1295, 319, 743, 3261, 11, 3648, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 1415, 33411, 3128, 796, 366, 11261, 3261, 11, 3648, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1438, 286, 262, 5449, 326, 1718, 1295, 319, 743, 3261, 11, 3648, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 1415, 33411, 3128, 796, 366, 11261, 3261, 11, 3648, 1 ]
Name the sarasota samantha sharpe
SELECT "Sarasota" FROM table_1589 WHERE "Indianapolis Concerts" = 'Samantha Sharpe'
[ 5376, 262, 29008, 292, 4265, 6072, 32589, 13986, 431, 46506, 366, 50, 283, 292, 4265, 1, 16034, 3084, 62, 1314, 4531, 33411, 366, 30821, 11174, 39220, 82, 1, 796, 705, 50, 10546, 12898, 15465, 431, 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 ]
[ 5376, 262, 29008, 292, 4265, 6072, 32589, 13986, 431, 46506, 366, 50, 283, 292, 4265, 1, 16034, 3084, 62, 1314, 4531, 33411, 366, 30821, 11174, 39220, 82, 1, 796, 705, 50, 10546, 12898, 15465, 431, 6 ]
is heartrate of patient 028-40638 second measured on the first icu visit less than the first value measured on the first icu visit?
SELECT (SELECT vitalperiodic.heartrate FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-40638') AND NOT patient.unitdischargetime IS ...
[ 271, 2612, 4873, 286, 5827, 657, 2078, 12, 29703, 2548, 1218, 8630, 319, 262, 717, 14158, 84, 3187, 1342, 621, 262, 717, 1988, 8630, 319, 262, 717, 14158, 84, 3187, 30, 46506, 357, 46506, 9204, 41007, 291, 13, 11499, 4873, 16034, 9204...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 271, 2612, 4873, 286, 5827, 657, 2078, 12, 29703, 2548, 1218, 8630, 319, 262, 717, 14158, 84, 3187, 1342, 621, 262, 717, 1988, 8630, 319, 262, 717, 14158, 84, 3187, 30, 46506, 357, 46506, 9204, 41007, 291, 13, 11499, 4873, 16034, 9204...
What is the sum of the total for a routine score of 26.6?
SELECT SUM(total) FROM table_name_69 WHERE routine_score = 26.6
[ 2061, 318, 262, 2160, 286, 262, 2472, 329, 257, 8027, 4776, 286, 2608, 13, 21, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 8027, 62, 26675, 796, 2608, 13, 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 ]
[ 2061, 318, 262, 2160, 286, 262, 2472, 329, 257, 8027, 4776, 286, 2608, 13, 21, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 8027, 62, 26675, 796, 2608, 13, 21 ]
what are the three most common diagnoses of patients in the age of 20s since 2103?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN...
[ 10919, 389, 262, 1115, 749, 2219, 40567, 286, 3871, 287, 262, 2479, 286, 1160, 82, 1201, 362, 15197, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2219, 40567, 286, 3871, 287, 262, 2479, 286, 1160, 82, 1201, 362, 15197, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, ...
For those employees who was hired before 2002-06-21, give me the comparison about the sum of salary over the job_id , and group by attribute job_id, and sort in asc by the y-axis.
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY SUM(SALARY)
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 9588, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 3297, 287, 10570, 416, 262, 331, 12,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 9588, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 3297, 287, 10570, 416, 262, 331, 12,...
give me the difference between the total amount of input and the total output of patient 4401 on this month/30.
SELECT (SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 4401)) AND DATETIME(inputevents_cv.charttime, 'start of month') = DATETIME(CURRENT...
[ 26535, 502, 262, 3580, 1022, 262, 2472, 2033, 286, 5128, 290, 262, 2472, 5072, 286, 5827, 5846, 486, 319, 428, 1227, 14, 1270, 13, 46506, 357, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3580, 1022, 262, 2472, 2033, 286, 5128, 290, 262, 2472, 5072, 286, 5827, 5846, 486, 319, 428, 1227, 14, 1270, 13, 46506, 357, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, ...
What is the rank for points less than 166.96, and a Places of 166?
SELECT AVG(rank) FROM table_name_88 WHERE points < "166".96 AND places = "166"
[ 2061, 318, 262, 4279, 329, 2173, 1342, 621, 26753, 13, 4846, 11, 290, 257, 37291, 286, 26753, 30, 46506, 35224, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 2173, 1279, 366, 23055, 1911, 4846, 5357, 4113, 796, 366, 23055, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 329, 2173, 1342, 621, 26753, 13, 4846, 11, 290, 257, 37291, 286, 26753, 30, 46506, 35224, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 2173, 1279, 366, 23055, 1911, 4846, 5357, 4113, 796, 366, 23055, 1 ]
i want to book a flight from SALT LAKE CITY to WESTCHESTER COUNTY
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 = 'SALT LAKE CITY' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ...
[ 72, 765, 284, 1492, 257, 5474, 422, 311, 31429, 9131, 7336, 27993, 284, 370, 6465, 3398, 1546, 5781, 41012, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 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...
[ 72, 765, 284, 1492, 257, 5474, 422, 311, 31429, 9131, 7336, 27993, 284, 370, 6465, 3398, 1546, 5781, 41012, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, ...
What is every weekly schedule of TV network Viasat 4?
SELECT weekly_schedule FROM table_18821196_1 WHERE tv_network_s_ = "Viasat 4"
[ 2061, 318, 790, 10273, 7269, 286, 3195, 3127, 569, 4448, 265, 604, 30, 46506, 10273, 62, 15952, 5950, 16034, 3084, 62, 20356, 2481, 25272, 62, 16, 33411, 31557, 62, 27349, 62, 82, 62, 796, 366, 53, 4448, 265, 604, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10273, 7269, 286, 3195, 3127, 569, 4448, 265, 604, 30, 46506, 10273, 62, 15952, 5950, 16034, 3084, 62, 20356, 2481, 25272, 62, 16, 33411, 31557, 62, 27349, 62, 82, 62, 796, 366, 53, 4448, 265, 604, 1 ]
Show the relation between team id and acc_percent for each All_Road using a scatter chart
SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY All_Road
[ 15307, 262, 8695, 1022, 1074, 4686, 290, 697, 62, 25067, 329, 1123, 1439, 62, 29197, 1262, 257, 41058, 8262, 46506, 4816, 62, 2389, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 29197 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8695, 1022, 1074, 4686, 290, 697, 62, 25067, 329, 1123, 1439, 62, 29197, 1262, 257, 41058, 8262, 46506, 4816, 62, 2389, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 29197 ]
Return the names and ids of customers who have TN in their address.
SELECT customer_name, customer_id FROM customers WHERE customer_address LIKE "%TN%"
[ 13615, 262, 3891, 290, 220, 2340, 286, 4297, 508, 423, 29025, 287, 511, 2209, 13, 46506, 6491, 62, 3672, 11, 6491, 62, 312, 16034, 4297, 33411, 6491, 62, 21975, 34178, 36521, 46559, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 3891, 290, 220, 2340, 286, 4297, 508, 423, 29025, 287, 511, 2209, 13, 46506, 6491, 62, 3672, 11, 6491, 62, 312, 16034, 4297, 33411, 6491, 62, 21975, 34178, 36521, 46559, 39658 ]
what were the top three most frequently performed procedures that the patient received during the same hospital encounter after diagnosis of ventricular fibrillation in this year?
SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'ventr...
[ 10919, 547, 262, 1353, 1115, 749, 6777, 6157, 9021, 326, 262, 5827, 2722, 1141, 262, 976, 4436, 8791, 706, 13669, 286, 7435, 41001, 277, 2889, 40903, 287, 428, 614, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 256, 17, 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, 547, 262, 1353, 1115, 749, 6777, 6157, 9021, 326, 262, 5827, 2722, 1141, 262, 976, 4436, 8791, 706, 13669, 286, 7435, 41001, 277, 2889, 40903, 287, 428, 614, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 256, 17, 13, ...
Name the chassis for ludwig fischer
SELECT "Chassis" FROM table_30619 WHERE "Driver" = 'Ludwig Fischer'
[ 5376, 262, 24587, 329, 300, 463, 28033, 277, 24645, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 20548, 1129, 33411, 366, 32103, 1, 796, 705, 43, 463, 28033, 30901, 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 ]
[ 5376, 262, 24587, 329, 300, 463, 28033, 277, 24645, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 20548, 1129, 33411, 366, 32103, 1, 796, 705, 43, 463, 28033, 30901, 6 ]
What is the name of Season #15?
SELECT title FROM table_12564633_1 WHERE season__number = 15
[ 2061, 318, 262, 1438, 286, 7369, 1303, 1314, 30, 46506, 3670, 16034, 3084, 62, 11623, 27720, 2091, 62, 16, 33411, 1622, 834, 17618, 796, 1315 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 7369, 1303, 1314, 30, 46506, 3670, 16034, 3084, 62, 11623, 27720, 2091, 62, 16, 33411, 1622, 834, 17618, 796, 1315 ]
What discs has a region 1 release date of January 22, 2008?
SELECT discs FROM table_name_90 WHERE region_1_release = "january 22, 2008"
[ 2061, 31014, 468, 257, 3814, 352, 2650, 3128, 286, 3269, 2534, 11, 3648, 30, 46506, 31014, 16034, 3084, 62, 3672, 62, 3829, 33411, 3814, 62, 16, 62, 20979, 796, 366, 13881, 2838, 2534, 11, 3648, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 31014, 468, 257, 3814, 352, 2650, 3128, 286, 3269, 2534, 11, 3648, 30, 46506, 31014, 16034, 3084, 62, 3672, 62, 3829, 33411, 3814, 62, 16, 62, 20979, 796, 366, 13881, 2838, 2534, 11, 3648, 1 ]
What is the attendance for a week smaller than 9 with a result of L 38-20?
SELECT MAX("Attendance") FROM table_65008 WHERE "Result" = 'l 38-20' AND "Week" < '9'
[ 2061, 318, 262, 14858, 329, 257, 1285, 4833, 621, 860, 351, 257, 1255, 286, 406, 4353, 12, 1238, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2996, 25257, 33411, 366, 23004, 1, 796, 705, 75, 4353, 12, 1238, 6, 5357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14858, 329, 257, 1285, 4833, 621, 860, 351, 257, 1255, 286, 406, 4353, 12, 1238, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2996, 25257, 33411, 366, 23004, 1, 796, 705, 75, 4353, 12, 1238, 6, 5357...
what is the earliest flight in the morning from BOSTON to PITTSBURGH
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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTS...
[ 10919, 318, 262, 14555, 5474, 287, 262, 3329, 422, 347, 10892, 1340, 284, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14555, 5474, 287, 262, 3329, 422, 347, 10892, 1340, 284, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003,...
How many losses does Central Blues have?
SELECT MAX(losses) FROM table_26200568_16 WHERE club = "Central Blues"
[ 2437, 867, 9089, 857, 5694, 15261, 423, 30, 46506, 25882, 7, 22462, 274, 8, 16034, 3084, 62, 2075, 14315, 3104, 62, 1433, 33411, 3430, 796, 366, 30645, 15261, 1 ]
[ 1, 1, 1, 1, 1, 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, 9089, 857, 5694, 15261, 423, 30, 46506, 25882, 7, 22462, 274, 8, 16034, 3084, 62, 2075, 14315, 3104, 62, 1433, 33411, 3430, 796, 366, 30645, 15261, 1 ]
in the leage what was the minimum 4wi
SELECT MIN("4wi") FROM table_4112
[ 259, 262, 443, 496, 644, 373, 262, 5288, 604, 37686, 46506, 20625, 7203, 19, 37686, 4943, 16034, 3084, 62, 3901, 1065 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 262, 443, 496, 644, 373, 262, 5288, 604, 37686, 46506, 20625, 7203, 19, 37686, 4943, 16034, 3084, 62, 3901, 1065 ]
What was the largest founded year for schools having enrollment of exactly 696?
SELECT MAX(founded) FROM table_2076608_1 WHERE enrollment = "696"
[ 2061, 373, 262, 4387, 9393, 614, 329, 4266, 1719, 20753, 286, 3446, 718, 4846, 30, 46506, 25882, 7, 27060, 8, 16034, 3084, 62, 1238, 4304, 28688, 62, 16, 33411, 20753, 796, 366, 38205, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9393, 614, 329, 4266, 1719, 20753, 286, 3446, 718, 4846, 30, 46506, 25882, 7, 27060, 8, 16034, 3084, 62, 1238, 4304, 28688, 62, 16, 33411, 20753, 796, 366, 38205, 1 ]
What venue was the match against the guest team, FK ibar, played at?
SELECT venue FROM table_name_65 WHERE guest = "fk ibar"
[ 2061, 14359, 373, 262, 2872, 1028, 262, 8319, 1074, 11, 376, 42, 24283, 283, 11, 2826, 379, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2996, 33411, 8319, 796, 366, 69, 74, 24283, 283, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14359, 373, 262, 2872, 1028, 262, 8319, 1074, 11, 376, 42, 24283, 283, 11, 2826, 379, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2996, 33411, 8319, 796, 366, 69, 74, 24283, 283, 1 ]
patients combined with non infectious factors leading to the death ( uncontrollable major bleeding, brain hernia, etc. ) .
SELECT * FROM table_train_16 WHERE bleeding = 1 OR brain_hernia = 1
[ 8071, 2334, 5929, 351, 1729, 25246, 5087, 3756, 284, 262, 1918, 357, 39483, 540, 1688, 16832, 11, 3632, 607, 18142, 11, 3503, 13, 1267, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 1433, 33411, 16832, 796, 352, 6375, 3632, 62, 2881, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8071, 2334, 5929, 351, 1729, 25246, 5087, 3756, 284, 262, 1918, 357, 39483, 540, 1688, 16832, 11, 3632, 607, 18142, 11, 3503, 13, 1267, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 1433, 33411, 16832, 796, 352, 6375, 3632, 62, 2881, ...
How many points did the player who was right guard score?
SELECT COUNT("Points") FROM table_19278 WHERE "Position" = 'Right guard'
[ 2437, 867, 2173, 750, 262, 2137, 508, 373, 826, 4860, 4776, 30, 46506, 327, 28270, 7203, 40710, 4943, 16034, 3084, 62, 1129, 25870, 33411, 366, 26545, 1, 796, 705, 11028, 4860, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2173, 750, 262, 2137, 508, 373, 826, 4860, 4776, 30, 46506, 327, 28270, 7203, 40710, 4943, 16034, 3084, 62, 1129, 25870, 33411, 366, 26545, 1, 796, 705, 11028, 4860, 6 ]
What is the average number of wins for the person who coached from 1951 to 1956 and had less than 174 losses and less than 6 ties?
SELECT AVG(wins) FROM table_name_70 WHERE losses < 174 AND years = "1951 to 1956" AND ties < 6
[ 2061, 318, 262, 2811, 1271, 286, 7864, 329, 262, 1048, 508, 31764, 422, 27937, 284, 25190, 290, 550, 1342, 621, 27621, 9089, 290, 1342, 621, 718, 8470, 30, 46506, 35224, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 2154, 33411, 9089, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7864, 329, 262, 1048, 508, 31764, 422, 27937, 284, 25190, 290, 550, 1342, 621, 27621, 9089, 290, 1342, 621, 718, 8470, 30, 46506, 35224, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 2154, 33411, 9089, ...
Who's the Fifth District with a Second District of paul leidig?
SELECT "Fifth District" FROM table_41877 WHERE "Second District" = 'paul leidig'
[ 8241, 338, 262, 19383, 5665, 351, 257, 5498, 5665, 286, 279, 2518, 443, 312, 328, 30, 46506, 366, 44403, 400, 5665, 1, 16034, 3084, 62, 39667, 3324, 33411, 366, 12211, 5665, 1, 796, 705, 79, 2518, 443, 312, 328, 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, 338, 262, 19383, 5665, 351, 257, 5498, 5665, 286, 279, 2518, 443, 312, 328, 30, 46506, 366, 44403, 400, 5665, 1, 16034, 3084, 62, 39667, 3324, 33411, 366, 12211, 5665, 1, 796, 705, 79, 2518, 443, 312, 328, 6 ]
What name is on the Republican ticket when the American Labor ticket was spencer c. young?
SELECT republican_ticket FROM table_name_37 WHERE american_labor_ticket = "spencer c. young"
[ 2061, 1438, 318, 319, 262, 3415, 7846, 618, 262, 1605, 7882, 7846, 373, 599, 12137, 269, 13, 1862, 30, 46506, 41477, 62, 43350, 16034, 3084, 62, 3672, 62, 2718, 33411, 45630, 272, 62, 75, 4820, 62, 43350, 796, 366, 2777, 12137, 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 ]
[ 2061, 1438, 318, 319, 262, 3415, 7846, 618, 262, 1605, 7882, 7846, 373, 599, 12137, 269, 13, 1862, 30, 46506, 41477, 62, 43350, 16034, 3084, 62, 3672, 62, 2718, 33411, 45630, 272, 62, 75, 4820, 62, 43350, 796, 366, 2777, 12137, 269, ...
What is the name of the team from Derbyshire county?
SELECT team FROM table_18461635_1 WHERE county = "Derbyshire"
[ 2061, 318, 262, 1438, 286, 262, 1074, 422, 9626, 48209, 10695, 7968, 30, 46506, 1074, 16034, 3084, 62, 1507, 3510, 1433, 2327, 62, 16, 33411, 7968, 796, 366, 35, 23552, 893, 10695, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 1074, 422, 9626, 48209, 10695, 7968, 30, 46506, 1074, 16034, 3084, 62, 1507, 3510, 1433, 2327, 62, 16, 33411, 7968, 796, 366, 35, 23552, 893, 10695, 1 ]
how many patients whose diagnoses long title is malignant neoplasm of other sites of tongue and drug route is nu?
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.long_title = "Malignant neoplasm of other sites of tongue" AND prescriptions.route = "NU"
[ 4919, 867, 3871, 3025, 40567, 890, 3670, 318, 6428, 25114, 497, 20106, 8597, 286, 584, 5043, 286, 11880, 290, 2563, 6339, 318, 14364, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 40567, 890, 3670, 318, 6428, 25114, 497, 20106, 8597, 286, 584, 5043, 286, 11880, 290, 2563, 6339, 318, 14364, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
Name the least series number written by brenda hampton and directed by burt brinckerhoff
SELECT MIN("Series #") FROM table_28549 WHERE "Written by" = 'Brenda Hampton' AND "Directed by" = 'Burt Brinckerhoff'
[ 5376, 262, 1551, 2168, 1271, 3194, 416, 1449, 45658, 8891, 10972, 290, 7924, 416, 275, 3325, 865, 259, 15280, 36092, 46506, 20625, 7203, 27996, 1303, 4943, 16034, 3084, 62, 26279, 2920, 33411, 366, 25354, 416, 1, 796, 705, 48015, 64, 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 ]
[ 5376, 262, 1551, 2168, 1271, 3194, 416, 1449, 45658, 8891, 10972, 290, 7924, 416, 275, 3325, 865, 259, 15280, 36092, 46506, 20625, 7203, 27996, 1303, 4943, 16034, 3084, 62, 26279, 2920, 33411, 366, 25354, 416, 1, 796, 705, 48015, 64, 36...
what was the percentile of 7.49 in the ph lab test with the same age of patient 035-1391 in the last hospital encounter?
SELECT DISTINCT t1.c1 FROM (SELECT lab.labresult, PERCENT_RANK() OVER (ORDER BY lab.labresult) AS c1 FROM lab WHERE lab.labname = 'ph' AND lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age = (SELECT patient.age FROM patient WHERE patient.uniquepid = '035-1391' AND NOT patient.hos...
[ 10919, 373, 262, 37894, 286, 767, 13, 2920, 287, 262, 872, 2248, 1332, 351, 262, 976, 2479, 286, 5827, 657, 2327, 12, 1485, 6420, 287, 262, 938, 4436, 8791, 30, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 66, 16, 16034, 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, 373, 262, 37894, 286, 767, 13, 2920, 287, 262, 872, 2248, 1332, 351, 262, 976, 2479, 286, 5827, 657, 2327, 12, 1485, 6420, 287, 262, 938, 4436, 8791, 30, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 66, 16, 16034, 357, 46506, ...
What is the power of the Type R?
SELECT power FROM table_250230_2 WHERE model = "Type R"
[ 2061, 318, 262, 1176, 286, 262, 5994, 371, 30, 46506, 1176, 16034, 3084, 62, 9031, 19214, 62, 17, 33411, 2746, 796, 366, 6030, 371, 1 ]
[ 1, 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, 1176, 286, 262, 5994, 371, 30, 46506, 1176, 16034, 3084, 62, 9031, 19214, 62, 17, 33411, 2746, 796, 366, 6030, 371, 1 ]
Which Lane has a Reaction Time smaller than 0.199, and a Country of united states, and a Name of muna lee, and a Time larger than 22.01?
SELECT MAX(lane) FROM table_name_3 WHERE reaction_time < 0.199 AND country = "united states" AND name = "muna lee" AND time > 22.01
[ 13828, 15016, 468, 257, 39912, 3862, 4833, 621, 657, 13, 19104, 11, 290, 257, 12946, 286, 16503, 2585, 11, 290, 257, 6530, 286, 285, 9613, 443, 68, 11, 290, 257, 3862, 4025, 621, 2534, 13, 486, 30, 46506, 25882, 7, 33533, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 15016, 468, 257, 39912, 3862, 4833, 621, 657, 13, 19104, 11, 290, 257, 12946, 286, 16503, 2585, 11, 290, 257, 6530, 286, 285, 9613, 443, 68, 11, 290, 257, 3862, 4025, 621, 2534, 13, 486, 30, 46506, 25882, 7, 33533, 8, 16034, ...
ATLANTA to PITTSBURGH 7 23
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 (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND date_day.day_number = 23 AND date_day.month_number = 7 AN...
[ 1404, 25697, 5603, 284, 49040, 4694, 38926, 17511, 767, 2242, 46506, 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, 350...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1404, 25697, 5603, 284, 49040, 4694, 38926, 17511, 767, 2242, 46506, 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, 350...
What is the total number of Races when there were more than 8 wins?
SELECT COUNT(races) FROM table_name_15 WHERE wins > 8
[ 2061, 318, 262, 2472, 1271, 286, 45134, 618, 612, 547, 517, 621, 807, 7864, 30, 46506, 327, 28270, 7, 81, 2114, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 7864, 1875, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 45134, 618, 612, 547, 517, 621, 807, 7864, 30, 46506, 327, 28270, 7, 81, 2114, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 7864, 1875, 807 ]
A pie chart about what are the job titles, and range of salaries for jobs with maximum salary between 12000 and 18000?
SELECT JOB_TITLE, MAX_SALARY - MIN_SALARY FROM jobs WHERE MAX_SALARY BETWEEN 12000 AND 18000
[ 32, 2508, 8262, 546, 644, 389, 262, 1693, 8714, 11, 290, 2837, 286, 17058, 329, 3946, 351, 5415, 9588, 1022, 1105, 830, 290, 1248, 830, 30, 46506, 449, 9864, 62, 49560, 2538, 11, 25882, 62, 50, 1847, 13153, 532, 20625, 62, 50, 1847,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2508, 8262, 546, 644, 389, 262, 1693, 8714, 11, 290, 2837, 286, 17058, 329, 3946, 351, 5415, 9588, 1022, 1105, 830, 290, 1248, 830, 30, 46506, 449, 9864, 62, 49560, 2538, 11, 25882, 62, 50, 1847, 13153, 532, 20625, 62, 50, 1847,...
The episode with production code 9abx02 was originally aired on what date?
SELECT original_air_date FROM table_10088101_1 WHERE production_code = "9ABX02"
[ 464, 4471, 351, 3227, 2438, 860, 397, 87, 2999, 373, 6198, 18530, 319, 644, 3128, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 3064, 3459, 8784, 62, 16, 33411, 3227, 62, 8189, 796, 366, 24, 6242, 55, 2999, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4471, 351, 3227, 2438, 860, 397, 87, 2999, 373, 6198, 18530, 319, 644, 3128, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 3064, 3459, 8784, 62, 16, 33411, 3227, 62, 8189, 796, 366, 24, 6242, 55, 2999, 1 ]
what company is the only one with a revenue greater than 75,000,000 thou . pln ?
SELECT "name of\nconcern" FROM table_203_320 WHERE "revenue\n(thou.\npln)" > 75000000
[ 10919, 1664, 318, 262, 691, 530, 351, 257, 6426, 3744, 621, 5441, 11, 830, 11, 830, 14210, 764, 458, 77, 5633, 46506, 366, 3672, 286, 59, 77, 1102, 30903, 1, 16034, 3084, 62, 22416, 62, 19504, 33411, 366, 260, 4080, 59, 77, 7, 400...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1664, 318, 262, 691, 530, 351, 257, 6426, 3744, 621, 5441, 11, 830, 11, 830, 14210, 764, 458, 77, 5633, 46506, 366, 3672, 286, 59, 77, 1102, 30903, 1, 16034, 3084, 62, 22416, 62, 19504, 33411, 366, 260, 4080, 59, 77, 7, 400...
What is the sum of losses for teams with under 10 matches?
SELECT SUM("Lost") FROM table_7082 WHERE "Match" < '10'
[ 2061, 318, 262, 2160, 286, 9089, 329, 3466, 351, 739, 838, 7466, 30, 46506, 35683, 7203, 31042, 4943, 16034, 3084, 62, 2154, 6469, 33411, 366, 23850, 1, 1279, 705, 940, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 9089, 329, 3466, 351, 739, 838, 7466, 30, 46506, 35683, 7203, 31042, 4943, 16034, 3084, 62, 2154, 6469, 33411, 366, 23850, 1, 1279, 705, 940, 6 ]
What was the District of California 2 result?
SELECT "Result" FROM table_36242 WHERE "District" = 'california 2'
[ 2061, 373, 262, 5665, 286, 3442, 362, 1255, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2623, 27877, 33411, 366, 44857, 1, 796, 705, 9948, 361, 3317, 362, 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, 373, 262, 5665, 286, 3442, 362, 1255, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2623, 27877, 33411, 366, 44857, 1, 796, 705, 9948, 361, 3317, 362, 6 ]
Round 4 for larger than 19 Round 1 and a 27 Round 2?
SELECT round_4 FROM table_name_45 WHERE round_1 > 19 AND round_2 = "27"
[ 22685, 604, 329, 4025, 621, 678, 10485, 352, 290, 257, 2681, 10485, 362, 30, 46506, 2835, 62, 19, 16034, 3084, 62, 3672, 62, 2231, 33411, 2835, 62, 16, 1875, 678, 5357, 2835, 62, 17, 796, 366, 1983, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 22685, 604, 329, 4025, 621, 678, 10485, 352, 290, 257, 2681, 10485, 362, 30, 46506, 2835, 62, 19, 16034, 3084, 62, 3672, 62, 2231, 33411, 2835, 62, 16, 1875, 678, 5357, 2835, 62, 17, 796, 366, 1983, 1 ]
calculate the number of unmarried patients who had a lab test for oxygen saturation.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "SINGLE" AND lab.label = "Oxygen Saturation"
[ 9948, 3129, 378, 262, 1271, 286, 39183, 3871, 508, 550, 257, 2248, 1332, 329, 11863, 36275, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9948, 3129, 378, 262, 1271, 286, 39183, 3871, 508, 550, 257, 2248, 1332, 329, 11863, 36275, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 1...
What is the rank when bronze was more than 0, gold more than 1, Nation is japan, and silver less than 0?
SELECT AVG("Rank") FROM table_59802 WHERE "Bronze" > '0' AND "Gold" > '1' AND "Nation" = 'japan' AND "Silver" < '0'
[ 2061, 318, 262, 4279, 618, 22101, 373, 517, 621, 657, 11, 3869, 517, 621, 352, 11, 8741, 318, 474, 2674, 11, 290, 8465, 1342, 621, 657, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 3270, 30863, 33411, 366, 18760, 2736, 1, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 618, 22101, 373, 517, 621, 657, 11, 3869, 517, 621, 352, 11, 8741, 318, 474, 2674, 11, 290, 8465, 1342, 621, 657, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 3270, 30863, 33411, 366, 18760, 2736, 1, 1...
What Week 2 has a Week 3 of casey mae?
SELECT "Week 2" FROM table_12978 WHERE "Week 3" = 'casey mae'
[ 2061, 6119, 362, 468, 257, 6119, 513, 286, 1339, 88, 285, 3609, 30, 46506, 366, 20916, 362, 1, 16034, 3084, 62, 18741, 3695, 33411, 366, 20916, 513, 1, 796, 705, 7442, 88, 285, 3609, 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, 6119, 362, 468, 257, 6119, 513, 286, 1339, 88, 285, 3609, 30, 46506, 366, 20916, 362, 1, 16034, 3084, 62, 18741, 3695, 33411, 366, 20916, 513, 1, 796, 705, 7442, 88, 285, 3609, 6 ]
What's the top rank that's lane is smaller than 1?
SELECT MAX("Rank") FROM table_69916 WHERE "Lane" < '1'
[ 2061, 338, 262, 1353, 4279, 326, 338, 11193, 318, 4833, 621, 352, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 47325, 1433, 33411, 366, 43, 1531, 1, 1279, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 1353, 4279, 326, 338, 11193, 318, 4833, 621, 352, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 47325, 1433, 33411, 366, 43, 1531, 1, 1279, 705, 16, 6 ]
Which region (year) has Abigail at number 7, Sophia at number 1 and Aaliyah at number 5?
SELECT region__year_ FROM table_name_12 WHERE no_7 = "abigail" AND no_1 = "sophia" AND no_5 = "aaliyah"
[ 13828, 3814, 357, 1941, 8, 468, 2275, 328, 603, 379, 1271, 767, 11, 39953, 379, 1271, 352, 290, 317, 7344, 46848, 379, 1271, 642, 30, 46506, 3814, 834, 1941, 62, 16034, 3084, 62, 3672, 62, 1065, 33411, 645, 62, 22, 796, 366, 397, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3814, 357, 1941, 8, 468, 2275, 328, 603, 379, 1271, 767, 11, 39953, 379, 1271, 352, 290, 317, 7344, 46848, 379, 1271, 642, 30, 46506, 3814, 834, 1941, 62, 16034, 3084, 62, 3672, 62, 1065, 33411, 645, 62, 22, 796, 366, 397, ...
the number of times that patient 027-154299 had received a analgesics - narcotic analgesic this year.
SELECT COUNT(*) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-154299')) AND treatment.treatmentname = 'analgesics - narcotic analgesic' AN...
[ 1169, 1271, 286, 1661, 326, 5827, 657, 1983, 12, 1314, 11785, 24, 550, 2722, 257, 48895, 873, 532, 16946, 6210, 48895, 291, 428, 614, 13, 46506, 327, 28270, 7, 28104, 16034, 3513, 33411, 3513, 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...
[ 1169, 1271, 286, 1661, 326, 5827, 657, 1983, 12, 1314, 11785, 24, 550, 2722, 257, 48895, 873, 532, 16946, 6210, 48895, 291, 428, 614, 13, 46506, 327, 28270, 7, 28104, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, ...
what does patient 594 age be during their last hospital encounter?
SELECT admissions.age FROM admissions WHERE admissions.subject_id = 594 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1
[ 10919, 857, 5827, 642, 5824, 2479, 307, 1141, 511, 938, 4436, 8791, 30, 46506, 25349, 13, 496, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 642, 5824, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 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 ]
[ 10919, 857, 5827, 642, 5824, 2479, 307, 1141, 511, 938, 4436, 8791, 30, 46506, 25349, 13, 496, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 642, 5824, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 25349, 13,...
Which Rank that is on september 9, 2004?
SELECT "Rank" FROM table_13872 WHERE "Date" = 'september 9, 2004'
[ 13828, 10916, 326, 318, 319, 384, 457, 1491, 860, 11, 5472, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 20107, 4761, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 860, 11, 5472, 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 ]
[ 13828, 10916, 326, 318, 319, 384, 457, 1491, 860, 11, 5472, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 20107, 4761, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 860, 11, 5472, 6 ]
Who is the away team that played home team Hawthorn?
SELECT "Away team" FROM table_58195 WHERE "Home team" = 'hawthorn'
[ 8241, 318, 262, 1497, 1074, 326, 2826, 1363, 1074, 41457, 1211, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 3365, 22186, 33411, 366, 16060, 1074, 1, 796, 705, 26615, 400, 1211, 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 ]
[ 8241, 318, 262, 1497, 1074, 326, 2826, 1363, 1074, 41457, 1211, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 3365, 22186, 33411, 366, 16060, 1074, 1, 796, 705, 26615, 400, 1211, 6 ]
What is my Archaeologist badge progress?.
SELECT COUNT(*) FROM Posts AS p INNER JOIN Posts AS a ON a.ParentId = p.Id WHERE p.Title = 'Site statistics'
[ 2061, 318, 616, 32187, 7451, 23009, 4371, 30, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 12043, 7054, 257, 6177, 257, 13, 24546, 7390, 796, 279, 13, 7390, 33411, 279, 13, 19160, 796, 705, 29123, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 616, 32187, 7451, 23009, 4371, 30, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 12043, 7054, 257, 6177, 257, 13, 24546, 7390, 796, 279, 13, 7390, 33411, 279, 13, 19160, 796, 705, 29123, ...
Count the number of documents with the type code BK that correspond to each product id with a scatter chart.
SELECT COUNT(*), Project_ID FROM Documents WHERE Document_Type_Code = "BK" GROUP BY Project_ID
[ 12332, 262, 1271, 286, 4963, 351, 262, 2099, 2438, 347, 42, 326, 6053, 284, 1123, 1720, 4686, 351, 257, 41058, 8262, 13, 46506, 327, 28270, 46491, 828, 4935, 62, 2389, 16034, 33267, 33411, 16854, 62, 6030, 62, 10669, 796, 366, 33, 42,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12332, 262, 1271, 286, 4963, 351, 262, 2099, 2438, 347, 42, 326, 6053, 284, 1123, 1720, 4686, 351, 257, 41058, 8262, 13, 46506, 327, 28270, 46491, 828, 4935, 62, 2389, 16034, 33267, 33411, 16854, 62, 6030, 62, 10669, 796, 366, 33, 42,...
What is the diameter in km of the feature named Colette Patera?
SELECT "Diameter (km)" FROM table_72813 WHERE "Name" = 'Colette Patera'
[ 2061, 318, 262, 14753, 287, 10571, 286, 262, 3895, 3706, 1766, 21348, 350, 729, 64, 30, 46506, 366, 35, 13173, 357, 13276, 16725, 16034, 3084, 62, 48524, 1485, 33411, 366, 5376, 1, 796, 705, 7222, 21348, 350, 729, 64, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14753, 287, 10571, 286, 262, 3895, 3706, 1766, 21348, 350, 729, 64, 30, 46506, 366, 35, 13173, 357, 13276, 16725, 16034, 3084, 62, 48524, 1485, 33411, 366, 5376, 1, 796, 705, 7222, 21348, 350, 729, 64, 6 ]
what is the to par for retief goosen?
SELECT to_par FROM table_name_93 WHERE player = "retief goosen"
[ 10919, 318, 262, 284, 1582, 329, 1005, 2086, 467, 5233, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 6052, 33411, 2137, 796, 366, 1186, 2086, 467, 5233, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 284, 1582, 329, 1005, 2086, 467, 5233, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 6052, 33411, 2137, 796, 366, 1186, 2086, 467, 5233, 1 ]
What was the score of the game played on September 9?
SELECT score FROM table_name_5 WHERE date = "september 9"
[ 2061, 373, 262, 4776, 286, 262, 983, 2826, 319, 2693, 860, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 20, 33411, 3128, 796, 366, 325, 457, 1491, 860, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 2826, 319, 2693, 860, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 20, 33411, 3128, 796, 366, 325, 457, 1491, 860, 1 ]
What is the short stem for the word that has a perfect stem of poztu?
SELECT "Short stem" FROM table_14597 WHERE "Perfect stem" = 'poztu'
[ 2061, 318, 262, 1790, 10717, 329, 262, 1573, 326, 468, 257, 2818, 10717, 286, 745, 89, 28047, 30, 46506, 366, 16438, 10717, 1, 16034, 3084, 62, 1415, 43239, 33411, 366, 36635, 10717, 1, 796, 705, 7501, 89, 28047, 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, 1790, 10717, 329, 262, 1573, 326, 468, 257, 2818, 10717, 286, 745, 89, 28047, 30, 46506, 366, 16438, 10717, 1, 16034, 3084, 62, 1415, 43239, 33411, 366, 36635, 10717, 1, 796, 705, 7501, 89, 28047, 6 ]
Is one of the MDE classes that I can take ROMLING 414 ?
SELECT COUNT(*) > 0 FROM course, program, program_course WHERE course.department = 'ROMLING' AND course.number = 414 AND program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id
[ 3792, 530, 286, 262, 337, 7206, 6097, 326, 314, 460, 1011, 21224, 43, 2751, 45900, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1430, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, 796, 705, 33676, 43, 2751, 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...
[ 3792, 530, 286, 262, 337, 7206, 6097, 326, 314, 460, 1011, 21224, 43, 2751, 45900, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1430, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, 796, 705, 33676, 43, 2751, 6, ...
When new york 8th is teh district who is the successor?
SELECT "Successor" FROM table_24401 WHERE "District" = 'New York 8th'
[ 2215, 649, 331, 967, 807, 400, 318, 573, 71, 4783, 508, 318, 262, 17270, 30, 46506, 366, 33244, 273, 1, 16034, 3084, 62, 1731, 21844, 33411, 366, 44857, 1, 796, 705, 3791, 1971, 807, 400, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 649, 331, 967, 807, 400, 318, 573, 71, 4783, 508, 318, 262, 17270, 30, 46506, 366, 33244, 273, 1, 16034, 3084, 62, 1731, 21844, 33411, 366, 44857, 1, 796, 705, 3791, 1971, 807, 400, 6 ]
count the number of patients who until 2104 were diagnosed with oliguria & anuria.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'oliguria & anuria') AND STRFTIME('%y', diagnoses_icd.chart...
[ 9127, 262, 1271, 286, 3871, 508, 1566, 362, 13464, 547, 14641, 351, 24869, 34484, 1222, 281, 34484, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1566, 362, 13464, 547, 14641, 351, 24869, 34484, 1222, 281, 34484, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268...
Draw a bar chart about the distribution of All_Neutral and School_ID .
SELECT All_Neutral, School_ID FROM basketball_match
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 8199, 6815, 290, 3961, 62, 2389, 764, 46506, 1439, 62, 8199, 6815, 11, 3961, 62, 2389, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 8199, 6815, 290, 3961, 62, 2389, 764, 46506, 1439, 62, 8199, 6815, 11, 3961, 62, 2389, 16034, 9669, 62, 15699 ]
what is the interview score when the preliminary average is 8.529 (6)?
SELECT interview FROM table_name_53 WHERE preliminary_average = "8.529 (6)"
[ 10919, 318, 262, 2720, 4776, 618, 262, 15223, 2811, 318, 807, 13, 49721, 357, 21, 19427, 46506, 2720, 16034, 3084, 62, 3672, 62, 4310, 33411, 15223, 62, 23913, 796, 366, 23, 13, 49721, 357, 21, 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 ]
[ 10919, 318, 262, 2720, 4776, 618, 262, 15223, 2811, 318, 807, 13, 49721, 357, 21, 19427, 46506, 2720, 16034, 3084, 62, 3672, 62, 4310, 33411, 15223, 62, 23913, 796, 366, 23, 13, 49721, 357, 21, 16725 ]
How heavy were the players who attended Arkansas?
SELECT "Weight" FROM table_20161 WHERE "College" = 'Arkansas'
[ 2437, 4334, 547, 262, 1938, 508, 9141, 14538, 30, 46506, 366, 25844, 1, 16034, 3084, 62, 5304, 16, 33411, 366, 38951, 1, 796, 705, 42007, 6618, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 4334, 547, 262, 1938, 508, 9141, 14538, 30, 46506, 366, 25844, 1, 16034, 3084, 62, 5304, 16, 33411, 366, 38951, 1, 796, 705, 42007, 6618, 6 ]
what was the last time of intake of patient 002-58884 on last month/14?
SELECT 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 = '002-58884')) AND intakeoutput.cellpath LIKE '%intake%...
[ 10919, 373, 262, 938, 640, 286, 10337, 286, 5827, 3571, 17, 12, 3365, 40353, 319, 938, 1227, 14, 1415, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, 22915, 33411, 10337, 22915, 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...
[ 10919, 373, 262, 938, 640, 286, 10337, 286, 5827, 3571, 17, 12, 3365, 40353, 319, 938, 1227, 14, 1415, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357...
Which Matches has champion Rank of 5?
SELECT MAX("Matches as champion") FROM table_38183 WHERE "Rank" = '5'
[ 13828, 6550, 2052, 468, 8783, 10916, 286, 642, 30, 46506, 25882, 7203, 19044, 2052, 355, 8783, 4943, 16034, 3084, 62, 2548, 24839, 33411, 366, 27520, 1, 796, 705, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6550, 2052, 468, 8783, 10916, 286, 642, 30, 46506, 25882, 7203, 19044, 2052, 355, 8783, 4943, 16034, 3084, 62, 2548, 24839, 33411, 366, 27520, 1, 796, 705, 20, 6 ]
Users by last activity date.
WITH UserActivityStats AS (SELECT COALESCE(PostInfoByUser.UserId, CommentInfoByUser.UserId) AS UserId, (SELECT MAX(LastCreationDate) FROM (VALUES (PostInfoByUser.LastCreationDate), (CommentInfoByUser.LastCreationDate)) AS MaxValues) AS LastActivityDate FROM (SELECT OwnerUserId AS UserId, MAX(CreationDate) AS LastCreati...
[ 14490, 416, 938, 3842, 3128, 13, 54, 10554, 11787, 16516, 29668, 7054, 357, 46506, 7375, 1847, 1546, 5222, 7, 6307, 12360, 3886, 12982, 13, 12982, 7390, 11, 18957, 12360, 3886, 12982, 13, 12982, 7390, 8, 7054, 11787, 7390, 11, 357, 4650...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14490, 416, 938, 3842, 3128, 13, 54, 10554, 11787, 16516, 29668, 7054, 357, 46506, 7375, 1847, 1546, 5222, 7, 6307, 12360, 3886, 12982, 13, 12982, 7390, 11, 18957, 12360, 3886, 12982, 13, 12982, 7390, 8, 7054, 11787, 7390, 11, 357, 4650...
Which model number has an order part number of TMSMT37BQX5LD?
SELECT model_number FROM table_name_57 WHERE order_part_number = "tmsmt37bqx5ld"
[ 13828, 2746, 1271, 468, 281, 1502, 636, 1271, 286, 309, 5653, 13752, 2718, 33, 48, 55, 20, 11163, 30, 46506, 2746, 62, 17618, 16034, 3084, 62, 3672, 62, 3553, 33411, 1502, 62, 3911, 62, 17618, 796, 366, 83, 907, 16762, 2718, 65, 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, 1 ]
[ 13828, 2746, 1271, 468, 281, 1502, 636, 1271, 286, 309, 5653, 13752, 2718, 33, 48, 55, 20, 11163, 30, 46506, 2746, 62, 17618, 16034, 3084, 62, 3672, 62, 3553, 33411, 1502, 62, 3911, 62, 17618, 796, 366, 83, 907, 16762, 2718, 65, 80,...
count the number of patients whose primary disease is bowel obstruction?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BOWEL OBSTRUCTION"
[ 9127, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 35711, 28118, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 33, 3913, 3698, 25334, 46126, 2849, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4165, 4369, 318, 35711, 28118, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 33, 3913, 3698, 25334, 46126, 2849, ...
What is ids of the songs whose resolution is higher than the resolution of any songs with rating lower than 8?
SELECT f_id FROM song WHERE resolution > (SELECT MAX(resolution) FROM song WHERE rating < 8)
[ 2061, 318, 220, 2340, 286, 262, 7259, 3025, 6323, 318, 2440, 621, 262, 6323, 286, 597, 7259, 351, 7955, 2793, 621, 807, 30, 46506, 277, 62, 312, 16034, 3496, 33411, 6323, 1875, 357, 46506, 25882, 7, 29268, 8, 16034, 3496, 33411, 7955,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 220, 2340, 286, 262, 7259, 3025, 6323, 318, 2440, 621, 262, 6323, 286, 597, 7259, 351, 7955, 2793, 621, 807, 30, 46506, 277, 62, 312, 16034, 3496, 33411, 6323, 1875, 357, 46506, 25882, 7, 29268, 8, 16034, 3496, 33411, 7955,...
How many venues were used on 10 Mar 2007?
SELECT venue FROM table_14981555_3 WHERE date = "10 Mar 2007"
[ 2437, 867, 22276, 547, 973, 319, 838, 1526, 4343, 30, 46506, 14359, 16034, 3084, 62, 1415, 4089, 1314, 2816, 62, 18, 33411, 3128, 796, 366, 940, 1526, 4343, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 22276, 547, 973, 319, 838, 1526, 4343, 30, 46506, 14359, 16034, 3084, 62, 1415, 4089, 1314, 2816, 62, 18, 33411, 3128, 796, 366, 940, 1526, 4343, 1 ]
when was first time patient 32153's heart rate measured or taken on the current intensive care unit visit?
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 = 32153) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WH...
[ 12518, 373, 717, 640, 5827, 3933, 21395, 338, 2612, 2494, 8630, 393, 2077, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 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...
[ 12518, 373, 717, 640, 5827, 3933, 21395, 338, 2612, 2494, 8630, 393, 2077, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, ...
Name the base 10 for peletier for bi llion
SELECT "Base 10" FROM table_28299 WHERE "Peletier" = 'Bi llion'
[ 5376, 262, 2779, 838, 329, 613, 1616, 959, 329, 3182, 32660, 295, 46506, 366, 14881, 838, 1, 16034, 3084, 62, 2078, 22579, 33411, 366, 6435, 1616, 959, 1, 796, 705, 23286, 32660, 295, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2779, 838, 329, 613, 1616, 959, 329, 3182, 32660, 295, 46506, 366, 14881, 838, 1, 16034, 3084, 62, 2078, 22579, 33411, 366, 6435, 1616, 959, 1, 796, 705, 23286, 32660, 295, 6 ]
Visualize the relationship between People_ID and Snatch .
SELECT People_ID, Snatch FROM body_builder
[ 36259, 1096, 262, 2776, 1022, 4380, 62, 2389, 290, 5489, 963, 764, 46506, 4380, 62, 2389, 11, 5489, 963, 16034, 1767, 62, 38272 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 262, 2776, 1022, 4380, 62, 2389, 290, 5489, 963, 764, 46506, 4380, 62, 2389, 11, 5489, 963, 16034, 1767, 62, 38272 ]
what is patient 011-46398's age on the last hospital encounter?
SELECT patient.age FROM patient WHERE patient.uniquepid = '011-46398' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1
[ 10919, 318, 5827, 5534, 16, 12, 3510, 31952, 338, 2479, 319, 262, 938, 4436, 8791, 30, 46506, 5827, 13, 496, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28555, 12, 3510, 31952, 6, 5357, 5626, 5827, 13, 49257, 6381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 5534, 16, 12, 3510, 31952, 338, 2479, 319, 262, 938, 4436, 8791, 30, 46506, 5827, 13, 496, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28555, 12, 3510, 31952, 6, 5357, 5626, 5827, 13, 49257, 6381, ...
For the area which was 9.1 in October 2010, what is the figure for October 2012?
SELECT october_2012 FROM table_21531764_1 WHERE october_2010 = "9.1"
[ 1890, 262, 1989, 543, 373, 860, 13, 16, 287, 3267, 3050, 11, 644, 318, 262, 3785, 329, 3267, 2321, 30, 46506, 19318, 2023, 62, 6999, 16034, 3084, 62, 17, 21395, 1558, 2414, 62, 16, 33411, 19318, 2023, 62, 10333, 796, 366, 24, 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 ]
[ 1890, 262, 1989, 543, 373, 860, 13, 16, 287, 3267, 3050, 11, 644, 318, 262, 3785, 329, 3267, 2321, 30, 46506, 19318, 2023, 62, 6999, 16034, 3084, 62, 17, 21395, 1558, 2414, 62, 16, 33411, 19318, 2023, 62, 10333, 796, 366, 24, 13, ...
What is the highest score of round 1 where they also shot 90 in round 2
SELECT MAX("Round 1") FROM table_1091 WHERE "Round 2" = '90'
[ 2061, 318, 262, 4511, 4776, 286, 2835, 352, 810, 484, 635, 2823, 4101, 287, 2835, 362, 46506, 25882, 7203, 22685, 352, 4943, 16034, 3084, 62, 940, 6420, 33411, 366, 22685, 362, 1, 796, 705, 3829, 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, 4511, 4776, 286, 2835, 352, 810, 484, 635, 2823, 4101, 287, 2835, 362, 46506, 25882, 7203, 22685, 352, 4943, 16034, 3084, 62, 940, 6420, 33411, 366, 22685, 362, 1, 796, 705, 3829, 6 ]
When did Hawthorn play at home?
SELECT "Date" FROM table_58460 WHERE "Home team" = 'hawthorn'
[ 2215, 750, 41457, 1211, 711, 379, 1363, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3365, 34716, 33411, 366, 16060, 1074, 1, 796, 705, 26615, 400, 1211, 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 ]
[ 2215, 750, 41457, 1211, 711, 379, 1363, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3365, 34716, 33411, 366, 16060, 1074, 1, 796, 705, 26615, 400, 1211, 6 ]
Which Position has a Difference of 5, and a Drawn smaller than 3?
SELECT MIN(position) FROM table_name_84 WHERE difference = "5" AND drawn < 3
[ 13828, 23158, 468, 257, 43795, 286, 642, 11, 290, 257, 50061, 4833, 621, 513, 30, 46506, 20625, 7, 9150, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 3580, 796, 366, 20, 1, 5357, 7428, 1279, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23158, 468, 257, 43795, 286, 642, 11, 290, 257, 50061, 4833, 621, 513, 30, 46506, 20625, 7, 9150, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 3580, 796, 366, 20, 1, 5357, 7428, 1279, 513 ]
What are the job titles, and range of salaries for jobs with maximum salary between 12000 and 18000 Plot them as bar chart, rank y-axis in ascending order.
SELECT JOB_TITLE, MAX_SALARY - MIN_SALARY FROM jobs WHERE MAX_SALARY BETWEEN 12000 AND 18000 ORDER BY MAX_SALARY - MIN_SALARY
[ 2061, 389, 262, 1693, 8714, 11, 290, 2837, 286, 17058, 329, 3946, 351, 5415, 9588, 1022, 1105, 830, 290, 1248, 830, 28114, 606, 355, 2318, 8262, 11, 4279, 331, 12, 22704, 287, 41988, 1502, 13, 46506, 449, 9864, 62, 49560, 2538, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1693, 8714, 11, 290, 2837, 286, 17058, 329, 3946, 351, 5415, 9588, 1022, 1105, 830, 290, 1248, 830, 28114, 606, 355, 2318, 8262, 11, 4279, 331, 12, 22704, 287, 41988, 1502, 13, 46506, 449, 9864, 62, 49560, 2538, 11, ...
How many games were played by the player who had 22 penalty minutes?
SELECT "Games" FROM table_62351 WHERE "Pen. Min." = '22'
[ 2437, 867, 1830, 547, 2826, 416, 262, 2137, 508, 550, 2534, 7389, 2431, 30, 46506, 366, 24474, 1, 16034, 3084, 62, 46872, 4349, 33411, 366, 25553, 13, 1855, 526, 796, 705, 1828, 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 ]
[ 2437, 867, 1830, 547, 2826, 416, 262, 2137, 508, 550, 2534, 7389, 2431, 30, 46506, 366, 24474, 1, 16034, 3084, 62, 46872, 4349, 33411, 366, 25553, 13, 1855, 526, 796, 705, 1828, 6 ]
What is the home team with the ny rangers as the visitor team?
SELECT home FROM table_name_16 WHERE visitor = "ny rangers"
[ 2061, 318, 262, 1363, 1074, 351, 262, 299, 88, 374, 6606, 355, 262, 21493, 1074, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 1433, 33411, 21493, 796, 366, 3281, 374, 6606, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 262, 299, 88, 374, 6606, 355, 262, 21493, 1074, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 1433, 33411, 21493, 796, 366, 3281, 374, 6606, 1 ]
Who was the home team that played against Collingwood?
SELECT home_team FROM table_name_90 WHERE away_team = "collingwood"
[ 8241, 373, 262, 1363, 1074, 326, 2826, 1028, 7778, 278, 3822, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 3829, 33411, 1497, 62, 15097, 796, 366, 26000, 278, 3822, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 1074, 326, 2826, 1028, 7778, 278, 3822, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 3829, 33411, 1497, 62, 15097, 796, 366, 26000, 278, 3822, 1 ]
Which Venue is listed under the Date of 21st?
SELECT venue FROM table_name_52 WHERE date = "21st"
[ 13828, 9932, 518, 318, 5610, 739, 262, 7536, 286, 2310, 301, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 4309, 33411, 3128, 796, 366, 2481, 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 ]
[ 13828, 9932, 518, 318, 5610, 739, 262, 7536, 286, 2310, 301, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 4309, 33411, 3128, 796, 366, 2481, 301, 1 ]
The displacement(s) 466 cubic inches (7.6L), has what engine family?
SELECT "Engine Family" FROM table_28593 WHERE "Displacement(s)" = '466 cubic inches (7.6L)'
[ 464, 29358, 7, 82, 8, 604, 2791, 27216, 8331, 357, 22, 13, 21, 43, 828, 468, 644, 3113, 1641, 30, 46506, 366, 13798, 7884, 1, 16034, 3084, 62, 2078, 49051, 33411, 366, 7279, 489, 5592, 7, 82, 16725, 796, 705, 42199, 27216, 8331, 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 ]
[ 464, 29358, 7, 82, 8, 604, 2791, 27216, 8331, 357, 22, 13, 21, 43, 828, 468, 644, 3113, 1641, 30, 46506, 366, 13798, 7884, 1, 16034, 3084, 62, 2078, 49051, 33411, 366, 7279, 489, 5592, 7, 82, 16725, 796, 705, 42199, 27216, 8331, 3...
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a line chart about the change of employee_id over hire_date .
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 38350, 257, 1627, 8262, 546, 262, 1487, 286, 6538, 62, 312, 625, 11078, 62, 4475, 764, 46506, 36210, 2200, 62, 35, 6158, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 38350, 257, 1627, 8262, 546, 262, 1487, 286, 6538, 62, 312, 625, 11078, 62, 4475, 764, 46506, 36210, 2200, 62, 35, 6158, 11,...
what's the date of birth with end of term being 5july1978
SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term = "5July1978"
[ 10919, 338, 262, 3128, 286, 4082, 351, 886, 286, 3381, 852, 642, 73, 2062, 37950, 46506, 3128, 62, 1659, 62, 24280, 16034, 3084, 62, 1065, 19880, 34741, 62, 16, 33411, 886, 62, 1659, 62, 4354, 796, 366, 20, 16157, 37950, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 3128, 286, 4082, 351, 886, 286, 3381, 852, 642, 73, 2062, 37950, 46506, 3128, 62, 1659, 62, 24280, 16034, 3084, 62, 1065, 19880, 34741, 62, 16, 33411, 886, 62, 1659, 62, 4354, 796, 366, 20, 16157, 37950, 1 ]
Who was the candidate in the Virginia 3 district election?
SELECT candidates FROM table_1341577_47 WHERE district = "Virginia 3"
[ 8241, 373, 262, 4540, 287, 262, 6025, 513, 4783, 3071, 30, 46506, 5871, 16034, 3084, 62, 19880, 1314, 3324, 62, 2857, 33411, 4783, 796, 366, 41017, 513, 1 ]
[ 1, 1, 1, 1, 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, 4540, 287, 262, 6025, 513, 4783, 3071, 30, 46506, 5871, 16034, 3084, 62, 19880, 1314, 3324, 62, 2857, 33411, 4783, 796, 366, 41017, 513, 1 ]
What was the qualification with more than 585 laps?
SELECT qual FROM table_name_16 WHERE laps = 585
[ 2061, 373, 262, 28587, 351, 517, 621, 642, 5332, 24590, 30, 46506, 4140, 16034, 3084, 62, 3672, 62, 1433, 33411, 24590, 796, 642, 5332 ]
[ 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, 28587, 351, 517, 621, 642, 5332, 24590, 30, 46506, 4140, 16034, 3084, 62, 3672, 62, 1433, 33411, 24590, 796, 642, 5332 ]
People with the gold spring-batch badge.
SELECT u.DisplayName FROM Badges AS b INNER JOIN Users AS u ON u.Id = b.UserId WHERE b.Name = 'spring-batch' AND b.Class = 1 ORDER BY u.DisplayName
[ 8061, 351, 262, 3869, 6076, 12, 43501, 23009, 13, 46506, 334, 13, 23114, 5376, 16034, 7772, 3212, 7054, 275, 3268, 21479, 32357, 1268, 18987, 7054, 334, 6177, 334, 13, 7390, 796, 275, 13, 12982, 7390, 33411, 275, 13, 5376, 796, 705, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8061, 351, 262, 3869, 6076, 12, 43501, 23009, 13, 46506, 334, 13, 23114, 5376, 16034, 7772, 3212, 7054, 275, 3268, 21479, 32357, 1268, 18987, 7054, 334, 6177, 334, 13, 7390, 796, 275, 13, 12982, 7390, 33411, 275, 13, 5376, 796, 705, 1...
in 2104, patient 006-50368 was diagnosed for the first time with what?
SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-50368')) AND STRFTIME('%y', diagnosis.diagnosistime) = '2104'...
[ 259, 362, 13464, 11, 5827, 3571, 21, 12, 1120, 27412, 373, 14641, 329, 262, 717, 640, 351, 644, 30, 46506, 13669, 13, 47356, 5958, 3672, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 362, 13464, 11, 5827, 3571, 21, 12, 1120, 27412, 373, 14641, 329, 262, 717, 640, 351, 644, 30, 46506, 13669, 13, 47356, 5958, 3672, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850,...
When did they play against Wales?
SELECT date FROM table_name_41 WHERE opponent = "wales"
[ 2215, 750, 484, 711, 1028, 11769, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3901, 33411, 6125, 796, 366, 86, 2040, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 484, 711, 1028, 11769, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3901, 33411, 6125, 796, 366, 86, 2040, 1 ]
Name the number of regions for 2013/14 being 27
SELECT COUNT("Region") FROM table_27337 WHERE "2013/14" = '27'
[ 5376, 262, 1271, 286, 7652, 329, 2211, 14, 1415, 852, 2681, 46506, 327, 28270, 7203, 47371, 4943, 16034, 3084, 62, 1983, 31496, 33411, 366, 6390, 14, 1415, 1, 796, 705, 1983, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 7652, 329, 2211, 14, 1415, 852, 2681, 46506, 327, 28270, 7203, 47371, 4943, 16034, 3084, 62, 1983, 31496, 33411, 366, 6390, 14, 1415, 1, 796, 705, 1983, 6 ]
What place was the scorer of 67-74-73=214?
SELECT "Place" FROM table_80399 WHERE "Score" = '67-74-73=214'
[ 2061, 1295, 373, 262, 30664, 286, 8275, 12, 4524, 12, 4790, 28, 22291, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 1795, 28771, 33411, 366, 26595, 1, 796, 705, 3134, 12, 4524, 12, 4790, 28, 22291, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1295, 373, 262, 30664, 286, 8275, 12, 4524, 12, 4790, 28, 22291, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 1795, 28771, 33411, 366, 26595, 1, 796, 705, 3134, 12, 4524, 12, 4790, 28, 22291, 6 ]
what film was her last film in hindi ?
SELECT "film" FROM table_204_57 WHERE "language" = 'hindi' ORDER BY "year" DESC LIMIT 1
[ 10919, 2646, 373, 607, 938, 2646, 287, 16222, 72, 5633, 46506, 366, 26240, 1, 16034, 3084, 62, 18638, 62, 3553, 33411, 366, 16129, 1, 796, 705, 71, 521, 72, 6, 38678, 11050, 366, 1941, 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 ]
[ 10919, 2646, 373, 607, 938, 2646, 287, 16222, 72, 5633, 46506, 366, 26240, 1, 16034, 3084, 62, 18638, 62, 3553, 33411, 366, 16129, 1, 796, 705, 71, 521, 72, 6, 38678, 11050, 366, 1941, 1, 22196, 34, 27564, 2043, 352 ]
papers that used NELL
SELECT DISTINCT paper.paperid FROM dataset, paper, paperdataset WHERE dataset.datasetname = 'NELL' AND paperdataset.datasetid = dataset.datasetid AND paper.paperid = paperdataset.paperid
[ 40491, 326, 973, 10635, 3069, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 27039, 11, 3348, 11, 3348, 19608, 292, 316, 33411, 27039, 13, 19608, 292, 316, 3672, 796, 705, 12161, 3069, 6, 5357, 3348, 19608, 292, 316, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 40491, 326, 973, 10635, 3069, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 27039, 11, 3348, 11, 3348, 19608, 292, 316, 33411, 27039, 13, 19608, 292, 316, 3672, 796, 705, 12161, 3069, 6, 5357, 3348, 19608, 292, 316, 13, 1...
What kind of IATA that has a Airport of berlin sch nefeld airport?
SELECT iata FROM table_name_83 WHERE airport = "berlin schönefeld airport"
[ 2061, 1611, 286, 314, 13563, 326, 468, 257, 12690, 286, 18157, 2815, 5513, 497, 16265, 9003, 30, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 5999, 33411, 9003, 796, 366, 527, 2815, 5513, 9101, 710, 16265, 9003, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1611, 286, 314, 13563, 326, 468, 257, 12690, 286, 18157, 2815, 5513, 497, 16265, 9003, 30, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 5999, 33411, 9003, 796, 366, 527, 2815, 5513, 9101, 710, 16265, 9003, 1 ]
Count of Review Tasks for June 2019.
SELECT COUNT(*) FROM ReviewTasks WHERE CreationDate LIKE '2019-06%'
[ 12332, 286, 6602, 309, 6791, 329, 2795, 13130, 13, 46506, 327, 28270, 7, 28104, 16034, 6602, 51, 6791, 33411, 21582, 10430, 34178, 705, 23344, 12, 3312, 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, 1, 1 ]
[ 12332, 286, 6602, 309, 6791, 329, 2795, 13130, 13, 46506, 327, 28270, 7, 28104, 16034, 6602, 51, 6791, 33411, 21582, 10430, 34178, 705, 23344, 12, 3312, 4, 6 ]
when did patient 21110 for the first time this year be admitted via the emergency room admit into the hospital?
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 21110 AND admissions.admission_location = 'emergency room admit' AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY admissions.admittime LIMIT 1
[ 12518, 750, 5827, 28714, 940, 329, 262, 717, 640, 428, 614, 307, 6848, 2884, 262, 6334, 2119, 9159, 656, 262, 4436, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 28714, 940, 5357, 25349, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 28714, 940, 329, 262, 717, 640, 428, 614, 307, 6848, 2884, 262, 6334, 2119, 9159, 656, 262, 4436, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 28714, 940, 5357, 25349, 1...