instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What score has 15.0% as the 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (score VARCHAR)
SELECT score FROM table_name_87 WHERE 2012 = "15.0%"
Write a SQL query that answers the following question: What 2008 has 14.2% as the 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (Id VARCHAR)
SELECT 2008 FROM table_name_31 WHERE 2009 = "14.2%"
Write a SQL query that answers the following question: What score has 15.0% as the 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (score VARCHAR)
SELECT score FROM table_name_16 WHERE 2012 = "15.0%"
Write a SQL query that answers the following question: What 2009 has 18.5% as the 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (Id VARCHAR)
SELECT 2009 FROM table_name_49 WHERE 2007 = "18.5%"
Write a SQL query that answers the following question: What 2011 has 12.7% as the 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (Id VARCHAR)
SELECT 2011 FROM table_name_33 WHERE 2010 = "12.7%"
Write a SQL query that answers the following question: What is the Week of the game with a Result of L 24-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (week INTEGER, result VARCHAR)
SELECT MAX(week) FROM table_name_44 WHERE result = "l 24-0"
Write a SQL query that answers the following question: What is the Week number on December 18, 1960?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_17 WHERE date = "december 18, 1960"
Write a SQL query that answers the following question: Which pick played the Defensive End position?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (pick VARCHAR, position VARCHAR)
SELECT pick FROM table_name_3 WHERE position = "defensive end"
Write a SQL query that answers the following question: How many picks were taken before round 3 and played Linebacker?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (pick VARCHAR, position VARCHAR, round VARCHAR)
SELECT COUNT(pick) FROM table_name_41 WHERE position = "linebacker" AND round < 3
Write a SQL query that answers the following question: What is the average number of silver medals won among nations that won 9 medals total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (silver INTEGER, total VARCHAR)
SELECT AVG(silver) FROM table_name_88 WHERE total = 9
Write a SQL query that answers the following question: Which Round has a Pick larger than 179?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (round INTEGER, pick INTEGER)
SELECT MAX(round) FROM table_name_63 WHERE pick > 179
Write a SQL query that answers the following question: What is jamar martin's highest pick?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (pick INTEGER, player VARCHAR)
SELECT MAX(pick) FROM table_name_33 WHERE player = "jamar martin"
Write a SQL query that answers the following question: What teams rank is higher than 4 with a speed of 104.574mph?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (team VARCHAR, rank VARCHAR, speed VARCHAR)
SELECT team FROM table_name_91 WHERE rank > 4 AND speed = "104.574mph"
Write a SQL query that answers the following question: What team does Anthony Redmond ride for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (team VARCHAR, rider VARCHAR)
SELECT team FROM table_name_32 WHERE rider = "anthony redmond"
Write a SQL query that answers the following question: What was the speed with a time of 1:03.41.86 and a rank smaller than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (speed VARCHAR, rank VARCHAR, time VARCHAR)
SELECT speed FROM table_name_86 WHERE rank < 3 AND time = "1:03.41.86"
Write a SQL query that answers the following question: What school in 72 Scott county has an enrollment more than 473 with an AAA IHSAA Class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (school VARCHAR, _number___county VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
SELECT school FROM table_name_11 WHERE enrollment > 473 AND ihsaa_class = "aaa" AND _number___county = "72 scott"
Write a SQL query that answers the following question: What's the mascot of Eastern Pekin having less than 627 enrolled and an AA for their IHSAA Class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (mascot VARCHAR, school VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
SELECT mascot FROM table_name_34 WHERE enrollment < 627 AND ihsaa_class = "aa" AND school = "eastern pekin"
Write a SQL query that answers the following question: What's the most enrolled having the dragons for a mascot and an AAA for the IHSAA Class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (enrollment INTEGER, ihsaa_class VARCHAR, mascot VARCHAR)
SELECT MAX(enrollment) FROM table_name_88 WHERE ihsaa_class = "aaa" AND mascot = "dragons"
Write a SQL query that answers the following question: What's the county of Eastern Pekin school with fewer than 774 enrolled?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (_number___county VARCHAR, enrollment VARCHAR, school VARCHAR)
SELECT _number___county FROM table_name_54 WHERE enrollment < 774 AND school = "eastern pekin"
Write a SQL query that answers the following question: What's the location of the school having the panthers as a mascot with an AAA for the IHSAA Class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (location VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
SELECT location FROM table_name_28 WHERE ihsaa_class = "aaa" AND mascot = "panthers"
Write a SQL query that answers the following question: What's the IHSAA Class when the mascot was the Musketeers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (ihsaa_class VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_1 WHERE mascot = "musketeers"
Write a SQL query that answers the following question: Who was the director of Chaser on the Rocks?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_74 WHERE title = "chaser on the rocks"
Write a SQL query that answers the following question: What are the characters from the movie Suppressed Duck?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (characters VARCHAR, title VARCHAR)
SELECT characters FROM table_name_80 WHERE title = "suppressed duck"
Write a SQL query that answers the following question: How many picks on average did Jay Bruchak have before round 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (pick INTEGER, player VARCHAR, round VARCHAR)
SELECT AVG(pick) FROM table_name_7 WHERE player = "jay bruchak" AND round < 6
Write a SQL query that answers the following question: How many rounds did Pierre Bland have a pick larger than 148?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR)
SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = "pierre bland"
Write a SQL query that answers the following question: What was the earliest round that Purdue had a pick larger than 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (round INTEGER, college VARCHAR, pick VARCHAR)
SELECT MIN(round) FROM table_name_16 WHERE college = "purdue" AND pick > 10
Write a SQL query that answers the following question: How many picks did Jay Bruchak have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (pick VARCHAR, player VARCHAR)
SELECT COUNT(pick) FROM table_name_31 WHERE player = "jay bruchak"
Write a SQL query that answers the following question: In what round was the Alianza home game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (round VARCHAR, home VARCHAR)
SELECT round FROM table_name_85 WHERE home = "alianza"
Write a SQL query that answers the following question: What was the visiting team that played a round 16 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (away VARCHAR, round VARCHAR)
SELECT away FROM table_name_48 WHERE round = "round 16"
Write a SQL query that answers the following question: How many weeks have an Attendance of 62,289?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (week INTEGER, attendance VARCHAR)
SELECT SUM(week) FROM table_name_68 WHERE attendance = 62 OFFSET 289
Write a SQL query that answers the following question: Which Week has an Attendance larger than 65,070?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (week INTEGER, attendance INTEGER)
SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070
Write a SQL query that answers the following question: Which Week has an Opponent of atlanta falcons, and an Attendance smaller than 63,114?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT MIN(week) FROM table_name_58 WHERE opponent = "atlanta falcons" AND attendance < 63 OFFSET 114
Write a SQL query that answers the following question: which Tms has a Season of 2013?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (tms VARCHAR, season VARCHAR)
SELECT tms FROM table_name_59 WHERE season = "2013"
Write a SQL query that answers the following question: What's the population with a code more than 90902 and an area less than 1,335.47?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (population INTEGER, code VARCHAR, area__km_2__ VARCHAR)
SELECT MIN(population) FROM table_name_19 WHERE code > 90902 AND area__km_2__ < 1 OFFSET 335.47
Write a SQL query that answers the following question: What's the most area of Bochum Part 2 with a population less than 15,911?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (area__km_2__ INTEGER, place VARCHAR, population VARCHAR)
SELECT MAX(area__km_2__) FROM table_name_72 WHERE place = "bochum part 2" AND population < 15 OFFSET 911
Write a SQL query that answers the following question: What is the Original NFL team of the CB Player?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR)
SELECT original_nfl_team FROM table_name_31 WHERE pos = "cb"
Write a SQL query that answers the following question: What is the College of the WR Player from SWC Conf?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (college VARCHAR, conf VARCHAR, pos VARCHAR)
SELECT college FROM table_name_70 WHERE conf = "swc" AND pos = "wr"
Write a SQL query that answers the following question: What Player is from the College of memphis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_5 WHERE college = "memphis"
Write a SQL query that answers the following question: What is the College of the LB Player with Big Ten Conf.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (college VARCHAR, pos VARCHAR, conf VARCHAR)
SELECT college FROM table_name_70 WHERE pos = "lb" AND conf = "big ten"
Write a SQL query that answers the following question: How many draws are there when there are 11 wins, and more than 7 losses?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (draws INTEGER, wins VARCHAR, losses VARCHAR)
SELECT SUM(draws) FROM table_name_92 WHERE wins = 11 AND losses > 7
Write a SQL query that answers the following question: What is the draws when there are less than 3 losses and more than 16 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (draws INTEGER, losses VARCHAR, wins VARCHAR)
SELECT MAX(draws) FROM table_name_20 WHERE losses < 3 AND wins > 16
Write a SQL query that answers the following question: What is the wins when there are 5 losses, and against is more than 1205?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (wins INTEGER, losses VARCHAR, against VARCHAR)
SELECT MAX(wins) FROM table_name_33 WHERE losses = 5 AND against > 1205
Write a SQL query that answers the following question: What is the losses when Sunrayia FL is Red Cliffs, and the against is more than 2294?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (losses INTEGER, sunrayia_fl VARCHAR, against VARCHAR)
SELECT AVG(losses) FROM table_name_20 WHERE sunrayia_fl = "red cliffs" AND against > 2294
Write a SQL query that answers the following question: What is the number against when losses are smaller than 3, and wins arelarger than 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (against VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT COUNT(against) FROM table_name_73 WHERE losses < 3 AND wins > 16
Write a SQL query that answers the following question: What is the Notes of the Frequency with Call sign CFUN-FM-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (notes VARCHAR, call_sign VARCHAR)
SELECT notes FROM table_name_33 WHERE call_sign = "cfun-fm-1"
Write a SQL query that answers the following question: What is the Format of FM 100.5 Licensed to Hope?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (format VARCHAR, notes VARCHAR, frequency VARCHAR)
SELECT format FROM table_name_65 WHERE notes = "licensed to hope" AND frequency = "fm 100.5"
Write a SQL query that answers the following question: What is the Notes of the Frequency with a call sign of CBUE-FM?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (notes VARCHAR, call_sign VARCHAR)
SELECT notes FROM table_name_82 WHERE call_sign = "cbue-fm"
Write a SQL query that answers the following question: what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR)
SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 1
Write a SQL query that answers the following question: what is the highest spartak when played is less than 15 and dynamo is less than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (spartak INTEGER, played VARCHAR, dynamo VARCHAR)
SELECT MAX(spartak) FROM table_name_42 WHERE played < 15 AND dynamo < 3
Write a SQL query that answers the following question: what is the most draw when the competition is soviet league and dynamo is more than 34?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (draw INTEGER, competition VARCHAR, dynamo VARCHAR)
SELECT MAX(draw) FROM table_name_19 WHERE competition = "soviet league" AND dynamo > 34
Write a SQL query that answers the following question: what is the sum of spartak when played is 102 and draw is less than 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (spartak INTEGER, played VARCHAR, draw VARCHAR)
SELECT SUM(spartak) FROM table_name_54 WHERE played = 102 AND draw < 19
Write a SQL query that answers the following question: what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (dynamo INTEGER, draw VARCHAR, spartak VARCHAR, competition VARCHAR)
SELECT MIN(dynamo) FROM table_name_12 WHERE spartak > 9 AND competition = "totals" AND draw > 24
Write a SQL query that answers the following question: What's the result when the Washington Redskins were the opponents on a week after 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_85 WHERE week > 8 AND opponent = "washington redskins"
Write a SQL query that answers the following question: What is the 4.45 for Anna Rogowska from Poland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (nationality VARCHAR, name VARCHAR)
SELECT 445 FROM table_name_46 WHERE nationality = "poland" AND name = "anna rogowska"
Write a SQL query that answers the following question: What is the 4.45 for Yelena Isinbayeva?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (name VARCHAR)
SELECT 445 FROM table_name_5 WHERE name = "yelena isinbayeva"
Write a SQL query that answers the following question: What is Anna Rogowska's average result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (result INTEGER, name VARCHAR)
SELECT AVG(result) FROM table_name_7 WHERE name = "anna rogowska"
Write a SQL query that answers the following question: What national has 4.45 for o and 4.55 for xo?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (nationality VARCHAR)
SELECT nationality FROM table_name_13 WHERE 445 = "o" AND 455 = "xo"
Write a SQL query that answers the following question: What is the sum of staterooms in with a year buit of 2008, and a crew less than 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (staterooms INTEGER, year_built VARCHAR, crew VARCHAR)
SELECT SUM(staterooms) FROM table_name_62 WHERE year_built = 2008 AND crew < 28
Write a SQL query that answers the following question: What is the total for guests with a ship name of rv indochina, and a crew smaller than 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (guests VARCHAR, ship_name VARCHAR, crew VARCHAR)
SELECT COUNT(guests) FROM table_name_89 WHERE ship_name = "rv indochina" AND crew < 28
Write a SQL query that answers the following question: what is the country when the total is 111 and the day 1 is 69?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (country VARCHAR, total VARCHAR, day_1 VARCHAR)
SELECT country FROM table_name_4 WHERE total = 111 AND day_1 = 69
Write a SQL query that answers the following question: what is the average rank when the day 1 is less than 71 and the country is romania?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (rank INTEGER, day_1 VARCHAR, country VARCHAR)
SELECT AVG(rank) FROM table_name_62 WHERE day_1 < 71 AND country = "romania"
Write a SQL query that answers the following question: how many times is the athlete jin di and the total less than 118?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (rank VARCHAR, athlete VARCHAR, total VARCHAR)
SELECT COUNT(rank) FROM table_name_77 WHERE athlete = "jin di" AND total < 118
Write a SQL query that answers the following question: What is the highest goal for a GEO nat., that ended after 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (goals INTEGER, nat VARCHAR, ends VARCHAR)
SELECT MAX(goals) FROM table_name_6 WHERE nat = "geo" AND ends > 2010
Write a SQL query that answers the following question: what is the venue when the year is 2006, the competition is asian games and the event is 400 m?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (venue VARCHAR, event VARCHAR, year VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_20 WHERE year = 2006 AND competition = "asian games" AND event = "400 m"
Write a SQL query that answers the following question: what is the venue when the event is 4x400 m relay and the competition is asian championships?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (venue VARCHAR, event VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_7 WHERE event = "4x400 m relay" AND competition = "asian championships"
Write a SQL query that answers the following question: what is the venue when the competition is asian games, the event is 4x400 m relay and the year is 2002?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (venue VARCHAR, year VARCHAR, competition VARCHAR, event VARCHAR)
SELECT venue FROM table_name_93 WHERE competition = "asian games" AND event = "4x400 m relay" AND year = 2002
Write a SQL query that answers the following question: During the voting order 11, when the commentator was pierre tchernia, who was the spokesperson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (spokespersons VARCHAR, commentator VARCHAR, voting_order VARCHAR)
SELECT spokespersons FROM table_name_7 WHERE commentator = "pierre tchernia" AND voting_order = 11
Write a SQL query that answers the following question: What was the voting order when bunny carr was the commentator?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR)
SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr"
Write a SQL query that answers the following question: Who was the commentator when the spokesperson was michael aspel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (commentator VARCHAR, spokespersons VARCHAR)
SELECT commentator FROM table_name_35 WHERE spokespersons = "michael aspel"
Write a SQL query that answers the following question: What was the voting order when the commentator was renato tagliani?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (voting_order VARCHAR, commentator VARCHAR)
SELECT voting_order FROM table_name_95 WHERE commentator = "renato tagliani"
Write a SQL query that answers the following question: Which Bronze has a Total smaller than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (bronze INTEGER, total INTEGER)
SELECT AVG(bronze) FROM table_name_15 WHERE total < 1
Write a SQL query that answers the following question: How much Silver has a Bronze larger than 1, and a Gold of 0, and a Rank smaller than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (silver VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT COUNT(silver) FROM table_name_95 WHERE bronze > 1 AND gold = 0 AND rank < 4
Write a SQL query that answers the following question: Which Bronze has a Rank of 4, and a Gold smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
SELECT MAX(bronze) FROM table_name_7 WHERE rank = 4 AND gold < 0
Write a SQL query that answers the following question: How much Gold has a Bronze smaller than 2, and a Silver of 0, and a Rank larger than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (gold INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT SUM(gold) FROM table_name_78 WHERE bronze < 2 AND silver = 0 AND rank > 3
Write a SQL query that answers the following question: What percentage of the 2011 population had a mother tongue language that was spoken by 45.22% of the population in 2006 (over 120)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (percentage__2011_ VARCHAR, population__2006_ VARCHAR, percentage__2006_ VARCHAR)
SELECT percentage__2011_ FROM table_name_13 WHERE population__2006_ > 120 AND percentage__2006_ = "45.22%"
Write a SQL query that answers the following question: What is the total number of people in 2011 speaking the mother tongue language spoken by 120 in 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (population__2011_ VARCHAR, population__2006_ VARCHAR)
SELECT COUNT(population__2011_) FROM table_name_49 WHERE population__2006_ = 120
Write a SQL query that answers the following question: How many people ha Romanian as their mother tongue in 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (population__2006_ INTEGER, mother_tongue VARCHAR)
SELECT MAX(population__2006_) FROM table_name_12 WHERE mother_tongue = "romanian"
Write a SQL query that answers the following question: What is the mother tongue language shared by 300 people in 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (mother_tongue VARCHAR, population__2006_ VARCHAR)
SELECT mother_tongue FROM table_name_94 WHERE population__2006_ = 300
Write a SQL query that answers the following question: What's the total number of points when the English translation is Long Live Life and the draw is less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (points VARCHAR, english_translation VARCHAR, draw VARCHAR)
SELECT COUNT(points) FROM table_name_64 WHERE english_translation = "long live life" AND draw < 2
Write a SQL query that answers the following question: What's the language of Draw number 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (language VARCHAR, draw VARCHAR)
SELECT language FROM table_name_65 WHERE draw = 9
Write a SQL query that answers the following question: What are the lowest points when the language is Portuguese?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (points INTEGER, language VARCHAR)
SELECT MIN(points) FROM table_name_87 WHERE language = "portuguese"
Write a SQL query that answers the following question: What's the island with a summit of Haleakalā?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (island VARCHAR, summit VARCHAR)
SELECT island FROM table_name_74 WHERE summit = "haleakalā"
Write a SQL query that answers the following question: What's the lowest Col ranked less than 6 with an Island of Molokaʻi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (col__m_ INTEGER, island VARCHAR, rank VARCHAR)
SELECT MIN(col__m_) FROM table_name_96 WHERE island = "island of molokaʻi" AND rank < 6
Write a SQL query that answers the following question: What's the col (m) ranked more than 4 with a summit of Kawaikini?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (col__m_ VARCHAR, rank VARCHAR, summit VARCHAR)
SELECT col__m_ FROM table_name_84 WHERE rank > 4 AND summit = "kawaikini"
Write a SQL query that answers the following question: What's the rank when the col (m) is less than 33 and has a summit of Haleakalā?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (rank INTEGER, col__m_ VARCHAR, summit VARCHAR)
SELECT SUM(rank) FROM table_name_80 WHERE col__m_ < 33 AND summit = "haleakalā"
Write a SQL query that answers the following question: What's the summit when the rank is less than 2 and has a col (m) of 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (summit VARCHAR, col__m_ VARCHAR, rank VARCHAR)
SELECT summit FROM table_name_72 WHERE col__m_ = 0 AND rank < 2
Write a SQL query that answers the following question: Which Year has an Edition of 41st?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (year VARCHAR, edition VARCHAR)
SELECT year FROM table_name_58 WHERE edition = "41st"
Write a SQL query that answers the following question: How many Events have a Country of trinidad and tobago, and a Date of march 30-april 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (no_of_events VARCHAR, country VARCHAR, date VARCHAR)
SELECT no_of_events FROM table_name_13 WHERE country = "trinidad and tobago" AND date = "march 30-april 1"
Write a SQL query that answers the following question: Which Country has a Top Team of jam, and an Edition of 31st?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (country VARCHAR, top_team VARCHAR, edition VARCHAR)
SELECT country FROM table_name_93 WHERE top_team = "jam" AND edition = "31st"
Write a SQL query that answers the following question: What was the outcome of the final with a partner of Brett Steven?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (outcome VARCHAR, partner VARCHAR)
SELECT outcome FROM table_name_62 WHERE partner = "brett steven"
Write a SQL query that answers the following question: On what type of surface was the tournament of Italy f28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_84 WHERE tournament = "italy f28"
Write a SQL query that answers the following question: Who was the opponent in the final of the Senegal f2 tournament>
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, tournament VARCHAR)
SELECT opponent_in_the_final FROM table_name_8 WHERE tournament = "senegal f2"
Write a SQL query that answers the following question: What's the score on December 12, 1998?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_11 WHERE date = "december 12, 1998"
Write a SQL query that answers the following question: What was the venue when the score was 7-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_93 WHERE score = "7-1"
Write a SQL query that answers the following question: What's the score of the friendly competition?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_18 WHERE competition = "friendly"
Write a SQL query that answers the following question: What's the competition that happened in Singapore?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_59 WHERE venue = "singapore"
Write a SQL query that answers the following question: What's the venue of the 1995 Southeast Asian Games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_97 WHERE competition = "1995 southeast asian games"
Write a SQL query that answers the following question: What was the date of the inauguration in the row with an entry of lifespan in the lifespan column?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date_of_inauguration VARCHAR)
SELECT date_of_inauguration FROM table_name_71 WHERE "lifespan" = "lifespan"
Write a SQL query that answers the following question: What was the date of death entry in the row that has a date of inauguration entry of date of inauguration?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (date_of_death VARCHAR, date_of_inauguration VARCHAR)
SELECT date_of_death FROM table_name_76 WHERE date_of_inauguration = "date of inauguration"
Write a SQL query that answers the following question: What is the length of retirement for president Sharma, Shankar Shankar Dayal Sharma?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (length_of_retirement VARCHAR, president VARCHAR)
SELECT length_of_retirement FROM table_name_49 WHERE president = "sharma, shankar shankar dayal sharma"