answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT MIN("RR3 Pts.") FROM table_24402 WHERE "RR4 Pts." = '20'
When 20 is the rr4 points what is the lowest rr3 points?
CREATE TABLE table_24402 ( "Team name" text, "Races" real, "Won" real, "RR1 Pts." real, "RR2 Pts." real, "RR3 Pts." real, "RR4 Pts." text, "Total Pts." real, "Ranking" real )
SELECT AVG(year) FROM table_name_33 WHERE rank = 4
Name the average year for 4 rank
CREATE TABLE table_name_33 (year INTEGER, rank VARCHAR)
SELECT date FROM table_16119656_1 WHERE attendance < 6427.0
When was the game played if the attendance is less than 6427.0?
CREATE TABLE table_16119656_1 (date VARCHAR, attendance INTEGER)
SELECT "Rounds" FROM table_10617 WHERE "Entrant" = 'alfa romeo spa' AND "Driver" = 'luigi fagioli'
In what rounds did Luigi Fagioli drive for Alfa Romeo SPA?
CREATE TABLE table_10617 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text )
SELECT MIN(rank) FROM table_name_99 WHERE year = 2013 AND studio_s_ = "red chillies entertainment"
Name the lowest rank for red chillies entertainment for 2013
CREATE TABLE table_name_99 (rank INTEGER, year VARCHAR, studio_s_ VARCHAR)
SELECT attendance FROM table_16119656_1 WHERE date = "January 9, 1988"
How many were in attendance during the game on January 9, 1988?
CREATE TABLE table_16119656_1 (attendance VARCHAR, date VARCHAR)
SELECT apt_type_code, COUNT(*) FROM Apartments GROUP BY apt_type_code ORDER BY COUNT(*)
Show the apartment type codes and the corresponding number of apartments sorted by the number of apartments in ascending order. Show bar chart.
CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, ...
SELECT date FROM table_name_27 WHERE away_team = "richmond"
Which date did richmond play as away?
CREATE TABLE table_name_27 (date VARCHAR, away_team VARCHAR)
SELECT headquarters FROM table_1610301_1 WHERE code = "HY"
Where is the headquarters of the place whose abbreviation is hy?
CREATE TABLE table_1610301_1 (headquarters VARCHAR, code VARCHAR)
SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((flight.airline_code = 'YX') AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'NASHVILLE' AND flight.to_airport = AIRPORT_...
does YX have any flights from MONTREAL to NASHVILLE
CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int )...
SELECT SUM(rank) FROM table_name_52 WHERE wins = 5 AND events < 32
What is the rank for the player with 5 wins and under 32 events?
CREATE TABLE table_name_52 (rank INTEGER, wins VARCHAR, events VARCHAR)
SELECT headquarters FROM table_1610301_1 WHERE population__2011_ = 3811738
Where is the headquarters of the place whose population in 2011 was 3811738?
CREATE TABLE table_1610301_1 (headquarters VARCHAR, population__2011_ VARCHAR)
SELECT "Game" FROM table_9357 WHERE "Opponents" > '28'
What game did the Buffalo Bills' opponents earn more than 28 points?
CREATE TABLE table_9357 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Bills points" real, "Opponents" real, "Bills first downs" real, "Record" text, "'Attendance" real )
SELECT issue_price FROM table_name_46 WHERE artist = "john mardon" AND year = 2000 AND mintage = "included in steam buggy"
What is the issue price of a Year 2000 coin by artist John Mardon of the Included in Steam Buggy mintage.
CREATE TABLE table_name_46 (issue_price VARCHAR, mintage VARCHAR, artist VARCHAR, year VARCHAR)
SELECT MIN(population__2011_) FROM table_1610301_1 WHERE district = "Prakasam"
What was the minimum population in 2011 of the district of Prakasam?
CREATE TABLE table_1610301_1 (population__2011_ INTEGER, district VARCHAR)
SELECT "School/Club Team" FROM table_53255 WHERE "Player" = 'wayne cooper'
What school does Wayne Cooper play for?
CREATE TABLE table_53255 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text )
SELECT theme FROM table_name_86 WHERE year = 2002 AND artist = "dan fell"
What is the theme of the Year 2002 which was created by Artist Dan Fell?
CREATE TABLE table_name_86 (theme VARCHAR, year VARCHAR, artist VARCHAR)
SELECT code FROM table_1610301_1 WHERE district = "Mahbubnagar"
What is the abbreviation of the district of Mahbubnagar?
CREATE TABLE table_1610301_1 (code VARCHAR, district VARCHAR)
SELECT AVG(silver) FROM table_name_82 WHERE gold > 0 AND rank = "1" AND total < 30
What is the average silver with more than 0 gold, a Rank of 1, and a Total smaller than 30?
CREATE TABLE table_name_82 ( silver INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR )
SELECT artist FROM table_name_81 WHERE year < 2002 AND mintage = "41,828"
What artist had a mintage of 41,828 before year 2002?
CREATE TABLE table_name_81 (artist VARCHAR, year VARCHAR, mintage VARCHAR)
SELECT population__2011_ FROM table_1610301_1 WHERE district = "East Godavari"
What is the 2011 population of the district of East Godavari?
CREATE TABLE table_1610301_1 (population__2011_ VARCHAR, district VARCHAR)
SELECT AVG(2006) FROM table_name_26 WHERE 2010 = 417.9 AND 2011 > 426.7
What is the average 2006 value with a 2010 value of 417.9 and a 2011 value greater than 426.7?
CREATE TABLE table_name_26 ( Id VARCHAR )
SELECT issue_price FROM table_name_36 WHERE mintage = "31,997"
A mintage of 31,997 has what issue price?
CREATE TABLE table_name_36 (issue_price VARCHAR, mintage VARCHAR)
SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE gdp_per_capita_nominal__$_ = 2874
What is the adjusted GDP when the nominal GDP per capita is 2874?
CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_per_capita_nominal__$_ VARCHAR)
SELECT type FROM table_256286_61 WHERE yes_votes = 546255
What is the type when yes votes are 546255?
CREATE TABLE table_256286_61 ( type VARCHAR, yes_votes VARCHAR )
SELECT Control AS trailers FROM table_name_71 WHERE motors = "52"
Tell me the control trailers for 52 motors
CREATE TABLE table_name_71 (Control VARCHAR, motors VARCHAR)
SELECT gdp_per_capita_adjusted__$_ FROM table_1610496_3 WHERE population__millions_ = "37.376"
What is the adjusted GDP per capita when the population is 37.376 million?
CREATE TABLE table_1610496_3 (gdp_per_capita_adjusted__$_ VARCHAR, population__millions_ VARCHAR)
SELECT "Rally HQ" FROM table_64378 WHERE "Rally Name" = 'adac rally deutschland'
Where was adac rally deutschland's rally HQ?
CREATE TABLE table_64378 ( "Round" real, "Dates" text, "Rally Name" text, "Rally HQ" text, "Support Category" text, "Surface" text )
SELECT trailers FROM table_name_48 WHERE year = "1931" AND builder = "mccw"
I want the trailers for 1931 and builder of mccw
CREATE TABLE table_name_48 (trailers VARCHAR, year VARCHAR, builder VARCHAR)
SELECT MIN(gdp_per_capita_nominal__) AS $_ FROM table_1610496_3 WHERE population__millions_ = "63.056"
What is the nominal GDP per capita when the population is 63.056 million?
CREATE TABLE table_1610496_3 (gdp_per_capita_nominal__ INTEGER, population__millions_ VARCHAR)
SELECT COUNT(DISTINCT "year") FROM table_204_838
how many years are listed ?
CREATE TABLE table_204_838 ( id number, "year" number, "award" text, "category" text, "nominated work" text, "result" text )
SELECT Control AS trailers FROM table_name_45 WHERE year = "1931" AND builder = "grcw"
I want the control trailers for 1931 with builder of grcw
CREATE TABLE table_name_45 (Control VARCHAR, year VARCHAR, builder VARCHAR)
SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE population__millions_ = "5.141"
What is the adjusted GDP when the population is 5.141 million?
CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, population__millions_ VARCHAR)
SELECT SUM("result") FROM table_204_920
what is the total goals on this chart
CREATE TABLE table_204_920 ( id number, "goal" number, "date" text, "location" text, "opponent" text, "lineup" text, "min" number, "assist/pass" text, "score" text, "result" text, "competition" text )
SELECT trailers FROM table_name_92 WHERE motors = "145"
I want the trailers for motors of 145
CREATE TABLE table_name_92 (trailers VARCHAR, motors VARCHAR)
SELECT population__millions_ FROM table_1610496_3 WHERE gdp_adjusted__$_billions_ = "492"
What is the population in millions when the adjusted GDP is 492 billion?
CREATE TABLE table_1610496_3 (population__millions_ VARCHAR, gdp_adjusted__$_billions_ VARCHAR)
SELECT hometown FROM table_name_45 WHERE height = "6-4"
What's the hometown of the player who is 6-4?
CREATE TABLE table_name_45 ( hometown VARCHAR, height VARCHAR )
SELECT SUM(wins) FROM table_name_77 WHERE top_5 < 1
Tell me the sum of wins for top 5 less than 1
CREATE TABLE table_name_77 (wins INTEGER, top_5 INTEGER)
SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE gdp_nominal__$_billions_ = "8.43"
What is the adjusted GDP when the nominal GDP is 8.43 (in billions)?
CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_nominal__$_billions_ VARCHAR)
SELECT "N\u00b0" FROM table_20394 WHERE "Package/Option" = 'Sky Cinema' AND "Content" = 'cinema' AND "Television service" = 'Sky Cinema +24'
What are the values of n for cinema content provided by Sky Cinema +24 on its Sky Cinema package?
CREATE TABLE table_20394 ( "N\u00b0" text, "Television service" text, "Country" text, "Language" text, "Content" text, "DAR" text, "HDTV" text, "PPV" text, "Package/Option" text )
SELECT AVG(events) FROM table_name_17 WHERE top_10 < 4
I want the average events for top 10 less than 4
CREATE TABLE table_name_17 (events INTEGER, top_10 INTEGER)
SELECT operating_profit__s$m_ FROM table_161591_2 WHERE expenditure__s$m_ = "12,127.8"
What was the opearint profit (s$m) associated with an expenditure (s$m) of 12,127.8?
CREATE TABLE table_161591_2 (operating_profit__s$m_ VARCHAR, expenditure__s$m_ VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "ENGL" AND demographic.dob_year < "2069"
count the number of patients whose language is engl and year of birth is less than 2069?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT MAX(cuts_made) FROM table_name_99 WHERE top_5 < 3 AND top_10 > 4
Name the highest cuts made when top 5 is less than 3 and top ten is more than 4
CREATE TABLE table_name_99 (cuts_made INTEGER, top_5 VARCHAR, top_10 VARCHAR)
SELECT expenditure__s$m_ FROM table_161591_2 WHERE operating_profit__s$m_ = "717.1"
What was the expenditure (s$m) associated with an operating profit (s$m) of 717.1?
CREATE TABLE table_161591_2 (expenditure__s$m_ VARCHAR, operating_profit__s$m_ VARCHAR)
SELECT COUNT(week) FROM table_name_17 WHERE opponent = "at new orleans saints" AND attendance > 53 OFFSET 448
Which total number of Week has an Opponent of at new orleans saints, and an Attendance larger than 53,448?
CREATE TABLE table_name_17 ( week VARCHAR, opponent VARCHAR, attendance VARCHAR )
SELECT MAX(top_25) FROM table_name_84 WHERE events > 20 AND top_10 > 21
I want the most top 25 when events are more than 20 and top 10 is more than 21
CREATE TABLE table_name_84 (top_25 INTEGER, events VARCHAR, top_10 VARCHAR)
SELECT COUNT(profit_before_taxation__s) AS $m_ FROM table_161591_2 WHERE operating_profit__s$m_ = "717.1"
How many years was the operating profit (s$m) 717.1?
CREATE TABLE table_161591_2 (profit_before_taxation__s VARCHAR, operating_profit__s$m_ VARCHAR)
SELECT "Time" FROM table_34435 WHERE "Home team" = 'essendon'
What is the time of the Essendon home team game?
CREATE TABLE table_34435 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" text, "Date" text, "Time" text, "Report" text )
SELECT SUM(attendance) FROM table_name_40 WHERE date = "april 28"
What was the Attendance on April 28?
CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR)
SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = "ch'ing-yüan … i-ma"
Name the simplified characters for wade giles is ch'ing-yüan … i-ma
CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles 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 = 10 AND program_course.category LIKE 'ULCS'
Which upper level classes are worth 10 credits ?
CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program ( progr...
SELECT released FROM table_name_64 WHERE dvd_name = "escape to river cottage"
What was escape to river cottage released?
CREATE TABLE table_name_64 (released VARCHAR, dvd_name VARCHAR)
SELECT pinyin FROM table_16162581_1 WHERE date__ce_ = "657"
Name the pinyin for 657 date
CREATE TABLE table_16162581_1 (pinyin VARCHAR, date__ce_ VARCHAR)
SELECT COUNT("Attendance") FROM table_73958 WHERE "Runner-up" = 'Red Star'
How many games had red star as the runner up?
CREATE TABLE table_73958 ( "Year" text, "Winner" text, "Runner-up" text, "Result" text, "Venues" text, "Attendance" real, "Entries" real )
SELECT dvd_name FROM table_name_61 WHERE duration = "2 hours 22 minutes"
What DVD has a time of 2 hours 22 minutes?
CREATE TABLE table_name_61 (dvd_name VARCHAR, duration VARCHAR)
SELECT text FROM table_16162581_1 WHERE simplified_characters = "心猿意马"
Name the text for 心猿意马
CREATE TABLE table_16162581_1 (text VARCHAR, simplified_characters VARCHAR)
SELECT apogee FROM table_name_5 WHERE date = "1959-02-20"
Which Apogee was on 1959-02-20?
CREATE TABLE table_name_5 ( apogee VARCHAR, date VARCHAR )
SELECT date FROM table_name_14 WHERE week = 7
What was the date for the game in week 7?
CREATE TABLE table_name_14 (date VARCHAR, week VARCHAR)
SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = "hsin-yüan … i-ma"
Name the simplified charaacters being hsin-yüan … i-ma
CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)
SELECT championship FROM table_13026799_1 WHERE margin = "Playoff 2"
What championship had a margin of playoff 2?
CREATE TABLE table_13026799_1 ( championship VARCHAR, margin VARCHAR )
SELECT date FROM table_name_54 WHERE attendance = "78,431"
On what date was the attendance of the crowd 78,431?
CREATE TABLE table_name_54 (date VARCHAR, attendance VARCHAR)
SELECT COUNT(pinyin) FROM table_16162581_1 WHERE wade_giles = "hsin-yüan-i-ma"
Name the total number of pinyin for hsin-yüan-i-ma
CREATE TABLE table_16162581_1 (pinyin VARCHAR, wade_giles VARCHAR)
SELECT Body_Builder_ID, Snatch FROM body_builder
What is the relationship between Body_Builder_ID and Snatch ?
CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text )
SELECT date FROM table_name_28 WHERE home = "columbus"
What was the date of the Capitals game when Columbus was the home team?
CREATE TABLE table_name_28 (date VARCHAR, home VARCHAR)
SELECT date__ce_ FROM table_16162581_1 WHERE pinyin = "qíngyuán … yìmǎ"
Name the date for qíngyuán … yìmǎ
CREATE TABLE table_16162581_1 (date__ce_ VARCHAR, pinyin VARCHAR)
SELECT "Tonnage" FROM table_78965 WHERE "Date" = '14'
With 14 under the date, what is the tonnage of the ship?
CREATE TABLE table_78965 ( "Date" text, "Ship Name" text, "Tonnage" text, "Ship Type" text, "Location" text, "Disposition of Ship" text )
SELECT date FROM table_name_20 WHERE competition = "2002 african cup of nations"
The 2002 African Cup of Nations was held on what date?
CREATE TABLE table_name_20 (date VARCHAR, competition VARCHAR)
SELECT line FROM table_1612760_1 WHERE service_pattern = "Fast to Norwood Junction"
Which line offers Fast to Norwood Junction?
CREATE TABLE table_1612760_1 (line VARCHAR, service_pattern VARCHAR)
SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID
Show all artist names and the number of exhibitions for each artist in a bar chart.
CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real...
SELECT competition FROM table_name_51 WHERE venue = "stade fernand fournier, arles"
Which competition took place at Stade Fernand Fournier, Arles?
CREATE TABLE table_name_51 (competition VARCHAR, venue VARCHAR)
SELECT operator FROM table_1612760_1 WHERE destination = "Highbury & Islington"
Who is the operator to Highbury & Islington?
CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)
SELECT Id AS "post_link", CreationDate FROM Posts WHERE PostTypeId = 1 AND (Title LIKE '%nadroid%' COLLATE SQL_Latin1_General_CP1_CI_AS OR Title LIKE '%adnroid%' COLLATE SQL_Latin1_General_CP1_CI_AS OR Title LIKE '%anrdoid%' COLLATE SQL_Latin1_General_CP1_CI_AS OR Title LIKE '%andorid%' COLLATE SQL_Latin1_General_CP1_C...
Questions with letter transpositions of 'Android' in the title. case-insensitive
CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownV...
SELECT COUNT(crowd) FROM table_name_83 WHERE away_team = "fitzroy"
What was the attendance of the game where fitzroy was the away team?
CREATE TABLE table_name_83 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(frequency__per_hour_) FROM table_1612760_1 WHERE service_pattern = "Next station"
How many frequency figures are given for next station service pattern?
CREATE TABLE table_1612760_1 (frequency__per_hour_ VARCHAR, service_pattern VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.admission_location = "PHYS REFERRAL/NORMAL DELI"
get me the number of private insurance patients who had phys referral/normal deli admission.
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 artist FROM table_name_80 WHERE theme = "400th anniversary of quebec"
Which artist created the silver dollar for the 400th anniversary of Quebec?
CREATE TABLE table_name_80 (artist VARCHAR, theme VARCHAR)
SELECT operator FROM table_1612760_1 WHERE destination = "Dalston Junction"
Who is the operator to destination Dalston Junction?
CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)
SELECT MAX("Against") FROM table_12674 WHERE "Losses" = '4' AND "Mininera DFL" = 'moyston-willaura' AND "Byes" < '2'
How many against for the Moyston-Willaura team with 4 losses and fewer than 2 byes?
CREATE TABLE table_12674 ( "Mininera DFL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT year FROM table_name_25 WHERE artist = "royal canadian mint staff"
Which year did the Royal Canadian Mint Staff create a silver dollar?
CREATE TABLE table_name_25 (year VARCHAR, artist VARCHAR)
SELECT COUNT(no) FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia"
How many tournament wins were at Volvo Masters Andalucia?
CREATE TABLE table_1615980_4 (no VARCHAR, tournament VARCHAR)
SELECT STR(NTILE(100) OVER (ORDER BY SUM(answers.Score) DESC), 3) + '%' AS "top", ROW_NUMBER() OVER (ORDER BY SUM(answers.Score) DESC) AS "ranking", Users.Id AS "user_link", SUM(answers.Score) AS "total_score" FROM Tags JOIN PostTags ON Tags.Id = PostTags.TagId AND Tags.TagName = '##TagName##' JOIN Posts AS questions O...
What percentile am I in for a given tag for a given location?. Determines where you rank in a given tag as of the last data load
CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE T...
SELECT mintage FROM table_name_93 WHERE artist = "suzanne duranceau"
How many coins by Suzanne Duranceau were minted?
CREATE TABLE table_name_93 (mintage VARCHAR, artist VARCHAR)
SELECT runner_s__up FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia"
Who was the runner up at the Volvo Masters Andalucia?
CREATE TABLE table_1615980_4 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT MAX("Date") FROM table_13828 WHERE "U-boats destroyed (Pola)" = '1'
What's the highest Date listed that has U-boats destroyed (Pola) of 1?
CREATE TABLE table_13828 ( "Date" real, "Ships sunk (Pola)" text, "Tonnage" text, "U-boats destroyed (KuK)" text, "U-boats destroyed (Pola)" text )
SELECT method FROM table_name_72 WHERE round < 3 AND res = "nc"
What was the method for the resolution of nc where the fight lasted less than 3 rounds?
CREATE TABLE table_name_72 (method VARCHAR, round VARCHAR, res VARCHAR)
SELECT tournament FROM table_1615980_4 WHERE winning_score = 68 - 67 - 65 - 66 = 266
In what tournament was the winning score 68-67-65-66=266?
CREATE TABLE table_1615980_4 (tournament VARCHAR, winning_score VARCHAR)
SELECT MIN(total_votes) FROM table_19698421_1 WHERE year = "2005"
What was the total number of votes in the 2005 elections?
CREATE TABLE table_19698421_1 ( total_votes INTEGER, year VARCHAR )
SELECT opponent FROM table_name_95 WHERE round < 4 AND event = "ufc 90"
Who was the opponent during the UFC 90 event with a fight that lasted less than 4 rounds?
CREATE TABLE table_name_95 (opponent VARCHAR, round VARCHAR, event VARCHAR)
SELECT joined FROM table_16168849_1 WHERE nickname = "Blue Hose"
Name the joined for blue hose
CREATE TABLE table_16168849_1 (joined VARCHAR, nickname VARCHAR)
SELECT "Type" FROM table_60655 WHERE "Position" = 'ambassador' AND "Location" = 'rabat'
what is the type when the position is ambassador and the location is rabat?
CREATE TABLE table_60655 ( "Mission" text, "Location" text, "Type" text, "Head of Mission" text, "Position" text, "List" text )
SELECT method FROM table_name_33 WHERE event = "ufc 160"
What was the method for the resolution of the fight at UFC 160?
CREATE TABLE table_name_33 (method VARCHAR, event VARCHAR)
SELECT MAX(founded) FROM table_16168849_1 WHERE nickname = "Blue Hose"
Name the maximum founded for blue hose
CREATE TABLE table_16168849_1 (founded INTEGER, nickname VARCHAR)
SELECT "Bowling Style" FROM table_57386 WHERE "First Class Team" = 'griqualand west'
What bowling style does First Class Team, Griqualand West have?
CREATE TABLE table_57386 ( "Player" text, "Date of Birth" text, "Batting Style" text, "Bowling Style" text, "First Class Team" text )
SELECT league FROM table_name_48 WHERE date = "5 october 1997"
What is the league on 5 October 1997?
CREATE TABLE table_name_48 (league VARCHAR, date VARCHAR)
SELECT MAX(enrollment) FROM table_16168849_1 WHERE institution = "St. Andrews University"
Name the maximum enrollment for st. andrews university
CREATE TABLE table_16168849_1 (enrollment INTEGER, institution VARCHAR)
SELECT "Episode #" FROM table_73189 WHERE "Series #" = '17'
What is the episode number for series 17?
CREATE TABLE table_73189 ( "Series #" real, "Episode #" real, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text )
SELECT season FROM table_name_50 WHERE date = "30 october 1977"
Which season was on 30 October 1977?
CREATE TABLE table_name_50 (season VARCHAR, date VARCHAR)
SELECT current_conference FROM table_16168849_1 WHERE left = "1974, 1989"
Name the current conference for 1974, 1989
CREATE TABLE table_16168849_1 (current_conference VARCHAR, left VARCHAR)
SELECT MAX(round) FROM table_name_67 WHERE position = "guard" AND pick__number > 9
Position of guard, and a Pick # larger than 9 is what highest round?
CREATE TABLE table_name_67 ( round INTEGER, position VARCHAR, pick__number VARCHAR )