instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What are the total points for the skier with 3.18 slalom points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (total VARCHAR, slalom_points VARCHAR) | SELECT total FROM table_name_33 WHERE slalom_points = "3.18" |
Write a SQL query that answers the following question: What place is the skier with 7.73 downhill points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (place VARCHAR, downhill_points VARCHAR) | SELECT place FROM table_name_38 WHERE downhill_points = 7.73 |
Write a SQL query that answers the following question: What are the downhill points for the skier with total of 9.31 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (downhill_points INTEGER, total VARCHAR) | SELECT SUM(downhill_points) FROM table_name_50 WHERE total = "9.31" |
Write a SQL query that answers the following question: What is the rank for the player where there are 11 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (rank_points VARCHAR, score_points VARCHAR) | SELECT rank_points FROM table_name_87 WHERE score_points = "11" |
Write a SQL query that answers the following question: Which shooter had a total of 11 at the WC Munich with a score of 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (shooter VARCHAR, score_points VARCHAR, total VARCHAR, event VARCHAR) | SELECT shooter FROM table_name_18 WHERE total = "11" AND event = "wc munich" AND score_points = "6" |
Write a SQL query that answers the following question: What is the event where there are 10 score points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (event VARCHAR, score_points VARCHAR) | SELECT event FROM table_name_10 WHERE score_points = "10" |
Write a SQL query that answers the following question: Who is the shooter that is the Defending Champion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (shooter VARCHAR, total VARCHAR) | SELECT shooter FROM table_name_63 WHERE total = "defending champion" |
Write a SQL query that answers the following question: Which owner had MRT 1 HD? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (owner VARCHAR, name VARCHAR) | SELECT owner FROM table_name_73 WHERE name = "mrt 1 hd" |
Write a SQL query that answers the following question: What is the programming for mrt sobraniski kanal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (programming VARCHAR, name VARCHAR) | SELECT programming FROM table_name_71 WHERE name = "mrt sobraniski kanal" |
Write a SQL query that answers the following question: What is the type for a general programming and the owner tv kanal 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (type VARCHAR, programming VARCHAR, owner VARCHAR) | SELECT type FROM table_name_73 WHERE programming = "general" AND owner = "tv kanal 5" |
Write a SQL query that answers the following question: What is the programming for Kanal 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (programming VARCHAR, name VARCHAR) | SELECT programming FROM table_name_20 WHERE name = "kanal 5" |
Write a SQL query that answers the following question: What was the surface on march 2, 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_91 WHERE date = "march 2, 1997" |
Write a SQL query that answers the following question: What was the result when the partner was magdalena maleeva? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (result VARCHAR, partner VARCHAR) | SELECT result FROM table_name_16 WHERE partner = "magdalena maleeva" |
Write a SQL query that answers the following question: What edition had magdalena maleeva as partner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (edition VARCHAR, partner VARCHAR) | SELECT edition FROM table_name_34 WHERE partner = "magdalena maleeva" |
Write a SQL query that answers the following question: Who was partner for the 1988 world group i edition? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (partner VARCHAR, edition VARCHAR) | SELECT partner FROM table_name_23 WHERE edition = "1988 world group i" |
Write a SQL query that answers the following question: What was the result on july 16, 1992? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_4 WHERE date = "july 16, 1992" |
Write a SQL query that answers the following question: What is the event that is in 8th position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (event VARCHAR, position VARCHAR) | SELECT event FROM table_name_70 WHERE position = "8th" |
Write a SQL query that answers the following question: What is the event in a year before 1989? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (event VARCHAR, year INTEGER) | SELECT event FROM table_name_37 WHERE year < 1989 |
Write a SQL query that answers the following question: What is the total medals in 1964? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (total INTEGER, year_s__won VARCHAR) | SELECT MIN(total) FROM table_name_24 WHERE year_s__won = "1964" |
Write a SQL query that answers the following question: How many kills when percentage is more than 0.313, attempts are more than 1035 and assists are larger than 57? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (kills VARCHAR, assists VARCHAR, percentage VARCHAR, total_attempts VARCHAR) | SELECT COUNT(kills) FROM table_name_32 WHERE percentage > 0.313 AND total_attempts > 1035 AND assists > 57 |
Write a SQL query that answers the following question: What is the highest percentage when there are more than 361 blocks? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (percentage INTEGER, total_blocks INTEGER) | SELECT MAX(percentage) FROM table_name_66 WHERE total_blocks > 361 |
Write a SQL query that answers the following question: What is the total blocks when there are less than 210 digs and the total attempts are more than 1116? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (total_blocks INTEGER, digs VARCHAR, total_attempts VARCHAR) | SELECT AVG(total_blocks) FROM table_name_78 WHERE digs < 210 AND total_attempts > 1116 |
Write a SQL query that answers the following question: Which English has German of leben? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (english VARCHAR, german VARCHAR) | SELECT english FROM table_name_26 WHERE german = "leben" |
Write a SQL query that answers the following question: Which Plautdietsch has Dutch of maken? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (plautdietsch VARCHAR, dutch VARCHAR) | SELECT plautdietsch FROM table_name_61 WHERE dutch = "maken" |
Write a SQL query that answers the following question: Which English has Dutch of tong? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (english VARCHAR, dutch VARCHAR) | SELECT english FROM table_name_26 WHERE dutch = "tong" |
Write a SQL query that answers the following question: Which English has Plautdietsch of aupel? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (english VARCHAR, plautdietsch VARCHAR) | SELECT english FROM table_name_64 WHERE plautdietsch = "aupel" |
Write a SQL query that answers the following question: Which English has Dutch of maken? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (english VARCHAR, dutch VARCHAR) | SELECT english FROM table_name_37 WHERE dutch = "maken" |
Write a SQL query that answers the following question: Can you tell me the Country that has the Year(s) Won of 1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (country VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_21 WHERE year_s__won = "1988" |
Write a SQL query that answers the following question: Can you tell me the average Total that has the To par smaller than 10, and the Country of south korea? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (total INTEGER, to_par VARCHAR, country VARCHAR) | SELECT AVG(total) FROM table_name_60 WHERE to_par < 10 AND country = "south korea" |
Write a SQL query that answers the following question: Can you tell me the Year(s) Won that has the Country of united states, and the Total larger than 152? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (year_s__won VARCHAR, country VARCHAR, total VARCHAR) | SELECT year_s__won FROM table_name_62 WHERE country = "united states" AND total > 152 |
Write a SQL query that answers the following question: Can you tell me the Year(s) Won that has the To par larger than 5, and the Total smaller than 155, and the Country of united states? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (year_s__won VARCHAR, country VARCHAR, to_par VARCHAR, total VARCHAR) | SELECT year_s__won FROM table_name_18 WHERE to_par > 5 AND total < 155 AND country = "united states" |
Write a SQL query that answers the following question: What golfer has a greater than 293 total, and won in 1989? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (player VARCHAR, total VARCHAR, year_s__won VARCHAR) | SELECT player FROM table_name_34 WHERE total > 293 AND year_s__won = "1989" |
Write a SQL query that answers the following question: What is the maximum total when the To par is +3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (total INTEGER, to_par VARCHAR) | SELECT MAX(total) FROM table_name_16 WHERE to_par = "+3" |
Write a SQL query that answers the following question: What golfer has 281 as their total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (player VARCHAR, total VARCHAR) | SELECT player FROM table_name_52 WHERE total = 281 |
Write a SQL query that answers the following question: What is the highest capacity of the tsentral stadium (batumi)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (capacity INTEGER, stadium VARCHAR) | SELECT MAX(capacity) FROM table_name_95 WHERE stadium = "tsentral stadium (batumi)" |
Write a SQL query that answers the following question: What clubs are in the evgrapi shevardnadze stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (clubs VARCHAR, stadium VARCHAR) | SELECT clubs FROM table_name_17 WHERE stadium = "evgrapi shevardnadze stadium" |
Write a SQL query that answers the following question: What is the stadium of the zooveti tbilisi club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (stadium VARCHAR, clubs VARCHAR) | SELECT stadium FROM table_name_27 WHERE clubs = "zooveti tbilisi" |
Write a SQL query that answers the following question: What college had Jim Leonhard Category:articles with hcards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_79 WHERE player = "jim leonhard category:articles with hcards" |
Write a SQL query that answers the following question: Who's the original team for Rashied Davis Category:articles with hcards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (original_nfl_team VARCHAR, player VARCHAR) | SELECT original_nfl_team FROM table_name_25 WHERE player = "rashied davis category:articles with hcards" |
Write a SQL query that answers the following question: What college has Lance Moore Category:articles with hcards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_94 WHERE player = "lance moore category:articles with hcards" |
Write a SQL query that answers the following question: What's the original NFL team when the POS is S and college is Georgia Tech? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR, college VARCHAR) | SELECT original_nfl_team FROM table_name_31 WHERE pos = "s" AND college = "georgia tech" |
Write a SQL query that answers the following question: What is the date of birth of Oliver Buell's child? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date_of_birth VARCHAR, child VARCHAR) | SELECT date_of_birth FROM table_name_32 WHERE child = "oliver buell" |
Write a SQL query that answers the following question: Who is the father that was born on January 2, 1842? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (father VARCHAR, date_of_birth VARCHAR) | SELECT father FROM table_name_30 WHERE date_of_birth = "january 2, 1842" |
Write a SQL query that answers the following question: Who is the father of the child whose mother is Presendia Huntington Buell? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (father VARCHAR, mother VARCHAR) | SELECT father FROM table_name_58 WHERE mother = "presendia huntington buell" |
Write a SQL query that answers the following question: What was the place in Germany with a score of 69-69=138? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (place VARCHAR, country VARCHAR, score VARCHAR) | SELECT place FROM table_name_24 WHERE score = 69 - 69 = 138 AND country = "germany" |
Write a SQL query that answers the following question: What is the country that has a place of T6 that Eduardo Romero plays for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_73 WHERE place = "t6" AND player = "eduardo romero" |
Write a SQL query that answers the following question: What is the to par for Scotland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_96 WHERE country = "scotland" |
Write a SQL query that answers the following question: What is the score for Darren Clarke? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_73 WHERE player = "darren clarke" |
Write a SQL query that answers the following question: What is the country that has a place of T6, a socre of 69-69=138, and where Niclas Fasth played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_17 WHERE place = "t6" AND score = 69 - 69 = 138 AND player = "niclas fasth" |
Write a SQL query that answers the following question: What's the total losses that has more than 12 wins and 1017 against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (losses VARCHAR, against VARCHAR, wins VARCHAR) | SELECT COUNT(losses) FROM table_name_42 WHERE against = 1017 AND wins > 12 |
Write a SQL query that answers the following question: What's the most wins of Tatong? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (wins INTEGER, benalla_dfl VARCHAR) | SELECT MAX(wins) FROM table_name_43 WHERE benalla_dfl = "tatong" |
Write a SQL query that answers the following question: What's the most number of byes for Longwood having less than 1944 against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (byes INTEGER, benalla_dfl VARCHAR, against VARCHAR) | SELECT MAX(byes) FROM table_name_13 WHERE benalla_dfl = "longwood" AND against < 1944 |
Write a SQL query that answers the following question: What is the smallest number against when the draws are less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (against INTEGER, draws INTEGER) | SELECT MIN(against) FROM table_name_21 WHERE draws < 0 |
Write a SQL query that answers the following question: What are the average byes of Bonnie Doon having more than 16 wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (byes INTEGER, benalla_dfl VARCHAR, wins VARCHAR) | SELECT AVG(byes) FROM table_name_54 WHERE benalla_dfl = "bonnie doon" AND wins > 16 |
Write a SQL query that answers the following question: What is Rovigo's Club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (club VARCHAR, city VARCHAR) | SELECT club FROM table_name_91 WHERE city = "rovigo" |
Write a SQL query that answers the following question: What 2007-08 had A.S. Gubbio 1910 Club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (club VARCHAR) | SELECT 2007 AS _08_season FROM table_name_15 WHERE club = "a.s. gubbio 1910" |
Write a SQL query that answers the following question: Which country had a total of 295? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (country VARCHAR, total VARCHAR) | SELECT country FROM table_name_49 WHERE total = 295 |
Write a SQL query that answers the following question: On what Date is West Ham United the Home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_35 WHERE home_team = "west ham united" |
Write a SQL query that answers the following question: On what Date was the Score 4β1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_76 WHERE score = "4β1" |
Write a SQL query that answers the following question: What is the Away team of Tie no 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_68 WHERE tie_no = "1" |
Write a SQL query that answers the following question: What is the Tie no when Crystal Palace is the Away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_37 WHERE away_team = "crystal palace" |
Write a SQL query that answers the following question: What is the Home team of Tie no 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_66 WHERE tie_no = "11" |
Write a SQL query that answers the following question: On what Date is West Ham United the Home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_84 WHERE home_team = "west ham united" |
Write a SQL query that answers the following question: What kind of Week 4 has a Week 1 of sheila levell? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (week_4 VARCHAR, week_1 VARCHAR) | SELECT week_4 FROM table_name_10 WHERE week_1 = "sheila levell" |
Write a SQL query that answers the following question: What kind of Week 2 has a Week 4 of araya robinson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (week_2 VARCHAR, week_4 VARCHAR) | SELECT week_2 FROM table_name_15 WHERE week_4 = "araya robinson" |
Write a SQL query that answers the following question: What kind of Week 4 has a Week 2 of tiffany logan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (week_4 VARCHAR, week_2 VARCHAR) | SELECT week_4 FROM table_name_65 WHERE week_2 = "tiffany logan" |
Write a SQL query that answers the following question: what kind of Week 5 that has a Week 1 of mandy ashford? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (week_5 VARCHAR, week_1 VARCHAR) | SELECT week_5 FROM table_name_68 WHERE week_1 = "mandy ashford" |
Write a SQL query that answers the following question: What kind of Week 2 that has a Week 1 of mandy ashford? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (week_2 VARCHAR, week_1 VARCHAR) | SELECT week_2 FROM table_name_91 WHERE week_1 = "mandy ashford" |
Write a SQL query that answers the following question: What Week 2 that has a Week 1 of mackenzie ryan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (week_2 VARCHAR, week_1 VARCHAR) | SELECT week_2 FROM table_name_81 WHERE week_1 = "mackenzie ryan" |
Write a SQL query that answers the following question: What is the name when weight shows head coach: Aleksandr Kabanov? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (name VARCHAR, weight VARCHAR) | SELECT name FROM table_name_70 WHERE weight = "head coach: aleksandr kabanov" |
Write a SQL query that answers the following question: What is the park & ride lot for the Temple Square station? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (park_and_ride_lot VARCHAR, station_name VARCHAR) | SELECT park_and_ride_lot FROM table_name_97 WHERE station_name = "temple square" |
Write a SQL query that answers the following question: For the Temple Square station, what is the park & ride lot name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (park_and_ride_lot VARCHAR, station_name VARCHAR) | SELECT park_and_ride_lot FROM table_name_53 WHERE station_name = "temple square" |
Write a SQL query that answers the following question: Which station was opened in 2013, with no park & ride lot? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (station_name VARCHAR, opening_year VARCHAR, park_and_ride_lot VARCHAR) | SELECT station_name FROM table_name_99 WHERE opening_year = "2013" AND park_and_ride_lot = "no" |
Write a SQL query that answers the following question: Where is the free fare zone for the Arena station? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (free_fare_zone VARCHAR, station_name VARCHAR) | SELECT free_fare_zone FROM table_name_65 WHERE station_name = "arena" |
Write a SQL query that answers the following question: Calvin Abueva Calvin Abueva had what statistic? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (statistic VARCHAR, name VARCHAR) | SELECT statistic FROM table_name_70 WHERE name = "calvin abueva calvin abueva" |
Write a SQL query that answers the following question: When the opposing team was SSC-R what was the statistic? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (statistic VARCHAR, opponent VARCHAR) | SELECT statistic FROM table_name_79 WHERE opponent = "ssc-r" |
Write a SQL query that answers the following question: When SSC-R is the opponent what is the name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (name VARCHAR, opponent VARCHAR) | SELECT name FROM table_name_70 WHERE opponent = "ssc-r" |
Write a SQL query that answers the following question: With a statistic of most points, what is the stage? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (stage VARCHAR, statistic VARCHAR) | SELECT stage FROM table_name_7 WHERE statistic = "most points" |
Write a SQL query that answers the following question: When the opposing team was CSB UPHDS what was the total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (total VARCHAR, opponent VARCHAR) | SELECT total FROM table_name_49 WHERE opponent = "csb uphds" |
Write a SQL query that answers the following question: Who had the statistic of most assists? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (name VARCHAR, statistic VARCHAR) | SELECT name FROM table_name_93 WHERE statistic = "most assists" |
Write a SQL query that answers the following question: What is Swimmer, when Year is less than 2011, and when Time is "53.06"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (swimmer VARCHAR, year VARCHAR, time VARCHAR) | SELECT swimmer FROM table_name_64 WHERE year < 2011 AND time = "53.06" |
Write a SQL query that answers the following question: What is School, when Event is "100 Backstroke"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (school VARCHAR, event VARCHAR) | SELECT school FROM table_name_17 WHERE event = "100 backstroke" |
Write a SQL query that answers the following question: What is School, when Year is less than 2013, and when Event is "100 Breaststroke"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (school VARCHAR, year VARCHAR, event VARCHAR) | SELECT school FROM table_name_65 WHERE year < 2013 AND event = "100 breaststroke" |
Write a SQL query that answers the following question: What is Time, when Year is greater than 2011, and when Event is "800 Freestyle Relay"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (time VARCHAR, year VARCHAR, event VARCHAR) | SELECT time FROM table_name_98 WHERE year > 2011 AND event = "800 freestyle relay" |
Write a SQL query that answers the following question: What is Year, when Time is "1:47.55"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (year VARCHAR, time VARCHAR) | SELECT year FROM table_name_37 WHERE time = "1:47.55" |
Write a SQL query that answers the following question: What is the Surface of the match against Yaroslava Shvedova? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT surface FROM table_name_46 WHERE opponent_in_the_final = "yaroslava shvedova" |
Write a SQL query that answers the following question: What is the Surface of the match with a Score in the final of 5β7, 6β7 (2β7)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (surface VARCHAR, score_in_the_final VARCHAR) | SELECT surface FROM table_name_86 WHERE score_in_the_final = "5β7, 6β7 (2β7)" |
Write a SQL query that answers the following question: Who is the Opponent in the final of the match played on Clay Surface with a Score in the final of 4β6, 3β6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (opponent_in_the_final VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) | SELECT opponent_in_the_final FROM table_name_9 WHERE surface = "clay" AND score_in_the_final = "4β6, 3β6" |
Write a SQL query that answers the following question: On what Date is the match played on Clay Surface with a Score in the final of 6β2, 7β5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) | SELECT date FROM table_name_32 WHERE surface = "clay" AND score_in_the_final = "6β2, 7β5" |
Write a SQL query that answers the following question: WHAT IS THE NHL TEAM OF FINLAND? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (nhl_team VARCHAR, nationality VARCHAR) | SELECT nhl_team FROM table_name_71 WHERE nationality = "finland" |
Write a SQL query that answers the following question: What's the to Iran with fewer than 9 survivors, more than 3 damaged, and an ussr an-26 aircraft? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (to_iran INTEGER, damaged VARCHAR, survived VARCHAR, aircraft VARCHAR) | SELECT AVG(to_iran) FROM table_name_9 WHERE survived < 9 AND aircraft = "ussr an-26" AND damaged > 3 |
Write a SQL query that answers the following question: What's the average destroyed with a 1990 over 12, more than 1 damaged, 6 survivors, and a to Iran less than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (destroyed INTEGER, survived VARCHAR, to_iran VARCHAR, damaged VARCHAR) | SELECT AVG(destroyed) FROM table_name_17 WHERE 1990 > 12 AND damaged > 1 AND to_iran < 4 AND survived = 6 |
Write a SQL query that answers the following question: What's the average survived with a to Iran less than 1, more than 1 destroyed, and a brazil tucano aircraft? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (survived INTEGER, destroyed VARCHAR, to_iran VARCHAR, aircraft VARCHAR) | SELECT AVG(survived) FROM table_name_53 WHERE to_iran < 1 AND aircraft = "brazil tucano" AND destroyed > 1 |
Write a SQL query that answers the following question: What home team played when there was an attendance of 568? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (home_team VARCHAR, attendance VARCHAR) | SELECT home_team FROM table_name_53 WHERE attendance = "568" |
Write a SQL query that answers the following question: What away team did Horsham play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_30 WHERE home_team = "horsham" |
Write a SQL query that answers the following question: What home team played Hinckley United? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_30 WHERE away_team = "hinckley united" |
Write a SQL query that answers the following question: How many points have an Engine of ferrari tipo 033 v6 tc, and a Year larger than 1987? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (pts INTEGER, engine VARCHAR, year VARCHAR) | SELECT SUM(pts) FROM table_name_37 WHERE engine = "ferrari tipo 033 v6 tc" AND year > 1987 |
Write a SQL query that answers the following question: Which Team/Chassis has a Year larger than 1987? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (team_chassis VARCHAR, year INTEGER) | SELECT team_chassis FROM table_name_46 WHERE year > 1987 |
Write a SQL query that answers the following question: How many points have an Engine of ferrari tipo 033 v6 tc, and a Year smaller than 1987? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (pts INTEGER, engine VARCHAR, year VARCHAR) | SELECT MAX(pts) FROM table_name_90 WHERE engine = "ferrari tipo 033 v6 tc" AND year < 1987 |
Write a SQL query that answers the following question: Which Team/Chassis has less than 65 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (team_chassis VARCHAR, pts INTEGER) | SELECT team_chassis FROM table_name_66 WHERE pts < 65 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.