output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT gender FROM table_name_19 WHERE university_students_and_adults__18yrs + _ = "25mm"
CREATE TABLE table_name_19 (gender VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR), Which gender is associated with University students and adults of 25mm?
SELECT junior_high_school__12_15_yrs_ FROM table_name_15 WHERE university_students_and_adults__18yrs + _ = "26mm"
CREATE TABLE table_name_15 (junior_high_school__12_15_yrs_ VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR), Which junior high school has university students and adults of 26mm?
SELECT university_students_and_adults__18yrs + _ FROM table_name_57 WHERE gender = "male" AND specification = "minimum weight"
CREATE TABLE table_name_57 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, gender VARCHAR, specification VARCHAR), What value for university students and adult goes with male gender for minimum weight?
SELECT metro_vincity FROM table_name_84 WHERE opened = "1999"
CREATE TABLE table_name_84 (metro_vincity VARCHAR, opened VARCHAR), What metro vincity has the venue that opened in 1999?
SELECT COUNT(capacity) FROM table_name_15 WHERE opened = "1999"
CREATE TABLE table_name_15 (capacity VARCHAR, opened VARCHAR), What is the total capacity of venues that opened in 1999?
SELECT date FROM table_name_25 WHERE result = "aus by 382 runs"
CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR), What date has aus by 382 runs as the result?
SELECT venue FROM table_name_2 WHERE result = "eng by 10 runs"
CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR), What venue has eng by 10 runs as the result?
SELECT date FROM table_name_87 WHERE home_captain = "george giffen" AND venue = "sydney cricket ground"
CREATE TABLE table_name_87 (date VARCHAR, home_captain VARCHAR, venue VARCHAR), What date has george giffen as the home captain, and sydney cricket ground as the venue?
SELECT SUM(silver) FROM table_name_69 WHERE gold = 0 AND bronze < 0
CREATE TABLE table_name_69 (silver INTEGER, gold VARCHAR, bronze VARCHAR), Gold of 0, and a Bronze smaller than 0 and what is the sum of the silver?
SELECT MAX(bronze) FROM table_name_70 WHERE gold = 0 AND total > 0 AND silver > 1
CREATE TABLE table_name_70 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR), Gold of 0, and a Total larger than 0, and a Silver larger than 1 and what is the highest bronze?
SELECT COUNT(silver) FROM table_name_31 WHERE gold > 0 AND bronze > 1
CREATE TABLE table_name_31 (silver VARCHAR, gold VARCHAR, bronze VARCHAR), Gold larger than 0, and a Bronze larger than 1 includes what total number of silver?
SELECT MIN(gold) FROM table_name_35 WHERE bronze = 0 AND total = 1 AND silver < 1
CREATE TABLE table_name_35 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR), Bronze of 0, and a Total of 1, and a Silver smaller than 1 what is the lowest gold?
SELECT third FROM table_name_78 WHERE lead = "zanda bikše"
CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR), Which Third has a Lead of zanda bikše?
SELECT third FROM table_name_6 WHERE nation = "hungary"
CREATE TABLE table_name_6 (third VARCHAR, nation VARCHAR), Which Third has a Nation of hungary?
SELECT second FROM table_name_16 WHERE nation = "latvia"
CREATE TABLE table_name_16 (second VARCHAR, nation VARCHAR), Which Second has a Nation of latvia?
SELECT lead FROM table_name_99 WHERE nation = "croatia"
CREATE TABLE table_name_99 (lead VARCHAR, nation VARCHAR), Which Lead has a Nation of croatia?
SELECT nation FROM table_name_73 WHERE lead = "alexandra bruckmiller"
CREATE TABLE table_name_73 (nation VARCHAR, lead VARCHAR), Which Nation has a Lead of alexandra bruckmiller?
SELECT skip FROM table_name_37 WHERE third = "constanze hummelt"
CREATE TABLE table_name_37 (skip VARCHAR, third VARCHAR), Which Skip has a Third of constanze hummelt?
SELECT spanish FROM table_name_83 WHERE english = "garden"
CREATE TABLE table_name_83 (spanish VARCHAR, english VARCHAR), what is the spanish word for garden
SELECT italian FROM table_name_37 WHERE french = "mer"
CREATE TABLE table_name_37 (italian VARCHAR, french VARCHAR), what is the italian word for the french word 'mer'
SELECT english FROM table_name_61 WHERE italian = "cavallo"
CREATE TABLE table_name_61 (english VARCHAR, italian VARCHAR), what is the english word for cavallo
SELECT player FROM table_name_61 WHERE touchdowns > 1 AND extra_points = 0 AND points < 50
CREATE TABLE table_name_61 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR), What Player has more than 1 Touchdowns with 0 Extra Points and less than 50 Points?
SELECT player FROM table_name_77 WHERE touchdowns < 10 AND extra_points = 0 AND points > 5
CREATE TABLE table_name_77 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR), What Player has less than 10 Touchdowns and 0 Extra points and more than 5 Points?
SELECT MIN(extra_points) FROM table_name_6 WHERE points = 5 AND touchdowns < 1
CREATE TABLE table_name_6 (extra_points INTEGER, points VARCHAR, touchdowns VARCHAR), How many Extra Points were scored by the Player who had 5 Points and less than 1 Touchdowns?
SELECT MIN(year) FROM table_name_86 WHERE tournament = "european indoor championships" AND result = "3rd"
CREATE TABLE table_name_86 (year INTEGER, tournament VARCHAR, result VARCHAR), Name the least year for european indoor championships result of 3rd
SELECT played FROM table_name_8 WHERE points = "51"
CREATE TABLE table_name_8 (played VARCHAR, points VARCHAR), What is the played value with 51 points?
SELECT tries_for FROM table_name_99 WHERE club = "nelson rfc"
CREATE TABLE table_name_99 (tries_for VARCHAR, club VARCHAR), How many tries for Nelson RFC?
SELECT losing_bonus FROM table_name_22 WHERE drawn = "1" AND lost = "13"
CREATE TABLE table_name_22 (losing_bonus VARCHAR, drawn VARCHAR, lost VARCHAR), What is the losing bonus with 1 draw and 13 losses?
SELECT tries_against FROM table_name_22 WHERE played = "22" AND drawn = "1" AND try_bonus = "13"
CREATE TABLE table_name_22 (tries_against VARCHAR, try_bonus VARCHAR, played VARCHAR, drawn VARCHAR), How many tries when 22 are played with 1 draw and a try bonus of 13?
SELECT points_against FROM table_name_67 WHERE losing_bonus = "1" AND club = "blaenavon rfc"
CREATE TABLE table_name_67 (points_against VARCHAR, losing_bonus VARCHAR, club VARCHAR), How many points were scored against with a losing bonus of 1 for Blaenavon RFC?
SELECT opponent FROM table_name_41 WHERE method = "submission (triangle choke)"
CREATE TABLE table_name_41 (opponent VARCHAR, method VARCHAR), Who is the opponent of the submission (triangle choke) method of submission?
SELECT competition FROM table_name_53 WHERE date = "october 31, 1979"
CREATE TABLE table_name_53 (competition VARCHAR, date VARCHAR), What Competition had a game on October 31, 1979?
SELECT date FROM table_name_97 WHERE brazil_scorers = "palhinha"
CREATE TABLE table_name_97 (date VARCHAR, brazil_scorers VARCHAR), On what Date was Palhinha Brazil Scorers?
SELECT brazil_scorers FROM table_name_93 WHERE score = "1-1"
CREATE TABLE table_name_93 (brazil_scorers VARCHAR, score VARCHAR), What Brazil scorers have a 1-1 Score?
SELECT brazil_scorers FROM table_name_35 WHERE score = "2-1"
CREATE TABLE table_name_35 (brazil_scorers VARCHAR, score VARCHAR), What Brazil scorers have a 2-1 Score?
SELECT competition FROM table_name_76 WHERE score = "1-2"
CREATE TABLE table_name_76 (competition VARCHAR, score VARCHAR), What Competition's Score was 1-2?
SELECT AVG(points) FROM table_name_90 WHERE opponent = "calgary flames" AND january > 22
CREATE TABLE table_name_90 (points INTEGER, opponent VARCHAR, january VARCHAR), Which Points have an Opponent of calgary flames, and a January larger than 22?
SELECT SUM(points) FROM table_name_36 WHERE record = "21–20–6"
CREATE TABLE table_name_36 (points INTEGER, record VARCHAR), Which Points have a Record of 21–20–6?
SELECT AVG(january) FROM table_name_2 WHERE game = 50
CREATE TABLE table_name_2 (january INTEGER, game VARCHAR), Which January has a Game of 50?
SELECT record FROM table_name_79 WHERE opponent = "pittsburgh pirates" AND date = "may 5"
CREATE TABLE table_name_79 (record VARCHAR, opponent VARCHAR, date VARCHAR), Which Record has an Opponent of pittsburgh pirates, and a Date of may 5?
SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 5"
CREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR), Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5?
SELECT MAX(attendance) FROM table_name_24 WHERE record = "15-28"
CREATE TABLE table_name_24 (attendance INTEGER, record VARCHAR), Which Attendance is the highest one that has a Record of 15-28?
SELECT date FROM table_name_86 WHERE loss = "jeriome robertson"
CREATE TABLE table_name_86 (date VARCHAR, loss VARCHAR), What is the date of the match where Jeriome Robertson lost?
SELECT score FROM table_name_97 WHERE save = "postponed rescheduled for june 24"
CREATE TABLE table_name_97 (score VARCHAR, save VARCHAR), What is the score of the match with a save postponed rescheduled for June 24?
SELECT date FROM table_name_49 WHERE opponent = "brother elephants" AND save = "||4,117"
, What is the date of the match with Brother Elephants as the opponent and a save of
SELECT MIN(round) FROM table_name_3 WHERE name = "jon olinger" AND pick__number < 24
CREATE TABLE table_name_3 (round INTEGER, name VARCHAR, pick__number VARCHAR), What is the least round number for Jon Olinger, who was picked before pick # 24?
SELECT MAX(pick__number) FROM table_name_5 WHERE position = "defensive tackle" AND round < 7
CREATE TABLE table_name_5 (pick__number INTEGER, position VARCHAR, round VARCHAR), Before round 7, what is the greatest Pick # for a player that plays defensive tackle?
SELECT record FROM table_name_49 WHERE visitor = "boston bruins" AND date = "december 8"
CREATE TABLE table_name_49 (record VARCHAR, visitor VARCHAR, date VARCHAR), What was the record on december 8 when the boston bruins visited?
SELECT score FROM table_name_39 WHERE date = "november 3"
CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR), what was the score on november 3?
SELECT visitor FROM table_name_29 WHERE date = "november 17"
CREATE TABLE table_name_29 (visitor VARCHAR, date VARCHAR), who visited on november 17?
SELECT name FROM table_name_96 WHERE years = "1974"
CREATE TABLE table_name_96 (name VARCHAR, years VARCHAR), What is the name of the head coach of 1974?
SELECT AVG(seasons) FROM table_name_65 WHERE name = "terri drake" AND lost < 9
CREATE TABLE table_name_65 (seasons INTEGER, name VARCHAR, lost VARCHAR), What is the average number of seasons for Terri Drake who lost less than 9?
SELECT MIN(seasons) FROM table_name_36 WHERE years = "1982" AND lost > 9
CREATE TABLE table_name_36 (seasons INTEGER, years VARCHAR, lost VARCHAR), What is the lowest number of seasons that the head coach of 1982 had with larger than 9 losses?
SELECT webcast FROM table_name_86 WHERE format = "spanish contemporary" AND website = "xhnoe.com"
CREATE TABLE table_name_86 (webcast VARCHAR, format VARCHAR, website VARCHAR), Which webcast was in Spanish contemporary on xhnoe.com?
SELECT MAX(frequency) FROM table_name_79 WHERE website = "uncionfeypoder.com"
CREATE TABLE table_name_79 (frequency INTEGER, website VARCHAR), What is the highest frequency from uncionfeypoder.com?
SELECT format FROM table_name_73 WHERE brand = "digital 94.9"
CREATE TABLE table_name_73 (format VARCHAR, brand VARCHAR), What is the format for Digital 94.9?
SELECT population FROM table_name_51 WHERE deed_number = "21352021"
CREATE TABLE table_name_51 (population VARCHAR, deed_number VARCHAR), What is the population for Deed number of 21352021?
SELECT AVG(area__km²_) FROM table_name_30 WHERE excised_from = "shire of cook" AND population < 463 AND name_of_community = "wujal wujal (bloomfield river)"
CREATE TABLE table_name_30 (area__km²_ INTEGER, name_of_community VARCHAR, excised_from VARCHAR, population VARCHAR), What is the average Area (km²) that shows Excised from shire of cook and a Population smaller than 463 for the community of wujal wujal (bloomfield river)?
SELECT deed_number FROM table_name_24 WHERE population > 869 AND name_of_community = "woorabinda"
CREATE TABLE table_name_24 (deed_number VARCHAR, population VARCHAR, name_of_community VARCHAR), What was the deed number with a population of more than 869 in the woorabinda community?
SELECT MIN(population) FROM table_name_72 WHERE area__km²_ = 1115.4
CREATE TABLE table_name_72 (population INTEGER, area__km²_ VARCHAR), What is the smallest population with an Area (km²) of 1115.4?
SELECT MAX(area__km²_) FROM table_name_29 WHERE deed_number = "21352022" AND population > 184
CREATE TABLE table_name_29 (area__km²_ INTEGER, deed_number VARCHAR, population VARCHAR), What is the largest Area (km²) for Deed number of 21352022 with a Population of more than 184?
SELECT result FROM table_name_84 WHERE goal < 4 AND date = "16 october 2012"
CREATE TABLE table_name_84 (result VARCHAR, goal VARCHAR, date VARCHAR), What is the result of the match on 16 October 2012 with less than 4 goals?
SELECT opposition FROM table_name_53 WHERE year < 1977 AND city = "manchester"
CREATE TABLE table_name_53 (opposition VARCHAR, year VARCHAR, city VARCHAR), Which Opposition has a Year smaller than 1977, and a City of manchester?
SELECT MIN(score) FROM table_name_75 WHERE year = 1868
CREATE TABLE table_name_75 (score INTEGER, year VARCHAR), Which Score is the lowest one that has a Year of 1868?
SELECT venue FROM table_name_97 WHERE year > 1868 AND opposition = "derbyshire"
CREATE TABLE table_name_97 (venue VARCHAR, year VARCHAR, opposition VARCHAR), Which Venue has a Year larger than 1868, and an Opposition of derbyshire?
SELECT city FROM table_name_85 WHERE score < 30 AND venue = "aigburth"
CREATE TABLE table_name_85 (city VARCHAR, score VARCHAR, venue VARCHAR), Which City has a Score smaller than 30, and a Venue of aigburth?
SELECT position FROM table_name_7 WHERE height = "188cm"
CREATE TABLE table_name_7 (position VARCHAR, height VARCHAR), What is the Position of the player with a Height off 188cm?
SELECT position FROM table_name_31 WHERE name = "alexander wronski"
CREATE TABLE table_name_31 (position VARCHAR, name VARCHAR), What is Alexander Wronski's Position?
SELECT position FROM table_name_35 WHERE name = "senyi n'diaye"
CREATE TABLE table_name_35 (position VARCHAR, name VARCHAR), What is Senyi N'Diaye's Position?
SELECT date FROM table_name_31 WHERE competition = "friendly" AND score = "4-0"
CREATE TABLE table_name_31 (date VARCHAR, competition VARCHAR, score VARCHAR), What was the date of the friendly competition with a score of 4-0?
SELECT venue FROM table_name_21 WHERE score = "5-0" AND date = "august 3, 2005"
CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, date VARCHAR), Where did the competition take place at on August 3, 2005 with a score of 5-0?
SELECT result FROM table_name_39 WHERE competition = "2007 gulf cup of nations"
CREATE TABLE table_name_39 (result VARCHAR, competition VARCHAR), What was the result of the 2007 gulf cup of nations?
SELECT result FROM table_name_95 WHERE score = "4-0"
CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR), What was the result of the competition that had a score of 4-0?
SELECT title__english_ FROM table_name_91 WHERE number_of_season = 6
CREATE TABLE table_name_91 (title__english_ VARCHAR, number_of_season VARCHAR), What is the English title for season 6?
SELECT MAX(season) FROM table_name_3 WHERE wins = 1 AND position = "8th"
CREATE TABLE table_name_3 (season INTEGER, wins VARCHAR, position VARCHAR), What is the highest season wth a Win of 1 and a Position that is 8th?
SELECT COUNT(races) FROM table_name_70 WHERE poles > 0
CREATE TABLE table_name_70 (races VARCHAR, poles INTEGER), What is the total number of Races with a Pole that is larger than 0?
SELECT MIN(poles) FROM table_name_60 WHERE season > 2009
CREATE TABLE table_name_60 (poles INTEGER, season INTEGER), What is the lowest Poles with a Season that is larger than 2009?
SELECT team FROM table_name_53 WHERE location_attendance = "air canada centre 19,800" AND record = "41–33"
CREATE TABLE table_name_53 (team VARCHAR, location_attendance VARCHAR, record VARCHAR), Which team has a location attendance of Air Canada Centre 19,800 with a record of 41–33?
SELECT AVG(december) FROM table_name_38 WHERE record = "21–8–4" AND game > 33
CREATE TABLE table_name_38 (december INTEGER, record VARCHAR, game VARCHAR), Which December has a Record of 21–8–4, and a Game larger than 33?
SELECT opponent FROM table_name_96 WHERE score = "4–5 ot"
CREATE TABLE table_name_96 (opponent VARCHAR, score VARCHAR), Which Opponent has a Score of 4–5 ot?
SELECT MAX(game) FROM table_name_35 WHERE opponent = "new york islanders" AND december > 10
CREATE TABLE table_name_35 (game INTEGER, opponent VARCHAR, december VARCHAR), Which Game is the highest one that has an Opponent of new york islanders, and a December larger than 10?
SELECT tournament FROM table_name_5 WHERE location = "colorado"
CREATE TABLE table_name_5 (tournament VARCHAR, location VARCHAR), What tournament was located in Colorado?
SELECT date FROM table_name_70 WHERE week = 9
CREATE TABLE table_name_70 (date VARCHAR, week VARCHAR), On what date was the game in Week 9 played?
SELECT record FROM table_name_21 WHERE week > 6 AND attendance > 52 OFFSET 560
CREATE TABLE table_name_21 (record VARCHAR, week VARCHAR, attendance VARCHAR), What was the record of the game after Week 6 with an attendance larger than 52,560?
SELECT MAX(attendance) FROM table_name_61 WHERE game_site = "milwaukee county stadium"
CREATE TABLE table_name_61 (attendance INTEGER, game_site VARCHAR), What is the highest attendance rate at Milwaukee County Stadium?
SELECT MAX(ends_lost) FROM table_name_11 WHERE locale = "ontario"
CREATE TABLE table_name_11 (ends_lost INTEGER, locale VARCHAR), What's Ontario's highest Ends Lost?
SELECT MAX(shot_pct) FROM table_name_36 WHERE ends_lost > 44 AND skip = "cathy king" AND blank_ends < 13
CREATE TABLE table_name_36 (shot_pct INTEGER, blank_ends VARCHAR, ends_lost VARCHAR, skip VARCHAR), What is the shot % with a 44+ Ends Lost, skip Cathy King, and smaller than 13 Black Ends?
SELECT MAX(ends_lost) FROM table_name_2 WHERE shot_pct > 77 AND blank_ends = 11 AND stolen_ends = 7 AND ends_won > 44
CREATE TABLE table_name_2 (ends_lost INTEGER, ends_won VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR, blank_ends VARCHAR), What's the highest Ends Lost with a shot % greater than 77, 11 blank ends, 7 stolen ends, and more than 44 ends one?
SELECT segment_c FROM table_name_79 WHERE episode < 230 AND segment_a = "wax figures"
CREATE TABLE table_name_79 (segment_c VARCHAR, episode VARCHAR, segment_a VARCHAR), Which Segment C that has an Episode lower than 230, and a Segment A consisting of wax figures?
SELECT segment_a FROM table_name_61 WHERE segment_b = "s awning"
CREATE TABLE table_name_61 (segment_a VARCHAR, segment_b VARCHAR), Which Segment A has a Segment B of s awning?
SELECT split_off___continuation_of FROM table_name_40 WHERE date = "1836"
CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, date VARCHAR), Which church had a Split off/Continuation in 1836?
SELECT church_name FROM table_name_50 WHERE organized_by = "george m. hinkle"
CREATE TABLE table_name_50 (church_name VARCHAR, organized_by VARCHAR), Which church was organized by George M. Hinkle?
SELECT split_off___continuation_of FROM table_name_40 WHERE church_name = "pure church of christ"
CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, church_name VARCHAR), What was the Pure Church of Christ's Split off/ Continuation?
SELECT split_off___continuation_of FROM table_name_44 WHERE church_name = "independent church"
CREATE TABLE table_name_44 (split_off___continuation_of VARCHAR, church_name VARCHAR), What was the Independent Church's Split off/ Continuation?
SELECT organized_by FROM table_name_68 WHERE church_name = "alston church"
CREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR), Who organized Alston Church?
SELECT name FROM table_name_68 WHERE headquarters = "the netherlands"
CREATE TABLE table_name_68 (name VARCHAR, headquarters VARCHAR), what is the name of the netherlands head quarters
SELECT rider FROM table_name_10 WHERE rank = 10
CREATE TABLE table_name_10 (rider VARCHAR, rank VARCHAR), what person was in rank 10
SELECT driver FROM table_name_40 WHERE entries = 210
CREATE TABLE table_name_40 (driver VARCHAR, entries VARCHAR), Which driver has 210 as entries?
SELECT seasons FROM table_name_24 WHERE driver = "fernando alonso"
CREATE TABLE table_name_24 (seasons VARCHAR, driver VARCHAR), Which seasons have fernando alonso as the driver?
SELECT club FROM table_name_4 WHERE goals = 0
CREATE TABLE table_name_4 (club VARCHAR, goals VARCHAR), What club had 0 goals?