instruction
stringlengths 67
299
| input
stringlengths 88
550
| output
stringlengths 32
484
|
---|---|---|
Write a SQL query that answers the following question: What label released a record on December 19, 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (label VARCHAR, date VARCHAR) | SELECT label FROM table_name_83 WHERE date = "december 19, 2001" |
Write a SQL query that answers the following question: What is the catalog of the record released on May 27, 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (catalog VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_94 WHERE date = "may 27, 2009" |
Write a SQL query that answers the following question: On what date was a record from Village Records with catalog VRCL-2205 released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (date VARCHAR, label VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_5 WHERE label = "village records" AND catalog = "vrcl-2205" |
Write a SQL query that answers the following question: On what date was the record with catalog ALCA-275 released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_32 WHERE catalog = "alca-275" |
Write a SQL query that answers the following question: What was the earliest year that Yvette Alexander took office and was up for reelection after 2016? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR) | SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016 |
Write a SQL query that answers the following question: What is the earliest year a Chairman who took office after 2011 is up for reelection? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (up_for_reelection INTEGER, took_office VARCHAR, position VARCHAR) | SELECT MIN(up_for_reelection) FROM table_name_80 WHERE took_office > 2011 AND position = "chairman" |
Write a SQL query that answers the following question: What year had less than 36 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (year VARCHAR, laps INTEGER) | SELECT year FROM table_name_17 WHERE laps < 36 |
Write a SQL query that answers the following question: What was the most laps with a finish of 10 and qualification of 106.185? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (laps INTEGER, finish VARCHAR, qual VARCHAR) | SELECT MAX(laps) FROM table_name_84 WHERE finish = "10" AND qual = "106.185" |
Write a SQL query that answers the following question: What is the most laps with a qualification of 106.185? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (laps INTEGER, qual VARCHAR) | SELECT MAX(laps) FROM table_name_38 WHERE qual = "106.185" |
Write a SQL query that answers the following question: In what year were laps less than 64 and the finish at 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (year VARCHAR, laps VARCHAR, finish VARCHAR) | SELECT year FROM table_name_59 WHERE laps < 64 AND finish = "25" |
Write a SQL query that answers the following question: What was the qualification in 1932? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (qual VARCHAR, year VARCHAR) | SELECT qual FROM table_name_51 WHERE year = "1932" |
Write a SQL query that answers the following question: What was the start with a rank of 3 in 1936? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (start VARCHAR, rank VARCHAR, year VARCHAR) | SELECT start FROM table_name_12 WHERE rank = "3" AND year = "1936" |
Write a SQL query that answers the following question: For a Team 1 of Al-Merrikh, what was the aggregate? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_47 WHERE team_1 = "al-merrikh" |
Write a SQL query that answers the following question: For an aggregate of 1-3, what was the 2nd leg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (agg VARCHAR) | SELECT 2 AS nd_leg FROM table_name_74 WHERE agg = "1-3" |
Write a SQL query that answers the following question: For a team 2 of Al-Faisaly, what was the 2nd leg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_96 WHERE team_2 = "al-faisaly" |
Write a SQL query that answers the following question: What years is the private school in upper hutt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (years VARCHAR, area VARCHAR, authority VARCHAR) | SELECT years FROM table_name_90 WHERE area = "upper hutt" AND authority = "private" |
Write a SQL query that answers the following question: What school with a decile of 7 is in upper hutt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (name VARCHAR, decile VARCHAR, area VARCHAR) | SELECT name FROM table_name_39 WHERE decile = "7" AND area = "upper hutt" |
Write a SQL query that answers the following question: What authority is the coed school in pinehaven? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (authority VARCHAR, gender VARCHAR, area VARCHAR) | SELECT authority FROM table_name_58 WHERE gender = "coed" AND area = "pinehaven" |
Write a SQL query that answers the following question: What years does plateau school serve? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (years VARCHAR, name VARCHAR) | SELECT years FROM table_name_96 WHERE name = "plateau school" |
Write a SQL query that answers the following question: Is Upper valley middle school public or private? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (authority VARCHAR, name VARCHAR) | SELECT authority FROM table_name_2 WHERE name = "upper valley middle school" |
Write a SQL query that answers the following question: What is the record on June 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_57 WHERE date = "june 13" |
Write a SQL query that answers the following question: Name the most lot number with notes of b4 bogies and diagram of 185 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (lot_no INTEGER, notes VARCHAR, diagram VARCHAR) | SELECT MAX(lot_no) FROM table_name_46 WHERE notes = "b4 bogies" AND diagram = 185 |
Write a SQL query that answers the following question: Name the fleet numbers for diagram of 186 and lot number of 30798 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (fleet_numbers VARCHAR, diagram VARCHAR, lot_no VARCHAR) | SELECT fleet_numbers FROM table_name_10 WHERE diagram = 186 AND lot_no = 30798 |
Write a SQL query that answers the following question: What line is 24.7 km and head towards Toyohashi East? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR) | SELECT name FROM table_name_36 WHERE direction = "toyohashi east" AND length__km_ = 24.7 |
Write a SQL query that answers the following question: What is the record on November 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_26 WHERE date = "november 18" |
Write a SQL query that answers the following question: What was the average attendance when Chicago Bears were the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (attendance INTEGER, home VARCHAR) | SELECT AVG(attendance) FROM table_name_22 WHERE home = "chicago bears" |
Write a SQL query that answers the following question: What is the score when the record is 5-4-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_52 WHERE record = "5-4-1" |
Write a SQL query that answers the following question: What is the largest number in attendance when the record is 1-1-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR) | SELECT MAX(attendance) FROM table_name_63 WHERE record = "1-1-0" |
Write a SQL query that answers the following question: What is the GDP of the nation with 56,210,000 people? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (gdp_per_capita__us$_ VARCHAR, population VARCHAR) | SELECT gdp_per_capita__us$_ FROM table_name_77 WHERE population = "56,210,000" |
Write a SQL query that answers the following question: What is the area of the nation with GDP per capita (US$) of 11,929? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (area__km²_ VARCHAR, gdp_per_capita__us$_ VARCHAR) | SELECT area__km²_ FROM table_name_11 WHERE gdp_per_capita__us$_ = "11,929" |
Write a SQL query that answers the following question: What is the population of the nation that has a GDP per capita (US$) of 11,929? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (population VARCHAR, gdp_per_capita__us$_ VARCHAR) | SELECT population FROM table_name_99 WHERE gdp_per_capita__us$_ = "11,929" |
Write a SQL query that answers the following question: What is the Population of the nation that has an Area (km²) of 70,273? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (population VARCHAR, area__km²_ VARCHAR) | SELECT population FROM table_name_31 WHERE area__km²_ = "70,273" |
Write a SQL query that answers the following question: What is the Population of the nation that has a Member countries consisting of existing members (1973)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (population VARCHAR, member_countries VARCHAR) | SELECT population FROM table_name_68 WHERE member_countries = "existing members (1973)" |
Write a SQL query that answers the following question: What television network, founded in 2002, has a community type of network? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (television_network VARCHAR, type_of_network VARCHAR, founded VARCHAR) | SELECT television_network FROM table_name_67 WHERE type_of_network = "community" AND founded = "2002" |
Write a SQL query that answers the following question: At what stadium did the Green Bay Packers play an away game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (stadium VARCHAR, visiting_team VARCHAR) | SELECT stadium FROM table_name_67 WHERE visiting_team = "green bay packers" |
Write a SQL query that answers the following question: At what stadium was the final score 31-28? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (stadium VARCHAR, final_score VARCHAR) | SELECT stadium FROM table_name_60 WHERE final_score = "31-28" |
Write a SQL query that answers the following question: Which team hosted the Kansas City Chiefs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (host_team VARCHAR, visiting_team VARCHAR) | SELECT host_team FROM table_name_53 WHERE visiting_team = "kansas city chiefs" |
Write a SQL query that answers the following question: What team hosted at Tampa Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (host_team VARCHAR, stadium VARCHAR) | SELECT host_team FROM table_name_75 WHERE stadium = "tampa stadium" |
Write a SQL query that answers the following question: With a record of 43-26, what was the score that game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_89 WHERE record = "43-26" |
Write a SQL query that answers the following question: On June 8, what's the loss when the Blue Jays played the Tigers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (loss VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT loss FROM table_name_58 WHERE opponent = "tigers" AND date = "june 8" |
Write a SQL query that answers the following question: What date was the record 38-22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_71 WHERE record = "38-22" |
Write a SQL query that answers the following question: The game that had a record of 39-25, what was the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_77 WHERE record = "39-25" |
Write a SQL query that answers the following question: Which runner-up has a 10 strokes margin of victory? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (runner_up VARCHAR, margin_of_victory VARCHAR) | SELECT runner_up FROM table_name_12 WHERE margin_of_victory = "10 strokes" |
Write a SQL query that answers the following question: Which of the events only lasted no more than 0:55? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (event VARCHAR, time VARCHAR) | SELECT event FROM table_name_66 WHERE time = "0:55" |
Write a SQL query that answers the following question: Which event only lasted for 3 rounds against Fernando Terere? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (event VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_50 WHERE round = 3 AND opponent = "fernando terere" |
Write a SQL query that answers the following question: What is the Primary Sponsor for the team owned by Randy Humphrey? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (primary_sponsor_s_ VARCHAR, owner_s_ VARCHAR) | SELECT primary_sponsor_s_ FROM table_name_4 WHERE owner_s_ = "randy humphrey" |
Write a SQL query that answers the following question: Who is the Driver on Bob Keselowski's team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (driver_s_ VARCHAR, owner_s_ VARCHAR) | SELECT driver_s_ FROM table_name_57 WHERE owner_s_ = "bob keselowski" |
Write a SQL query that answers the following question: Walter Giles is Crew Chief of what team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (team VARCHAR, crew_chief VARCHAR) | SELECT team FROM table_name_50 WHERE crew_chief = "walter giles" |
Write a SQL query that answers the following question: What club does the stadium stc krymteplitsia belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (club VARCHAR, stadium VARCHAR) | SELECT club FROM table_name_34 WHERE stadium = "stc krymteplitsia" |
Write a SQL query that answers the following question: What was Tony Bettenhausen's qualifying time in 1947? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (qual VARCHAR, year VARCHAR) | SELECT qual FROM table_name_61 WHERE year = "1947" |
Write a SQL query that answers the following question: Which year did Tony Bettenhausen complete more than 200 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (year VARCHAR, laps INTEGER) | SELECT year FROM table_name_43 WHERE laps > 200 |
Write a SQL query that answers the following question: What was the value in 2006 when 2003 was not held and 2012 was A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (Id VARCHAR) | SELECT 2006 FROM table_name_40 WHERE 2003 = "not held" AND 2012 = "a" |
Write a SQL query that answers the following question: What was the 2008 value when 2012 was Grand Slam Tournaments? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (Id VARCHAR) | SELECT 2008 FROM table_name_35 WHERE 2012 = "grand slam tournaments" |
Write a SQL query that answers the following question: What was the value in 2008 when 2012 was 1R, 2010 was A, and 2005 was A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (Id VARCHAR) | SELECT 2008 FROM table_name_1 WHERE 2012 = "1r" AND 2010 = "a" AND 2005 = "a" |
Write a SQL query that answers the following question: What was the value in 2003 when 2006 was WTA Premier Mandatory Tournaments? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (Id VARCHAR) | SELECT 2003 FROM table_name_86 WHERE 2006 = "wta premier mandatory tournaments" |
Write a SQL query that answers the following question: What was the value in 2009 when 2005 was A for the Australian Open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (tournament VARCHAR) | SELECT 2009 FROM table_name_5 WHERE 2005 = "a" AND tournament = "australian open" |
Write a SQL query that answers the following question: What was the value in 2012 when 2002 was Q1 and 2010 was 1R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (Id VARCHAR) | SELECT 2012 FROM table_name_83 WHERE 2002 = "q1" AND 2010 = "1r" |
Write a SQL query that answers the following question: What type has a GNIS ID of 1139805 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (type VARCHAR, gnis_id VARCHAR) | SELECT type FROM table_name_15 WHERE gnis_id = 1139805 |
Write a SQL query that answers the following question: Which name has a USGS Map of clear lake? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (name VARCHAR, usgs_map VARCHAR) | SELECT name FROM table_name_85 WHERE usgs_map = "clear lake" |
Write a SQL query that answers the following question: What is the status of Norris? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (status VARCHAR, name VARCHAR) | SELECT status FROM table_name_31 WHERE name = "norris" |
Write a SQL query that answers the following question: What is the source for Laird? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (source VARCHAR, name VARCHAR) | SELECT source FROM table_name_18 WHERE name = "laird" |
Write a SQL query that answers the following question: What 1958 CIE is class s? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (class VARCHAR) | SELECT 1958 AS _cié FROM table_name_69 WHERE class = "s" |
Write a SQL query that answers the following question: What day withdrawn is associated with fleet numbers of 12, 25, 42–46, 50, 70–71, 74–77, 106–107, 129? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (date_withdrawn VARCHAR, fleet_numbers VARCHAR) | SELECT date_withdrawn FROM table_name_96 WHERE fleet_numbers = "12, 25, 42–46, 50, 70–71, 74–77, 106–107, 129" |
Write a SQL query that answers the following question: Which player has a score of 74-74-73-70=291? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_72 WHERE score = 74 - 74 - 73 - 70 = 291 |
Write a SQL query that answers the following question: What is the average earnings of a United States player who had a score of 72-68-74-72=286? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (earnings___ INTEGER, country VARCHAR, score VARCHAR) | SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE country = "united states" AND score = 72 - 68 - 74 - 72 = 286 |
Write a SQL query that answers the following question: What was the attendance at the game that had a loss of Mercker (3-1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (attendance VARCHAR, loss VARCHAR) | SELECT attendance FROM table_name_12 WHERE loss = "mercker (3-1)" |
Write a SQL query that answers the following question: What was the attendance at the game that had a loss of Ayala (6-12)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (attendance VARCHAR, loss VARCHAR) | SELECT attendance FROM table_name_49 WHERE loss = "ayala (6-12)" |
Write a SQL query that answers the following question: What was the loss of the game that had a score of 9-7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (loss VARCHAR, score VARCHAR) | SELECT loss FROM table_name_65 WHERE score = "9-7" |
Write a SQL query that answers the following question: What was the loss of the game attended by 14,691? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (loss VARCHAR, attendance VARCHAR) | SELECT loss FROM table_name_62 WHERE attendance = "14,691" |
Write a SQL query that answers the following question: What was the loss of the game attended by 29,704? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (loss VARCHAR, attendance VARCHAR) | SELECT loss FROM table_name_21 WHERE attendance = "29,704" |
Write a SQL query that answers the following question: What is the Winner, when the Location is Clemson, SC, and when the Date is November 17, 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (winner VARCHAR, location VARCHAR, date VARCHAR) | SELECT winner FROM table_name_66 WHERE location = "clemson, sc" AND date = "november 17, 2012" |
Write a SQL query that answers the following question: What is the Location, when the Score is 38-29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (location VARCHAR, score VARCHAR) | SELECT location FROM table_name_88 WHERE score = "38-29" |
Write a SQL query that answers the following question: What is the Location, when the Score is 35-31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (location VARCHAR, score VARCHAR) | SELECT location FROM table_name_63 WHERE score = "35-31" |
Write a SQL query that answers the following question: What is the Score, when the Location is Clemson, SC, when the Winner is Clemson, and when the Date is November 11, 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR) | SELECT score FROM table_name_67 WHERE location = "clemson, sc" AND winner = "clemson" AND date = "november 11, 2006" |
Write a SQL query that answers the following question: What was the game result on November 16, 1969? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_83 WHERE date = "november 16, 1969" |
Write a SQL query that answers the following question: What is the general classification of stage 3 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (general_classification VARCHAR, stage VARCHAR) | SELECT general_classification FROM table_name_99 WHERE stage = "3" |
Write a SQL query that answers the following question: How many points did lech piasecki, stephen roche, and carrera jeans-vagabond have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (points_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR) | SELECT points_classification FROM table_name_55 WHERE young_rider_classification = "lech piasecki" AND general_classification = "stephen roche" AND winner = "carrera jeans-vagabond" |
Write a SQL query that answers the following question: What venue was the 11 September 2012 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_23 WHERE date = "11 september 2012" |
Write a SQL query that answers the following question: What is the lowest Decile for a school with a roll smaller than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (decile INTEGER, roll INTEGER) | SELECT MIN(decile) FROM table_name_40 WHERE roll < 3 |
Write a SQL query that answers the following question: What is the Gender of students at a school with a Decile of 5 and a Roll of 90? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (gender VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT gender FROM table_name_86 WHERE decile = 5 AND roll = 90 |
Write a SQL query that answers the following question: Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5. | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (years VARCHAR, roll VARCHAR, decile VARCHAR) | SELECT years FROM table_name_27 WHERE roll > 23 AND decile > 5 |
Write a SQL query that answers the following question: What is the total number of Rolls of State schools in Hapuku with a Decile greater than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (roll VARCHAR, decile VARCHAR, authority VARCHAR, area VARCHAR) | SELECT COUNT(roll) FROM table_name_56 WHERE authority = "state" AND area = "hapuku" AND decile > 4 |
Write a SQL query that answers the following question: What is the D45 associated with a D42 of r 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (d_45 VARCHAR, d_42 VARCHAR) | SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22" |
Write a SQL query that answers the following question: What is the D43 associated with a D41 of r 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (d_43 VARCHAR, d_41 VARCHAR) | SELECT d_43 FROM table_name_44 WHERE d_41 = "r 21" |
Write a SQL query that answers the following question: What is the D42 associated with a D47 of d 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (d_42 VARCHAR, d_47 VARCHAR) | SELECT d_42 FROM table_name_31 WHERE d_47 = "d 27" |
Write a SQL query that answers the following question: What is the D43 associated with a D41 of r 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (d_43 VARCHAR, d_41 VARCHAR) | SELECT d_43 FROM table_name_92 WHERE d_41 = "r 16" |
Write a SQL query that answers the following question: What is the record for the game when the loss was hargan (14–13)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_84 WHERE loss = "hargan (14–13)" |
Write a SQL query that answers the following question: What is the record for the game with a score of 7–5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_10 WHERE score = "7–5" |
Write a SQL query that answers the following question: What date was the game with loss of Aker (3–8)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_4 WHERE loss = "aker (3–8)" |
Write a SQL query that answers the following question: What team was the opponent when the score was 7–1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_86 WHERE score = "7–1" |
Write a SQL query that answers the following question: What was the score when the opponent was the Orioles and the loss shows morehead (5–4)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (score VARCHAR, opponent VARCHAR, loss VARCHAR) | SELECT score FROM table_name_18 WHERE opponent = "orioles" AND loss = "morehead (5–4)" |
Write a SQL query that answers the following question: Name the opponent with a record of 60-61 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_35 WHERE record = "60-61" |
Write a SQL query that answers the following question: Who had a perfection percentage of 77.96%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (name VARCHAR, perfection VARCHAR) | SELECT name FROM table_name_94 WHERE perfection = "77.96%" |
Write a SQL query that answers the following question: What was the rank of Svetlana Fedorenko? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR) | SELECT rank FROM table_name_46 WHERE name = "svetlana fedorenko" |
Write a SQL query that answers the following question: Who had a perfection percentage of 73.24%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (name VARCHAR, perfection VARCHAR) | SELECT name FROM table_name_62 WHERE perfection = "73.24%" |
Write a SQL query that answers the following question: What was the score of the game on June 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_38 WHERE date = "june 1" |
Write a SQL query that answers the following question: What was the score against andrei pavel? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_6 WHERE opponent = "andrei pavel" |
Write a SQL query that answers the following question: When was the tournament of bologna? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_52 WHERE tournament = "bologna" |
Write a SQL query that answers the following question: Who played on clay and had a score of 6–1, 7–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (opponent VARCHAR, surface VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_31 WHERE surface = "clay" AND score = "6–1, 7–6" |
Write a SQL query that answers the following question: Who played on clay on 3 march 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (opponent VARCHAR, surface VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_16 WHERE surface = "clay" AND date = "3 march 2012" |