instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is Duration, when Test Flight is Taxi Test #2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (duration VARCHAR, test_flight VARCHAR) | SELECT duration FROM table_name_20 WHERE test_flight = "taxi test #2" |
Write a SQL query that answers the following question: What it Duration, when Test Flight is Free Flight #3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (duration VARCHAR, test_flight VARCHAR) | SELECT duration FROM table_name_79 WHERE test_flight = "free flight #3" |
Write a SQL query that answers the following question: What is Date, when Comment is Tailcone On, Lakebed Landing, and when Duration is 5min 34 s? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (date VARCHAR, comment VARCHAR, duration VARCHAR) | SELECT date FROM table_name_52 WHERE comment = "tailcone on, lakebed landing" AND duration = "5min 34 s" |
Write a SQL query that answers the following question: What is Crew, when Date is July 26, 1977? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (crew VARCHAR, date VARCHAR) | SELECT crew FROM table_name_61 WHERE date = "july 26, 1977" |
Write a SQL query that answers the following question: What is Years, when Nationality is United States, and when Position is PG / SG? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (years VARCHAR, nationality VARCHAR, position VARCHAR) | SELECT years FROM table_name_83 WHERE nationality = "united states" AND position = "pg / sg" |
Write a SQL query that answers the following question: What is Nationality, when Years is 1979? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (nationality VARCHAR, years VARCHAR) | SELECT nationality FROM table_name_73 WHERE years = "1979" |
Write a SQL query that answers the following question: WHAT SCORE HAS A TIME OF 18:27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (score VARCHAR, time VARCHAR) | SELECT score FROM table_name_95 WHERE time = "18:27" |
Write a SQL query that answers the following question: WHAT GOAL HAS A TIME OF 39:37? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (goal VARCHAR, time VARCHAR) | SELECT goal FROM table_name_45 WHERE time = "39:37" |
Write a SQL query that answers the following question: What is Electorate, when Party is "Country", when State is "WA", and when Member is "John Hallett"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (electorate VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR) | SELECT electorate FROM table_name_39 WHERE party = "country" AND state = "wa" AND member = "john hallett" |
Write a SQL query that answers the following question: What is Term of Office, when Member is "Dominic Costa"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (term_of_office VARCHAR, member VARCHAR) | SELECT term_of_office FROM table_name_64 WHERE member = "dominic costa" |
Write a SQL query that answers the following question: What is State, when Member is "Gil Duthie"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (state VARCHAR, member VARCHAR) | SELECT state FROM table_name_6 WHERE member = "gil duthie" |
Write a SQL query that answers the following question: What was the number of attendance at Stadion with a score of 2-0 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (attendance VARCHAR, venue VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_90 WHERE venue = "stadion" AND score = "2-0" |
Write a SQL query that answers the following question: What season did the Rangers win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (season VARCHAR, winner VARCHAR) | SELECT season FROM table_name_1 WHERE winner = "rangers" |
Write a SQL query that answers the following question: What is the score of the game with Falkirk as the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (score VARCHAR, runner_up VARCHAR) | SELECT score FROM table_name_48 WHERE runner_up = "falkirk" |
Write a SQL query that answers the following question: What is the venue of the game where hibernian won and the rangers were the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (venue VARCHAR, runner_up VARCHAR, winner VARCHAR) | SELECT venue FROM table_name_15 WHERE runner_up = "rangers" AND winner = "hibernian" |
Write a SQL query that answers the following question: what is the country for the 1972 winter olympics? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (country VARCHAR, winter_olympics VARCHAR) | SELECT country FROM table_name_7 WHERE winter_olympics = 1972 |
Write a SQL query that answers the following question: what is the winter olympics year when the fis nordic world ski championships is 1976? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR) | SELECT winter_olympics FROM table_name_45 WHERE fis_nordic_world_ski_championships = "1976" |
Write a SQL query that answers the following question: what is the earliest winter olympics when the fis nordic world ski championships is 1976? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (winter_olympics INTEGER, fis_nordic_world_ski_championships VARCHAR) | SELECT MIN(winter_olympics) FROM table_name_39 WHERE fis_nordic_world_ski_championships = "1976" |
Write a SQL query that answers the following question: what is the winter olympics when the country is soviet union and holmenkollen is 1970, 1979? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (winter_olympics INTEGER, country VARCHAR, holmenkollen VARCHAR) | SELECT SUM(winter_olympics) FROM table_name_5 WHERE country = "soviet union" AND holmenkollen = "1970, 1979" |
Write a SQL query that answers the following question: what is the date when the away team is newport county? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_98 WHERE away_team = "newport county" |
Write a SQL query that answers the following question: How many games have 5 goals and less than 8 assists? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (games VARCHAR, goals VARCHAR, assists VARCHAR) | SELECT COUNT(games) FROM table_name_20 WHERE goals = 5 AND assists < 8 |
Write a SQL query that answers the following question: What is the highest number of goals Eisbären Berlin had along with 13 points and 10 assists? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (goals INTEGER, club VARCHAR, points VARCHAR, assists VARCHAR) | SELECT MAX(goals) FROM table_name_4 WHERE points = 13 AND assists = 10 AND club = "eisbären berlin" |
Write a SQL query that answers the following question: What is Ivan Ciernik's average points with less than 11 goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (points INTEGER, player VARCHAR, goals VARCHAR) | SELECT AVG(points) FROM table_name_29 WHERE player = "ivan ciernik" AND goals < 11 |
Write a SQL query that answers the following question: Which province is Parun in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (province VARCHAR, centers VARCHAR) | SELECT province FROM table_name_98 WHERE centers = "parun" |
Write a SQL query that answers the following question: In which category is Frank Scarabino a pilot? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (category VARCHAR, pilot VARCHAR) | SELECT category FROM table_name_33 WHERE pilot = "frank scarabino" |
Write a SQL query that answers the following question: What is the sum of speed in km per hour reached by John Egginton? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (speed__km_h_ INTEGER, pilot VARCHAR) | SELECT SUM(speed__km_h_) FROM table_name_43 WHERE pilot = "john egginton" |
Write a SQL query that answers the following question: What is the name of team 1 that was after the 2005 season and with a 4-2 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (team_1 VARCHAR, season VARCHAR, score VARCHAR) | SELECT team_1 FROM table_name_11 WHERE season > 2005 AND score = "4-2" |
Write a SQL query that answers the following question: In the 2004 season with a 0-2 score what was the name of the venue? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (venue VARCHAR, score VARCHAR, season VARCHAR) | SELECT venue FROM table_name_5 WHERE score = "0-2" AND season = 2004 |
Write a SQL query that answers the following question: What is the earliest season that Pisico Bình ðinh is team 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (season INTEGER, team_2 VARCHAR) | SELECT MIN(season) FROM table_name_95 WHERE team_2 = "pisico bình ðinh" |
Write a SQL query that answers the following question: Which years have a rank less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (years VARCHAR, rank INTEGER) | SELECT years FROM table_name_88 WHERE rank < 2 |
Write a SQL query that answers the following question: How many games have rebounds larger than 1048? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (games VARCHAR, total_rebounds INTEGER) | SELECT COUNT(games) FROM table_name_78 WHERE total_rebounds > 1048 |
Write a SQL query that answers the following question: How many rebounds have a Player of andre gaddy, and a Rank smaller than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (total_rebounds VARCHAR, player VARCHAR, rank VARCHAR) | SELECT COUNT(total_rebounds) FROM table_name_5 WHERE player = "andre gaddy" AND rank < 6 |
Write a SQL query that answers the following question: How many rebounds have a Player of herb estes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (total_rebounds VARCHAR, player VARCHAR) | SELECT COUNT(total_rebounds) FROM table_name_51 WHERE player = "herb estes" |
Write a SQL query that answers the following question: What is the total of rebound averages with more than 98 games and a rank of 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (reb_avg INTEGER, games VARCHAR, rank VARCHAR) | SELECT SUM(reb_avg) FROM table_name_16 WHERE games > 98 AND rank = 7 |
Write a SQL query that answers the following question: Can you tell me the Date that has the Team of golden state? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (date VARCHAR, team VARCHAR) | SELECT date FROM table_name_21 WHERE team = "golden state" |
Write a SQL query that answers the following question: Can you tell me the High assists that has the Date of november 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_name_44 WHERE date = "november 25" |
Write a SQL query that answers the following question: Can you tell me the Team that has the High rebounds of antawn jamison (10), and the Date of november 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (team VARCHAR, high_rebounds VARCHAR, date VARCHAR) | SELECT team FROM table_name_91 WHERE high_rebounds = "antawn jamison (10)" AND date = "november 5" |
Write a SQL query that answers the following question: Can you tell me the High rebounds that has the Date of november 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_16 WHERE date = "november 5" |
Write a SQL query that answers the following question: WHAT IS THE TEAM WITH astc round 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (team VARCHAR, series VARCHAR) | SELECT team FROM table_name_56 WHERE series = "astc round 1" |
Write a SQL query that answers the following question: WHAT IS THE WINNER WITH ATCC ROUND 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (winner VARCHAR, series VARCHAR) | SELECT winner FROM table_name_59 WHERE series = "atcc round 6" |
Write a SQL query that answers the following question: What was the highest attendance for the game where the record was 0-5 and the opponents scored more than 20 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (attendance INTEGER, record VARCHAR, opponents VARCHAR) | SELECT MAX(attendance) FROM table_name_85 WHERE record = "0-5" AND opponents > 20 |
Write a SQL query that answers the following question: What is the street address of Notre Dame Basilica? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (street_address VARCHAR, name VARCHAR) | SELECT street_address FROM table_name_74 WHERE name = "notre dame basilica" |
Write a SQL query that answers the following question: What is the Region, when the Catalog is SM 2965-05? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_5 WHERE catalog = "sm 2965-05" |
Write a SQL query that answers the following question: What is the Region, when the Catalog is 25AP 301? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_61 WHERE catalog = "25ap 301" |
Write a SQL query that answers the following question: What is Date, when Catalog is EPC 81436? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_97 WHERE catalog = "epc 81436" |
Write a SQL query that answers the following question: What is Label, when Format is Double CD? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (label VARCHAR, format VARCHAR) | SELECT label FROM table_name_33 WHERE format = "double cd" |
Write a SQL query that answers the following question: What is Label, when Region is Japan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (label VARCHAR, region VARCHAR) | SELECT label FROM table_name_40 WHERE region = "japan" |
Write a SQL query that answers the following question: What is Format, when Region is United States? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (format VARCHAR, region VARCHAR) | SELECT format FROM table_name_11 WHERE region = "united states" |
Write a SQL query that answers the following question: What was the date of appointment for the manager of lecce when the previous manager's contract expired? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, team VARCHAR) | SELECT date_of_appointment FROM table_name_79 WHERE manner_of_departure = "contract expired" AND team = "lecce" |
Write a SQL query that answers the following question: What was the manner of departure for the outgoing manager, davide ballardini? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT manner_of_departure FROM table_name_92 WHERE outgoing_manager = "davide ballardini" |
Write a SQL query that answers the following question: What was the manner of departure for the outgoing manager, giuseppe iachini? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT manner_of_departure FROM table_name_77 WHERE outgoing_manager = "giuseppe iachini" |
Write a SQL query that answers the following question: What is the date of appointment for the outgoing manager edoardo reja? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_appointment FROM table_name_49 WHERE outgoing_manager = "edoardo reja" |
Write a SQL query that answers the following question: At what event did he fight matt eckerle? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_55 WHERE opponent = "matt eckerle" |
Write a SQL query that answers the following question: What is the highest Round that lasted 1:44? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (round INTEGER, time VARCHAR) | SELECT MAX(round) FROM table_name_94 WHERE time = "1:44" |
Write a SQL query that answers the following question: What is the number for the interview in Illinois when the preliminary is less than 8.558? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (interview INTEGER, country VARCHAR, preliminary VARCHAR) | SELECT SUM(interview) FROM table_name_51 WHERE country = "illinois" AND preliminary < 8.558 |
Write a SQL query that answers the following question: What is the name of the country with less than 9.033 for swimsuit, 8.611 for interview and preliminary is less than 8.87? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (country VARCHAR, preliminary VARCHAR, swimsuit VARCHAR, interview VARCHAR) | SELECT country FROM table_name_50 WHERE swimsuit < 9.033 AND interview = 8.611 AND preliminary < 8.87 |
Write a SQL query that answers the following question: What is the evening gown number when the average is more than 8.984 in Louisiana and the preliminary is more than 8.597? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (evening_gown VARCHAR, preliminary VARCHAR, average VARCHAR, country VARCHAR) | SELECT COUNT(evening_gown) FROM table_name_60 WHERE average > 8.984 AND country = "louisiana" AND preliminary > 8.597 |
Write a SQL query that answers the following question: What is the interview number in Louisiana, and the swimsuit number is more than 9.1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (interview VARCHAR, country VARCHAR, swimsuit VARCHAR) | SELECT COUNT(interview) FROM table_name_19 WHERE country = "louisiana" AND swimsuit > 9.1 |
Write a SQL query that answers the following question: What is the swimsuit number when the preliminary is 8.721, and the average is more than 8.781? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (swimsuit VARCHAR, preliminary VARCHAR, average VARCHAR) | SELECT COUNT(swimsuit) FROM table_name_98 WHERE preliminary = 8.721 AND average > 8.781 |
Write a SQL query that answers the following question: Where was the game played on 30 May 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_6 WHERE date = "30 may 2004" |
Write a SQL query that answers the following question: Who was Silva's Partner in the Amarante Tournament played on a Hard Surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (partner VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT partner FROM table_name_35 WHERE surface = "hard" AND tournament = "amarante" |
Write a SQL query that answers the following question: Who was Silva's Partner in the match with a Score of 6–3, 7–6 (7–3)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (partner VARCHAR, score VARCHAR) | SELECT partner FROM table_name_64 WHERE score = "6–3, 7–6 (7–3)" |
Write a SQL query that answers the following question: On what Date was the match with partner Kira Nagy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (date VARCHAR, partner VARCHAR) | SELECT date FROM table_name_77 WHERE partner = "kira nagy" |
Write a SQL query that answers the following question: What is the Date of the Vigo Tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_65 WHERE tournament = "vigo" |
Write a SQL query that answers the following question: What Tournament did Silva Partner with Nicole Thijssen with Opponent in the final Nina Bratchikova & Frederica Piedade? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (tournament VARCHAR, partner VARCHAR, opponent_in_the_final VARCHAR) | SELECT tournament FROM table_name_33 WHERE partner = "nicole thijssen" AND opponent_in_the_final = "nina bratchikova & frederica piedade" |
Write a SQL query that answers the following question: What is Name, when State is "Jin"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (name VARCHAR, state VARCHAR) | SELECT name FROM table_name_55 WHERE state = "jin" |
Write a SQL query that answers the following question: What is Name, when Royal House is "Ji", and when State is "Cai"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (name VARCHAR, royal_house VARCHAR, state VARCHAR) | SELECT name FROM table_name_93 WHERE royal_house = "ji" AND state = "cai" |
Write a SQL query that answers the following question: Which Ratio has a Similar ISO A size of a3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (ratio INTEGER, similar_iso_a_size VARCHAR) | SELECT AVG(ratio) FROM table_name_76 WHERE similar_iso_a_size = "a3" |
Write a SQL query that answers the following question: Which mm × mm has an in × in of 11 × 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (mm_×_mm VARCHAR, in_×_in VARCHAR) | SELECT mm_×_mm FROM table_name_7 WHERE in_×_in = "11 × 17" |
Write a SQL query that answers the following question: Which Ratio has a Name of ansi e? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (ratio INTEGER, name VARCHAR) | SELECT MIN(ratio) FROM table_name_67 WHERE name = "ansi e" |
Write a SQL query that answers the following question: Which Ratio has an in × in of 17 × 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (ratio VARCHAR, in_×_in VARCHAR) | SELECT ratio FROM table_name_2 WHERE in_×_in = "17 × 22" |
Write a SQL query that answers the following question: What is the Distance of the 1945 Vuelta a Espana with 4A Stage? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (distance VARCHAR, stage VARCHAR) | SELECT distance FROM table_name_20 WHERE stage = "4a" |
Write a SQL query that answers the following question: What earned has 5 for the rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (earned VARCHAR, rank VARCHAR) | SELECT earned FROM table_name_21 WHERE rank = 5 |
Write a SQL query that answers the following question: What is the average earnings ($) that has meg mallon as the player, with a rank less than 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (earnings___ INTEGER, player VARCHAR, rank VARCHAR) | SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE player = "meg mallon" AND rank < 9 |
Write a SQL query that answers the following question: What's the fed tax that has a total tax greater than 33.2, a minimum sales tax less than 41.01 and in Vancouver, BC? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (federal_excise_tax___cad INTEGER, minimum_tax_incl_sales_taxes__cad¢_l_ VARCHAR, total_excise_tax__cad¢_l_ VARCHAR, government VARCHAR) | SELECT AVG(federal_excise_tax___cad) AS ¢___l__ FROM table_name_85 WHERE total_excise_tax__cad¢_l_ > 33.2 AND government = "vancouver, bc" AND minimum_tax_incl_sales_taxes__cad¢_l_ < 41.01 |
Write a SQL query that answers the following question: What is the least minimum sales tax when the min tax is 105.7 and fed tax is more than 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (minimum_tax_incl_sales_taxes__cad INTEGER, min_tax__cad¢_us_gal_ VARCHAR, federal_excise_tax___cad¢___l__ VARCHAR) | SELECT MIN(minimum_tax_incl_sales_taxes__cad) AS ¢_l_ FROM table_name_27 WHERE min_tax__cad¢_us_gal_ = 105.7 AND federal_excise_tax___cad¢___l__ > 10 |
Write a SQL query that answers the following question: What is the 1991 when 1992 and 1990 are 1R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (Id VARCHAR) | SELECT 1991 FROM table_name_69 WHERE 1992 = "1r" AND 1990 = "1r" |
Write a SQL query that answers the following question: What is the 1991 when 1990 is ATP Masters Series? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (Id VARCHAR) | SELECT 1991 FROM table_name_53 WHERE 1990 = "atp masters series" |
Write a SQL query that answers the following question: What is the 1995 when the 1991 is Grand Slams? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (Id VARCHAR) | SELECT 1995 FROM table_name_77 WHERE 1991 = "grand slams" |
Write a SQL query that answers the following question: What is the career SR when 1985 is Grand Slams? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (career_sr VARCHAR) | SELECT career_sr FROM table_name_16 WHERE 1985 = "grand slams" |
Write a SQL query that answers the following question: Which Name has a Date of 11 june 1940? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (name VARCHAR, date VARCHAR) | SELECT name FROM table_name_95 WHERE date = "11 june 1940" |
Write a SQL query that answers the following question: Which Nationality has a Fate of sunk (mine), and a Tonnage (GRT) smaller than 2,266? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (nationality VARCHAR, fate VARCHAR, tonnage__grt_ VARCHAR) | SELECT nationality FROM table_name_80 WHERE fate = "sunk (mine)" AND tonnage__grt_ < 2 OFFSET 266 |
Write a SQL query that answers the following question: Which Tonnage (GRT) is the highest one that has a Date of 16 june 1940? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (tonnage__grt_ INTEGER, date VARCHAR) | SELECT MAX(tonnage__grt_) FROM table_name_52 WHERE date = "16 june 1940" |
Write a SQL query that answers the following question: Which Nationality has a Name of assyrian? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_86 WHERE name = "assyrian" |
Write a SQL query that answers the following question: What is the time for the bike (40km) when the swim (1.5km) is 19:56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (bike__40km_ VARCHAR, swim__15km_ VARCHAR) | SELECT bike__40km_ FROM table_name_38 WHERE swim__15km_ = "19:56" |
Write a SQL query that answers the following question: With a swim (1.5km) of 18:55 and a run (10km) of 32:37, what is the trans 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (trans_2 VARCHAR, swim__15km_ VARCHAR, run__10km_ VARCHAR) | SELECT trans_2 FROM table_name_76 WHERE swim__15km_ = "18:55" AND run__10km_ = "32:37" |
Write a SQL query that answers the following question: Daniela Ryf who competes in the women's even had what swim (1.5km)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (swim__15km_ VARCHAR, event VARCHAR, athlete VARCHAR) | SELECT swim__15km_ FROM table_name_6 WHERE event = "women's" AND athlete = "daniela ryf" |
Write a SQL query that answers the following question: For the triathlon with a bike (40km) of 58:20 what is the total time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (total_time VARCHAR, bike__40km_ VARCHAR) | SELECT total_time FROM table_name_21 WHERE bike__40km_ = "58:20" |
Write a SQL query that answers the following question: How long did the trans 1 take when 2:00:40.20 is the total time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (trans_1 VARCHAR, total_time VARCHAR) | SELECT trans_1 FROM table_name_28 WHERE total_time = "2:00:40.20" |
Write a SQL query that answers the following question: Can you tell me the Record that has the Team of minnesota? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (record VARCHAR, team VARCHAR) | SELECT record FROM table_name_91 WHERE team = "minnesota" |
Write a SQL query that answers the following question: Can you tell me the Score that has the Team of memphis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_89 WHERE team = "memphis" |
Write a SQL query that answers the following question: With a date of Aldershot and Aldershot as the away team what was the score of the game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (score VARCHAR, away_team VARCHAR, date VARCHAR) | SELECT score FROM table_name_27 WHERE away_team = "aldershot" AND date = "aldershot" |
Write a SQL query that answers the following question: What was the score for the game when West Ham United was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_84 WHERE away_team = "west ham united" |
Write a SQL query that answers the following question: With Sheffield United as the away team and the date, what home team has a tie no of 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_27 WHERE tie_no = "15" AND away_team = "sheffield united" AND date = "sheffield united" |
Write a SQL query that answers the following question: Who was the home team when Sheffield United was the away team and the date was also Sheffield United? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR, date VARCHAR) | SELECT home_team FROM table_name_39 WHERE away_team = "sheffield united" AND date = "sheffield united" |
Write a SQL query that answers the following question: What tie no has Watford as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (tie_no VARCHAR, date VARCHAR) | SELECT tie_no FROM table_name_92 WHERE date = "watford" |
Write a SQL query that answers the following question: Which Country has a Place of t9, and a Score of 71-71-72=214, and a Player of ernie els? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_95 WHERE place = "t9" AND score = 71 - 71 - 72 = 214 AND player = "ernie els" |
Write a SQL query that answers the following question: Which Country has a To par of –13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_12 WHERE to_par = "–13" |
Write a SQL query that answers the following question: Which Player has a Score of 72-69-73=214? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_71 WHERE score = 72 - 69 - 73 = 214 |
Write a SQL query that answers the following question: Which Score has a To par of –4, and a Player of duffy waldorf? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (score VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT score FROM table_name_30 WHERE to_par = "–4" AND player = "duffy waldorf" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.