answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT u15_3rd_quad FROM table_name_89 WHERE u15_2nd_quad = "acgs"
What U15 3rd Quad has a U15 2nd Quad of ACGS?
CREATE TABLE table_name_89 (u15_3rd_quad VARCHAR, u15_2nd_quad VARCHAR)
SELECT MIN(attendance) FROM table_16028499_2 WHERE opponent = "New Orleans Saints"
What was the minimum attendance against the New Orleans Saints?
CREATE TABLE table_16028499_2 (attendance INTEGER, opponent VARCHAR)
SELECT SUM("Round") FROM table_47916 WHERE "College/Junior/Club Team" = 'brandon wheat kings ( whl )' AND "Player" = 'mike perovich (d)' AND "Pick" < '23'
What is Sum of Round, when College/Junior/Club Team is Brandon Wheat Kings ( WHL ), when Player is Mike Perovich (D), and when Pick is less than 23?
CREATE TABLE table_47916 ( "Round" real, "Pick" real, "Player" text, "Nationality" text, "College/Junior/Club Team" text )
SELECT u15_4th_quad FROM table_name_68 WHERE u15_3rd_quad = "bbc" AND u15_6th_quad = "gt"
Which U15 4th Quad had a U15 3rd Quad of BBC and U15 6th Quad of GT?
CREATE TABLE table_name_68 (u15_4th_quad VARCHAR, u15_3rd_quad VARCHAR, u15_6th_quad VARCHAR)
SELECT result FROM table_16028499_2 WHERE week = 2
What was the result of week 2?
CREATE TABLE table_16028499_2 (result VARCHAR, week VARCHAR)
SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 19175)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit wt'...
what was patient 19175's weight the last time during the previous month?
CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name te...
SELECT u15_1st_quad FROM table_name_37 WHERE open_3rd_viii = "bbc" AND u16_3rd_viii = "bbc"
Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC?
CREATE TABLE table_name_37 (u15_1st_quad VARCHAR, open_3rd_viii VARCHAR, u16_3rd_viii VARCHAR)
SELECT date FROM table_16028499_2 WHERE opponent = "New York Jets"
What date did the team play the New York Jets?
CREATE TABLE table_16028499_2 (date VARCHAR, opponent VARCHAR)
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and code , and group by attribute founder, order X-axis from low to high order.
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 nationality FROM table_name_92 WHERE result = "4.50"
What was the nationality of the athlete with a final result of 4.50?
CREATE TABLE table_name_92 (nationality VARCHAR, result VARCHAR)
SELECT MIN(attendance) FROM table_16025095_1 WHERE date = "January 24, 1987"
What was the minimum crowd on January 24, 1987?
CREATE TABLE table_16025095_1 (attendance INTEGER, date VARCHAR)
SELECT tournament FROM table_name_99 WHERE surface = "carpet"
What tournament is played on a carpet surface?
CREATE TABLE table_name_99 ( tournament VARCHAR, surface VARCHAR )
SELECT athlete FROM table_name_48 WHERE result = "4.30"
What was the athlete with a final result of 4.30?
CREATE TABLE table_name_48 (athlete VARCHAR, result VARCHAR)
SELECT viewers__in_millions_ FROM table_1601935_1 WHERE run_time = "18:00"
How many millions of viewers were there for the episode with a run time of 18:00?
CREATE TABLE table_1601935_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
SELECT COUNT(player) FROM table_25518547_2 WHERE affiliation = "University of Maryland"
How many players have an affiliation with University of Maryland?
CREATE TABLE table_25518547_2 ( player VARCHAR, affiliation VARCHAR )
SELECT country FROM table_name_68 WHERE highest_mountain = "rettlkirchspitze"
Which country has the Highest mountain of rettlkirchspitze?
CREATE TABLE table_name_68 (country VARCHAR, highest_mountain VARCHAR)
SELECT archive FROM table_1601935_1 WHERE viewers__in_millions_ = "6.6"
What was the archive for episode with 6.6 million viewers?
CREATE TABLE table_1601935_1 (archive VARCHAR, viewers__in_millions_ VARCHAR)
SELECT episode__number FROM table_name_95 WHERE original_airdate = "january 21, 2001"
What is the episode # of the episode that originally aired on January 21, 2001?
CREATE TABLE table_name_95 ( episode__number VARCHAR, original_airdate VARCHAR )
SELECT AVG(height__m_) FROM table_name_54 WHERE highest_mountain = "hochgall"
What is the average height with the Highest mountain of hochgall?
CREATE TABLE table_name_54 (height__m_ INTEGER, highest_mountain VARCHAR)
SELECT MIN(game) FROM table_16028459_2 WHERE bills_first_downs = 21
When is the latest game the bills had 21 first downs
CREATE TABLE table_16028459_2 (game INTEGER, bills_first_downs VARCHAR)
SELECT AVG("Total") FROM table_41096 WHERE "Ship" = 'lützow' AND "13.5-inch/1400lb" < '0'
What is the average Total when the ship was l tzow, with a 13.5-inch/1400lb smaller than 0?
CREATE TABLE table_41096 ( "Ship" text, "13.5-inch/1400lb" real, "13.5-inch/1250lb" real, "12-inch" real, "Total" real )
SELECT us_country FROM table_name_30 WHERE album = "singles only" AND year = 1967
What US Country released an album of singles only in 1967?
CREATE TABLE table_name_30 (us_country VARCHAR, album VARCHAR, year VARCHAR)
SELECT MIN(bills_first_downs) FROM table_16028459_2 WHERE opponents = 6
How many first downs did the bills have when their opponent had 6
CREATE TABLE table_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR)
SELECT "1994" FROM table_47039 WHERE "1998" = '2r'
What is the 1994 finish in the event that had a 1998 finish of 2R?
CREATE TABLE table_47039 ( "Tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "Career SR" text, "Career Win-Loss" text )
SELECT us AS AC FROM table_name_13 WHERE album = "the best" AND year = 1965
What was the best album in 1965?
CREATE TABLE table_name_13 (us VARCHAR, album VARCHAR, year VARCHAR)
SELECT bills_points FROM table_16028459_2 WHERE opponents = 14
How many points did the bills score when their opponent had 14
CREATE TABLE table_16028459_2 (bills_points VARCHAR, opponents VARCHAR)
SELECT type FROM table_261946_3 WHERE location__all_in_ohio_ = "Kent"
What is the type of institution in Kent State University?
CREATE TABLE table_261946_3 ( type VARCHAR, location__all_in_ohio_ VARCHAR )
SELECT result FROM table_name_98 WHERE method = "tko (low kicks)"
What is the result of the fight that had a tko (low kicks)?
CREATE TABLE table_name_98 (result VARCHAR, method VARCHAR)
SELECT MIN(opponents) FROM table_16028459_2 WHERE opponent = "Baltimore Colts"
What is the minimum number of points given up to the Baltimore Colts
CREATE TABLE table_16028459_2 (opponents INTEGER, opponent VARCHAR)
SELECT type FROM table_1969577_3 WHERE nickname = "Chargers"
What's the type of the school whose students are nicknamed Chargers?
CREATE TABLE table_1969577_3 ( type VARCHAR, nickname VARCHAR )
SELECT event FROM table_name_74 WHERE round < 3 AND method = "no contest (punch after knockdown)"
What event went under 3 rounds and was no contest (punch after knockdown)?
CREATE TABLE table_name_74 (event VARCHAR, round VARCHAR, method VARCHAR)
SELECT runner_s__up FROM table_1602858_1 WHERE tournament = "Memorial tournament"
Who was the runner-up in the Memorial Tournament?
CREATE TABLE table_1602858_1 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT rank FROM table_name_2 WHERE player = "charles eady" AND bowling = "12/63"
What is rank of player Charles Eady and a Bowling of 12/63?
CREATE TABLE table_name_2 ( rank VARCHAR, player VARCHAR, bowling VARCHAR )
SELECT event FROM table_name_66 WHERE round < 2 AND location = "hong kong"
What event was in hong kong and went less than 2 rounds?
CREATE TABLE table_name_66 (event VARCHAR, round VARCHAR, location VARCHAR)
SELECT winning_score FROM table_1602858_1 WHERE runner_s__up = "Rory Sabbatini"
What was the winning score for the tournament with runner-up Rory Sabbatini?
CREATE TABLE table_1602858_1 (winning_score VARCHAR, runner_s__up VARCHAR)
SELECT "Club" FROM table_12151 WHERE "Losses" < '10' AND "Goals for" < '55' AND "Wins" = '13'
What club has less than 10 losses, less than 55 goals, and 13 wins?
CREATE TABLE table_12151 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT round FROM table_name_2 WHERE opponent = "carter williams"
How many rounds was the fight against carter williams?
CREATE TABLE table_name_2 (round VARCHAR, opponent VARCHAR)
SELECT margin_of_victory FROM table_1602858_1 WHERE winning_score = 63 - 68 - 68 - 68 = 267
What was the margin of victory with the winning score "63-68-68-68=267"?
CREATE TABLE table_1602858_1 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'prescriptions' AND cost.event_id IN (SELECT prescriptions.row_id FROM prescriptions WHERE prescriptions.drug = 'atazanavir')
how much does a drug called atazanavir cost.
CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime ti...
SELECT engine FROM table_name_58 WHERE rounds = "7-13"
In rounds 7-13 what engine was featured?
CREATE TABLE table_name_58 (engine VARCHAR, rounds VARCHAR)
SELECT MIN(position) FROM table_16034882_5
Name the least position
CREATE TABLE table_16034882_5 (position INTEGER)
SELECT years_for_rockets FROM table_11734041_20 WHERE position = "Guard / Forward"
what's the years for rockets where position is guard / forward
CREATE TABLE table_11734041_20 ( years_for_rockets VARCHAR, position VARCHAR )
SELECT away_team AS score FROM table_name_94 WHERE home_team = "richmond"
What score was conceded by Richmond?
CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR)
SELECT MAX(goals_scored) FROM table_16034882_5 WHERE position = 4
Name the most goals scored for position 4
CREATE TABLE table_16034882_5 (goals_scored INTEGER, position VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Medicaid" AND procedures.long_title = "Hemodialysis"
how many patients whose insurance is medicaid and procedure long title is hemodialysis?
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 ) C...
SELECT COUNT(goals) FROM table_name_63 WHERE date = "1950-05-30"
What is the number of Goals on 1950-05-30?
CREATE TABLE table_name_63 (goals VARCHAR, date VARCHAR)
SELECT bowl_game FROM table_16046689_29 WHERE city = "Tempe, Arizona"
What is the name of the bowl game that was played in Tempe, Arizona?
CREATE TABLE table_16046689_29 (bowl_game VARCHAR, city VARCHAR)
SELECT "Date" FROM table_29060 WHERE "Broadcast" = 'FSN'
Name the date for broadcast fsn
CREATE TABLE table_29060 ( "Date" text, "Time" text, "Visiting team" text, "Home team" text, "Site" text, "Broadcast" text, "Result" text, "Attendance" real )
SELECT MIN(goals) FROM table_name_75 WHERE venue = "tehran, iran" AND date = "1948-10-28"
In 1948-10-28, what were the lowest Goals in Tehran, Iran?
CREATE TABLE table_name_75 (goals INTEGER, venue VARCHAR, date VARCHAR)
SELECT city FROM table_16046689_29 WHERE stadium = "Citrus Bowl" AND television = "ABC"
What city in the Citrus Bowl aired on ABC?
CREATE TABLE table_16046689_29 (city VARCHAR, stadium VARCHAR, television VARCHAR)
SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-86136')) AND intakeoutput.cellpath LIKE '%output%...
when was the first time that patient 004-86136 got a urine output today?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CRE...
SELECT venue FROM table_name_16 WHERE result = "1-3"
In what Venue was the Result 1-3?
CREATE TABLE table_name_16 (venue VARCHAR, result VARCHAR)
SELECT conference_matchups FROM table_16046689_29 WHERE date = "January 1, 2009" AND bowl_game = "Capital One"
What teams played in the Capital One bowl game on January 1, 2009?
CREATE TABLE table_16046689_29 (conference_matchups VARCHAR, date VARCHAR, bowl_game VARCHAR)
SELECT MAX(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-42654')) AND lab.labname = '-eos' AND STRFTIME('%y-%m', lab.labresulttime) <= ...
what was the maximum value of patient 028-42654's -eos until 12/2102?
CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREAT...
SELECT venue FROM table_name_26 WHERE competition = "international match" AND date = "1948-10-28"
In 1948-10-28, in what Venue was the Competition of International Match held?
CREATE TABLE table_name_26 (venue VARCHAR, competition VARCHAR, date VARCHAR)
SELECT stadium FROM table_16046689_29 WHERE payout___us$__ = "$3 Million"
Which stadium has a payout of $3 million?
CREATE TABLE table_16046689_29 (stadium VARCHAR, payout___us$__ VARCHAR)
SELECT gname FROM video_games WHERE gtype = "Collectible card game"
Show all video games with type Collectible card game.
CREATE TABLE video_games ( gameid number, gname text, gtype text ) CREATE TABLE sportsinfo ( stuid number, sportname text, hoursperweek number, gamesplayed number, onscholarship text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text...
SELECT chassis FROM table_name_42 WHERE engine = "zakspeed 1500/4 1.5 l4 t"
What was the Zakspeed 1500/4 1.5 l4 t chassis?
CREATE TABLE table_name_42 (chassis VARCHAR, engine VARCHAR)
SELECT MAX(number_of_people) FROM table_16048129_5 WHERE average_family_size = "2.8"
What is the largest population in regions where the average family size is 2.8 people?
CREATE TABLE table_16048129_5 (number_of_people INTEGER, average_family_size VARCHAR)
SELECT "Actor" FROM table_9791 WHERE "Role" = 'kate manfredi'
What is Actor, when Role is 'Kate Manfredi'?
CREATE TABLE table_9791 ( "Actor" text, "Role" text, "Status" text, "Number Of Episodes" text, "Notes" text )
SELECT engine FROM table_name_22 WHERE driver = "michele alboreto"
What was the Michele Alboreto's engine?
CREATE TABLE table_name_22 (engine VARCHAR, driver VARCHAR)
SELECT COUNT(_percentage_of_total_deportees) FROM table_16048129_5 WHERE average_family_size = "2.8"
What is the total number of regions where the average family size is 2.8?
CREATE TABLE table_16048129_5 (_percentage_of_total_deportees VARCHAR, average_family_size VARCHAR)
SELECT DISTINCT instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 489 AND NOT instructor.name LIKE '%Joshua Gottlieb%' AND offering_instructor.instructor_id = instructor.instructor_id AND of...
Anyone teach 489 other than Prof. Joshua Gottlieb ?
CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, sc...
SELECT AVG(rank) FROM table_name_26 WHERE candidate_name = "antun salman"
What is the average rank for antun salman?
CREATE TABLE table_name_26 (rank INTEGER, candidate_name VARCHAR)
SELECT region_of_ussr FROM table_16048129_5 WHERE _percentage_of_total_deportees = "10.6"
What regions of the USSR have a percentage of deportees of 10.6?
CREATE TABLE table_16048129_5 (region_of_ussr VARCHAR, _percentage_of_total_deportees VARCHAR)
SELECT "Built" FROM table_51810 WHERE "Wheels" = '0-4-0' AND "Status" = 'in service'
What is found in the Built column of the locomotive with 0-4-0 wheels that is still in service?
CREATE TABLE table_51810 ( "Name" text, "Built" text, "Wheels" text, "Fuel/ Trans" text, "Status" text, "Colour" text )
SELECT votes FROM table_name_55 WHERE gender = "♂" AND religion = "☪" AND candidate_name = "khalil chawka"
Khalil chawka has a gender of ♂, a religion of ☪, and how many votes?
CREATE TABLE table_name_55 (votes VARCHAR, candidate_name VARCHAR, gender VARCHAR, religion VARCHAR)
SELECT MAX(number_of_families) FROM table_16048129_5 WHERE average_family_size = "2.7"
What is the most number of families in regions where average family size is 2.7?
CREATE TABLE table_16048129_5 (number_of_families INTEGER, average_family_size VARCHAR)
SELECT "Partner" FROM table_59450 WHERE "Opponents in the final" = 'lenka cenková kateřina šišková'
Who had the opponent of Lenka Cenkov kate ina i kov in the final?
CREATE TABLE table_59450 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text )
SELECT candidate_name FROM table_name_66 WHERE votes > 1853 AND religion = "☪"
Who has a religion of ☪ and more than 1853 votes?
CREATE TABLE table_name_66 (candidate_name VARCHAR, votes VARCHAR, religion VARCHAR)
SELECT COUNT(number_of_families) FROM table_16048129_5 WHERE _percentage_of_total_deportees = "5.8"
How many total families are there in regions with 5.8 percent of the population being made up of deportees?
CREATE TABLE table_16048129_5 (number_of_families VARCHAR, _percentage_of_total_deportees VARCHAR)
SELECT coverage__transmitter_site_ FROM table_12379297_1 WHERE station_type = "Relay" AND power__kw_ = "5kW" AND callsign = "DYFJ-TV"
What is the coverage of relay 5kw of dyfj-tv?
CREATE TABLE table_12379297_1 ( coverage__transmitter_site_ VARCHAR, callsign VARCHAR, station_type VARCHAR, power__kw_ VARCHAR )
SELECT recorded FROM table_name_77 WHERE track > 11 AND time = "3:06"
What is the recorder has a Track more than 11 with a time 3:06
CREATE TABLE table_name_77 (recorded VARCHAR, track VARCHAR, time VARCHAR)
SELECT MAX(number_of_families) FROM table_16048129_5 WHERE _percentage_of_total_deportees = "5.8"
What is the most number of families among regions where the population is made up of 5.8% deportees?
CREATE TABLE table_16048129_5 (number_of_families INTEGER, _percentage_of_total_deportees VARCHAR)
SELECT * FROM table_dev_8 WHERE triglyceride_tg >= 500
triglycerides greater than or equal to 500 mg / dl
CREATE TABLE table_dev_8 ( "id" int, "systolic_blood_pressure_sbp" int, "heart_disease" bool, "diastolic_blood_pressure_dbp" int, "coronary_artery_disease_cad" bool, "triglyceride_tg" float, "hypertension" bool, "NOUSE" float )
SELECT MIN(track) FROM table_name_64 WHERE song_title = "just a little bit"
Which track has a title : Just a little bit
CREATE TABLE table_name_64 (track INTEGER, song_title VARCHAR)
SELECT operator FROM table_1603807_2 WHERE line = "Mamariga Shuttle"
Which operator runs the Mamariga shuttle line?
CREATE TABLE table_1603807_2 (operator VARCHAR, line VARCHAR)
SELECT MIN("No. in series") FROM table_24931 WHERE "U.S. viewers (million)" = '1.98'
Which series number had 1.98 million viewers?
CREATE TABLE table_24931 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT trophy FROM table_name_78 WHERE season = "2008–2009"
What is the Trophy with a Season with 2008–2009?
CREATE TABLE table_name_78 (trophy VARCHAR, season VARCHAR)
SELECT COUNT(length) FROM table_1603807_2 WHERE line = "line 3"
How many lengths of line 3 are given?
CREATE TABLE table_1603807_2 (length VARCHAR, line VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Blood in stool" AND prescriptions.route = "REPLACE"
find the number of patients diagnosed with blood in stool had the drug route as replace.
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 diagnoses ( ...
SELECT wasatch FROM table_name_31 WHERE total_time = "122:13:40"
What Wasatch time corresponds to a total time of 122:13:40?
CREATE TABLE table_name_31 (wasatch VARCHAR, total_time VARCHAR)
SELECT terminals FROM table_1603807_2 WHERE line = "line 2"
What are the terminals for line 2?
CREATE TABLE table_1603807_2 (terminals VARCHAR, line VARCHAR)
SELECT MIN(innings) FROM table_name_89 WHERE sr = 72.05 AND balls_faced < 297
What is the smallest number of innings with a strike rate of 72.05 and under 297 balls faced?
CREATE TABLE table_name_89 ( innings INTEGER, sr VARCHAR, balls_faced VARCHAR )
SELECT opponents_in_final FROM table_name_29 WHERE date = "9 january 1994"
Who were the opponents in the final on 9 January 1994?
CREATE TABLE table_name_29 (opponents_in_final VARCHAR, date VARCHAR)
SELECT status FROM table_1603807_2 WHERE line = "Airport line"
What is the status of the airport line?
CREATE TABLE table_1603807_2 (status VARCHAR, line VARCHAR)
SELECT fencing FROM table_12407546_1 WHERE athlete__noc_ = "Eli Bremer"
What's Eli Bremer's fencing score?
CREATE TABLE table_12407546_1 ( fencing VARCHAR, athlete__noc_ VARCHAR )
SELECT home_team FROM table_name_90 WHERE away_team = "melbourne"
Who was Melbourne's home team opponent?
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
SELECT COUNT(hangul_chosongul) FROM table_160510_5 WHERE area = "8,352"
Name the total number of hangul chosongul for 8,352
CREATE TABLE table_160510_5 (hangul_chosongul VARCHAR, area VARCHAR)
SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
Show the most common type code across products.
CREATE TABLE Products ( Product_Type_Code VARCHAR )
SELECT away_team FROM table_name_10 WHERE home_team = "richmond"
Who was Richmond's away team opponent?
CREATE TABLE table_name_10 (away_team VARCHAR, home_team VARCHAR)
SELECT iso FROM table_160510_5 WHERE rr_romaja = "Chungcheongnam"
Name the iso for chungcheongnam
CREATE TABLE table_160510_5 (iso VARCHAR, rr_romaja VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.long_title = "Closed [needle] biopsy of tongue"
provide the number of patients whose insurance is government and procedure long title is closed [needle] biopsy of tongue?
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 MIN(league) AS Cup FROM table_name_88 WHERE league > 1 AND name = "brian deane" AND fa_cup < 1
What is the smallest value for League Cup when the League number is greater than 1, no FA Cups, and Brian Deane scoring?
CREATE TABLE table_name_88 (league INTEGER, fa_cup VARCHAR, name VARCHAR)
SELECT country FROM table_160510_5 WHERE area = "11,891"
Name the country for 11,891 area
CREATE TABLE table_160510_5 (country VARCHAR, area VARCHAR)
SELECT "Years in Orlando" FROM table_76058 WHERE "Nationality" = 'united states' AND "School/Club Team" = 'concord hs'
What years in Orlando have the United States as the nationality, with concord hs as the school/club team?
CREATE TABLE table_76058 ( "Player" text, "Nationality" text, "Position" text, "Years in Orlando" text, "School/Club Team" text )
SELECT region FROM table_name_58 WHERE year < 2008 AND name = "best 1200"
Name the region before 2008 when name of best 1200
CREATE TABLE table_name_58 (region VARCHAR, year VARCHAR, name VARCHAR)
SELECT COUNT(region) FROM table_160510_5 WHERE hangul_chosongul = "경상남도"
Name the number of region for 경상남도
CREATE TABLE table_160510_5 (region VARCHAR, hangul_chosongul VARCHAR)
SELECT "30-Day Pass" FROM table_55000 WHERE "Base Fares" = '$3'
Which 30-day Pass has a Base Fare of $3?
CREATE TABLE table_55000 ( "Fare Categories" text, "Base Fares" text, "Day Pass" text, "7-Day Pass" text, "30-Day Pass" text )
SELECT method FROM table_name_44 WHERE res = "win" AND time = "4:36"
What method resulted in a win and a time of 4:36?
CREATE TABLE table_name_44 (method VARCHAR, res VARCHAR, time VARCHAR)