answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT _percentage_indian_american FROM table_18963843_1 WHERE asian_american_population__2010_ = 126965
Name the % indian american for asian population 126965
CREATE TABLE table_18963843_1 (_percentage_indian_american VARCHAR, asian_american_population__2010_ VARCHAR)
SELECT AVG("Area km 2") FROM table_61983 WHERE "Census Ranking" = '636 of 5,008'
What is the area of the community with a census ranking of 636 of 5,008?
CREATE TABLE table_61983 ( "Official Name" text, "Status" text, "Area km 2" real, "Population" real, "Census Ranking" text )
SELECT MAX(round) FROM table_name_67 WHERE player = "chris phillips"
What is the highest round played by Chris Phillips?
CREATE TABLE table_name_67 (round INTEGER, player VARCHAR)
SELECT _percentage_asian_american FROM table_18963843_1 WHERE indian_american_population__2010_ = 23526
Name the % asian american for 23526
CREATE TABLE table_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR)
SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instr...
Who will teach Other classes next Winter ?
CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TAB...
SELECT player FROM table_name_94 WHERE college = "graceland"
What player attended Graceland College?
CREATE TABLE table_name_94 (player VARCHAR, college VARCHAR)
SELECT COUNT(population_density__per_km²_) FROM table_189598_7 WHERE name = "Buffalo Narrows"
When buffalo narrows is the name how many measurements of population density per kilometer squared are there?
CREATE TABLE table_189598_7 (population_density__per_km²_ VARCHAR, name VARCHAR)
SELECT All_Home, AVG(School_ID) FROM basketball_match GROUP BY All_Home ORDER BY AVG(School_ID)
Draw a bar chart about the distribution of All_Home and the average of School_ID , and group by attribute All_Home, show by the Y in ascending.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT MAX(pick__number) FROM table_name_36 WHERE cfl_team = "toronto argonauts"
What is the highest pick number of the CFL's Toronto Argonauts?
CREATE TABLE table_name_36 (pick__number INTEGER, cfl_team VARCHAR)
SELECT land_area__km²_ FROM table_189598_7 WHERE population__2011_ = 1233
When 1233 is the population of 2011 what is the land area in kilometers squared?
CREATE TABLE table_189598_7 (land_area__km²_ VARCHAR, population__2011_ VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2104" AND prescriptions.drug_type = "BASE"
provide the number of patients whose year of birth is less than 2104 and drug type is base?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT pick__number FROM table_name_89 WHERE college = "mcmaster"
Which pick number attended McMaster College?
CREATE TABLE table_name_89 (pick__number VARCHAR, college VARCHAR)
SELECT MAX(population__2011_) FROM table_189598_7 WHERE land_area__km²_ = "6.00"
When 6.00 is the land area in kilometers squared what is the highest population of 2011?
CREATE TABLE table_189598_7 (population__2011_ INTEGER, land_area__km²_ VARCHAR)
SELECT "District" FROM table_731 WHERE "Incumbent" = 'Otto Passman'
What's the district that Otto Passman is the incumbent of?
CREATE TABLE table_731 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT visitor FROM table_name_98 WHERE decision = "osgood" AND home = "edmonton"
Who was the visiting team at the game where Edmonton was the home team and the decision was Osgood?
CREATE TABLE table_name_98 (visitor VARCHAR, decision VARCHAR, home VARCHAR)
SELECT MIN(population__2011_) FROM table_189598_7 WHERE name = "Beauval"
When beauval is the name what is the lowest population of 2011?
CREATE TABLE table_189598_7 (population__2011_ INTEGER, name VARCHAR)
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'reticulocyte count, automated')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TI...
what is the minimum total cost in a hospital that involves a reticulocyte count, automated laboratory test the previous year?
CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, ...
SELECT recorded FROM table_name_63 WHERE time = "2:12" AND song_title = "i want to be free"
What is the date recorded for I Want to Be Free with a length of 2:12?
CREATE TABLE table_name_63 (recorded VARCHAR, time VARCHAR, song_title VARCHAR)
SELECT COUNT(population__2011_) FROM table_189598_7 WHERE change___percentage_ = "4.5"
When 4.5 is the percentage of change how many population counts were made for 2011?
CREATE TABLE table_189598_7 (population__2011_ VARCHAR, change___percentage_ VARCHAR)
SELECT won FROM table_27293285_4 WHERE played = "22" AND lost = "15" AND points_against = "511"
Name the won for played being 22 and points against 511 and lost being 15
CREATE TABLE table_27293285_4 ( won VARCHAR, points_against VARCHAR, played VARCHAR, lost VARCHAR )
SELECT MAX(track) FROM table_name_15 WHERE time = "1:54" AND writer_s_ = "gene autry and oakley haldeman"
What is the highest track with a length of 1:54 written by Gene Autry and Oakley Haldeman?
CREATE TABLE table_name_15 (track INTEGER, time VARCHAR, writer_s_ VARCHAR)
SELECT name FROM table_189598_7 WHERE land_area__km²_ = "14.85"
When 14.85 kilometers squared is the land area what is the name?
CREATE TABLE table_189598_7 (name VARCHAR, land_area__km²_ VARCHAR)
SELECT MAX(number_of_jews__wjc_) FROM table_name_1 WHERE rank___wjc__ = 6 AND rank__arda_ > 8
What was the highest number of WJC Jews that had a WJC rank of 6 and a ARDA rank of more than 8?
CREATE TABLE table_name_1 ( number_of_jews__wjc_ INTEGER, rank___wjc__ VARCHAR, rank__arda_ VARCHAR )
SELECT song_title FROM table_name_53 WHERE track < 8 AND release_date = "3/22/57"
What is the title of the song with a track less than 8 released on 3/22/57?
CREATE TABLE table_name_53 (song_title VARCHAR, track VARCHAR, release_date VARCHAR)
SELECT state_and_district_of_columbia FROM table_18958648_1 WHERE overweight__incl_obese__adults = "60.0%"
What is every state and District of Columbia with 60.0% overweight or obese adults?
CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR)
SELECT source FROM table_name_52 WHERE internet_explorer = "60.2%"
Which source date has an Internet Explorer usage of 60.2%?
CREATE TABLE table_name_52 ( source VARCHAR, internet_explorer VARCHAR )
SELECT song_title FROM table_name_14 WHERE writer_s_ = "kal mann and bernie lowe"
What song title was written by Kal Mann and Bernie Lowe?
CREATE TABLE table_name_14 (song_title VARCHAR, writer_s_ VARCHAR)
SELECT overweight__incl_obese__adults FROM table_18958648_1 WHERE obesity_rank = 21
What are all percentages of overweight or obese adults for obesity rank of 21?
CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obesity_rank VARCHAR)
SELECT "Score" FROM table_37298 WHERE "Record" = '31–28–3'
WHich Score has a Record of 31 28 3?
CREATE TABLE table_37298 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT date FROM table_name_27 WHERE away_team = "north melbourne"
What date did the Away team, North Melbourne, play Geelong?
CREATE TABLE table_name_27 (date VARCHAR, away_team VARCHAR)
SELECT MIN(obesity_rank) FROM table_18958648_1 WHERE state_and_district_of_columbia = "Utah"
What is the least obesity rank for the state of Utah?
CREATE TABLE table_18958648_1 (obesity_rank INTEGER, state_and_district_of_columbia VARCHAR)
SELECT division_record FROM table_name_39 WHERE team = "senators"
What is the Senators' division record?
CREATE TABLE table_name_39 ( division_record VARCHAR, team VARCHAR )
SELECT time_retired FROM table_name_64 WHERE driver = "jacky ickx"
The driver Jacky Ickx had what time/retired?
CREATE TABLE table_name_64 (time_retired VARCHAR, driver VARCHAR)
SELECT COUNT(state_and_district_of_columbia) FROM table_18958648_1 WHERE overweight__incl_obese__adults = "65.4%"
How many states or District of Columbia have 65.4% overweight or obese adults?
CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR)
SELECT DISTINCT "1979-1989\nobverse" FROM table_202_68
what is on the obverse side of each coin ?
CREATE TABLE table_202_68 ( id number, "value" text, "diameter" text, "composition" text, "1979-1989\nobverse" text, "1979-1989\nreverse" text )
SELECT MIN(laps) FROM table_name_58 WHERE driver = "jo siffert"
What is the least number of laps for the driver Jo Siffert?
CREATE TABLE table_name_58 (laps INTEGER, driver VARCHAR)
SELECT overweight__incl_obese__adults FROM table_18958648_1 WHERE obese_children_and_adolescents = "12.4%"
What is every percentage of overweight or obese adults when 12.4% of children and adolescents are obese?
CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obese_children_and_adolescents VARCHAR)
SELECT "UK Base" FROM table_53226 WHERE "Troop carrier Group" = '441st tcg' AND "Serial" = '14'
Which UK base has 441st tcg Troop carrier group and 14 as their seir serial?
CREATE TABLE table_53226 ( "Serial" text, "Airborne Unit" text, "Troop carrier Group" text, "# of C-47s" real, "UK Base" text, "Drop Zone" text, "Drop Zone Time" real )
SELECT MIN(laps) FROM table_name_64 WHERE constructor = "ferrari" AND grid < 4
What is the least number of laps for the constructor Ferrari and where the grid number was less than 4?
CREATE TABLE table_name_64 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Gomorra"
Who directed the film Gomorra?
CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT "Qual" FROM table_67827 WHERE "Year" = '1960'
Name the qual for year of 1960
CREATE TABLE table_67827 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real )
SELECT SUM(grid) FROM table_name_87 WHERE laps < 68 AND time_retired = "injection"
What is the total amount of grid when the laps amount was smaller than 68 and the time/retired was injection?
CREATE TABLE table_name_87 (grid INTEGER, laps VARCHAR, time_retired VARCHAR)
SELECT language_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Everlasting Moments"
What language was spoken in Everlasting Moments?
CREATE TABLE table_18994724_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT Rank, COUNT(*) FROM Faculty GROUP BY Rank
For each faculty rank, show the number of faculty members who have it. Show bar chart.
CREATE TABLE Participates_in ( stuid INTEGER, actid INTEGER ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Activity ( actid INTEGER, acti...
SELECT baby_gender FROM table_name_66 WHERE congresswoman = "jaime herrera beutler"
What is the gender of Congresswoman Jaime Herrera Beutler's baby?
CREATE TABLE table_name_66 (baby_gender VARCHAR, congresswoman VARCHAR)
SELECT original_title FROM table_18994724_1 WHERE submitting_country = "Greece"
What is the original title of the film submitted by Greece?
CREATE TABLE table_18994724_1 (original_title VARCHAR, submitting_country VARCHAR)
SELECT "Name" FROM table_62735 WHERE "2008 club" = 'apure'
Who was the 2008 club Apure?
CREATE TABLE table_62735 ( "Name" text, "Height" text, "Weight" text, "Spike" text, "2008 club" text )
SELECT date_of_delivery FROM table_name_55 WHERE baby_gender = "boy" AND congresswoman = "kirsten gillibrand"
What was the delivery date of Congresswoman Kirsten Gillibrand's baby boy?
CREATE TABLE table_name_55 (date_of_delivery VARCHAR, baby_gender VARCHAR, congresswoman VARCHAR)
SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Nuits d'Arabie"
Who directed the film Nuits d'arabie?
CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT production_code FROM table_29054902_1 WHERE us_viewers__million_ = "3.81"
What is the production code of the episode that was watched by 3.81 million U.S. viewers?
CREATE TABLE table_29054902_1 ( production_code VARCHAR, us_viewers__million_ VARCHAR )
SELECT player FROM table_name_58 WHERE club_province = "bulls" AND date_of_birth__age_ = "6 may 1978"
Which player on the Bulls has a 6 May 1978 birthday?
CREATE TABLE table_name_58 (player VARCHAR, club_province VARCHAR, date_of_birth__age_ VARCHAR)
SELECT population__2006_ FROM table_189893_1 WHERE mother_tongue = "Romanian"
What is every value for population (2006) with a Romanian mother tongue?
CREATE TABLE table_189893_1 (population__2006_ VARCHAR, mother_tongue VARCHAR)
SELECT "Results" FROM table_680 WHERE "Incumbent" = 'Gil Gutknecht'
What was the result when incumbent gil gutknecht ran?
CREATE TABLE table_680 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidatess" text )
SELECT player FROM table_name_61 WHERE caps > 16 AND date_of_birth__age_ = "1 february 1982"
Which player has a 1 February 1982 birthday and more than 16 caps?
CREATE TABLE table_name_61 (player VARCHAR, caps VARCHAR, date_of_birth__age_ VARCHAR)
SELECT MIN(population__2011_) FROM table_189893_1
What is the lowest population(2011)?
CREATE TABLE table_189893_1 (population__2011_ INTEGER)
SELECT "Title" FROM table_50964 WHERE "Frequency" = 'monthly'
What titles come out monthly?
CREATE TABLE table_50964 ( "Title" text, "Parent magazine" text, "Magazine type" text, "Frequency" text, "Magazine run" text )
SELECT tournament FROM table_name_88 WHERE 2011 = "1r"
Which tournament has a 2011 of 1r?
CREATE TABLE table_name_88 (tournament VARCHAR)
SELECT MIN(population__2006_) FROM table_189893_1 WHERE percentage__2011_ = "1.06%"
What is the lowest population(2006) when there is a 1.06% in 2011?
CREATE TABLE table_189893_1 (population__2006_ INTEGER, percentage__2011_ VARCHAR)
SELECT "Entrant" FROM table_71154 WHERE "Year" > '1963' AND "Chassis" = 'eagle mk1'
What ist he entrant later than 1963 with an eagle MK1 chassis?
CREATE TABLE table_71154 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Pts." text )
SELECT 2009 FROM table_name_51 WHERE tournament = "french open"
Which 2009 tournament was french open?
CREATE TABLE table_name_51 (tournament VARCHAR)
SELECT COUNT(population__2011_) FROM table_189893_1 WHERE percentage__2006_ = "1.40%"
How many values for population(2011) correspond to a 1.40% in 2006?
CREATE TABLE table_189893_1 (population__2011_ VARCHAR, percentage__2006_ VARCHAR)
SELECT "Score" FROM table_54258 WHERE "Date" = '27 january 1996'
What was the score of the game on 27 January 1996?
CREATE TABLE table_54258 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT away_team AS score FROM table_name_86 WHERE away_team = "collingwood"
When the away team was collingwood, what was the away team score?
CREATE TABLE table_name_86 (away_team VARCHAR)
SELECT percentage__2006_ FROM table_189893_1 WHERE mother_tongue = "Polish"
What is every value for percentage(2006) with a Polish mother tongue?
CREATE TABLE table_189893_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)
SELECT * FROM table_train_143 WHERE (gender = 'male' AND fridericia_corrected_qt_interval_qtcf > 450) OR (gender = 'female' AND fridericia_corrected_qt_interval_qtcf > 470)
have a fridericia's corrected qt interval ( qtcf ) greater than ( > ) 450 milliseconds ( ms ) for male or 470 ms for female
CREATE TABLE table_train_143 ( "id" int, "gender" string, "systolic_blood_pressure_sbp" int, "agitation" bool, "npi" int, "aggression_domain" bool, "delusions_hallucinations" bool, "pulse_rate" int, "fridericia_corrected_qt_interval_qtcf" int, "diastolic_blood_pressure_dbp" int, ...
SELECT home_team FROM table_name_72 WHERE away_team = "richmond"
Who was Richmond's home team opponent?
CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)
SELECT club FROM table_18967450_2 WHERE goals = 48
Which team/s have 48 goals total?
CREATE TABLE table_18967450_2 (club VARCHAR, goals VARCHAR)
SELECT COUNT(player) FROM table_16494599_2 WHERE school_club_team = "DePaul"
How many players went to depaul?
CREATE TABLE table_16494599_2 ( player VARCHAR, school_club_team VARCHAR )
SELECT venue FROM table_name_83 WHERE away_team = "essendon"
Where did Essendon play as the away team?
CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR)
SELECT player FROM table_18974269_1 WHERE original_season = "RW: Key West" AND eliminated = "Episode 8"
Who was the contestant eliminated on episode 8 of RW: Key West season?
CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR)
SELECT time FROM table_name_9 WHERE opponent = "buffalo bills"
Tell me the time for buffalo bills
CREATE TABLE table_name_9 ( time VARCHAR, opponent VARCHAR )
SELECT first_appearance FROM table_name_21 WHERE character = "aiden burn csi detective"
Where did the character of Aiden Burn csi detective first appear?
CREATE TABLE table_name_21 (first_appearance VARCHAR, character VARCHAR)
SELECT player FROM table_18974269_1 WHERE original_season = "Fresh Meat" AND gender = "Female"
Who was the female contestant on the Original season of Fresh Meat?
CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, gender VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "DOBUTamine"
give me the number of patients whose drug name is dobutamine?
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 prescriptions...
SELECT ipsos_5_25_09 FROM table_name_26 WHERE tns_sofres_5_28_09 = "20%"
Which Ipsos 5/25/09 has a TNS-Sofres 5/28/09 of 20%?
CREATE TABLE table_name_26 (ipsos_5_25_09 VARCHAR, tns_sofres_5_28_09 VARCHAR)
SELECT gender FROM table_18974269_1 WHERE original_season = "RR: South Pacific"
What was the gender of the contestant on RR: South Pacific season?
CREATE TABLE table_18974269_1 (gender VARCHAR, original_season VARCHAR)
SELECT HIRE_DATE, COMMISSION_PCT FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY HIRE_DATE
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, visualize a line chart about the change of commission_pct over hire_date , and sort X-axis from low to high order.
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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decima...
SELECT tns_sofres_5_26_09 FROM table_name_82 WHERE ipsos_5_25_09 = "1%"
Which TNS-Sofres 5/26/09 has an Ipsos 5/25/09 of 1%?
CREATE TABLE table_name_82 (tns_sofres_5_26_09 VARCHAR, ipsos_5_25_09 VARCHAR)
SELECT original_season FROM table_18974269_1 WHERE player = "Evelyn Smith"
What was the season where Evelyn Smith was on?
CREATE TABLE table_18974269_1 (original_season VARCHAR, player VARCHAR)
SELECT DISTINCT flight_id FROM flight WHERE (airline_code = 'DL')
all DL flights to everywhere if you can
CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, time_zone_code varchar, minimum_connect_time int ) CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE time_zone ( time_zone_code t...
SELECT opinionway_5_18_09 FROM table_name_52 WHERE ipsos_5_16_09 = "11%"
Which OpinionWay 5/18/09 has an Ipsos 5/16/09 of 11%?
CREATE TABLE table_name_52 (opinionway_5_18_09 VARCHAR, ipsos_5_16_09 VARCHAR)
SELECT COUNT(original_australian_performer) FROM table_1901751_1 WHERE original_west_end_performer = "Jordan Dunne"
How many original Australian performers are there when the Original West End Performer is Jordan Dunne?
CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)
SELECT name FROM table_name_46 WHERE best = "58.403"
Tell me the name with best of 58.403
CREATE TABLE table_name_46 ( name VARCHAR, best VARCHAR )
SELECT ipsos_5_16_09 FROM table_name_72 WHERE tns_sofres_5_28_09 = "2.5%"
Which Ipsos 5/16/09 has a TNS-Sofres 5/28/09 of 2.5%?
CREATE TABLE table_name_72 (ipsos_5_16_09 VARCHAR, tns_sofres_5_28_09 VARCHAR)
SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Martha"
Who is the Original west end performer for the character Martha?
CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR)
SELECT played FROM table_name_99 WHERE losing_bonus = "2" AND points_for = "706"
Name the played with losing bonus of 2 and points for of 706
CREATE TABLE table_name_99 ( played VARCHAR, losing_bonus VARCHAR, points_for VARCHAR )
SELECT csa_5_20_09 FROM table_name_89 WHERE ifop__la_croix_5_15_09 = "26%"
Which Ipsos 5/16/09 has an Ifop- La Croix 5/15/09 of 26%?
CREATE TABLE table_name_89 (csa_5_20_09 VARCHAR, ifop__la_croix_5_15_09 VARCHAR)
SELECT original_broadway_performer FROM table_1901751_1 WHERE character = "Colin Craven"
Who is the original broadway performer for the character Colin Craven?
CREATE TABLE table_1901751_1 (original_broadway_performer VARCHAR, character VARCHAR)
SELECT "Team 1" FROM table_66944 WHERE "2nd leg" = '1-0'
Which team of the team 1 column, has a 2nd leg of 1-0?
CREATE TABLE table_66944 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text )
SELECT viavoice_5_15_09 FROM table_name_96 WHERE csa_5_14_09 = "5%" AND tns_sofres_5_28_09 = "4.5%"
Which Viavoice 5/15/09 has a CSA 5/14/09 of 5%, and a TNS-Sofres 5/28/09 of 4.5%?
CREATE TABLE table_name_96 (viavoice_5_15_09 VARCHAR, csa_5_14_09 VARCHAR, tns_sofres_5_28_09 VARCHAR)
SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Neville Craven"
Who is the original west end performer for the character Neville Craven?
CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR)
SELECT "Record" FROM table_51374 WHERE "Date" = 'april 1'
What was the record on April 1?
CREATE TABLE table_51374 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT driver FROM table_name_75 WHERE laps = 44
What driver has 44 laps?
CREATE TABLE table_name_75 (driver VARCHAR, laps VARCHAR)
SELECT 2005 AS _world_aids_day_benefit_dream_cast FROM table_1901751_1 WHERE original_australian_performer = "Susan-Ann Walker"
Who is the 2005 World AIDS Day Benefit "Dream" Cast when the Original Australian performer is Susan-Ann Walker?
CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR)
SELECT "Partner" FROM table_6968 WHERE "Date" = '22 april 2002'
Which Partner is on 22 april 2002?
CREATE TABLE table_6968 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT AVG(laps) FROM table_name_87 WHERE grid > 2 AND time_retired = "accident" AND constructor = "ferrari"
What is the average laps for a grid larger than 2, for a ferrari that got in an accident?
CREATE TABLE table_name_87 (laps INTEGER, constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT original_australian_performer FROM table_1901751_1 WHERE original_west_end_performer = "Linzi Hateley"
Who is the Original Australian performer when the Original West End Performer is Linzi Hateley?
CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "0" AND prescriptions.route = "NEB"
how many patients whose days of hospital stay is greater than 0 and drug route is neb?
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 te...
SELECT AVG(goal_difference) FROM table_name_2 WHERE draw = 7 AND played > 18
Name the average goal difference for draw of 7 and played more than 18
CREATE TABLE table_name_2 (goal_difference INTEGER, draw VARCHAR, played VARCHAR)
SELECT MIN(wins) FROM table_19001175_1
Name the minimum wins
CREATE TABLE table_19001175_1 (wins INTEGER)