answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT decision FROM table_27537518_7 WHERE score = "1-7"
Who got the decision in the game, when the final score was 1-7?
CREATE TABLE table_27537518_7 (decision VARCHAR, score VARCHAR)
SELECT "Special edition" FROM table_73749 WHERE "English version" = 'Nick Stewart'
what is the special edition where the english version is nick stewart?
CREATE TABLE table_73749 ( "Character" text, "English version" text, "Laserdisc edition" text, "Buena Vista edition" text, "Special edition" text )
SELECT COUNT(attendance) FROM table_name_67 WHERE away_team = "middlesbrough"
How many people attended the Away team of middlesbrough?
CREATE TABLE table_name_67 (attendance VARCHAR, away_team VARCHAR)
SELECT date FROM table_27537518_7 WHERE first_star = "M. Grabovski"
What date was M. Grabovski the first start of the game?
CREATE TABLE table_27537518_7 (date VARCHAR, first_star VARCHAR)
SELECT "name" FROM table_204_160 ORDER BY "time" DESC LIMIT 1
who had the slowest time in the race ?
CREATE TABLE table_204_160 ( id number, "rank" number, "name" text, "nationality" text, "time" text, "notes" text )
SELECT score FROM table_name_98 WHERE away_team = "middlesbrough"
Which Score has an Away team of middlesbrough?
CREATE TABLE table_name_98 (score VARCHAR, away_team VARCHAR)
SELECT record FROM table_27537518_9 WHERE opponent = "Carolina Hurricanes"
What was the record for the game where the opponent was the Carolina Hurricanes?
CREATE TABLE table_27537518_9 (record VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_48 WHERE date = "september 11"
Name the score for september 11
CREATE TABLE table_name_48 ( score VARCHAR, date VARCHAR )
SELECT years_as_tallest FROM table_name_81 WHERE street_address = "01.0 10 light street"
WHAT IS THE YEARS AS TALLEST WITH 01.0 10 light street?
CREATE TABLE table_name_81 (years_as_tallest VARCHAR, street_address VARCHAR)
SELECT date FROM table_27537518_9 WHERE record = "27-28-11"
On which date was the record of 27-28-11 set?
CREATE TABLE table_27537518_9 (date VARCHAR, record VARCHAR)
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 = "Chloride"
how many divorcee patients had a lab test for chloride?
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, ...
SELECT SUM(floors) FROM table_name_57 WHERE street_address = "01.0 10 light street"
WHAT IS THE FLOOR NUMBERS WITH 01.0 10 light street?
CREATE TABLE table_name_57 (floors INTEGER, street_address VARCHAR)
SELECT decision FROM table_27537518_9 WHERE record = "29-28-12"
Who made the decision on the game where the record was 29-28-12?
CREATE TABLE table_27537518_9 (decision VARCHAR, record VARCHAR)
SELECT COUNT("Bronze") FROM table_45938 WHERE "Silver" > '0' AND "Gold" > '3' AND "Rank" = '1'
What is the total number of Bronze, when Silver is greater than 0, when Gold is greater than 3, and when Rank is 1?
CREATE TABLE table_45938 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT years_as_tallest FROM table_name_10 WHERE floors < 24 AND street_address = "05.0 210 north charles street"
WHAT IS THE YEAR'S TALLEST VALUE WITH FLOORS LESS THAN 24, AND 05.0 210 north charles street?
CREATE TABLE table_name_10 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR)
SELECT decision FROM table_27537518_9 WHERE record = "27-28-11"
Who made the decision on the game where the record was 27-28-11?
CREATE TABLE table_27537518_9 (decision VARCHAR, record VARCHAR)
SELECT "High rebounds" FROM table_50276 WHERE "High points" = 'chris bosh (34)'
Which High rebounds have High points of chris bosh (34)?
CREATE TABLE table_50276 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT name FROM table_name_63 WHERE street_address = "01.0 10 light street"
WHAT IS THE NAME WITH 01.0 10 light street?
CREATE TABLE table_name_63 (name VARCHAR, street_address VARCHAR)
SELECT score FROM table_27539272_4 WHERE game = 5
Name the score for game 5
CREATE TABLE table_27539272_4 (score VARCHAR, game VARCHAR)
SELECT year, COUNT(*) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' GROUP BY T1.year ORDER BY year DESC
What is the number of wins the team Boston Red Stockings got in the postseasons each year in history Show the tendency, I want to list X in desc order.
CREATE TABLE manager_award_vote ( award_id TEXT, year INTEGER, league_id TEXT, player_id TEXT, points_won INTEGER, points_max INTEGER, votes_first INTEGER ) CREATE TABLE player_award_vote ( award_id TEXT, year INTEGER, league_id TEXT, player_id TEXT, points_won NUMERIC, ...
SELECT name FROM table_name_20 WHERE height = "m (ft 1in)"
What is the Name of the Player with a Height of m (ft 1in)?
CREATE TABLE table_name_20 (name VARCHAR, height VARCHAR)
SELECT MAX(points) FROM table_27539272_4 WHERE record = "1-3-1"
Name the most points for 1-3-1 record
CREATE TABLE table_27539272_4 (points INTEGER, record VARCHAR)
SELECT "NGC number" FROM table_55302 WHERE "Right ascension ( J2000 )" = '08h11m13.6s'
I want the NGC number for right ascension of 08h11m13.6s
CREATE TABLE table_55302 ( "NGC number" real, "Object type" text, "Constellation" text, "Right ascension ( J2000 )" text, "Declination ( J2000 )" text, "Apparent magnitude" real )
SELECT weight FROM table_name_43 WHERE name = "tatyana gubina"
What is Tatyana Gubina's Weight?
CREATE TABLE table_name_43 (weight VARCHAR, name VARCHAR)
SELECT record FROM table_27539272_4 WHERE location_attendance = "Prudential Center - 12,880"
Name the record for prudential center - 12,880
CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.long_title = "Other drugs and medicinal substances causing adverse effects in therapeutic use"
provide the number of patients whose admission type is emergency and diagnoses long title is other drugs and medicinal substances causing adverse effects in therapeutic use?
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, ...
SELECT pos FROM table_name_86 WHERE name = "alyona klimenko"
What is Alyona Klimenko's Pos.?
CREATE TABLE table_name_86 (pos VARCHAR, name VARCHAR)
SELECT COUNT(record) FROM table_27539272_4 WHERE location_attendance = "HP Pavilion - 17,562"
Name the number of record for hp pavilion - 17,562
CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR)
SELECT "Examples" FROM table_1763 WHERE "Australian" = 'et'
which examples are pronounced et in australian
CREATE TABLE table_1763 ( "Ending" text, "American" text, "British" text, "Australian" text, "Examples" text )
SELECT third_place FROM table_name_23 WHERE total > 2 AND rank < 2
How many third places has a total greater than 2 and a rank less than 2?
CREATE TABLE table_name_23 (third_place VARCHAR, total VARCHAR, rank VARCHAR)
SELECT COUNT(october) FROM table_27537870_3 WHERE score = "6-1"
On how many days in October was the score 6-1?
CREATE TABLE table_27537870_3 (october VARCHAR, score VARCHAR)
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-37411') AND patient.unitdischargetime IS NULL) ...
when did patient 012-37411 last have a sao2 measured on the current icu visit?
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 ) CREATE TABLE vitalperiodic ( ...
SELECT r_bacon FROM table_name_98 WHERE county = "passaic"
What is the number for R Bacon in Passaic County?
CREATE TABLE table_name_98 (r_bacon VARCHAR, county VARCHAR)
SELECT location_attendance FROM table_27537870_3 WHERE record = "3-5-1"
What is the location and what was the attendance on those days when the score was 3-5-1?
CREATE TABLE table_27537870_3 (location_attendance VARCHAR, record VARCHAR)
SELECT ROW_NUMBER() OVER (ORDER BY b.Date DESC), b.UserId AS "user_link", b.Date AS got_gold_python, u.Reputation AS rep FROM Users AS u, Badges AS b WHERE b.Name = 'python' AND b.Class = 1 AND u.Id = b.UserId GROUP BY b.Date, b.UserId, u.Reputation
Python gold badgers ordered by date.
CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, Ta...
SELECT d_shulman FROM table_name_9 WHERE c_abate = "728 (43%)"
What is the number for D. Shulman if C. Abate has 728 (43%)
CREATE TABLE table_name_9 (d_shulman VARCHAR, c_abate VARCHAR)
SELECT COUNT(location_attendance) FROM table_27537870_3 WHERE record = "2-5-1"
How many times was the sabres record 2-5-1?
CREATE TABLE table_27537870_3 (location_attendance VARCHAR, record VARCHAR)
SELECT "Date" FROM table_51888 WHERE "Away team score" = '16.13 (109)'
Which Date has an Away team score of 16.13 (109)?
CREATE TABLE table_51888 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT county FROM table_name_4 WHERE c_abate = "728 (43%)"
Which county has 728 (43%) listed under C. Abate?
CREATE TABLE table_name_4 (county VARCHAR, c_abate VARCHAR)
SELECT location_attendance FROM table_27539272_7 WHERE game = 41
What was the location and attendance for game 41?
CREATE TABLE table_27539272_7 (location_attendance VARCHAR, game VARCHAR)
SELECT game FROM table_name_1 WHERE date = "may 29"
What game was played on May 29?
CREATE TABLE table_name_1 ( game VARCHAR, date VARCHAR )
SELECT d_shulman FROM table_name_12 WHERE county = "warren"
What are the numbers for D. Shulman in Warren County?
CREATE TABLE table_name_12 (d_shulman VARCHAR, county VARCHAR)
SELECT MAX(january) FROM table_27539272_7 WHERE record = "10-29-2"
On what day of January was the record 10-29-2?
CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR)
SELECT category FROM table_name_33 WHERE year > 2004
What category has a year after 2004?
CREATE TABLE table_name_33 ( category VARCHAR, year INTEGER )
SELECT county FROM table_name_51 WHERE precincts = "90/90"
Which County has Precincts of 90/90?
CREATE TABLE table_name_51 (county VARCHAR, precincts VARCHAR)
SELECT MAX(points) FROM table_27539272_7 WHERE score = "1-2"
What are the most points scored in a game where the score was 1-2?
CREATE TABLE table_27539272_7 (points INTEGER, score VARCHAR)
SELECT tournament FROM table_name_43 WHERE score = "3–6 6–4 4–6"
Which Tournament has a Score of 3 6 6 4 4 6?
CREATE TABLE table_name_43 ( tournament VARCHAR, score VARCHAR )
SELECT county FROM table_name_92 WHERE r_bacon = "438 (4%)"
Which county has 438 (4%) listed under R. Bacon?
CREATE TABLE table_name_92 (county VARCHAR, r_bacon VARCHAR)
SELECT MAX(january) FROM table_27539272_7 WHERE record = "15-29-3"
On what day in January was the record 15-29-3?
CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR)
SELECT "Callsign" FROM table_26387 WHERE "Power kW" = '25kW'
What is the callsign when power kw is 25kw?
CREATE TABLE table_26387 ( "Branding" text, "Callsign" text, "Frequency" text, "Power kW" text, "Coverage" text )
SELECT format FROM table_name_57 WHERE album = "pacific ocean blue" AND year = 1991
What is the format of the album Pacific Ocean Blue in 1991?
CREATE TABLE table_name_57 (format VARCHAR, album VARCHAR, year VARCHAR)
SELECT opponent FROM table_27539535_5 WHERE record = "5-18-5"
Against what team did the Islanders have a 5-18-5 record?
CREATE TABLE table_27539535_5 (opponent VARCHAR, record VARCHAR)
SELECT MIN(founded) FROM table_2439728_1 WHERE school = "Lawrence Academy at Groton"
when was lawrence academy at groton established?
CREATE TABLE table_2439728_1 ( founded INTEGER, school VARCHAR )
SELECT artist FROM table_name_38 WHERE catalog__number = "zk 34354"
Who is the artist with catalog number ZK 34354?
CREATE TABLE table_name_38 (artist VARCHAR, catalog__number VARCHAR)
SELECT opponent FROM table_27539535_5 WHERE score = "5-4"
Against what opponent did the game end 5-4?
CREATE TABLE table_27539535_5 (opponent VARCHAR, score VARCHAR)
SELECT winner FROM table_name_33 WHERE circuit = "june 8"
What is Winner, when Circuit is June 8?
CREATE TABLE table_name_33 ( winner VARCHAR, circuit VARCHAR )
SELECT height FROM table_name_19 WHERE name = "james stanton"
How tall is player James Stanton?
CREATE TABLE table_name_19 (height VARCHAR, name VARCHAR)
SELECT COUNT(december) FROM table_27539535_5 WHERE record = "9-19-6"
How many games were played against a team with a 9-19-6 record against the Islanders?
CREATE TABLE table_27539535_5 (december VARCHAR, record VARCHAR)
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 11 AND program_course.category LIKE 'ULCS'
Which of the upper-level classes being offered are 11 credits ?
CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, pr...
SELECT name FROM table_name_58 WHERE club = "sydney university lions"
Which player is on the roster for the Sydney University Lions?
CREATE TABLE table_name_58 (name VARCHAR, club VARCHAR)
SELECT COUNT(opponent) FROM table_27539808_3 WHERE october = 9
How many games did they play on october 9?
CREATE TABLE table_27539808_3 (opponent VARCHAR, october VARCHAR)
SELECT "Opponent" FROM table_45699 WHERE "Surface" = 'clay' AND "Date" = 'november 22, 2009'
Who is the opponent on November 22, 2009, clay surface?
CREATE TABLE table_45699 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT height FROM table_name_63 WHERE name = "james stanton"
What is the height of player James Stanton?
CREATE TABLE table_name_63 (height VARCHAR, name VARCHAR)
SELECT MIN(points) FROM table_27539808_5 WHERE game = 32
What is the lowest number of points for game 32?
CREATE TABLE table_27539808_5 (points INTEGER, game VARCHAR)
SELECT "Seats" FROM table_67723 WHERE "Year" > '1993' AND "% votes" = '38.72'
After 1993, what is the Seats with a % votes of 38.72?
CREATE TABLE table_67723 ( "Year" real, "Designation" text, "% votes" real, "Seats" text, "% seats" real )
SELECT MAX(draft) FROM table_name_89 WHERE round > 2 AND nationality = "united states" AND pick < 113
What is the highest draft after round 2, is from the United States and has picked less than 113?
CREATE TABLE table_name_89 (draft INTEGER, pick VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT location_attendance FROM table_27539808_5 WHERE december = 1
What is the location and attendance total from the game on December 1?
CREATE TABLE table_27539808_5 (location_attendance VARCHAR, december VARCHAR)
SELECT MAX(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.insurance = "Private"
calculate the maximum age of patients who are female and have private insurance.
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 ) C...
SELECT AVG(draft) FROM table_name_45 WHERE pick > 42 AND player = "grant eakin" AND round > 8
What is the average draft with a pick larger than 42, and player Grant Eakin after round 8?
CREATE TABLE table_name_45 (draft INTEGER, round VARCHAR, pick VARCHAR, player VARCHAR)
SELECT directed_by FROM table_27547668_3 WHERE viewers = 899000
Who directed the episode with 899000 viewers?
CREATE TABLE table_27547668_3 (directed_by VARCHAR, viewers VARCHAR)
SELECT highest FROM table_237757_10 WHERE average = 10295
What was the entry for highest when average is 10295?
CREATE TABLE table_237757_10 ( highest VARCHAR, average VARCHAR )
SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification"
What venue was the 2000 AFC Asian Cup qualification held at?
CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR)
SELECT MIN(_number) FROM table_27547668_3
What is the smallest numbered episode in the series listed?
CREATE TABLE table_27547668_3 (_number INTEGER)
SELECT MAX("Round1") FROM table_3137 WHERE "Total points" = '132'
How many points did the team who had 132 total points have in round 1?
CREATE TABLE table_3137 ( "Rank" real, "Team" text, "Round1" real, "Round2" real, "Round3" real, "Round4" real, "Total points" real )
SELECT MIN(goals) FROM table_name_40 WHERE matches < 29
What were the lowest goals when the matches were smaller than 29?
CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER)
SELECT viewers FROM table_27547668_3 WHERE _number = 13
How many people watched episode number 13?
CREATE TABLE table_27547668_3 (viewers VARCHAR, _number VARCHAR)
SELECT "Category" FROM table_24571 WHERE "Train No." = '16609/16610'
What is the category for trains numbered 16609/16610?
CREATE TABLE table_24571 ( "Train No." text, "Train Name" text, "Destination" text, "Category" text, "Frequency" text )
SELECT MIN(matches) FROM table_name_42 WHERE goals > 36
What is the lowest match for goals larger than 36?
CREATE TABLE table_name_42 (matches INTEGER, goals INTEGER)
SELECT no FROM table_27547668_3 WHERE written_by = "Greg Nelson" AND directed_by = "Keith Samples"
What episode number in the season was written by Greg nelson and directed by Keith samples?
CREATE TABLE table_27547668_3 (no VARCHAR, written_by VARCHAR, directed_by VARCHAR)
SELECT "Finish" FROM table_28176 WHERE "Vote" = '4-4'
Name the finish for 4-4
CREATE TABLE table_28176 ( "Episode" real, "Reward" text, "Leader Battle" text, "Immunity" text, "Individual Immunity" text, "Eliminated" text, "Vote" text, "Finish" text )
SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013"
For the 2013 completion schedule, what is the total S.no.?
CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR)
SELECT title FROM table_27547668_2 WHERE prod_code = 102
What is the title of the episode with production code 102?
CREATE TABLE table_27547668_2 (title VARCHAR, prod_code VARCHAR)
SELECT builder FROM table_name_84 WHERE completed < 1890 AND launched = "9 june 1888"
Which builder completed before 1890 and launched on 9 june 1888?
CREATE TABLE table_name_84 ( builder VARCHAR, completed VARCHAR, launched VARCHAR )
SELECT completion_schedule FROM table_name_96 WHERE state = "himachal pradesh" AND total_capacity__mw_ = 800
What is the completion schedule for himachal pradesh state with a total capacity (MW) of 800?
CREATE TABLE table_name_96 (completion_schedule VARCHAR, state VARCHAR, total_capacity__mw_ VARCHAR)
SELECT original_airdate FROM table_27547668_2 WHERE _number = 6
What is the original air date of # 6?
CREATE TABLE table_27547668_2 (original_airdate VARCHAR, _number VARCHAR)
SELECT notes FROM table_name_41 WHERE competition = "all-africa games" AND year < 2007
What were the notes of the All-Africa Games before 2007?
CREATE TABLE table_name_41 ( notes VARCHAR, competition VARCHAR, year VARCHAR )
SELECT MIN(sno) FROM table_name_9 WHERE state = "jammu & kashmir" AND completion_schedule = "2016"
When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.?
CREATE TABLE table_name_9 (sno INTEGER, state VARCHAR, completion_schedule VARCHAR)
SELECT original_airdate FROM table_27547668_2 WHERE viewers = 908000
What is the original air date of the episode with 908000 viewers?
CREATE TABLE table_27547668_2 (original_airdate VARCHAR, viewers VARCHAR)
SELECT T2.Name, T1.Location FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID = T2.Railway_ID
Show the names of trains and locations of railways they are in.
CREATE TABLE train ( Name VARCHAR, Railway_ID VARCHAR ) CREATE TABLE railway ( Location VARCHAR, Railway_ID VARCHAR )
SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "1r" AND tournament = "shanghai masters"
What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?
CREATE TABLE table_name_32 (tournament VARCHAR)
SELECT COUNT(season) AS premiere FROM table_27553627_2 WHERE viewers__in_millions_ = "15.27"
How many season premieres had 15.27 million viewers?
CREATE TABLE table_27553627_2 (season VARCHAR, viewers__in_millions_ VARCHAR)
SELECT method FROM table_name_83 WHERE opponent = "dale hartt"
What was the method of resolution for the fight against dale hartt?
CREATE TABLE table_name_83 ( method VARCHAR, opponent VARCHAR )
SELECT 2011 FROM table_name_34 WHERE 2008 = "a" AND 2012 = "a" AND 2009 = "a" AND tournament = "paris masters"
What is the 2011 value of the paris masters, which had A in 2008, A in 2012, A in 2009?
CREATE TABLE table_name_34 (tournament VARCHAR)
SELECT season AS finale FROM table_27553627_2 WHERE rank = "20th"
When was the season finale that ranked 20th?
CREATE TABLE table_27553627_2 (season VARCHAR, rank VARCHAR)
SELECT DISTINCT airport_service.miles_distant FROM airport_service, city WHERE city.city_code = airport_service.city_code AND city.city_name = 'SAN FRANCISCO'
how far is the airport from SAN FRANCISCO
CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE flight_fare ( flight_id in...
SELECT 2012 FROM table_name_45 WHERE tournament = "hamburg masters"
What is the 2012 of the hamburg masters?
CREATE TABLE table_name_45 (tournament VARCHAR)
SELECT tv_season FROM table_27553627_2 WHERE viewers__in_millions_ = "14.54"
What tv season year had 14.54 million viewers?
CREATE TABLE table_27553627_2 (tv_season VARCHAR, viewers__in_millions_ VARCHAR)
SELECT MIN(clubs) FROM table_name_88 WHERE place > 5 AND all_around > 9.7
What are the lowest clubs that have a place greater than 5, with an all around greater than 9.7?
CREATE TABLE table_name_88 ( clubs INTEGER, place VARCHAR, all_around VARCHAR )
SELECT 2008 FROM table_name_30 WHERE tournament = "hamburg masters"
What is the 2008 value of the hamburg masters?
CREATE TABLE table_name_30 (tournament VARCHAR)
SELECT MAX(episodes) FROM table_27553627_2 WHERE viewers__in_millions_ = "14.41"
What episode number had 14.41 million viewers?
CREATE TABLE table_27553627_2 (episodes INTEGER, viewers__in_millions_ VARCHAR)