instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: When is the record 5-4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_51 WHERE record = "5-4"
Write a SQL query that answers the following question: What is the Genre when the Artist is Prince?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (genre VARCHAR, artist VARCHAR)
SELECT genre FROM table_name_7 WHERE artist = "prince"
Write a SQL query that answers the following question: What is the Genre, when the Release-year of first charted record is 1968, and when the Country of origin is United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (genre VARCHAR, release_year_of_first_charted_record VARCHAR, country_of_origin VARCHAR)
SELECT genre FROM table_name_79 WHERE release_year_of_first_charted_record = 1968 AND country_of_origin = "united states"
Write a SQL query that answers the following question: Name the RR numbers of hudswell clarke and years before 1914
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (rr_nos VARCHAR, builder VARCHAR, year VARCHAR)
SELECT rr_nos FROM table_name_15 WHERE builder = "hudswell clarke" AND year < 1914
Write a SQL query that answers the following question: What is the To par has the presence of Vijay Singh?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_67 WHERE player = "vijay singh"
Write a SQL query that answers the following question: How many laps did Dick Rathmann complete when he ranked 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (laps VARCHAR, rank VARCHAR)
SELECT laps FROM table_name_51 WHERE rank = "14"
Write a SQL query that answers the following question: What was Dick Rathmann's Finish the year he Qualed at 130.928?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (finish VARCHAR, qual VARCHAR)
SELECT finish FROM table_name_35 WHERE qual = "130.928"
Write a SQL query that answers the following question: What is the average total produced when the prime mover is 12-251c?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (total_produced INTEGER, prime_mover VARCHAR)
SELECT AVG(total_produced) FROM table_name_49 WHERE prime_mover = "12-251c"
Write a SQL query that answers the following question: What is the build date when total produced is 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (build_date VARCHAR, total_produced VARCHAR)
SELECT build_date FROM table_name_80 WHERE total_produced = 2
Write a SQL query that answers the following question: What is the smallest total produced with a model of M-420?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (total_produced INTEGER, model VARCHAR)
SELECT MIN(total_produced) FROM table_name_47 WHERE model = "m-420"
Write a SQL query that answers the following question: What is the prime mover for a build date in 1975?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (prime_mover VARCHAR, build_date VARCHAR)
SELECT prime_mover FROM table_name_87 WHERE build_date = "1975"
Write a SQL query that answers the following question: What model has a total produced more than 5 and a prime move of 12-251c?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (model VARCHAR, total_produced VARCHAR, prime_mover VARCHAR)
SELECT model FROM table_name_15 WHERE total_produced > 5 AND prime_mover = "12-251c"
Write a SQL query that answers the following question: What was the date of the home Detroit game with a decision of Joseph and a record of 27–13–5–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (date VARCHAR, record VARCHAR, decision VARCHAR, home VARCHAR)
SELECT date FROM table_name_85 WHERE decision = "joseph" AND home = "detroit" AND record = "27–13–5–2"
Write a SQL query that answers the following question: What was the score of the home Dallas game that had a decision of Legace?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (score VARCHAR, decision VARCHAR, home VARCHAR)
SELECT score FROM table_name_16 WHERE decision = "legace" AND home = "dallas"
Write a SQL query that answers the following question: What was the score of the game that had a record of 26–13–4–2 and a decision of Joseph?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (score VARCHAR, decision VARCHAR, record VARCHAR)
SELECT score FROM table_name_24 WHERE decision = "joseph" AND record = "26–13–4–2"
Write a SQL query that answers the following question: Who was the visiting team when the record was 28–14–6–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_86 WHERE record = "28–14–6–2"
Write a SQL query that answers the following question: What are the lowest points that have a Mugen V8 engine and a Reynard 91D chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (points INTEGER, engine VARCHAR, chassis VARCHAR)
SELECT MIN(points) FROM table_name_36 WHERE engine = "mugen v8" AND chassis = "reynard 91d"
Write a SQL query that answers the following question: What are the highest points that have a Mugen V8 engine and happened in 1991?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (points INTEGER, engine VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_83 WHERE engine = "mugen v8" AND year = 1991
Write a SQL query that answers the following question: How many years did John Player Lotus used Cosworth v8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (year INTEGER, engine VARCHAR, entrant VARCHAR)
SELECT SUM(year) FROM table_name_3 WHERE engine = "cosworth v8" AND entrant = "john player lotus"
Write a SQL query that answers the following question: Who used Eurobrun er189b after 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_2 WHERE year > 1989 AND chassis = "eurobrun er189b"
Write a SQL query that answers the following question: Who used Ford v8 and Jordan 191 after 1990 and got 8 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (entrant VARCHAR, chassis VARCHAR, points VARCHAR, year VARCHAR, engine VARCHAR)
SELECT entrant FROM table_name_50 WHERE year > 1990 AND engine = "ford v8" AND points = 8 AND chassis = "jordan 191"
Write a SQL query that answers the following question: What is the name of the Leftfielder when Davey Lopes was the Second Baseman and first baseman was steve garvey, Shortstop of bill russell eariler than 1977?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR, first_baseman VARCHAR)
SELECT leftfielder FROM table_name_90 WHERE second_baseman = "davey lopes" AND first_baseman = "steve garvey" AND shortstop = "bill russell" AND year > 1977
Write a SQL query that answers the following question: What is the name of the shortstop when the Catcher was johnny roseboro, and a Third Baseman of jim lefebvre, and a Second Baseman of nate oliver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (shortstop VARCHAR, second_baseman VARCHAR, catcher VARCHAR, third_baseman VARCHAR)
SELECT shortstop FROM table_name_40 WHERE catcher = "johnny roseboro" AND third_baseman = "jim lefebvre" AND second_baseman = "nate oliver"
Write a SQL query that answers the following question: Who was the First Baseman when the Shortstop was zoilo versalles?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (first_baseman VARCHAR, shortstop VARCHAR)
SELECT first_baseman FROM table_name_53 WHERE shortstop = "zoilo versalles"
Write a SQL query that answers the following question: What is the name of the Leftfielder when the Shortstop was bill russell, and the Second Baseman was steve sax in 1983?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR)
SELECT leftfielder FROM table_name_25 WHERE shortstop = "bill russell" AND second_baseman = "steve sax" AND year = 1983
Write a SQL query that answers the following question: What is the earliest year with less than 3 points and Parmalat Forti Ford was the entrant?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (year INTEGER, points VARCHAR, entrant VARCHAR)
SELECT MIN(year) FROM table_name_40 WHERE points < 3 AND entrant = "parmalat forti ford"
Write a SQL query that answers the following question: What is the average Points when equipe ligier gauloises blondes is the entrant?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (points INTEGER, entrant VARCHAR)
SELECT AVG(points) FROM table_name_17 WHERE entrant = "equipe ligier gauloises blondes"
Write a SQL query that answers the following question: What is the smallest amount of points for parmalat forti ford entrant later than 1995?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (points INTEGER, entrant VARCHAR, year VARCHAR)
SELECT MIN(points) FROM table_name_86 WHERE entrant = "parmalat forti ford" AND year > 1995
Write a SQL query that answers the following question: What is the company that made the chassis for the entrant danka arrows yamaha?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (chassis VARCHAR, entrant VARCHAR)
SELECT chassis FROM table_name_19 WHERE entrant = "danka arrows yamaha"
Write a SQL query that answers the following question: What college did Ray Graves attend?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (college VARCHAR, name VARCHAR)
SELECT college FROM table_name_2 WHERE name = "ray graves"
Write a SQL query that answers the following question: What number pick was Bill Athey?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (pick__number VARCHAR, name VARCHAR)
SELECT pick__number FROM table_name_70 WHERE name = "bill athey"
Write a SQL query that answers the following question: What is John Cole's overall pick number?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (overall VARCHAR, name VARCHAR)
SELECT COUNT(overall) FROM table_name_47 WHERE name = "john cole"
Write a SQL query that answers the following question: What is the date of the locomotive with a Waterford class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (date_made VARCHAR, class VARCHAR)
SELECT date_made FROM table_name_50 WHERE class = "waterford"
Write a SQL query that answers the following question: What is the date of the locomotive named Blacklion Glencar?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (date_made VARCHAR, names VARCHAR)
SELECT date_made FROM table_name_69 WHERE names = "blacklion glencar"
Write a SQL query that answers the following question: What is the quantity made of the locomotive with a Waterford class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (quantity_made VARCHAR, class VARCHAR)
SELECT quantity_made FROM table_name_67 WHERE class = "waterford"
Write a SQL query that answers the following question: What is the class of the locomotive with a quantity made of 1 and a 0-6-0t type?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (class VARCHAR, quantity_made VARCHAR, type VARCHAR)
SELECT class FROM table_name_16 WHERE quantity_made = "1" AND type = "0-6-0t"
Write a SQL query that answers the following question: What is the class of the locomotive with a 0-4-0st type?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (class VARCHAR, type VARCHAR)
SELECT class FROM table_name_23 WHERE type = "0-4-0st"
Write a SQL query that answers the following question: What is the name of the locomotive with a Glencar class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (names VARCHAR, class VARCHAR)
SELECT names FROM table_name_98 WHERE class = "glencar"
Write a SQL query that answers the following question: What country has signed type moving from porto?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (country VARCHAR, type VARCHAR, moving_from VARCHAR)
SELECT country FROM table_name_75 WHERE type = "signed" AND moving_from = "porto"
Write a SQL query that answers the following question: Which transfer window was moving from borussia dortmund?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (transfer_window VARCHAR, moving_from VARCHAR)
SELECT transfer_window FROM table_name_38 WHERE moving_from = "borussia dortmund"
Write a SQL query that answers the following question: What is moving from esp with transfer fee of youth system?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (moving_from VARCHAR, country VARCHAR, transfer_fee VARCHAR)
SELECT moving_from FROM table_name_64 WHERE country = "esp" AND transfer_fee = "youth system"
Write a SQL query that answers the following question: What is the transfer window in esp with promoted type and more than 2010 ends?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (transfer_window VARCHAR, ends VARCHAR, country VARCHAR, type VARCHAR)
SELECT transfer_window FROM table_name_85 WHERE country = "esp" AND type = "promoted" AND ends > 2010
Write a SQL query that answers the following question: Who is the week 12 for the week 2 with Magda Tomek?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (week_12 VARCHAR, week_2 VARCHAR)
SELECT week_12 FROM table_name_38 WHERE week_2 = "magda tomek"
Write a SQL query that answers the following question: Who is the week 12 for the week 4 of Gerard Ewelina?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (week_12 VARCHAR, week_4 VARCHAR)
SELECT week_12 FROM table_name_35 WHERE week_4 = "gerard ewelina"
Write a SQL query that answers the following question: Who was the leader in Points when Al Jefferson (7) was the leader in Rebounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (points VARCHAR, rebounds VARCHAR)
SELECT points FROM table_name_12 WHERE rebounds = "al jefferson (7)"
Write a SQL query that answers the following question: Who was the leader in Steals when Travis Watson (9) was the leader in Rebounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (steals VARCHAR, rebounds VARCHAR)
SELECT steals FROM table_name_87 WHERE rebounds = "travis watson (9)"
Write a SQL query that answers the following question: What was the 1st Year Al Harrington (9) the leader in Rebounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (year INTEGER, rebounds VARCHAR)
SELECT MIN(year) FROM table_name_22 WHERE rebounds = "al harrington (9)"
Write a SQL query that answers the following question: Who was the leader in Points with Assists of 2 tied (5) and Steals of 3 tied (2)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (points VARCHAR, steals VARCHAR, assists VARCHAR)
SELECT points FROM table_name_7 WHERE steals = "3 tied (2)" AND assists = "2 tied (5)"
Write a SQL query that answers the following question: Name the average with tally of 0-29 and total more than 29
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (average INTEGER, tally VARCHAR, total VARCHAR)
SELECT AVG(average) FROM table_name_40 WHERE tally = "0-29" AND total > 29
Write a SQL query that answers the following question: Name the tally with total less than 27 and average more than 3.41
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (tally VARCHAR, total VARCHAR, average VARCHAR)
SELECT tally FROM table_name_86 WHERE total < 27 AND average > 3.41
Write a SQL query that answers the following question: For engines of Maserati Straight-6 and entrants of H H Gould, what is the latest year?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (year INTEGER, engine VARCHAR, entrant VARCHAR)
SELECT MAX(year) FROM table_name_14 WHERE engine = "maserati straight-6" AND entrant = "h h gould"
Write a SQL query that answers the following question: What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati Straight-6, in years before 1956?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (points INTEGER, year VARCHAR, entrant VARCHAR, engine VARCHAR)
SELECT MIN(points) FROM table_name_41 WHERE entrant = "goulds' garage (bristol)" AND engine = "maserati straight-6" AND year < 1956
Write a SQL query that answers the following question: Which chassis has fewer than 2 points, entrants of Goulds' Garage (Bristol), in 1954?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (chassis VARCHAR, year VARCHAR, points VARCHAR, entrant VARCHAR)
SELECT chassis FROM table_name_59 WHERE points < 2 AND entrant = "goulds' garage (bristol)" AND year = 1954
Write a SQL query that answers the following question: What is the most points that the Maserati 250F chassis scored in years after 1955?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_39 WHERE chassis = "maserati 250f" AND year > 1955
Write a SQL query that answers the following question: Which engine has a year larger than 1956?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (engine VARCHAR, year INTEGER)
SELECT engine FROM table_name_74 WHERE year > 1956
Write a SQL query that answers the following question: What is the lowest age of an astronaut named Stu Roosa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (age_on_mission INTEGER, name VARCHAR)
SELECT MIN(age_on_mission) FROM table_name_81 WHERE name = "stu roosa"
Write a SQL query that answers the following question: What mission did the astronaut who 38 years old on the mission and who served in NASA serve on?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (mission VARCHAR, service VARCHAR, age_on_mission VARCHAR)
SELECT mission FROM table_name_70 WHERE service = "nasa" AND age_on_mission = 38
Write a SQL query that answers the following question: what is the type of lithium when rubidium is nabr (1.9)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (lithium VARCHAR, rubidium VARCHAR)
SELECT lithium FROM table_name_54 WHERE rubidium = "nabr (1.9)"
Write a SQL query that answers the following question: what is the properties of sodium when rubidium is nacl (2.1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (sodium VARCHAR, rubidium VARCHAR)
SELECT sodium FROM table_name_98 WHERE rubidium = "nacl (2.1)"
Write a SQL query that answers the following question: what is the properties of potassium when lithium is h a l o g e n s and sodium is bromine?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (potassium VARCHAR, lithium VARCHAR, sodium VARCHAR)
SELECT potassium FROM table_name_76 WHERE lithium = "h a l o g e n s" AND sodium = "bromine"
Write a SQL query that answers the following question: what is the properties of lithium when caesium is ki (1.7)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (lithium VARCHAR, caesium VARCHAR)
SELECT lithium FROM table_name_17 WHERE caesium = "ki (1.7)"
Write a SQL query that answers the following question: what is the properties of sodium when lithium is h a l o g e n s and rubidium is nacl (2.1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (sodium VARCHAR, lithium VARCHAR, rubidium VARCHAR)
SELECT sodium FROM table_name_10 WHERE lithium = "h a l o g e n s" AND rubidium = "nacl (2.1)"
Write a SQL query that answers the following question: what is the properties of sodium when potassium is lii (1.5)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (sodium VARCHAR, potassium VARCHAR)
SELECT sodium FROM table_name_66 WHERE potassium = "lii (1.5)"
Write a SQL query that answers the following question: Which prime mover had a Model of rs-18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (prime_mover VARCHAR, model VARCHAR)
SELECT prime_mover FROM table_name_61 WHERE model = "rs-18"
Write a SQL query that answers the following question: Which model had a Specification of dl-718?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (model VARCHAR, specification VARCHAR)
SELECT model FROM table_name_98 WHERE specification = "dl-718"
Write a SQL query that answers the following question: Which power output had a Build date of 1951–1956?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (power_output VARCHAR, build_date VARCHAR)
SELECT power_output FROM table_name_23 WHERE build_date = "1951–1956"
Write a SQL query that answers the following question: Which wheel arrangement had a Specification of dl-700?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (wheel_arrangement VARCHAR, specification VARCHAR)
SELECT wheel_arrangement FROM table_name_9 WHERE specification = "dl-700"
Write a SQL query that answers the following question: Who is the player born before 1985 who is less than 2.02 tall?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (player VARCHAR, year_born VARCHAR, height VARCHAR)
SELECT player FROM table_name_2 WHERE year_born < 1985 AND height < 2.02
Write a SQL query that answers the following question: Who is the player who was born before 1980 who currently plays for the Toronto Raptors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (player VARCHAR, year_born VARCHAR, current_club VARCHAR)
SELECT player FROM table_name_22 WHERE year_born < 1980 AND current_club = "toronto raptors"
Write a SQL query that answers the following question: What position does Sergio Rodríguez, who is less than 1.96 tall and was born after 1980, play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (position VARCHAR, player VARCHAR, height VARCHAR, year_born VARCHAR)
SELECT position FROM table_name_39 WHERE height < 1.96 AND year_born > 1980 AND player = "sergio rodríguez"
Write a SQL query that answers the following question: What year was the Guard who currently plays for the Memphis Grizzlies born?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (year_born VARCHAR, position VARCHAR, current_club VARCHAR)
SELECT year_born FROM table_name_25 WHERE position = "guard" AND current_club = "memphis grizzlies"
Write a SQL query that answers the following question: What is the height of the Forward who currently plays for the Toronto Raptors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (height VARCHAR, position VARCHAR, current_club VARCHAR)
SELECT height FROM table_name_1 WHERE position = "forward" AND current_club = "toronto raptors"
Write a SQL query that answers the following question: Date of 24 september 2002 is what group position?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (group_position VARCHAR, date VARCHAR)
SELECT group_position FROM table_name_55 WHERE date = "24 september 2002"
Write a SQL query that answers the following question: Date of 24 september 2002 had what F-A result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (result_f_a VARCHAR, date VARCHAR)
SELECT result_f_a FROM table_name_37 WHERE date = "24 september 2002"
Write a SQL query that answers the following question: Result F–A of 2–0 had what total number of attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (attendance VARCHAR, result_f_a VARCHAR)
SELECT COUNT(attendance) FROM table_name_42 WHERE result_f_a = "2–0"
Write a SQL query that answers the following question: What was the score of the game with a loss of Myers (5-6)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (score VARCHAR, loss VARCHAR)
SELECT score FROM table_name_47 WHERE loss = "myers (5-6)"
Write a SQL query that answers the following question: What was the loss of the game attended by 41,212?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (loss VARCHAR, attendance VARCHAR)
SELECT loss FROM table_name_50 WHERE attendance = "41,212"
Write a SQL query that answers the following question: What was the attendance of the game that had a loss of Wolf (3-4)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (attendance VARCHAR, loss VARCHAR)
SELECT attendance FROM table_name_84 WHERE loss = "wolf (3-4)"
Write a SQL query that answers the following question: what nation is bianca knight the answer for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (nation VARCHAR, athlete VARCHAR)
SELECT nation FROM table_name_60 WHERE athlete = "bianca knight"
Write a SQL query that answers the following question: what is the wind speed when brenda morehead was in the united states?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (wind__m_s_ INTEGER, nation VARCHAR, athlete VARCHAR)
SELECT MIN(wind__m_s_) FROM table_name_16 WHERE nation = "united states" AND athlete = "brenda morehead"
Write a SQL query that answers the following question: what is the highest rank in dresden with a time faster than 10.88?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (rank INTEGER, location VARCHAR, fastest_time__s_ VARCHAR)
SELECT MAX(rank) FROM table_name_97 WHERE location = "dresden" AND fastest_time__s_ < 10.88
Write a SQL query that answers the following question: What is the course on 1 June?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (course VARCHAR, date VARCHAR)
SELECT course FROM table_name_10 WHERE date = "1 june"
Write a SQL query that answers the following question: Who is the winner of the Florence to Genoa course?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (winner VARCHAR, course VARCHAR)
SELECT winner FROM table_name_95 WHERE course = "florence to genoa"
Write a SQL query that answers the following question: What is the date of the Rome to Florence course?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (date VARCHAR, course VARCHAR)
SELECT date FROM table_name_44 WHERE course = "rome to florence"
Write a SQL query that answers the following question: What is Assists that has a Blocks of 2 tied (1) with a Year larger than 1995
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (assists VARCHAR, blocks VARCHAR, year VARCHAR)
SELECT assists FROM table_name_94 WHERE blocks = "2 tied (1)" AND year > 1995
Write a SQL query that answers the following question: What is the highest lane for heat 6 with a time of dns?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (lane INTEGER, heat VARCHAR, time VARCHAR)
SELECT MAX(lane) FROM table_name_81 WHERE heat = 6 AND time = "dns"
Write a SQL query that answers the following question: What is the lowest lane with a time of 2:05.90, and a Heat larger than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (lane INTEGER, time VARCHAR, heat VARCHAR)
SELECT MIN(lane) FROM table_name_43 WHERE time = "2:05.90" AND heat > 3
Write a SQL query that answers the following question: What nationality has a lane larger than 4 and a Time of 2:00.37?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (nationality VARCHAR, lane VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_70 WHERE lane > 4 AND time = "2:00.37"
Write a SQL query that answers the following question: What is the average Lane where Belarus is the nationality?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (lane INTEGER, nationality VARCHAR)
SELECT AVG(lane) FROM table_name_57 WHERE nationality = "belarus"
Write a SQL query that answers the following question: What is the highest lane for nisha millet?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (lane INTEGER, name VARCHAR)
SELECT MAX(lane) FROM table_name_16 WHERE name = "nisha millet"
Write a SQL query that answers the following question: On what date was the race course from Rome to Naples?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, course VARCHAR)
SELECT date FROM table_name_31 WHERE course = "rome to naples"
Write a SQL query that answers the following question: Name the Losing BP with 22 played and 9 Try BP.
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (losing_bp VARCHAR, played VARCHAR, try_bp VARCHAR)
SELECT losing_bp FROM table_name_72 WHERE played = "22" AND try_bp = "9"
Write a SQL query that answers the following question: Name the Losing BP with drawn of 1 and a Try BP of 6.
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (losing_bp VARCHAR, drawn VARCHAR, try_bp VARCHAR)
SELECT losing_bp FROM table_name_14 WHERE drawn = "1" AND try_bp = "6"
Write a SQL query that answers the following question: Name the Losing BP of Newport Saracens RFC and has a Lost of 19.
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (losing_bp VARCHAR, lost VARCHAR, club VARCHAR)
SELECT losing_bp FROM table_name_14 WHERE lost = "19" AND club = "newport saracens rfc"
Write a SQL query that answers the following question: Name the Drawn for Ystrad Rhondda RFC and has Played of 22.
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (drawn VARCHAR, played VARCHAR, club VARCHAR)
SELECT drawn FROM table_name_39 WHERE played = "22" AND club = "ystrad rhondda rfc"
Write a SQL query that answers the following question: Can you name the drawn with a Lost of 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (drawn VARCHAR, lost VARCHAR)
SELECT drawn FROM table_name_60 WHERE lost = "1"
Write a SQL query that answers the following question: With a Losing BP of 8, what is the drawn?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (drawn VARCHAR, losing_bp VARCHAR)
SELECT drawn FROM table_name_34 WHERE losing_bp = "8"
Write a SQL query that answers the following question: What is the number of disposals when marks is 134?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (disposals VARCHAR, marks VARCHAR)
SELECT disposals FROM table_name_84 WHERE marks = "134"
Write a SQL query that answers the following question: What is the Score1 of Match 42?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (score1 VARCHAR, match VARCHAR)
SELECT score1 FROM table_name_9 WHERE match = 42
Write a SQL query that answers the following question: On what date was the match higher than 8 on ground A against Guiseley?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR)
SELECT date FROM table_name_2 WHERE match > 8 AND ground = "a" AND opponent = "guiseley"