NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
author published ACL 2014
CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperdataset ( paperid int, datasetid int )
SELECT DISTINCT writes.authorid FROM paper, venue, writes WHERE paper.year = 2014 AND venue.venueid = paper.venueid AND venue.venuename = 'ACL' AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5669, 41, 5669, 23, 26, 16, 17, 6, 5669, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2291, 41, 2291, 23, 26, 16, 17, 6, 2291, 4350, 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, 3, 15438, 25424, 6227, 11858, 5, 17415, 23, 26, 21680, 1040, 6, 5669, 6, 11858, 549, 17444, 427, 1040, 5, 1201, 3274, 1412, 3430, 5669, 5, 15098, 23, 26, 3274, 1040, 5, 15098, 23, 26, 3430, 5669, 5, 15098, 4350, 3...
What Song is by the Artist 'mor ve ötesi'?
CREATE TABLE table_name_19 (song VARCHAR, artist VARCHAR)
SELECT song FROM table_name_19 WHERE artist = "mor ve ötesi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 7, 2444, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 11263, 19, 57, 8, 9152, 3, 31, 2528, 3, 162, 3, 1872, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2324, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 2377, 3274, 96, 2528, 3, 162, 3, 1872, 1422, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Attendance in Week 17?
CREATE TABLE table_78474 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" text )
SELECT "Attendance" FROM table_78474 WHERE "Week" = '17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 4177, 591, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 23055, 353, 121, 1499, 6, 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, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 3940, 4177, 591, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 2517, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many figures are provided for Weeks' field goals?
CREATE TABLE table_28036 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real )
SELECT COUNT("Field goals") FROM table_28036 WHERE "Player" = 'Weeks'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17518, 3420, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 7681, 449, 121, 1499, 6, 96, 3696, 2295, 3035, 7, 121, 490, 6, 96, 5420, 1313, 979...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3183, 8804, 1766, 8512, 21680, 953, 834, 17518, 3420, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 1326, 16789, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many patients are primarly diagnosed for ruq pain and born before 1821?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear 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 ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "RUQ PAIN" AND demographic.dob_year < "1821"
[ 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, 25930, 4844, 159, 3274, 96, 8503, 2247, 276, 13570, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, ...
What is the lowest Lost for s o paulo railway, Points more than 21?
CREATE TABLE table_39797 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text )
SELECT MIN("Lost") FROM table_39797 WHERE "Team" = 'são paulo railway' AND "Points" > '21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4327, 4327, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 434, 3481, 8512, 21680, 953, 834, 519, 4327, 4327, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 7, 2, 32, 2576, 83, 32, 14421, 31, 3430, 96, 22512, 7, 121, 2490, 3, 31, 2658, 31, 1, -100, ...
What name has 118 as the apps?
CREATE TABLE table_78745 ( "Nat." text, "Name" text, "First game" text, "Final game" text, "Apps" real, "Goals" real )
SELECT "Name" FROM table_78745 WHERE "Apps" = '118'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 940, 2128, 41, 96, 567, 144, 535, 1499, 6, 96, 23954, 121, 1499, 6, 96, 25171, 467, 121, 1499, 6, 96, 371, 10270, 467, 121, 1499, 6, 96, 9648, 7, 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, 23954, 121, 21680, 953, 834, 3940, 940, 2128, 549, 17444, 427, 96, 9648, 7, 121, 3274, 3, 31, 20056, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the total number of films shoko goto appeared in 2005 ?
CREATE TABLE table_203_365 ( id number, "released" text, "video title" text, "company" text, "director" text, "notes" text )
SELECT COUNT(DISTINCT "video title") FROM table_203_365 WHERE "released" = 2005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 10402, 41, 3, 23, 26, 381, 6, 96, 21019, 26, 121, 1499, 6, 96, 17241, 2233, 121, 1499, 6, 96, 29179, 121, 1499, 6, 96, 25982, 121, 1499, 6, 96, 7977, 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, 15438, 25424, 6227, 96, 17241, 2233, 8512, 21680, 953, 834, 23330, 834, 10402, 549, 17444, 427, 96, 21019, 26, 121, 3274, 3105, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which country has Spence in the name section?
CREATE TABLE table_65617 ( "Name" text, "Country" text, "Status" text, "Moving to" text, "Transfer fee" text )
SELECT "Country" FROM table_65617 WHERE "Name" = 'spence'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 948, 2517, 41, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 329, 32, 3745, 12, 121, 1499, 6, 96, 18474, 1010, 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, 96, 10628, 651, 121, 21680, 953, 834, 4122, 948, 2517, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 7, 102, 1433, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the office running for for anthony mussara
CREATE TABLE table_1855841_1 ( office_running_for VARCHAR, candidate VARCHAR )
SELECT office_running_for FROM table_1855841_1 WHERE candidate = "Anthony Mussara"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21594, 3449, 4853, 834, 536, 41, 828, 834, 24549, 834, 1161, 584, 4280, 28027, 6, 4775, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 828, 1180, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 828, 834, 24549, 834, 1161, 21680, 953, 834, 21594, 3449, 4853, 834, 536, 549, 17444, 427, 4775, 3274, 96, 188, 29, 189, 106, 63, 6887, 7, 2551, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of first_name and salary in a bar chart, could you sort by the names in asc?
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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) 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 employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT FIRST_NAME, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30085, 834, 567, 17683, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610, 17966, 834,...
what is the total number of nicknames for southwestern college?
CREATE TABLE table_262527_1 ( nickname VARCHAR, institution VARCHAR )
SELECT COUNT(nickname) FROM table_262527_1 WHERE institution = "Southwestern College"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 1828, 2555, 834, 536, 41, 24649, 584, 4280, 28027, 6, 6568, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 792, 381, 13, 24649, 7, 21, 3, 7, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 2847, 17161, 599, 11191, 4350, 61, 21680, 953, 834, 2688, 1828, 2555, 834, 536, 549, 17444, 427, 6568, 3274, 96, 134, 31380, 1888, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me long title of procedure and route of drug administration for patient marilyn norvell.
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 ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT procedures.long_title, prescriptions.route FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.name = "Marilyn Norvell"
[ 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, 4293, 5, 2961, 834, 21869, 6, 7744, 7, 5, 20300, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 3388, 18206, 3, 15355, 3162, 7744, 7, ...
How many written by have wendey stanzler as the director?
CREATE TABLE table_22570439_1 ( written_by VARCHAR, directed_by VARCHAR )
SELECT COUNT(written_by) FROM table_22570439_1 WHERE directed_by = "Wendey Stanzler"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20489, 2518, 591, 3288, 834, 536, 41, 1545, 834, 969, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1545, 57, 43, 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, 2847, 17161, 599, 14973, 834, 969, 61, 21680, 953, 834, 20489, 2518, 591, 3288, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 518, 3406, 63, 11469, 172, 1171, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
what's current club with position being center and no being bigger than 12.0
CREATE TABLE table_12962773_1 ( current_club VARCHAR, position VARCHAR, no VARCHAR )
SELECT current_club FROM table_12962773_1 WHERE position = "Center" AND no > 12.0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4314, 2555, 4552, 834, 536, 41, 750, 834, 13442, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 150, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 834, 13442, 21680, 953, 834, 2122, 4314, 2555, 4552, 834, 536, 549, 17444, 427, 1102, 3274, 96, 24382, 121, 3430, 150, 2490, 8013, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average weight of cars each year?
CREATE TABLE CARS_DATA (YEAR VARCHAR, Weight INTEGER)
SELECT AVG(Weight), YEAR FROM CARS_DATA GROUP BY YEAR
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 205, 25210, 834, 27807, 41, 476, 19356, 584, 4280, 28027, 6, 14230, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 1293, 13, 2948, 284, 215, 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, 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, 71, 17217, 599, 1326, 2632, 201, 30431, 21680, 205, 25210, 834, 27807, 350, 4630, 6880, 272, 476, 30431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For each director, return the highest rating among all of their movies and the value of that rating, group by director in a scatter, and Ignore movies whose director is NULL.
CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date )
SELECT stars, MAX(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE director <> "null" GROUP BY director
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4543, 49, 41, 3, 52, 4309, 16, 17, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10743, 41, 3, 51, 4309, 16, 17, 6, 2233, 1499, 6, 215, 16, 17, 6, 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, 4811, 6, 4800, 4, 599, 382, 5411, 3624, 7, 61, 21680, 21662, 6157, 332, 536, 3, 15355, 3162, 10743, 6157, 332, 357, 9191, 332, 5411, 51, 4309, 3274, 332, 4416, 51, 4309, 549, 17444, 427, 2090, 3, 2, 3155, 96, 29, ...
Which OU career [b] had Position [A] as a forward when there were 56 appearances?
CREATE TABLE table_name_40 (oxford_united_career_ VARCHAR, b_ VARCHAR, appearances VARCHAR, position_ VARCHAR, a_ VARCHAR)
SELECT oxford_united_career_[b_] FROM table_name_40 WHERE position_[a_] = "forward" AND appearances = 56
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 32, 226, 2590, 834, 15129, 15, 26, 834, 2864, 49, 834, 584, 4280, 28027, 6, 3, 115, 834, 584, 4280, 28027, 6, 3179, 7, 584, 4280, 28027, 6, 1102, 834...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 32, 226, 2590, 834, 15129, 15, 26, 834, 2864, 49, 834, 6306, 115, 834, 908, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 1102, 834, 6306, 9, 834, 908, 3274, 96, 26338, 121, 3430, 3179, 7, 3274, 11526, 1, ...
List the name of tracks belongs to genre Rock or media type is MPEG audio file.
CREATE TABLE media_types ( id VARCHAR, name VARCHAR ) CREATE TABLE genres ( id VARCHAR, name VARCHAR ) CREATE TABLE tracks ( name VARCHAR, genre_id VARCHAR, media_type_id VARCHAR )
SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = "Rock" OR T3.name = "MPEG audio file"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 783, 834, 6137, 7, 41, 3, 23, 26, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5349, 7, 41, 3, 23, 26, 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, 332, 4416, 4350, 21680, 5349, 7, 6157, 332, 536, 3, 15355, 3162, 6542, 6157, 332, 357, 9191, 332, 5411, 23, 26, 3274, 332, 4416, 729, 60, 834, 23, 26, 3, 15355, 3162, 783, 834, 6137, 7, 6157, 332, 519, 9191, 332, ...
What was the attendance number for the venue of Lakeside Park?
CREATE TABLE table_36832 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text, "Attendance" text, "Record" text )
SELECT "Attendance" FROM table_36832 WHERE "Venue" = 'lakeside park'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3651, 2668, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17, 324, 26, 663, 121, 21680, 953, 834, 519, 3651, 2668, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 16948, 1583, 2447, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Bar graph to show age from different name, list x axis in asc order.
CREATE TABLE driver ( Driver_ID int, Name text, Party text, Home_city text, Age int ) CREATE TABLE school_bus ( School_ID int, Driver_ID int, Years_Working int, If_full_time bool ) CREATE TABLE school ( School_ID int, Grade text, School text, Location text, Type text )
SELECT Name, Age FROM driver ORDER BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2535, 41, 10546, 834, 4309, 16, 17, 6, 5570, 1499, 6, 3450, 1499, 6, 1210, 834, 6726, 1499, 6, 7526, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 834, 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, 5570, 6, 7526, 21680, 2535, 4674, 11300, 272, 476, 5570, 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, -100, -10...
What are the mhz when the profile is 8b?
CREATE TABLE table_26428 ( "Profile" text, "Bandwidth ( MHz )" text, "Number of carriers" real, "Carrier bandwidth (kHz)" text, "Power ( dBm )" text, "Max. downstream throughput ( Mbit/s )" real )
SELECT "Bandwidth ( MHz )" FROM table_26428 WHERE "Profile" = '8b'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26755, 2577, 41, 96, 23057, 699, 121, 1499, 6, 96, 279, 232, 12018, 189, 41, 3, 20210, 3, 61, 121, 1499, 6, 96, 567, 5937, 49, 13, 16642, 121, 490, 6, 96, 6936, 6711, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 279, 232, 12018, 189, 41, 3, 20210, 3, 61, 121, 21680, 953, 834, 26755, 2577, 549, 17444, 427, 96, 23057, 699, 121, 3274, 3, 31, 927, 115, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
In what county is the Canyon Padre Bridge?
CREATE TABLE table_49507 ( "Name" text, "Built" text, "Listed" text, "Location" text, "County" text )
SELECT "County" FROM table_49507 WHERE "Name" = 'canyon padre bridge'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 1752, 940, 41, 96, 23954, 121, 1499, 6, 96, 7793, 173, 17, 121, 1499, 6, 96, 28886, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 10628, 63, 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, 0, 0...
[ 3, 23143, 14196, 96, 10628, 63, 121, 21680, 953, 834, 3647, 1752, 940, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 1608, 63, 106, 8950, 60, 4716, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many high assist are on the date December 13?
CREATE TABLE table_21543 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT COUNT("High assists") FROM table_21543 WHERE "Date" = 'December 13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 1808, 4906, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21417, 13041, 8512, 21680, 953, 834, 357, 1808, 4906, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 29835, 1179, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was John Strohmeyer's average pick before round 12?
CREATE TABLE table_44531 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT AVG("Pick") FROM table_44531 WHERE "Name" = 'john strohmeyer' AND "Round" < '12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2128, 3341, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 121, 345, 3142, 8512, 21680, 953, 834, 591, 2128, 3341, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 27341, 3, 6626, 107, 526, 7975, 31, 3430, 96, 448, 32, 1106, 121, 3, 2, 3, 31, 2122, 31, 1, ...
What score did Australia get?
CREATE TABLE table_name_85 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_85 WHERE country = "australia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 7, 9022, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2604, 410, 2051, 129, 58, 1, 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, 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, 2604, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 684, 3274, 96, 2064, 8792, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the host team at the game at the Cleveland Browns Stadium?
CREATE TABLE table_name_32 ( host_team VARCHAR, stadium VARCHAR )
SELECT host_team FROM table_name_32 WHERE stadium = "cleveland browns stadium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 2290, 834, 11650, 584, 4280, 28027, 6, 14939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2290, 372, 44, 8, 467, 44, 8, 13160,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2290, 834, 11650, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 14939, 3274, 96, 75, 4563, 232, 4216, 7, 14939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
give me the number of widow patients who were born before the year 1846.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose 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 ( 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.dob_year < "1846"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 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, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 518, 4309, 15251, 2326, 121, 3430, 14798, 5, 26, 32, 115, ...
List all the image name and URLs in the order of their names.
CREATE TABLE images (image_name VARCHAR, image_url VARCHAR)
SELECT image_name, image_url FROM images ORDER BY image_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1383, 41, 8221, 834, 4350, 584, 4280, 28027, 6, 1023, 834, 16137, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792, 66, 8, 1023, 564, 11, 8889, 7, 16, 8, 455, 13, 70, 3056, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1023, 834, 4350, 6, 1023, 834, 16137, 21680, 1383, 4674, 11300, 272, 476, 1023, 834, 4350, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
In what tournament is there a result of 46-18?
CREATE TABLE table_45740 ( "Date" text, "Venue" text, "Opponent" text, "Result" text, "Tournament" text, "Scored" real )
SELECT "Tournament" FROM table_45740 WHERE "Result" = '46-18'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3436, 2445, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 382, 1211, 20205, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1211, 20205, 17, 121, 21680, 953, 834, 591, 3436, 2445, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 4448, 6996, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What neon has an Argon of 4.203?
CREATE TABLE table_13074 ( "Helium" text, "Neon" text, "Argon" text, "Krypton" text, "Xenon" text, "Radon" text )
SELECT "Neon" FROM table_13074 WHERE "Argon" = '4.203'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21448, 4581, 41, 96, 3845, 40, 2552, 121, 1499, 6, 96, 567, 15, 106, 121, 1499, 6, 96, 16627, 106, 121, 1499, 6, 96, 439, 651, 11632, 121, 1499, 6, 96, 4, 35, 106, 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, 567, 15, 106, 121, 21680, 953, 834, 21448, 4581, 549, 17444, 427, 96, 16627, 106, 121, 3274, 3, 31, 19765, 4928, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the smallest End term with a Start term of 1913, and a Name of ludwig iii?
CREATE TABLE table_name_39 ( end_term INTEGER, start_term VARCHAR, name VARCHAR )
SELECT MIN(end_term) FROM table_name_39 WHERE start_term = 1913 AND name = "ludwig iii"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 414, 834, 1987, 3, 21342, 17966, 6, 456, 834, 1987, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 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, 17684, 599, 989, 834, 1987, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 456, 834, 1987, 3274, 957, 2368, 3430, 564, 3274, 96, 40, 76, 26, 14143, 3, 23, 23, 23, 121, 1, -100, -100, -100, -100, -100, ...
For those products with a price between 60 and 120, return a bar chart about the distribution of name and code , I want to sort by the Y in desc.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT Name, Code FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Code DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5570, 6, 3636, 21680, 7554, 549, 17444, 427, 5312, 272, 7969, 518, 23394, 1640, 3430, 5864, 4674, 11300, 272, 476, 3636, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the latest year of release for the greatest hits title?
CREATE TABLE table_64237 ( "Title" text, "Label" text, "Year of Release" real, "Country of Release" text, "Peaches:" text )
SELECT MAX("Year of Release") FROM table_64237 WHERE "Title" = 'greatest hits'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 357, 4118, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 476, 2741, 13, 13048, 121, 490, 6, 96, 10628, 651, 13, 13048, 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, 4800, 4, 599, 121, 476, 2741, 13, 13048, 8512, 21680, 953, 834, 4389, 357, 4118, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 20288, 222, 8046, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Draws has a Wins of 10, and a Peel of south mandurah, and a Byes larger than 0?
CREATE TABLE table_41866 ( "Peel" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT AVG("Draws") FROM table_41866 WHERE "Wins" = '10' AND "Peel" = 'south mandurah' AND "Byes" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 26750, 41, 96, 345, 15, 15, 40, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 279, 10070, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936, 7, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 121, 308, 10936, 7, 8512, 21680, 953, 834, 4853, 26750, 549, 17444, 427, 96, 18455, 7, 121, 3274, 3, 31, 1714, 31, 3430, 96, 345, 15, 15, 40, 121, 3274, 3, 31, 7, 670, 107, 388, 26, 2414, 107, ...
What was the score for the game on June 30?
CREATE TABLE table_name_65 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_65 WHERE date = "june 30"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 21, 8, 467, 30, 1515, 604, 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, 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, 2604, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 833, 3274, 96, 6959, 15, 604, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which City has 600kw 500kw ERP ?
CREATE TABLE table_name_86 (city VARCHAR, erp__analog__digital_ VARCHAR)
SELECT city FROM table_name_86 WHERE erp__analog__digital_ = "600kw 500kw"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 6726, 584, 4280, 28027, 6, 3, 49, 102, 834, 834, 152, 9, 2152, 834, 834, 9206, 138, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 896...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 690, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 3, 49, 102, 834, 834, 152, 9, 2152, 834, 834, 9206, 138, 834, 3274, 96, 6007, 157, 210, 2899, 157, 210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What is the IHSAA class for Chesterton?
CREATE TABLE table_name_49 ( ihsaa_class VARCHAR, school VARCHAR )
SELECT ihsaa_class FROM table_name_49 WHERE school = "chesterton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 3, 23, 107, 7, 9, 9, 834, 4057, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 27, 4950, 5498, 853, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 3, 23, 107, 7, 9, 9, 834, 4057, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 496, 3274, 96, 13263, 17, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the distance to funao?
CREATE TABLE table_54741 ( "Station" text, "Japanese" text, "Distance (km)" real, "Rapid" text, "Location" text )
SELECT "Distance (km)" FROM table_54741 WHERE "Station" = 'funao'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 4581, 536, 41, 96, 134, 6821, 121, 1499, 6, 96, 683, 9750, 1496, 15, 121, 1499, 6, 96, 308, 23, 8389, 41, 5848, 61, 121, 490, 6, 96, 448, 9, 12417, 121, 1499, 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, 96, 308, 23, 8389, 41, 5848, 61, 121, 21680, 953, 834, 5062, 4581, 536, 549, 17444, 427, 96, 134, 6821, 121, 3274, 3, 31, 89, 202, 9, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients who have been prescribed the lorazepam 0.5 mg tab.
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text )
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'lorazepam 0.5 mg tab')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 7757, 5, 10061, 15129, 21545, 23, 26, 21680, 7757, 549, ...
Look for the black/african american patients born before 2089.
CREATE TABLE procedures ( 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.dob_year < "2089"
[ 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, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 8775, 15339, 87, 6282, 5593, 11425, 3, 17683, 5593, 11425, 121, 3430...
return me the papers in VLDB conference containing keyword ' Information Retrieval ' .
CREATE TABLE conference ( cid int, homepage varchar, name varchar ) CREATE TABLE writes ( aid int, pid int ) CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year int ) CREATE TABLE author ( aid int, homepage varchar, name varchar, oid int ) CREATE TABLE domain_author ( aid int, did int ) CREATE TABLE keyword ( keyword varchar, kid int ) CREATE TABLE domain_keyword ( did int, kid int ) CREATE TABLE publication_keyword ( kid int, pid int ) CREATE TABLE domain ( did int, name varchar ) CREATE TABLE cite ( cited int, citing int ) CREATE TABLE domain_conference ( cid int, did int ) CREATE TABLE journal ( homepage varchar, jid int, name varchar ) CREATE TABLE organization ( continent varchar, homepage varchar, name varchar, oid int ) CREATE TABLE domain_journal ( did int, jid int ) CREATE TABLE domain_publication ( did int, pid int )
SELECT publication.title FROM conference, keyword, publication, publication_keyword WHERE conference.name = 'VLDB' AND keyword.keyword = 'Information Retrieval' AND publication_keyword.kid = keyword.kid AND publication.cid = conference.cid AND publication.pid = publication_keyword.pid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2542, 41, 3, 10812, 16, 17, 6, 22844, 3, 4331, 4059, 6, 564, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11858, 41, 3052, 16, 17, 6, 3, 12417, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5707, 5, 21869, 21680, 2542, 6, 15693, 6, 5707, 6, 5707, 834, 4397, 6051, 549, 17444, 427, 2542, 5, 4350, 3274, 3, 31, 553, 9815, 279, 31, 3430, 15693, 5, 4397, 6051, 3274, 3, 31, 1570, 14678, 419, 1788, 15, 2165,...
What is the 2006-07 of the 2012-13 pavlis?
CREATE TABLE table_10012 ( "1997\u201398" text, "1998\u201399" text, "1999\u201300" text, "2000\u201301" text, "2001\u201302" text, "2002\u201303" text, "2003\u201304" text, "2004\u201305" text, "2005\u201306" text, "2006\u201307" text, "2007\u201308" text, "2008\u201309" text, "2009\u201310" text, "2010\u201311" text, "2011\u201312" text, "2012\u201313" text )
SELECT "2006\u201307" FROM table_10012 WHERE "2012\u201313" = 'pavlis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 2122, 41, 96, 2294, 4327, 2, 76, 11138, 3916, 121, 1499, 6, 96, 2294, 3916, 2, 76, 11138, 3264, 121, 1499, 6, 96, 2294, 3264, 2, 76, 11138, 1206, 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, 21196, 2, 76, 11138, 4560, 121, 21680, 953, 834, 2915, 2122, 549, 17444, 427, 96, 12172, 2, 76, 11138, 2368, 121, 3274, 3, 31, 102, 9, 208, 40, 159, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is the Opponent in the final on 4 April 2011?
CREATE TABLE table_name_16 ( opponent_in_the_final VARCHAR, date VARCHAR )
SELECT opponent_in_the_final FROM table_name_16 WHERE date = "4 april 2011"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 15264, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 4495, 9977, 16, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 833, 3274, 96, 591, 3, 9, 2246, 40, 2722, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many people attended the Royals game with a score of 17 - 6?
CREATE TABLE table_68977 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT SUM("Attendance") FROM table_68977 WHERE "Opponent" = 'royals' AND "Score" = '17 - 6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 4327, 940, 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, 188, 17, 324, 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...
[ 3, 23143, 14196, 180, 6122, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 3651, 4327, 940, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 8170, 5405, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 2517, 3, 18, 431,...
where cfl team is edmonton (2) what are all the position
CREATE TABLE table_29221 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "Position" FROM table_29221 WHERE "CFL Team" = 'Edmonton (2)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 357, 2658, 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, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 3166, 357, 2658, 549, 17444, 427, 96, 254, 10765, 2271, 121, 3274, 3, 31, 427, 26, 4662, 106, 6499, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
count the number of patients whose days of hospital stay is greater than 1 and diagnoses short title is malnutrition mild degree?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "1" AND diagnoses.short_title = "Malnutrition mild degree"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Who constructed rolf stommelen's car?
CREATE TABLE table_name_83 ( constructor VARCHAR, driver VARCHAR )
SELECT constructor FROM table_name_83 WHERE driver = "rolf stommelen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 6774, 127, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 8520, 3, 3491, 89, 3, 7, 17, 7649, 40, 35, 31, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6774, 127, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 2535, 3274, 96, 3491, 89, 3, 7, 17, 7649, 40, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which City has a Date on october 26, 2007
CREATE TABLE table_name_70 (city VARCHAR, date VARCHAR)
SELECT city FROM table_name_70 WHERE date = "october 26, 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 6726, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 896, 65, 3, 9, 7678, 30, 3, 32, 75, 235, 1152, 13597, 4101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 690, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 13597, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What year had a score of 4 6, 7 6, 7 5?
CREATE TABLE table_64681 ( "Outcome" text, "Year" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text )
SELECT "Year" FROM table_64681 WHERE "Score" = '4–6, 7–6, 7–5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 3651, 536, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 476, 2741, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 476, 2741, 121, 21680, 953, 834, 4389, 3651, 536, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 591, 104, 11071, 489, 104, 11071, 489, 104, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the date of week 17?
CREATE TABLE table_name_35 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_35 WHERE week = 17
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 5522, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 13, 471, 1003, 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, 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...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 471, 3274, 1003, 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,...
Who has a Game smaller than 43, and a Record of 23-14-3?
CREATE TABLE table_name_37 (opponent VARCHAR, game VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_37 WHERE game < 43 AND record = "23-14-3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 32, 102, 9977, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 65, 3, 9, 4435, 2755, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15264, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 467, 3, 2, 8838, 3430, 1368, 3274, 96, 2773, 11590, 3486, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the indoor number for the NJ wing/
CREATE TABLE table_19534874_2 ( indoor VARCHAR, wing VARCHAR )
SELECT indoor FROM table_19534874_2 WHERE wing = "NJ"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4867, 3707, 4581, 834, 357, 41, 5297, 584, 4280, 28027, 6, 3, 3108, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5297, 381, 21, 8, 11522, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5297, 21680, 953, 834, 2294, 4867, 3707, 4581, 834, 357, 549, 17444, 427, 3, 3108, 3274, 96, 567, 683, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the difference associated with more than 2 points, fewer than 3 losses, and fewer than 1 draw?
CREATE TABLE table_37096 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real )
SELECT "Points difference" FROM table_37096 WHERE "Points" > '2' AND "Lost" < '3' AND "Drawn" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22520, 4314, 41, 96, 23055, 7, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, 22512, 7, 1750, 121, 1499, 6, 96, 22512, 7, 121, 490, 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, 22512, 7, 1750, 121, 21680, 953, 834, 22520, 4314, 549, 17444, 427, 96, 22512, 7, 121, 2490, 3, 31, 357, 31, 3430, 96, 434, 3481, 121, 3, 2, 3, 31, 519, 31, 3430, 96, 308, 10936, 29, 121, 3, 2, 3, 31, 53...
Which season had 0 wins and 5 losses for the Surrey team?
CREATE TABLE table_name_61 ( season VARCHAR, team VARCHAR, wins VARCHAR, losses VARCHAR )
SELECT season FROM table_name_61 WHERE wins = "0" AND losses = "5" AND team = "surrey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 774, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 774, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 774, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 9204, 3274, 96, 632, 121, 3430, 8467, 3274, 96, 17395, 3430, 372, 3274, 96, 3042, 60, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
In which city is MUB located?
CREATE TABLE table_12839 ( "Name" text, "No. Specimens" real, "Abbr." text, "Country" text, "City" text )
SELECT "City" FROM table_12839 WHERE "Abbr." = 'mub'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2577, 3288, 41, 96, 23954, 121, 1499, 6, 96, 4168, 5, 3, 7727, 23, 904, 7, 121, 490, 6, 96, 8952, 115, 52, 535, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 254, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 485, 121, 21680, 953, 834, 536, 2577, 3288, 549, 17444, 427, 96, 8952, 115, 52, 535, 3274, 3, 31, 51, 76, 115, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Return a histogram on how many actors have appeared in each musical?, could you display in asc by the total number?
CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text )
SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7556, 41, 1983, 127, 834, 4309, 16, 17, 6, 5570, 1499, 6, 22307, 834, 4309, 16, 17, 6, 20087, 1499, 6, 20610, 1499, 6, 1246, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4416, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 7556, 6157, 332, 536, 3, 15355, 3162, 4183, 6157, 332, 357, 9191, 332, 5411, 29035, 138, 834, 4309, 3274, 332, 4416, 29035, 138, 834, 4309, 350, 4630, 6880, 272,...
When 790 am is the frequency what is the format?
CREATE TABLE table_1949746_1 ( format VARCHAR, frequency VARCHAR )
SELECT format FROM table_1949746_1 WHERE frequency = "790 AM"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 591, 4327, 4448, 834, 536, 41, 1910, 584, 4280, 28027, 6, 7321, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 489, 2394, 183, 19, 8, 7321, 125, 19, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1910, 21680, 953, 834, 2294, 591, 4327, 4448, 834, 536, 549, 17444, 427, 7321, 3274, 96, 940, 2394, 5422, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the number of households in the county with median income of $65,240 and population greater than 744,344?
CREATE TABLE table_name_76 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR)
SELECT SUM(number_of_households) FROM table_name_76 WHERE median_family_income = "$65,240" AND population > 744 OFFSET 344
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 5525, 1152, 834, 858, 834, 1840, 6134, 7, 3, 21342, 17966, 6, 15572, 834, 15474, 834, 15759, 584, 4280, 28027, 6, 2074, 584, 4280, 28027, 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, 180, 6122, 599, 5525, 1152, 834, 858, 834, 1840, 6134, 7, 61, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 15572, 834, 15474, 834, 15759, 3274, 96, 3229, 4122, 6, 11944, 121, 3430, 2074, 2490, 489, 3628, 3, 15...
How many times did Tiger get second in the year where there were 11 cuts?
CREATE TABLE table_16892 ( "Year" real, "Starts" real, "Cuts made" text, "Wins (Majors)" text, "2nd" real, "3rd" real, "Top 10" real, "Top 25" real, "Earnings ($)" real, "Money list rank" real, "Adjusted scoring average (rank)" text )
SELECT MAX("2nd") FROM table_16892 WHERE "Cuts made" = '11'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24274, 4508, 41, 96, 476, 2741, 121, 490, 6, 96, 7681, 17, 7, 121, 490, 6, 96, 15784, 17, 7, 263, 121, 1499, 6, 96, 18455, 7, 41, 329, 9, 12775, 7, 61, 121, 1499, 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, 4800, 4, 599, 121, 357, 727, 8512, 21680, 953, 834, 24274, 4508, 549, 17444, 427, 96, 15784, 17, 7, 263, 121, 3274, 3, 31, 2596, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What number-one single is performed by artist Pep's?
CREATE TABLE table_29523 ( "Artist" text, "Country" text, "Number-one single(s)" text, "Year" real, "Weeks at #1" real, "Straight to #1 ?" text )
SELECT "Number-one single(s)" FROM table_29523 WHERE "Artist" = 'Pep''s'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3301, 2773, 41, 96, 7754, 343, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 567, 5937, 49, 18, 782, 712, 599, 7, 61, 121, 1499, 6, 96, 476, 2741, 121, 490, 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, 96, 567, 5937, 49, 18, 782, 712, 599, 7, 61, 121, 21680, 953, 834, 357, 3301, 2773, 549, 17444, 427, 96, 7754, 343, 121, 3274, 3, 31, 345, 15, 102, 31, 31, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
How much power does the 1500 model have with a displacement of 1490cc?
CREATE TABLE table_name_22 ( power VARCHAR, model VARCHAR, displacement VARCHAR )
SELECT power FROM table_name_22 WHERE model = "1500" AND displacement = "1490cc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 579, 584, 4280, 28027, 6, 825, 584, 4280, 28027, 6, 27780, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 579, 405, 8, 15011, 825, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 579, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 825, 3274, 96, 536, 2560, 121, 3430, 27780, 3274, 96, 2534, 2394, 75, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the percentage of safari when firefox was 24.66%
CREATE TABLE table_65410 ( "Date" text, "Internet Explorer" text, "Chrome" text, "Firefox" text, "Safari" text )
SELECT "Safari" FROM table_65410 WHERE "Firefox" = '24.66%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 24175, 41, 96, 308, 342, 121, 1499, 6, 96, 22912, 15762, 121, 1499, 6, 96, 3541, 11956, 121, 1499, 6, 96, 3183, 60, 20400, 121, 1499, 6, 96, 134, 9, 5544, 23, 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, 134, 9, 5544, 23, 121, 21680, 953, 834, 4122, 24175, 549, 17444, 427, 96, 3183, 60, 20400, 121, 3274, 3, 31, 357, 25652, 6370, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the lowest number of losses a goalkeeper with more than 2776 minutes had?
CREATE TABLE table_name_54 (loses INTEGER, minutes INTEGER)
SELECT MIN(loses) FROM table_name_54 WHERE minutes > 2776
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 10227, 7, 3, 21342, 17966, 6, 676, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 8467, 3, 9, 1288, 10477, 28, 72, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 3, 17684, 599, 10227, 7, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 676, 2490, 2307, 3959, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the greatest total when the 3rd run was 48.734 (8)?
CREATE TABLE table_13395 ( "Rank" real, "Name" text, "1st run" text, "2nd run" text, "3rd run" text, "Total" real )
SELECT MAX("Total") FROM table_13395 WHERE "3rd run" = '48.734 (8)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22974, 3301, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 536, 7, 17, 661, 121, 1499, 6, 96, 357, 727, 661, 121, 1499, 6, 96, 519, 52, 26, 661, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 1947, 8512, 21680, 953, 834, 22974, 3301, 549, 17444, 427, 96, 519, 52, 26, 661, 121, 3274, 3, 31, 3707, 5, 4552, 591, 3, 28007, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What date was the record 38-22?
CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_71 WHERE record = "38-22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 8, 1368, 6654, 16149, 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, 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, 833, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 1368, 3274, 96, 3747, 16149, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the time for Kazakhstan?
CREATE TABLE table_63450 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text )
SELECT "Time" FROM table_63450 WHERE "Country" = 'kazakhstan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 10593, 41, 96, 22557, 121, 490, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 10358, 15, 7, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 13368, 121, 21680, 953, 834, 3891, 10593, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 1258, 172, 18965, 5627, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the number of advocate #1 that aired on april 2, 2008
CREATE TABLE table_20296 ( "#" real, "Advocate # 1" text, "Advocate # 2" text, "Root of All Evil" text, "Poll winner" text, "Original air date" text )
SELECT COUNT("Advocate # 1") FROM table_20296 WHERE "Original air date" = 'April 2, 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 4314, 41, 96, 4663, 121, 490, 6, 96, 21021, 32, 8367, 1713, 209, 121, 1499, 6, 96, 21021, 32, 8367, 1713, 204, 121, 1499, 6, 96, 22778, 17, 13, 432, 26567, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21021, 32, 8367, 1713, 209, 8512, 21680, 953, 834, 19818, 4314, 549, 17444, 427, 96, 667, 3380, 10270, 799, 833, 121, 3274, 3, 31, 23323, 3547, 2628, 31, 1, -100, -100, -100, -100, -100, -100, ...
What's the mean week number when attendance was 63,263?
CREATE TABLE table_name_88 ( week INTEGER, attendance VARCHAR )
SELECT AVG(week) FROM table_name_88 WHERE attendance = 63 OFFSET 263
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 471, 3, 21342, 17966, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 1243, 471, 381, 116, 11364, 47, 3, 3891, 6, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 8041, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 11364, 3274, 3, 3891, 3, 15316, 20788, 204, 3891, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Name (Birth-Death), when Left Office is 7 October 1958?
CREATE TABLE table_name_79 (name__birth_death_ VARCHAR, left_office VARCHAR)
SELECT name__birth_death_ FROM table_name_79 WHERE left_office = "7 october 1958"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 4350, 834, 834, 20663, 834, 221, 9, 189, 834, 584, 4280, 28027, 6, 646, 834, 19632, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 5570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 834, 834, 20663, 834, 221, 9, 189, 834, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 646, 834, 19632, 3274, 96, 940, 3, 32, 75, 235, 1152, 22306, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position does the player from Winston-Salem State play?
CREATE TABLE table_40888 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text )
SELECT "Position" FROM table_40888 WHERE "School/Club Team" = 'winston-salem state'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 10927, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 87, 254, 11158,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 345, 32, 7, 4749, 121, 21680, 953, 834, 2445, 10927, 549, 17444, 427, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 3757, 4411, 18, 7, 9, 109, 51, 538, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
How many San Jose wins have an LA goals larger than 6, and an LA wins smaller than 21?
CREATE TABLE table_34826 ( "LA wins" real, "Draws" real, "San Jose wins" real, "LA goals" real, "San Jose goals" real )
SELECT COUNT("San Jose wins") FROM table_34826 WHERE "LA goals" > '6' AND "LA wins" < '21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3707, 2688, 41, 96, 4569, 9204, 121, 490, 6, 96, 308, 10936, 7, 121, 490, 6, 96, 134, 152, 10854, 9204, 121, 490, 6, 96, 4569, 1766, 121, 490, 6, 96, 134, 152, 108...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 134, 152, 10854, 9204, 8512, 21680, 953, 834, 519, 3707, 2688, 549, 17444, 427, 96, 4569, 1766, 121, 2490, 3, 31, 948, 31, 3430, 96, 4569, 9204, 121, 3, 2, 3, 31, 2658, 31, 1, -100, -100, ...
What was the lowest attendance for the game that had a time of 3:31 and was before game 7?
CREATE TABLE table_name_58 ( attendance INTEGER, time VARCHAR, game VARCHAR )
SELECT MIN(attendance) FROM table_name_58 WHERE time = "3:31" AND game < 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 11364, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7402, 11364, 21, 8, 467, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 97, 3274, 96, 519, 10, 3341, 121, 3430, 467, 3, 2, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what team placed after canada ?
CREATE TABLE table_203_486 ( id number, "place" number, "team" text, "matches" number, "won" number, "drawn" number, "lost" number, "difference" text, "points" number )
SELECT "team" FROM table_203_486 WHERE "place" > (SELECT "place" FROM table_203_486 WHERE "team" = 'canada') ORDER BY "place" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 3840, 41, 3, 23, 26, 381, 6, 96, 4687, 121, 381, 6, 96, 11650, 121, 1499, 6, 96, 19515, 15, 7, 121, 381, 6, 96, 210, 106, 121, 381, 6, 96, 19489, 29,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11650, 121, 21680, 953, 834, 23330, 834, 591, 3840, 549, 17444, 427, 96, 4687, 121, 2490, 41, 23143, 14196, 96, 4687, 121, 21680, 953, 834, 23330, 834, 591, 3840, 549, 17444, 427, 96, 11650, 121, 3274, 3, 31, 65...
Which date has a Surface of carpet (i)?
CREATE TABLE table_name_44 ( date VARCHAR, surface VARCHAR )
SELECT date FROM table_name_44 WHERE surface = "carpet (i)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 833, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 833, 65, 3, 9, 18884, 13, 4898, 41, 23, 61, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 1774, 3274, 96, 1720, 4995, 41, 23, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Points with an Against smaller than 16?
CREATE TABLE table_name_51 ( points INTEGER, against INTEGER )
SELECT AVG(points) FROM table_name_51 WHERE against < 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 979, 3, 21342, 17966, 6, 581, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4564, 7, 28, 46, 3, 20749, 2755, 145, 898, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 581, 3, 2, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who did the most high rebounds in the game played on November 1?
CREATE TABLE table_21549 ( "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_21549 WHERE "Date" = 'November 1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 1808, 3647, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 357, 1808, 3647, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 28635, 209, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Total when the Set 3 was 25-15?
CREATE TABLE table_name_68 (total VARCHAR, set_3 VARCHAR)
SELECT total FROM table_name_68 WHERE set_3 = "25-15"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 235, 1947, 584, 4280, 28027, 6, 356, 834, 519, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 9273, 116, 8, 2821, 220, 47, 944, 10106...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 792, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 356, 834, 519, 3274, 96, 1828, 10106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which venue has an Away team score of 12.11 (83)?
CREATE TABLE table_54578 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_54578 WHERE "Away team score" = '12.11 (83)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2128, 3940, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 553, 35, 76, 15, 121, 21680, 953, 834, 755, 2128, 3940, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 9368, 2596, 13642, 5268, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which representative is from willowick
CREATE TABLE table_31165 ( "District" real, "Representative" text, "Party" text, "Residence" text, "First Elected" text, "Term Limited" real )
SELECT "Representative" FROM table_31165 WHERE "Residence" = 'Willowick'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 22823, 41, 96, 308, 23, 20066, 121, 490, 6, 96, 1649, 12640, 1528, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 1649, 1583, 3772, 121, 1499, 6, 96, 25171, 1289, 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, 1649, 12640, 1528, 121, 21680, 953, 834, 3341, 22823, 549, 17444, 427, 96, 1649, 1583, 3772, 121, 3274, 3, 31, 518, 1092, 32, 5981, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the maximum number of top 10s when he finished in 63rd?
CREATE TABLE table_1637041_2 (top_10 INTEGER, position VARCHAR)
SELECT MAX(top_10) FROM table_1637041_2 WHERE position = "63rd"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 22520, 4853, 834, 357, 41, 2916, 834, 1714, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2411, 381, 13, 420, 335, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 2916, 834, 16968, 21680, 953, 834, 2938, 22520, 4853, 834, 357, 549, 17444, 427, 1102, 3274, 96, 3891, 52, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What opponent had a record of 37-27?
CREATE TABLE table_name_19 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_19 WHERE record = "37-27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 32, 102, 9977, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 15264, 141, 3, 9, 1368, 13, 6862, 18, 2555, 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, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 1368, 3274, 96, 4118, 18, 2555, 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 total number of points of the honda hr-1 engine?
CREATE TABLE table_name_41 (points VARCHAR, engine VARCHAR)
SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 2700, 7, 584, 4280, 28027, 6, 1948, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 979, 13, 8, 3, 31782, 3, 107, 52, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 1948, 3274, 96, 31782, 3, 107, 52, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Sweet Potato amount when the soybean amount is 1.65?
CREATE TABLE table_name_92 (sweet_potato_ VARCHAR, g_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR)
SELECT sweet_potato_[g_] FROM table_name_92 WHERE soybean__green__[f_] = "1.65"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 23392, 834, 3013, 9, 235, 834, 584, 4280, 28027, 6, 3, 122, 834, 584, 4280, 28027, 6, 27161, 834, 834, 9423, 834, 834, 584, 4280, 28027, 6, 3, 89, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2093, 834, 3013, 9, 235, 834, 6306, 122, 834, 908, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 27161, 834, 834, 9423, 834, 834, 6306, 89, 834, 908, 3274, 96, 15062, 17395, 1, -100, -100, -100, -100, -100, -10...
What is the only city name with a population density of 200?
CREATE TABLE table_21284653_1 (name VARCHAR, population_density VARCHAR)
SELECT name FROM table_21284653_1 WHERE population_density = "200"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 2577, 4448, 4867, 834, 536, 41, 4350, 584, 4280, 28027, 6, 2074, 834, 537, 7, 485, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 163, 690, 564, 28,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 564, 21680, 953, 834, 2658, 2577, 4448, 4867, 834, 536, 549, 17444, 427, 2074, 834, 537, 7, 485, 3274, 96, 3632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose drug code is mago140 and lab test category is hematology.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "MAGO140" AND lab."CATEGORY" = "Hematology"
[ 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, 338...
What is the 1st leg result when team 1 is Gambia?
CREATE TABLE table_name_10 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_10 WHERE team_1 = "gambia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 11650, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 209, 7, 17, 4553, 741, 116, 372, 209, 19, 18893, 23, 9, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 209, 6157, 3, 7, 17, 834, 5772, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 372, 834, 536, 3274, 96, 122, 11379, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many wrestlers do not have any notes ?
CREATE TABLE table_204_854 ( id number, "#" number, "wrestlers" text, "reign" number, "date" text, "days\nheld" number, "location" text, "notes" text )
SELECT COUNT("wrestlers") FROM table_204_854 WHERE "notes" IS NULL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4433, 591, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 210, 6216, 1171, 7, 121, 1499, 6, 96, 60, 3191, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 1135...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 210, 6216, 1171, 7, 8512, 21680, 953, 834, 26363, 834, 4433, 591, 549, 17444, 427, 96, 7977, 7, 121, 6827, 13046, 10376, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the highest year for the US Open?
CREATE TABLE table_name_4 (year INTEGER, championship VARCHAR)
SELECT MAX(year) FROM table_name_4 WHERE championship = "us open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 1201, 3, 21342, 17966, 6, 10183, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 215, 21, 8, 837, 2384, 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, 4800, 4, 599, 1201, 61, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 10183, 3274, 96, 302, 539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if there are 30 lifts, what is the name of the ski resort?
CREATE TABLE table_25762852_1 (name VARCHAR, lifts VARCHAR)
SELECT name FROM table_25762852_1 WHERE lifts = 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3959, 2577, 5373, 834, 536, 41, 4350, 584, 4280, 28027, 6, 5656, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3, 99, 132, 33, 604, 5656, 7, 6, 125, 19, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 1828, 3959, 2577, 5373, 834, 536, 549, 17444, 427, 5656, 7, 3274, 604, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What height was the forward position at Crockett High School?
CREATE TABLE table_12032893_1 ( height VARCHAR, position VARCHAR, high_school VARCHAR )
SELECT height FROM table_12032893_1 WHERE position = "Forward" AND high_school = "Crockett"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15518, 28070, 4271, 834, 536, 41, 3902, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 306, 834, 6646, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3902, 47,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3902, 21680, 953, 834, 15518, 28070, 4271, 834, 536, 549, 17444, 427, 1102, 3274, 96, 3809, 2239, 121, 3430, 306, 834, 6646, 3274, 96, 254, 7818, 12922, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Years, when Nationality is United States, and when Position is PG / SG?
CREATE TABLE table_48197 ( "Player" text, "Nationality" text, "Jersey Number(s)" real, "Position" text, "Years" text, "From" text )
SELECT "Years" FROM table_48197 WHERE "Nationality" = 'united states' AND "Position" = 'pg / sg'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 27181, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 683, 277, 15, 63, 7720, 599, 7, 61, 121, 490, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 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, 476, 2741, 7, 121, 21680, 953, 834, 3707, 27181, 549, 17444, 427, 96, 24732, 485, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 102, 122, 3, 87, 3, 7, 122, 31, ...
out of total number of patients who had a lab test for urine phosphate, how many of them were divorcee?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear 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 ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "DIVORCED" AND lab.label = "Phosphate, Urine"
[ 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,...
What's the type on Sestri Levante to Riomaggiore?
CREATE TABLE table_name_39 (type VARCHAR, course VARCHAR)
SELECT type FROM table_name_39 WHERE course = "sestri levante to riomaggiore"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 6137, 584, 4280, 28027, 6, 503, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 686, 30, 679, 7, 1788, 312, 6451, 15, 12, 10983, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 686, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 503, 3274, 96, 2260, 1788, 90, 6451, 15, 12, 3, 52, 23, 32, 7493, 10253, 60, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which league had a playoffs result of a lost semifinal?
CREATE TABLE table_56776 ( "Year" text, "League" text, "Reg. Season" text, "Playoffs" text, "Avg. attendance" real )
SELECT "League" FROM table_56776 WHERE "Playoffs" = 'lost semifinal'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3708, 3959, 41, 96, 476, 2741, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 17748, 5, 7960, 121, 1499, 6, 96, 15800, 1647, 7, 121, 1499, 6, 96, 188, 208, 122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2796, 9, 5398, 121, 21680, 953, 834, 755, 3708, 3959, 549, 17444, 427, 96, 15800, 1647, 7, 121, 3274, 3, 31, 2298, 17, 27504, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the least amount of freight carried when the super b capacity reached was February 26?
CREATE TABLE table_17794 ( "Year" real, "Road Opened" text, "Road Closed" text, "Freight Carried s Tonne" real, "Super B Capacity Reached [ citation needed ]" text, "Number of Truck Loads North" real )
SELECT MIN("Freight Carried s Tonne") FROM table_17794 WHERE "Super B Capacity Reached [ citation needed ]" = 'February 26'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26793, 4240, 41, 96, 476, 2741, 121, 490, 6, 96, 448, 32, 9, 26, 2384, 15, 26, 121, 1499, 6, 96, 448, 32, 9, 26, 9084, 26, 121, 1499, 6, 96, 371, 60, 2632, 1184, 9889...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 371, 60, 2632, 1184, 9889, 3, 7, 332, 5993, 8512, 21680, 953, 834, 26793, 4240, 549, 17444, 427, 96, 23290, 272, 4000, 9, 6726, 23202, 15, 26, 784, 3, 13903, 906, 3, 908, 121, 3274, 3, 31, 31...
Which Home team plays at the arden street oval Venue?
CREATE TABLE table_name_91 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_91 WHERE venue = "arden street oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1210, 372, 4805, 44, 8, 3, 986, 35, 2815, 17986, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 5669, 3274, 96, 986, 35, 2815, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those records from the products and each product's manufacturer, give me the comparison about the sum of code over the founder , and group by attribute founder by a bar chart, I want to order from low to high by the X-axis.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T2.Founder
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4416, 19145, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 4416, 1...
Which u.s.acres episode has 'show 79' as the episode?
CREATE TABLE table_22401 ( "Episode" text, "Garfield Episode 1" text, "U.S. Acres Episode" text, "Garfield Episode 2" text, "Original Airdate" text )
SELECT "U.S. Acres Episode" FROM table_22401 WHERE "Episode" = 'Show 79'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 20016, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 21846, 1846, 16112, 209, 121, 1499, 6, 96, 1265, 5, 134, 5, 4292, 60, 7, 16112, 121, 1499, 6, 96, 21846, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1265, 5, 134, 5, 4292, 60, 7, 16112, 121, 21680, 953, 834, 2884, 20016, 549, 17444, 427, 96, 427, 102, 159, 32, 221, 121, 3274, 3, 31, 134, 4067, 3, 4440, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Which store owns most items?
CREATE TABLE inventory (store_id VARCHAR)
SELECT store_id FROM inventory GROUP BY store_id ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7705, 41, 7154, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1078, 293, 7, 167, 1173, 58, 1, 0, 0, 0, 0, 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, 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, 0, 0, 0...
[ 3, 23143, 14196, 1078, 834, 23, 26, 21680, 7705, 350, 4630, 6880, 272, 476, 1078, 834, 23, 26, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...