NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
what number of days have passed since the last time patient 032-9230 stayed in ward 1068 in their current hospital encounter?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime t...
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '032-9230' AND patient.wardid = 1068 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 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...
[ 3, 23143, 14196, 209, 1429, 41, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 3, 5211, 12224, 6431, 834, 382, 15382, 9960, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 20466, 17, 715, 61, 61, 216...
tell me, what were the three most common procedures a year before?
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE patient ( ...
SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2179, 9339, 41, 2179, 521, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1543, 3585, 1499, 6, 9329, 1499, 6, 1543, 4914, 29, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 26889, 4350, 21680, 41, 23143, 14196, 1058, 5, 26889, 4350, 6, 3, 22284, 4132, 834, 16375, 439, 9960, 3, 23288, 41, 2990, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 61, 6157, 3, 75, 536, ...
what is the ship types delivered when the total vessels built for usmc is 13 ships for usmc (plus 37 more for usn)?
CREATE TABLE table_name_21 ( ship_types_delivered VARCHAR, total_vessels_built_for_usmc VARCHAR )
SELECT ship_types_delivered FROM table_name_21 WHERE total_vessels_built_for_usmc = "13 ships for usmc (plus 37 more for usn)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 4383, 834, 6137, 7, 834, 221, 7591, 1271, 584, 4280, 28027, 6, 792, 834, 162, 9816, 7, 834, 16152, 834, 1161, 834, 302, 51, 75, 584, 4280, 28027, 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...
[ 3, 23143, 14196, 4383, 834, 6137, 7, 834, 221, 7591, 1271, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 792, 834, 162, 9816, 7, 834, 16152, 834, 1161, 834, 302, 51, 75, 3274, 96, 2368, 10911, 21, 178, 51, 75, 41, 10817, 6862...
Show all flight number from Los Angeles.
CREATE TABLE employee ( eid number, name text, salary number ) CREATE TABLE aircraft ( aid number, name text, distance number ) CREATE TABLE flight ( flno number, origin text, destination text, distance number, departure_date time, arrival_date time, price number, ...
SELECT flno FROM flight WHERE origin = "Los Angeles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3490, 41, 3, 15, 23, 26, 381, 6, 564, 1499, 6, 9090, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6442, 41, 3052, 381, 6, 564, 1499, 6, 2357, 381, 3, 61, 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...
[ 3, 23143, 14196, 3, 89, 40, 29, 32, 21680, 3777, 549, 17444, 427, 5233, 3274, 96, 434, 32, 7, 4975, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which astronaut went on the Apollo 16 mission at the age of 36y 6m 18d to step on the moon?
CREATE TABLE table_name_20 ( name VARCHAR, mission VARCHAR, age_at_first_step VARCHAR )
SELECT name FROM table_name_20 WHERE mission = "apollo 16" AND age_at_first_step = "36y 6m 18d"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 564, 584, 4280, 28027, 6, 2253, 584, 4280, 28027, 6, 1246, 834, 144, 834, 14672, 834, 7910, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 2253, 3274, 96, 9521, 195, 32, 898, 121, 3430, 1246, 834, 144, 834, 14672, 834, 7910, 3274, 96, 3420, 63, 431, 51, 507, 26, 121, 1, -100, -100, -100, -100, -...
What are the ids and names of the medicine that can interact with two or more enzymes?
CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR); CREATE TABLE medicine (id VARCHAR, Name VARCHAR)
SELECT T1.id, T1.Name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4404, 834, 35, 4164, 526, 834, 3870, 4787, 41, 29368, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4404, 41, 23, 26, 584, 4280, 28027, 6, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23, 26, 6, 332, 5411, 23954, 21680, 4404, 6157, 332, 536, 3, 15355, 3162, 4404, 834, 35, 4164, 526, 834, 3870, 4787, 6157, 332, 357, 9191, 332, 4416, 29368, 834, 23, 26, 3274, 332, 5411, 23, 26, 350, 46...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, return a bar chart about the distribution of hire_date and the average of salary bin hire_date by time.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE...
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051, 382, ...
What are the LOA (metres) of boat with sail number M10?
CREATE TABLE table_20854943_2 ( loa__metres_ VARCHAR, sail_number VARCHAR )
SELECT loa__metres_ FROM table_20854943_2 WHERE sail_number = "M10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4433, 3647, 4906, 834, 357, 41, 6899, 9, 834, 834, 22404, 7, 834, 584, 4280, 28027, 6, 14725, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 6899, 9, 834, 834, 22404, 7, 834, 21680, 953, 834, 1755, 4433, 3647, 4906, 834, 357, 549, 17444, 427, 14725, 834, 5525, 1152, 3274, 96, 329, 1714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the time/retired for grid 9?
CREATE TABLE table_name_30 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_30 WHERE grid = 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 715, 834, 10682, 1271, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 97, 87, 10682, 1271, 21, 8634, 668, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 8634, 3274, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the male winner the year after 1998 with Marleen Renders as the female winner?
CREATE TABLE table_42478 ( "Year" real, "Winner (Male)" text, "Winner (Female)" text, "Talent (Male)" text, "Talent (Female)" text )
SELECT "Winner (Male)" FROM table_42478 WHERE "Winner (Female)" = 'marleen renders' AND "Year" > '1998'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2266, 3940, 41, 96, 476, 2741, 121, 490, 6, 96, 18455, 687, 41, 329, 9, 109, 61, 121, 1499, 6, 96, 18455, 687, 41, 371, 15, 13513, 61, 121, 1499, 6, 96, 382, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 687, 41, 329, 9, 109, 61, 121, 21680, 953, 834, 591, 2266, 3940, 549, 17444, 427, 96, 18455, 687, 41, 371, 15, 13513, 61, 121, 3274, 3, 31, 1635, 109, 35, 16061, 7, 31, 3430, 96, 476, 2741, 121, 2490,...
What is the score of the friendly competition?
CREATE TABLE table_name_72 ( score VARCHAR, competition VARCHAR )
SELECT score FROM table_name_72 WHERE competition = "friendly"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 2604, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 2609, 2259, 58, 1, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 2259, 3274, 96, 4905, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who are the players that have names containing the letter a?
CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text )
SELECT DISTINCT pname FROM player WHERE pname LIKE '%a%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1900, 41, 3, 75, 4350, 1499, 6, 538, 1499, 6, 3, 35, 52, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 3, 12417, 381, 6, 3, 102, 4350, 1499, 6, 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...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 3, 102, 4350, 21680, 1959, 549, 17444, 427, 3, 102, 4350, 8729, 9914, 3, 31, 1454, 9, 1454, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the brand name associated with a model name e4xxx?
CREATE TABLE table_26571 ( "Processor" text, "Brand name" text, "Model (list)" text, "Cores" real, "L2 Cache" text, "Socket" text, "TDP" text )
SELECT "Brand name" FROM table_26571 WHERE "Model (list)" = 'E4xxx'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3436, 536, 41, 96, 3174, 75, 24901, 121, 1499, 6, 96, 18304, 727, 564, 121, 1499, 6, 96, 24663, 41, 3350, 61, 121, 1499, 6, 96, 254, 14846, 121, 490, 6, 96, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18304, 727, 564, 121, 21680, 953, 834, 2688, 3436, 536, 549, 17444, 427, 96, 24663, 41, 3350, 61, 121, 3274, 3, 31, 427, 591, 226, 19230, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHere is the friends' school?
CREATE TABLE table_name_65 (location VARCHAR, school VARCHAR)
SELECT location FROM table_name_65 WHERE school = "the friends' school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 14836, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3, 15313, 49, 15, 19, 8, 803, 31, 496, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 496, 3274, 96, 532, 803, 31, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the enrollment for the institution nicknamed the panthers that left in 2012?
CREATE TABLE table_3521 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" text, "Left" text, "Current Conference" text )
SELECT "Enrollment" FROM table_3521 WHERE "Left" = '2012' AND "Nickname" = 'Panthers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 2658, 41, 96, 1570, 17448, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 121, 1499, 6, 96, 8532, 4046, 297, 121, 490, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 8532, 4046, 297, 121, 21680, 953, 834, 2469, 2658, 549, 17444, 427, 96, 2796, 89, 17, 121, 3274, 3, 31, 12172, 31, 3430, 96, 567, 3142, 4350, 121, 3274, 3, 31, 345, 288, 760, 7, 31, 1, -100, -100, -100, -100...
What is the 2010 result of a tournament that is A in 2006 and A in 2011?
CREATE TABLE table_67901 ( "Tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text )
SELECT "2010" FROM table_67901 WHERE "2011" = 'a' AND "2006" = 'a'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 2394, 536, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 21196, 121, 1499, 6, 96, 20615, 121, 1499, 6, 96, 16128, 121, 1499, 6, 96, 16660, 121, 1499, 6, 96, 14926...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14926, 121, 21680, 953, 834, 3708, 2394, 536, 549, 17444, 427, 96, 13907, 121, 3274, 3, 31, 9, 31, 3430, 96, 21196, 121, 3274, 3, 31, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was eliminated on the air date of November 3, 2005?
CREATE TABLE table_1893276_2 (eliminated VARCHAR, air_date VARCHAR)
SELECT eliminated FROM table_1893276_2 WHERE air_date = "November 3, 2005"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25312, 2668, 3959, 834, 357, 41, 15, 4941, 77, 920, 584, 4280, 28027, 6, 799, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 17809, 30, 8, 799, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 17809, 21680, 953, 834, 25312, 2668, 3959, 834, 357, 549, 17444, 427, 799, 834, 5522, 3274, 96, 28635, 6180, 3105, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where in 1985 was tim mayotte runner up?
CREATE TABLE table_71980 ( "Location" text, "Year" real, "Champion" text, "Runner-up" text, "Score" text )
SELECT "Location" FROM table_71980 WHERE "Year" > '1985' AND "Runner-up" = 'tim mayotte'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2294, 2079, 41, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 23572, 18, 413, 121, 1499, 6, 96, 134, 9022...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 940, 2294, 2079, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 4433, 31, 3430, 96, 23572, 18, 413, 121, 3274, 3, 31, 2998, 164, 14708, 31, 1, -100, -100, -10...
Where was the home match against FK Rudar Ugljevik played?
CREATE TABLE table_31315 ( "Date" real, "Competition" text, "Location" text, "Home Team" text, "Result" text, "Away Team" text )
SELECT "Location" FROM table_31315 WHERE "Away Team" = 'FK Rudar Ugljevik'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2368, 1808, 41, 96, 308, 342, 121, 490, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 19040, 2271, 121, 1499, 6, 96, 20119, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 519, 2368, 1808, 549, 17444, 427, 96, 188, 1343, 2271, 121, 3274, 3, 31, 371, 439, 17806, 291, 412, 122, 40, 1924, 21346, 31, 1, -100, -100, -100, -100, -100, -100, -100...
What is the infinitive stem that is associated with a subjunctive present of a and a plural preterite of uo?
CREATE TABLE table_name_13 ( inf_stem VARCHAR, subj_pres VARCHAR, plur_pret VARCHAR )
SELECT inf_stem FROM table_name_13 WHERE subj_pres = "a" AND plur_pret = "uo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 16, 89, 834, 7, 3524, 584, 4280, 28027, 6, 769, 354, 834, 7197, 584, 4280, 28027, 6, 3681, 52, 834, 2026, 17, 584, 4280, 28027, 3, 61, 3, 32102, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16, 89, 834, 7, 3524, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 769, 354, 834, 7197, 3274, 96, 9, 121, 3430, 3681, 52, 834, 2026, 17, 3274, 96, 76, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
A bar graph listing the services and how many services provided by all stations , order in ascending by the Y-axis.
CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text ) CREATE TABLE route ( train_id int, station_id int ) CREATE TA...
SELECT services, COUNT(services) FROM station GROUP BY services ORDER BY COUNT(services)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 3, 23, 26, 16, 17, 6, 1229, 834, 4350, 1499, 6, 364, 1499, 6, 415, 834, 17415, 485, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 3, 23, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 364, 6, 2847, 17161, 599, 5114, 7, 61, 21680, 2478, 350, 4630, 6880, 272, 476, 364, 4674, 11300, 272, 476, 2847, 17161, 599, 5114, 7, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest grid of pkv racing, which had 13 points and less than 64 laps?
CREATE TABLE table_37673 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real )
SELECT MIN("Grid") FROM table_37673 WHERE "Team" = 'pkv racing' AND "Points" = '13' AND "Laps" < '64'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 3708, 519, 41, 96, 20982, 52, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 13313, 26, 8512, 21680, 953, 834, 4118, 3708, 519, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 102, 157, 208, 8191, 31, 3430, 96, 22512, 7, 121, 3274, 3, 31, 2368, 31, 3430, 96, 3612, 102, ...
Who were all the candidates when the results were re-elected, first elected was 1832 and the party was jacksonian?
CREATE TABLE table_2668199_2 ( candidates VARCHAR, party VARCHAR, result VARCHAR, first_elected VARCHAR )
SELECT candidates FROM table_2668199_2 WHERE result = "Re-elected" AND first_elected = "1832" AND party = "Jacksonian"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3651, 19479, 834, 357, 41, 4341, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 3, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4341, 21680, 953, 834, 2688, 3651, 19479, 834, 357, 549, 17444, 427, 741, 3274, 96, 1649, 18, 19971, 121, 3430, 166, 834, 19971, 3274, 96, 2606, 2668, 121, 3430, 1088, 3274, 96, 683, 4365, 7, 8008, 29, 121, 1, -100,...
Which Player has a Score smaller than 69, and a Place of t1?
CREATE TABLE table_9374 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT "Player" FROM table_9374 WHERE "Score" < '69' AND "Place" = 't1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4271, 4581, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 490, 6, 96, 3696, 260, 121, 1499, 3, 61, 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...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 4271, 4581, 549, 17444, 427, 96, 134, 9022, 121, 3, 2, 3, 31, 3951, 31, 3430, 96, 345, 11706, 121, 3274, 3, 31, 17, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
where can we find some restaurants on bethel island rd in bethel island ?
CREATE TABLE restaurant ( id int, name varchar, food_type varchar, city_name varchar, rating "decimal ) CREATE TABLE geographic ( city_name varchar, county varchar, region varchar ) CREATE TABLE location ( restaurant_id int, house_number int, street_name varchar, city_n...
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'bethel island' AND location.street_name = 'bethel island rd' AND restaurant.id = location.restaurant_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2062, 41, 3, 23, 26, 16, 17, 6, 564, 3, 4331, 4059, 6, 542, 834, 6137, 3, 4331, 4059, 6, 690, 834, 4350, 3, 4331, 4059, 6, 5773, 96, 24223, 1982, 3, 61, 3, 32102, 32103, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1128, 5, 1840, 834, 5525, 1152, 6, 2062, 5, 4350, 21680, 1128, 6, 2062, 549, 17444, 427, 1128, 5, 6726, 834, 4350, 3274, 3, 31, 346, 532, 40, 3368, 31, 3430, 1128, 5, 22967, 834, 4350, 3274, 3, 31, 346, 532, 40,...
Name the least bronze for silver being less than 0
CREATE TABLE table_69735 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MIN("Bronze") FROM table_69735 WHERE "Silver" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 940, 2469, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 22780, 29, 776, 8512, 21680, 953, 834, 3951, 940, 2469, 549, 17444, 427, 96, 134, 173, 624, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many feet above sea level is k2 ?
CREATE TABLE table_204_570 ( id number, "rank" number, "mountain" text, "height (m)" number, "height (ft)" number, "range" text, "coordinates" text, "prominence (m)" number, "parent mountain" text, "first ascent" number, "ascents (failed attempts) bef.2004" text )
SELECT "height (ft)" FROM table_204_570 WHERE "mountain" = 'k2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 28363, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 11231, 9, 77, 121, 1499, 6, 96, 88, 2632, 41, 51, 61, 121, 381, 6, 96, 88, 2632, 41, 89, 17, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 88, 2632, 41, 89, 17, 61, 121, 21680, 953, 834, 26363, 834, 28363, 549, 17444, 427, 96, 11231, 9, 77, 121, 3274, 3, 31, 157, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Score, when Opponent is Portland Trail Blazers, and when Record is 12-58?
CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT score FROM table_name_35 WHERE opponent = "portland trail blazers" AND record = "12-58"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 7, 9022, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 17763, 6, 116, 4495, 9977, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 15264, 3274, 96, 1493, 40, 232, 5032, 3, 21020, 52, 7, 121, 3430, 1368, 3274, 96, 2122, 18, 3449, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Altitude (meters) associated with a rank smaller than 10, and the range M hlig-Hofmann Mountains?
CREATE TABLE table_63741 ( "Rank" real, "Name" text, "Altitude (meters)" real, "Range" text, "Parent Range" text )
SELECT COUNT("Altitude (meters)") FROM table_63741 WHERE "Range" = 'mühlig-hofmann mountains' AND "Rank" < '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 4581, 536, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 188, 40, 6592, 41, 4401, 7, 61, 121, 490, 6, 96, 448, 3280, 121, 1499, 6, 96, 13212, 295, 1097...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 188, 40, 6592, 41, 4401, 7, 61, 8512, 21680, 953, 834, 3891, 4581, 536, 549, 17444, 427, 96, 448, 3280, 121, 3274, 3, 31, 9017, 107, 2825, 18, 107, 858, 2434, 8022, 31, 3430, 96, 22557, 121,...
How many schools are in the basketball match?
CREATE TABLE basketball_match (school_id VARCHAR)
SELECT COUNT(DISTINCT school_id) FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 6646, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2061, 33, 16, 8, 8498, 1588, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 496, 834, 23, 26, 61, 21680, 8498, 834, 19515, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
tell me icd9 code and long title of diagnoses for patient with patient id 42067.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( ...
SELECT diagnoses.icd9_code, diagnoses.long_title FROM diagnoses WHERE diagnoses.subject_id = "42067"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 18730, 7, 5, 447, 26, 1298, 834, 4978, 6, 18730, 7, 5, 2961, 834, 21869, 21680, 18730, 7, 549, 17444, 427, 18730, 7, 5, 7304, 11827, 834, 23, 26, 3274, 96, 21899, 3708, 121, 1, -100, -100, -100, -100, -100, -100, ...
Which City of license has a Channels TV / RF of 67 ( psip ) 29 ( uhf )
CREATE TABLE table_name_4 (city_of_license VARCHAR, channels_tv___rf VARCHAR)
SELECT city_of_license FROM table_name_4 WHERE channels_tv___rf = "67 ( psip ) 29 ( uhf )"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 6726, 834, 858, 834, 28062, 584, 4280, 28027, 6, 6047, 834, 17, 208, 834, 834, 834, 52, 89, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 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...
[ 3, 23143, 14196, 690, 834, 858, 834, 28062, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 6047, 834, 17, 208, 834, 834, 834, 52, 89, 3274, 96, 3708, 41, 3, 102, 7, 23, 102, 3, 61, 2838, 41, 3, 76, 107, 89, 3, 61, 121, 1,...
What is the general classification when the team classification is japan?
CREATE TABLE table_name_18 (general_classification VARCHAR, team_classification VARCHAR)
SELECT general_classification FROM table_name_18 WHERE team_classification = "japan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 27369, 834, 4057, 2420, 584, 4280, 28027, 6, 372, 834, 4057, 2420, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 879, 13774, 116, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 879, 834, 4057, 2420, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 372, 834, 4057, 2420, 3274, 96, 1191, 2837, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what procedure did patient 028-22327 receive the last time since 5 years ago.
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, ...
SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-22327')) AND DATETIME(treatment.treatmenttime) >= DATETIME(CU...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2179, 9339, 41, 2179, 521, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1543, 3585, 1499, 6, 9329, 1499, 6, 1543, 4914, 29, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1058, 5, 26889, 4350, 21680, 1058, 549, 17444, 427, 1058, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, ...
What was 2002, when 2008 was, "career statistics"?
CREATE TABLE table_name_6 (Id VARCHAR)
SELECT 2002 FROM table_name_6 WHERE 2008 = "career statistics"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 4407, 6, 116, 2628, 47, 6, 96, 2864, 49, 7475, 121, 58, 1, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4407, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 2628, 3274, 96, 2864, 49, 7475, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which school did harold duvall attend?
CREATE TABLE table_29013 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT "College/junior/club team" FROM table_29013 WHERE "Player" = 'Harold Duvall'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23838, 2368, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 372, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9939, 7883, 87, 6959, 23, 127, 87, 13442, 372, 121, 21680, 953, 834, 23838, 2368, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 15537, 1490, 970, 2165, 40, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is Race, when Winning Team is Chip Ganassi Racing, when Pole Position is Ryan Briscoe, and when Most Laps Led is Scott Dixon?
CREATE TABLE table_name_91 (race VARCHAR, most_laps_led VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
SELECT race FROM table_name_91 WHERE winning_team = "chip ganassi racing" AND pole_position = "ryan briscoe" AND most_laps_led = "scott dixon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 12614, 584, 4280, 28027, 6, 167, 834, 8478, 7, 834, 1361, 584, 4280, 28027, 6, 3447, 834, 11650, 584, 4280, 28027, 6, 11148, 834, 4718, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1964, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 3447, 834, 11650, 3274, 96, 17362, 3, 2565, 6500, 8191, 121, 3430, 11148, 834, 4718, 3274, 96, 651, 152, 3, 2160, 3523, 15, 121, 3430, 167, 834, 8478, 7, 834,...
On how many dates was the complete 4th series released?
CREATE TABLE table_72936 ( "Season" text, "Date Released" text, "# Of Episodes" real, "# Of Discs" real, "Special Features" text )
SELECT COUNT("Date Released") FROM table_72936 WHERE "Season" = 'The Complete 4th Series'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3166, 3420, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 308, 342, 13048, 26, 121, 1499, 6, 96, 4663, 1129, 16112, 7, 121, 490, 6, 96, 4663, 1129, 3, 15683, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 308, 342, 13048, 26, 8512, 21680, 953, 834, 940, 3166, 3420, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 634, 9480, 314, 189, 4531, 31, 1, -100, -100, -100, -100, -100, -100, -10...
Can you tell me the lowest Area km 2 that has the Population of 2,352?
CREATE TABLE table_name_16 ( area_km_2 INTEGER, population VARCHAR )
SELECT MIN(area_km_2) FROM table_name_16 WHERE population = 2 OFFSET 352
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 616, 834, 5848, 834, 357, 3, 21342, 17966, 6, 2074, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 7402, 5690, 2280, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 498, 834, 5848, 834, 7318, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 2074, 3274, 204, 3, 15316, 20788, 3097, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the number of scores for episode 7x05
CREATE TABLE table_23292220_7 (scores VARCHAR, episode VARCHAR)
SELECT COUNT(scores) FROM table_23292220_7 WHERE episode = "7x05"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3166, 2884, 1755, 834, 940, 41, 7, 9022, 7, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 7586, 21, 5640, 489, 226...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 9022, 7, 61, 21680, 953, 834, 2773, 3166, 2884, 1755, 834, 940, 549, 17444, 427, 5640, 3274, 96, 940, 226, 3076, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Tell me the year for rank more than 35 and out of 167
CREATE TABLE table_name_11 ( year VARCHAR, rank VARCHAR, out_of VARCHAR )
SELECT year FROM table_name_11 WHERE rank > 35 AND out_of = 167
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 215, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 91, 834, 858, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 215, 21, 1100...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 11003, 2490, 3097, 3430, 91, 834, 858, 3274, 3, 27650, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the record on September 4?
CREATE TABLE table_69539 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text )
SELECT "Record" FROM table_69539 WHERE "Date" = 'september 4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 755, 3288, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 1649, 7621, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3951, 755, 3288, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 7, 6707, 18247, 314, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many wins did Glenelg FL of bahgallah have when there were more than 3 byes?
CREATE TABLE table_name_93 (wins VARCHAR, glenelg_fl VARCHAR, byes VARCHAR)
SELECT COUNT(wins) FROM table_name_93 WHERE glenelg_fl = "bahgallah" AND byes > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 3757, 7, 584, 4280, 28027, 6, 3, 122, 14205, 40, 122, 834, 89, 40, 584, 4280, 28027, 6, 57, 15, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 3, 122, 14205, 40, 122, 834, 89, 40, 3274, 96, 17670, 122, 30157, 121, 3430, 57, 15, 7, 2490, 220, 1, -100, -100, -100, -100, -100,...
what is the mountain range when the state is colorado, rank is higher than 90 and mountain peak is whetstone mountain?
CREATE TABLE table_name_28 ( mountain_range VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR )
SELECT mountain_range FROM table_name_28 WHERE state = "colorado" AND rank > 90 AND mountain_peak = "whetstone mountain"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 4180, 834, 5517, 584, 4280, 28027, 6, 4180, 834, 14661, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4180, 834, 5517, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 538, 3274, 96, 8135, 19042, 121, 3430, 11003, 2490, 2777, 3430, 4180, 834, 14661, 3274, 96, 210, 88, 17, 3009, 4180, 121, 1, -100, -100, -100, -100, ...
What was the final score for the game played against the New York Knicks?
CREATE TABLE table_name_11 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_11 WHERE opponent = "new york knicks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 7, 9022, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 804, 2604, 21, 8, 467, 1944, 581, 8, 368, 1060, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 15264, 3274, 96, 5534, 25453, 3, 157, 11191, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
provide the number of patients whose drug code is ambi5?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "AMBI5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What are the names of the all-female dorms?
CREATE TABLE dorm_amenity ( amenid number, amenity_name text ) CREATE TABLE has_amenity ( dormid number, amenid number ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE lives...
SELECT dorm_name FROM dorm WHERE gender = 'F'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 103, 52, 51, 834, 9, 904, 485, 41, 183, 35, 23, 26, 381, 6, 183, 35, 485, 834, 4350, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 65, 834, 9, 904, 485, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 103, 52, 51, 834, 4350, 21680, 103, 52, 51, 549, 17444, 427, 7285, 3274, 3, 31, 371, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What player has a date of 12-02-2003?
CREATE TABLE table_name_98 (player VARCHAR, date VARCHAR)
SELECT player FROM table_name_98 WHERE date = "12-02-2003"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 20846, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1959, 65, 3, 9, 833, 13, 13364, 4305, 18, 23948, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 833, 3274, 96, 2122, 18, 4305, 18, 23948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13?
CREATE TABLE table_name_59 (field_goals__5_points_ VARCHAR, total_points VARCHAR, touchdowns__5_points_ VARCHAR)
SELECT COUNT(field_goals__5_points_) FROM table_name_59 WHERE total_points = 123 AND touchdowns__5_points_ > 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 1846, 834, 839, 5405, 834, 834, 755, 834, 2700, 7, 834, 584, 4280, 28027, 6, 792, 834, 2700, 7, 584, 4280, 28027, 6, 19396, 7, 834, 834, 755, 834, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1846, 834, 839, 5405, 834, 834, 755, 834, 2700, 7, 834, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 792, 834, 2700, 7, 3274, 3, 14574, 3430, 19396, 7, 834, 834, 755, 834, 2700, 7, 834,...
For those employees who was hired before 2002-06-21, find hire_date and the average of salary bin hire_date by weekday, and visualize them by a bar chart.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), ...
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the model number for part numbers of cm80616003177acbx80616i5660?
CREATE TABLE table_23028629_2 (model_number VARCHAR, part_number_s_ VARCHAR)
SELECT model_number FROM table_23028629_2 WHERE part_number_s_ = "CM80616003177ACBX80616I5660"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 13427, 357, 3840, 3166, 834, 357, 41, 21770, 834, 5525, 1152, 584, 4280, 28027, 6, 294, 834, 5525, 1152, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 825, 834, 5525, 1152, 21680, 953, 834, 13427, 357, 3840, 3166, 834, 357, 549, 17444, 427, 294, 834, 5525, 1152, 834, 7, 834, 3274, 96, 5518, 2079, 4241, 6007, 3341, 4013, 5173, 279, 4, 2079, 948, 2938, 196, 4834, 33...
What is Stop No., when Destination is Perth, and when Line is Midland?
CREATE TABLE table_49653 ( "Stop no." text, "Platform" text, "Line" text, "Stopping pattern" text, "Destination" text )
SELECT "Stop no." FROM table_49653 WHERE "Destination" = 'perth' AND "Line" = 'midland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 4122, 519, 41, 96, 134, 2916, 150, 535, 1499, 6, 96, 10146, 2032, 121, 1499, 6, 96, 21022, 121, 1499, 6, 96, 134, 235, 5341, 3275, 121, 1499, 6, 96, 308, 222, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 2916, 150, 535, 21680, 953, 834, 3647, 4122, 519, 549, 17444, 427, 96, 308, 222, 77, 257, 121, 3274, 3, 31, 883, 189, 31, 3430, 96, 21022, 121, 3274, 3, 31, 6983, 40, 232, 31, 1, -100, -100, -100, -100,...
Who was the home team that played against the Boston Bruins on January 11?
CREATE TABLE table_name_91 ( home VARCHAR, visitor VARCHAR, date VARCHAR )
SELECT home FROM table_name_91 WHERE visitor = "boston bruins" AND date = "january 11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 234, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, 24, 1944, 581,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 7019, 3274, 96, 115, 32, 4411, 3, 115, 23162, 121, 3430, 833, 3274, 96, 7066, 76, 1208, 850, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What years are listed for analogue cable with 35 channels?
CREATE TABLE table_name_27 (years VARCHAR, transmission VARCHAR, no_of_channels VARCHAR)
SELECT years FROM table_name_27 WHERE transmission = "analogue cable" AND no_of_channels = "35"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 1201, 7, 584, 4280, 28027, 6, 5790, 584, 4280, 28027, 6, 150, 834, 858, 834, 19778, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 203, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 203, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 5790, 3274, 96, 152, 9, 10384, 4807, 121, 3430, 150, 834, 858, 834, 19778, 7, 3274, 96, 2469, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many members of "Bootup Baltimore" are older than 18?
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (stuid VARCHAR, age VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
SELECT COUNT(*) 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 = "Bootup Baltimore" AND t3.age > 18
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1886, 41, 13442, 23, 26, 584, 4280, 28027, 6, 1886, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 7, 17, 76, 23, 26, 584, 4280, 28027, 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...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 1886, 6157, 3, 17, 536, 3, 15355, 3162, 1144, 834, 858, 834, 13442, 6157, 3, 17, 357, 9191, 3, 17, 5411, 13442, 23, 26, 3274, 3, 17, 4416, 13442, 23, 26, 3, 15355, 3162, 1236, ...
what is the total number of opponent where date is november 23, 1980
CREATE TABLE table_225 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Kickoff [a ]" text, "Game site" text, "TV" text, "Attendance" text, "Record" text )
SELECT COUNT("Opponent") FROM table_225 WHERE "Date" = 'November 23, 1980'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20489, 41, 96, 518, 10266, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 439, 3142, 1647, 784, 9, 3, 908, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 667, 102, 9977, 8512, 21680, 953, 834, 20489, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 28635, 12992, 6694, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Overall number for the player with a position of C and a round greater than 7?
CREATE TABLE table_name_58 (overall INTEGER, round VARCHAR, position VARCHAR)
SELECT SUM(overall) FROM table_name_58 WHERE round > 7 AND position = "c"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1890, 1748, 3, 21342, 17966, 6, 1751, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 9126, 381, 21, 8, 195...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 1751, 2490, 489, 3430, 1102, 3274, 96, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which OF-5 is in Ghana?
CREATE TABLE table_52037 ( "Country" text, "OF-5" text, "OF-4" text, "OF-2" text, "OF-1" text )
SELECT "OF-5" FROM table_52037 WHERE "Country" = 'ghana'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25356, 4118, 41, 96, 10628, 651, 121, 1499, 6, 96, 667, 371, 18, 17395, 1499, 6, 96, 667, 371, 18, 20364, 1499, 6, 96, 667, 371, 4949, 121, 1499, 6, 96, 667, 371, 2292, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 667, 371, 18, 17395, 21680, 953, 834, 25356, 4118, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 22637, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Provide the number of american indian/alaska native ethnic background patients who had a pco2 lab test.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND lab.label = "pCO2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Who was the lites 2 race two winning team when #13 Inspire Motorsports was the Lites 1 race one winning team?
CREATE TABLE table_28835 ( "Rnd" real, "Circuit" text, "Lites 1 Race One Winning Team" text, "Lites 2 Race One Winning Team" text, "Lites 1 Race Two Winning Team" text, "Lites 2 Race Two Winning Team" text )
SELECT "Lites 2 Race Two Winning Team" FROM table_28835 WHERE "Lites 1 Race One Winning Team" = '#13 Inspire Motorsports'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4060, 2469, 41, 96, 448, 727, 121, 490, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 16278, 7, 209, 10949, 555, 549, 10503, 2271, 121, 1499, 6, 96, 16278, 7, 204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 16278, 7, 204, 10949, 2759, 549, 10503, 2271, 121, 21680, 953, 834, 357, 4060, 2469, 549, 17444, 427, 96, 16278, 7, 209, 10949, 555, 549, 10503, 2271, 121, 3274, 3, 31, 4663, 2368, 86, 13101, 30045, 7, 31, 1, ...
What is the career caps for half-back, when tests is more than 3?
CREATE TABLE table_62890 ( "Name" text, "Tests" real, "Club" text, "Career caps" real, "Tour Apps" real, "Position" text )
SELECT "Career caps" FROM table_62890 WHERE "Position" = 'half-back' AND "Tests" > '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2577, 2394, 41, 96, 23954, 121, 1499, 6, 96, 382, 222, 7, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 6936, 15, 49, 16753, 121, 490, 6, 96, 382, 1211, 2276, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6936, 15, 49, 16753, 121, 21680, 953, 834, 948, 2577, 2394, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 17114, 18, 1549, 31, 3430, 96, 382, 222, 7, 121, 2490, 3, 31, 519, 31, 1, -100, -100, -1...
Who was Fourth in the 2008 Telstra Men's Pro Event?
CREATE TABLE table_76019 ( "Event" text, "Winner" text, "Second" text, "Third" text, "Fourth" text )
SELECT "Fourth" FROM table_76019 WHERE "Event" = '2008 telstra men''s pro'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28212, 2294, 41, 96, 427, 2169, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 15, 1018, 26, 121, 1499, 6, 96, 382, 9288, 26, 121, 1499, 6, 96, 371, 1211, 189, 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...
[ 3, 23143, 14196, 96, 371, 1211, 189, 121, 21680, 953, 834, 28212, 2294, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 16128, 3, 1625, 3109, 1076, 31, 31, 7, 813, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What year were the latest elections?
CREATE TABLE table_1341930_10 (first_elected INTEGER)
SELECT MAX(first_elected) FROM table_1341930_10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2294, 1458, 834, 1714, 41, 14672, 834, 19971, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 130, 8, 1251, 9768, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 14672, 834, 19971, 61, 21680, 953, 834, 23747, 2294, 1458, 834, 1714, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which division has no playoff but has a 12th game in their season?
CREATE TABLE table_32154 ( "Year" text, "Division" real, "League" text, "Reg. Season" text, "Playoffs" text )
SELECT MAX("Division") FROM table_32154 WHERE "Playoffs" = 'no playoff' AND "Reg. Season" = '12th'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 27308, 41, 96, 476, 2741, 121, 1499, 6, 96, 308, 23, 6610, 121, 490, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 17748, 5, 7960, 121, 1499, 6, 96, 15800, 1647, 7, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 308, 23, 6610, 8512, 21680, 953, 834, 2668, 27308, 549, 17444, 427, 96, 15800, 1647, 7, 121, 3274, 3, 31, 29, 32, 15289, 31, 3430, 96, 17748, 5, 7960, 121, 3274, 3, 31, 2122, 189, 31, 1, -100,...
Name the high points for mo williams , lebron james , j.j. hickson (6)
CREATE TABLE table_22654073_7 (high_points VARCHAR, high_rebounds VARCHAR)
SELECT COUNT(high_points) FROM table_22654073_7 WHERE high_rebounds = "Mo Williams , LeBron James , J.J. Hickson (6)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4122, 2445, 4552, 834, 940, 41, 6739, 834, 2700, 7, 584, 4280, 28027, 6, 306, 834, 23768, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 306, 979, 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...
[ 3, 23143, 14196, 2847, 17161, 599, 6739, 834, 2700, 7, 61, 21680, 953, 834, 2884, 4122, 2445, 4552, 834, 940, 549, 17444, 427, 306, 834, 23768, 3274, 96, 329, 32, 6060, 3, 6, 312, 22780, 29, 2549, 3, 6, 446, 5, 683, 5, 454, 3142...
For those employees who was hired before 2002-06-21, visualize a bar chart about the distribution of hire_date and the sum of manager_id bin hire_date by weekday, could you sort in asc by the total number?
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE T...
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(MANAGER_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 180, 6122, ...
Who won bronze in 1994?
CREATE TABLE table_name_72 (bronze VARCHAR, year VARCHAR)
SELECT bronze FROM table_name_72 WHERE year = 1994
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 13711, 776, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 751, 13467, 16, 7520, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 13467, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 215, 3274, 7520, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How much torque does the engine with code om611 have?
CREATE TABLE table_12886 ( "Engine" text, "Cyl." text, "Power" text, "Torque" text, "Engine code" text, "0\u2013100km/h (sec.)" text )
SELECT "Torque" FROM table_12886 WHERE "Engine code" = 'om611'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2577, 3840, 41, 96, 31477, 121, 1499, 6, 96, 254, 63, 40, 535, 1499, 6, 96, 23553, 121, 1499, 6, 96, 382, 127, 835, 121, 1499, 6, 96, 31477, 1081, 121, 1499, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 127, 835, 121, 21680, 953, 834, 536, 2577, 3840, 549, 17444, 427, 96, 31477, 1081, 121, 3274, 3, 31, 32, 51, 4241, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return a pie on what is the average base price of rooms, for each bed type?
CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT ) CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adul...
SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4181, 7, 41, 4181, 196, 26, 3, 3463, 4, 382, 6, 562, 23954, 3, 3463, 4, 382, 6, 8326, 3, 21342, 17966, 6, 1953, 25160, 3, 3463, 4, 382, 6, 9858, 667, 75, 4658, 6833, 3, 21342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1953, 25160, 6, 71, 17217, 599, 10925, 345, 4920, 61, 21680, 4181, 7, 350, 4630, 6880, 272, 476, 1953, 25160, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
I want the result for winner of bc 3
CREATE TABLE table_name_83 ( result VARCHAR, winner VARCHAR )
SELECT result FROM table_name_83 WHERE winner = "bc 3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 741, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 27, 241, 8, 741, 21, 4668, 13, 3, 115, 75, 220, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 4668, 3274, 96, 115, 75, 220, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Show all distinct positions of matches.
CREATE TABLE match_season ( POSITION VARCHAR )
SELECT DISTINCT POSITION FROM match_season
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1588, 834, 9476, 41, 3, 16034, 196, 9562, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 66, 6746, 4655, 13, 6407, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 3, 16034, 196, 9562, 21680, 1588, 834, 9476, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What stake has 16 wards/branches in Arkansas?
CREATE TABLE table_name_97 (stake VARCHAR, wards__branches_in_arkansas VARCHAR)
SELECT stake FROM table_name_97 WHERE wards__branches_in_arkansas = 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 7, 4914, 584, 4280, 28027, 6, 3, 2239, 7, 834, 834, 21016, 7, 834, 77, 834, 6604, 3247, 9, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8474, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 3, 2239, 7, 834, 834, 21016, 7, 834, 77, 834, 6604, 3247, 9, 7, 3274, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Class has a Quantity made of 5?
CREATE TABLE table_name_68 ( class VARCHAR, quantity_made VARCHAR )
SELECT class FROM table_name_68 WHERE quantity_made = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 853, 584, 4280, 28027, 6, 8708, 834, 4725, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 4501, 65, 3, 9, 12716, 485, 263, 13, 305, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 853, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 8708, 834, 4725, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many top 5s when he was on team #28/#49 jay robinson racing?
CREATE TABLE table_2216245_2 (top_5 INTEGER, team_s_ VARCHAR)
SELECT MAX(top_5) FROM table_2216245_2 WHERE team_s_ = "#28/#49 Jay Robinson Racing"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 2938, 357, 2128, 834, 357, 41, 2916, 834, 755, 3, 21342, 17966, 6, 372, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 420, 305, 7, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 2916, 834, 9120, 21680, 953, 834, 2884, 2938, 357, 2128, 834, 357, 549, 17444, 427, 372, 834, 7, 834, 3274, 96, 4663, 2577, 87, 4663, 3647, 9373, 17461, 16046, 121, 1, -100, -100, -100, -100, -100, -10...
What is the time before round 2, and the ko (knee to the body) method?
CREATE TABLE table_46595 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Time" FROM table_46595 WHERE "Round" < '2' AND "Method" = 'ko (knee to the body)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4122, 3301, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13368, 121, 21680, 953, 834, 591, 4122, 3301, 549, 17444, 427, 96, 448, 32, 1106, 121, 3, 2, 3, 31, 357, 31, 3430, 96, 23351, 107, 32, 26, 121, 3274, 3, 31, 157, 32, 41, 157, 29, 15, 15, 12, 8, 643, 61, ...
What was the note with a year after 2003?
CREATE TABLE table_49453 ( "Year" real, "Album" text, "Artist" text, "Song" text, "Note" text )
SELECT "Note" FROM table_49453 WHERE "Year" > '2003'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 2128, 519, 41, 96, 476, 2741, 121, 490, 6, 96, 25691, 440, 121, 1499, 6, 96, 7754, 343, 121, 1499, 6, 96, 134, 2444, 121, 1499, 6, 96, 10358, 15, 121, 1499, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 10358, 15, 121, 21680, 953, 834, 3647, 2128, 519, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 23948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many times is the fuel propulsion is cng?
CREATE TABLE table_10007452_3 ( fleet_series__quantity_ VARCHAR, fuel_propulsion VARCHAR )
SELECT COUNT(fleet_series__quantity_) FROM table_10007452_3 WHERE fuel_propulsion = "CNG"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16824, 4581, 5373, 834, 519, 41, 9111, 834, 10833, 7, 834, 834, 13158, 485, 834, 584, 4280, 28027, 6, 2914, 834, 1409, 20567, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 89, 109, 15, 17, 834, 10833, 7, 834, 834, 13158, 485, 834, 61, 21680, 953, 834, 16824, 4581, 5373, 834, 519, 549, 17444, 427, 2914, 834, 1409, 20567, 3274, 96, 254, 12531, 121, 1, -100, -100, -100,...
What is the total number of picks for Calgary College?
CREATE TABLE table_50366 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT COUNT("Pick #") FROM table_50366 WHERE "College" = 'calgary'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 519, 3539, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 254, 10765, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 345, 3142, 1713, 8512, 21680, 953, 834, 1752, 519, 3539, 549, 17444, 427, 96, 9939, 7883, 121, 3274, 3, 31, 1489, 1478, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Country has Wins larger than 2, and a Rank of 2, and a Name of federico bahamontes?
CREATE TABLE table_name_90 (country VARCHAR, name VARCHAR, wins VARCHAR, rank VARCHAR)
SELECT country FROM table_name_90 WHERE wins > 2 AND rank = 2 AND name = "federico bahamontes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 17529, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 6993, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 9204, 2490, 204, 3430, 11003, 3274, 204, 3430, 564, 3274, 96, 16812, 5807, 4698, 1483, 106, 1422, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the place of player john cook?
CREATE TABLE table_name_73 ( place VARCHAR, player VARCHAR )
SELECT place FROM table_name_73 WHERE player = "john cook"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 286, 13, 1959, 3, 27341, 3989, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 1959, 3274, 96, 27341, 3989, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the gaols(L/C/E) with an App(L/C/E) of 55 (47/5/3)?
CREATE TABLE table_name_50 ( goals_l_c_e_ VARCHAR, app_l_c_e_ VARCHAR )
SELECT goals_l_c_e_ FROM table_name_50 WHERE app_l_c_e_ = "55 (47/5/3)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 1766, 834, 40, 834, 75, 834, 15, 834, 584, 4280, 28027, 6, 1120, 834, 40, 834, 75, 834, 15, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1766, 834, 40, 834, 75, 834, 15, 834, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 1120, 834, 40, 834, 75, 834, 15, 834, 3274, 96, 3769, 41, 4177, 16936, 87, 5268, 121, 1, -100, -100, -100, -100, -100, -100,...
How many production codes had a US viewership of 4.43 million?
CREATE TABLE table_26429658_1 ( production_code VARCHAR, us_viewers__millions_ VARCHAR )
SELECT COUNT(production_code) FROM table_26429658_1 WHERE us_viewers__millions_ = "4.43"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4165, 4314, 3449, 834, 536, 41, 999, 834, 4978, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 20762, 834, 4978, 61, 21680, 953, 834, 2688, 4165, 4314, 3449, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 3274, 96, 23444, 519, 121, 1, -100, -100, -100, -100, -100, -...
What is the nickname of the school located in Fairfax, VA?
CREATE TABLE table_43844 ( "School" text, "Location" text, "Founded" real, "Affiliation" text, "Nickname" text )
SELECT "Nickname" FROM table_43844 WHERE "Location" = 'fairfax, va'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3747, 3628, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 188, 89, 8027, 23, 257, 121, 1499, 6, 96, 567, 3142, 4350,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 567, 3142, 4350, 121, 21680, 953, 834, 591, 3747, 3628, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 14881, 11517, 6, 409, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the date of the game at the delta center when the record was 35-14?
CREATE TABLE table_name_35 ( date VARCHAR, location_attendance VARCHAR, record VARCHAR )
SELECT date FROM table_name_35 WHERE location_attendance = "delta center" AND record = "35-14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 833, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 24876, 9, 1530, 121, 3430, 1368, 3274, 96, 2469, 11590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
who had high rebounds when score is w 111 92 (ot)
CREATE TABLE table_875 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High rebounds" FROM table_875 WHERE "Score" = 'W 111–92 (OT)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 927, 3072, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 237...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 3, 23768, 121, 21680, 953, 834, 927, 3072, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 518, 3, 15866, 104, 4508, 41, 6951, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
when was the last measurement of patient 022-199074's sao2?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CRE...
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-199074')) AND NOT vitalperiodic.sao2 IS NULL OR...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3362, 4267, 32, 4370, 5, 11755, 257, 715, 21680, 3362, 4267, 32, 4370, 549, 17444, 427, 3362, 4267, 32, 4370, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, ...
What is the Netflix number having a series episode of 1-01?
CREATE TABLE table_name_47 (netflix VARCHAR, series_ep VARCHAR)
SELECT netflix FROM table_name_47 WHERE series_ep = "1-01"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 1582, 89, 17591, 584, 4280, 28027, 6, 939, 834, 15, 102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11894, 381, 578, 3, 9, 939, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3134, 89, 17591, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 939, 834, 15, 102, 3274, 96, 536, 14772, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the player from the United States with a score of 71-72=143?
CREATE TABLE table_name_38 (player VARCHAR, country VARCHAR, score VARCHAR)
SELECT player FROM table_name_38 WHERE country = "united states" AND score = 71 - 72 = 143
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 20846, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 1959, 45, 8, 907, 1323, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 2604, 3274, 3, 4450, 3, 18, 9455, 3274, 3, 25133, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When does the El Canal de las Estrellas of pop tv show from Monday to Friday?
CREATE TABLE table_name_87 ( monday_to_friday VARCHAR, el_canal_de_las_estrellas VARCHAR )
SELECT monday_to_friday FROM table_name_87 WHERE el_canal_de_las_estrellas = "pop tv"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 1911, 1135, 834, 235, 834, 89, 52, 23, 1135, 584, 4280, 28027, 6, 3, 15, 40, 834, 1608, 138, 834, 221, 834, 521, 7, 834, 222, 52, 5303, 7, 584, 428...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1911, 1135, 834, 235, 834, 89, 52, 23, 1135, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 3, 15, 40, 834, 1608, 138, 834, 221, 834, 521, 7, 834, 222, 52, 5303, 7, 3274, 96, 9791, 3, 17, 208, 121, 1, -100...
WHAT PLAYER HAS UPLAND HIGH SCHOOL?
CREATE TABLE table_61863 ( "Pick" real, "Player" text, "Team" text, "Position" text, "Hometown/School" text )
SELECT "Player" FROM table_61863 WHERE "Hometown/School" = 'upland high school'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 3840, 519, 41, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 19040, 3540, 87, 29364, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 4241, 3840, 519, 549, 17444, 427, 96, 19040, 3540, 87, 29364, 121, 3274, 3, 31, 413, 40, 232, 306, 496, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the condition with bleeding time being unaffected and prothrombin time being prolonged
CREATE TABLE table_19065 ( "Condition" text, "Prothrombin time" text, "Partial thromboplastin time" text, "Bleeding time" text, "Platelet count" text )
SELECT "Condition" FROM table_19065 WHERE "Bleeding time" = 'Unaffected' AND "Prothrombin time" = 'Prolonged'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11776, 4122, 41, 96, 4302, 10569, 121, 1499, 6, 96, 3174, 8514, 51, 4517, 97, 121, 1499, 6, 96, 13212, 10646, 3, 8514, 6310, 23918, 77, 97, 121, 1499, 6, 96, 279, 40, 695...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4302, 10569, 121, 21680, 953, 834, 11776, 4122, 549, 17444, 427, 96, 279, 40, 6958, 53, 97, 121, 3274, 3, 31, 5110, 9, 27488, 31, 3430, 96, 3174, 8514, 51, 4517, 97, 121, 3274, 3, 31, 3174, 23629, 31, 1, -10...
Count the number of patients whose insurance is medicare and were admitted before the year 2108.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.admityear < "2108"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 29441, 3274, 96, 15789, 6146, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 357, 16169, 121, 1...
What is the location when the opposition is mid canterbury?
CREATE TABLE table_26847237_3 (location VARCHAR, opposition VARCHAR)
SELECT location FROM table_26847237_3 WHERE opposition = "Mid Canterbury"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4608, 5865, 4118, 834, 519, 41, 14836, 584, 4280, 28027, 6, 8263, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1128, 116, 8, 8263, 19, 2076, 54, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 2688, 4608, 5865, 4118, 834, 519, 549, 17444, 427, 8263, 3274, 96, 329, 23, 26, 31868, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What date has a catalogue of asw 40362?
CREATE TABLE table_33166 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue" text )
SELECT "Date" FROM table_33166 WHERE "Catalogue" = 'asw 40362'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 26811, 41, 96, 10628, 651, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 10384, 121, 1499, 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...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4201, 26811, 549, 17444, 427, 96, 18610, 9, 10384, 121, 3274, 3, 31, 9, 7, 210, 1283, 3420, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many males speak Russian?
CREATE TABLE table_name_3 ( males VARCHAR, language VARCHAR )
SELECT males FROM table_name_3 WHERE language = "russian"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 5069, 7, 584, 4280, 28027, 6, 1612, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 5069, 7, 2516, 4263, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5069, 7, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 1612, 3274, 96, 26165, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the ids of documents with letter 's' in the name with any expense budgets.
CREATE TABLE ref_budget_codes ( budget_type_code text, budget_type_description text ) CREATE TABLE documents ( document_id number, document_type_code text, project_id number, document_date time, document_name text, document_description text, other_details text ) CREATE TABLE accoun...
SELECT T1.document_id FROM documents AS T1 JOIN documents_with_expenses AS T2 ON T1.document_id = T2.document_id WHERE T1.document_name LIKE '%s%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6273, 834, 11073, 2782, 834, 4978, 7, 41, 1487, 834, 6137, 834, 4978, 1499, 6, 1487, 834, 6137, 834, 221, 11830, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2691,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 28244, 834, 23, 26, 21680, 2691, 6157, 332, 536, 3, 15355, 3162, 2691, 834, 4065, 834, 994, 3801, 15, 7, 6157, 332, 357, 9191, 332, 5411, 28244, 834, 23, 26, 3274, 332, 4416, 28244, 834, 23, 26, 549, 17...
What was the issue date for the song by Paul Mccartney and Michael Jackson?
CREATE TABLE table_name_97 (issue_date_s_ VARCHAR, artist VARCHAR)
SELECT issue_date_s_ FROM table_name_97 WHERE artist = "paul mccartney and michael jackson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 13159, 834, 5522, 834, 7, 834, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 962, 833, 21, 8, 2324, 57, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 962, 834, 5522, 834, 7, 834, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 2377, 3274, 96, 102, 9, 83, 3, 51, 75, 1720, 17, 3186, 11, 2278, 9, 15, 40, 3, 9325, 739, 121, 1, -100, -100, -100, -100, -100, -...
What away team scored 6.12 (48)?
CREATE TABLE table_33115 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_33115 WHERE "Away team score" = '6.12 (48)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 15660, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 121, 21680, 953, 834, 4201, 15660, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 23769, 357, 41, 3707, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give me a bar chart for the average of baseprice of each decor
CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT ) CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adul...
SELECT decor, AVG(basePrice) FROM Rooms GROUP BY decor
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4181, 7, 41, 4181, 196, 26, 3, 3463, 4, 382, 6, 562, 23954, 3, 3463, 4, 382, 6, 8326, 3, 21342, 17966, 6, 1953, 25160, 3, 3463, 4, 382, 6, 9858, 667, 75, 4658, 6833, 3, 21342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4469, 6, 71, 17217, 599, 10925, 345, 4920, 61, 21680, 4181, 7, 350, 4630, 6880, 272, 476, 4469, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
give me a good place in the yosemite and mono lake area for french food ?
CREATE TABLE restaurant ( id int, name varchar, food_type varchar, city_name varchar, rating "decimal ) CREATE TABLE location ( restaurant_id int, house_number int, street_name varchar, city_name varchar ) CREATE TABLE geographic ( city_name varchar, county varchar, reg...
SELECT location.house_number, restaurant.name FROM geographic, location, restaurant WHERE geographic.region = 'yosemite and mono lake area' AND restaurant.city_name = geographic.city_name AND restaurant.food_type = 'french' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2062, 41, 3, 23, 26, 16, 17, 6, 564, 3, 4331, 4059, 6, 542, 834, 6137, 3, 4331, 4059, 6, 690, 834, 4350, 3, 4331, 4059, 6, 5773, 96, 24223, 1982, 3, 61, 3, 32102, 32103, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1128, 5, 1840, 834, 5525, 1152, 6, 2062, 5, 4350, 21680, 20929, 6, 1128, 6, 2062, 549, 17444, 427, 20929, 5, 18145, 3274, 3, 31, 63, 32, 7, 15, 1538, 15, 11, 7414, 6957, 616, 31, 3430, 2062, 5, 6726, 834, 4350, ...