instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: The To par of +14 was won in what year(s)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (year_s__won VARCHAR, to_par VARCHAR) | SELECT year_s__won FROM table_name_17 WHERE to_par = "+14" |
Write a SQL query that answers the following question: What is the result when the competition is 1982 president's cup? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (result VARCHAR, competition VARCHAR) | SELECT result FROM table_name_5 WHERE competition = "1982 president's cup" |
Write a SQL query that answers the following question: What is the score when the date is December 14, 1985? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_98 WHERE date = "december 14, 1985" |
Write a SQL query that answers the following question: What is the venue when the date is September 24, 1980? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_32 WHERE date = "september 24, 1980" |
Write a SQL query that answers the following question: What is the venue when the result is 2-0, and the score is 1 goal, and the competition is 1980 afc asian cup? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR) | SELECT venue FROM table_name_60 WHERE result = "2-0" AND score = "1 goal" AND competition = "1980 afc asian cup" |
Write a SQL query that answers the following question: What is the venue when the score is 1 goal, and the date is August 27, 1980? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (venue VARCHAR, score VARCHAR, date VARCHAR) | SELECT venue FROM table_name_94 WHERE score = "1 goal" AND date = "august 27, 1980" |
Write a SQL query that answers the following question: What is the result when the date is August 27, 1980? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_11 WHERE date = "august 27, 1980" |
Write a SQL query that answers the following question: What year shows the Entrant of bmw motorsport? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (year INTEGER, entrant VARCHAR) | SELECT SUM(year) FROM table_name_15 WHERE entrant = "bmw motorsport" |
Write a SQL query that answers the following question: Which Entrant of stp march engineering scored the lowest points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (points INTEGER, entrant VARCHAR) | SELECT MIN(points) FROM table_name_78 WHERE entrant = "stp march engineering" |
Write a SQL query that answers the following question: What year had the Chassis of march 762 and more than 0 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (year VARCHAR, chassis VARCHAR, points VARCHAR) | SELECT COUNT(year) FROM table_name_64 WHERE chassis = "march 762" AND points > 0 |
Write a SQL query that answers the following question: Which engine of bmw had the lowest points and chassis of march 792 that is newer than 1979? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (points INTEGER, year VARCHAR, engine VARCHAR, chassis VARCHAR) | SELECT MIN(points) FROM table_name_85 WHERE engine = "bmw" AND chassis = "march 792" AND year > 1979 |
Write a SQL query that answers the following question: Which Conference has a City of boca raton, and a School of florida atlantic university? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (conference VARCHAR, city VARCHAR, school VARCHAR) | SELECT conference FROM table_name_74 WHERE city = "boca raton" AND school = "florida atlantic university" |
Write a SQL query that answers the following question: Which School has a National Championships of 2, and a City of orlando? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (school VARCHAR, national_championships VARCHAR, city VARCHAR) | SELECT school FROM table_name_27 WHERE national_championships = 2 AND city = "orlando" |
Write a SQL query that answers the following question: Which school has National Championships smaller than 2, and a Nickname of lions? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (school VARCHAR, national_championships VARCHAR, nickname VARCHAR) | SELECT school FROM table_name_21 WHERE national_championships < 2 AND nickname = "lions" |
Write a SQL query that answers the following question: What is the win percentage when 2011 shows 1r in the Paris tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (win__percentage VARCHAR, tournament VARCHAR) | SELECT win__percentage FROM table_name_95 WHERE 2011 = "1r" AND tournament = "paris" |
Write a SQL query that answers the following question: What shows for 2009 when 25 shows for 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (Id VARCHAR) | SELECT 2009 FROM table_name_32 WHERE 2011 = "25" |
Write a SQL query that answers the following question: What shows for 2010 when 2011 is 1r at the US Open tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (tournament VARCHAR) | SELECT 2010 FROM table_name_35 WHERE 2011 = "1r" AND tournament = "us open" |
Write a SQL query that answers the following question: What is the win percentage when 2010 was 98? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (win__percentage VARCHAR) | SELECT win__percentage FROM table_name_74 WHERE 2010 = "98" |
Write a SQL query that answers the following question: What shows for 2008 at the Shanghai tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (tournament VARCHAR) | SELECT 2008 FROM table_name_22 WHERE tournament = "shanghai" |
Write a SQL query that answers the following question: What is the win percentage for the 2012 of olympic games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (win__percentage VARCHAR) | SELECT win__percentage FROM table_name_19 WHERE 2012 = "olympic games" |
Write a SQL query that answers the following question: Who was the opponent in the match that lasted 1:22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (opponent VARCHAR, time VARCHAR) | SELECT opponent FROM table_name_25 WHERE time = "1:22" |
Write a SQL query that answers the following question: Which round did the bout against Jonatas Novaes end in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_36 WHERE opponent = "jonatas novaes" |
Write a SQL query that answers the following question: Name the average established for championships less than 1 and club of erie seawolves | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (established INTEGER, championships VARCHAR, club VARCHAR) | SELECT AVG(established) FROM table_name_53 WHERE championships < 1 AND club = "erie seawolves" |
Write a SQL query that answers the following question: Name the most championships for club of erie seawolves | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (championships INTEGER, club VARCHAR) | SELECT MAX(championships) FROM table_name_76 WHERE club = "erie seawolves" |
Write a SQL query that answers the following question: Name the sport with championships less than 1 and club of erie bayhawks | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (sport VARCHAR, championships VARCHAR, club VARCHAR) | SELECT sport FROM table_name_19 WHERE championships < 1 AND club = "erie bayhawks" |
Write a SQL query that answers the following question: what is the date for game 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_71 WHERE game = 3 |
Write a SQL query that answers the following question: What is the English title of 餓狼伝説バトルアーカイブズ2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (english_title VARCHAR, japanese_title VARCHAR) | SELECT english_title FROM table_name_95 WHERE japanese_title = "餓狼伝説バトルアーカイブズ2" |
Write a SQL query that answers the following question: Who was the opponent when there was a loss of Francisco (1-1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_7 WHERE loss = "francisco (1-1)" |
Write a SQL query that answers the following question: On what date was the attendance 17,136? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_36 WHERE attendance = "17,136" |
Write a SQL query that answers the following question: Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_44 WHERE score = "6-5" AND loss = "white (2-1)" |
Write a SQL query that answers the following question: What was the score for the game that had an attendance of 41,087? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_19 WHERE attendance = "41,087" |
Write a SQL query that answers the following question: When the game had a loss of Koch (0-1) what was the attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (attendance VARCHAR, loss VARCHAR) | SELECT attendance FROM table_name_12 WHERE loss = "koch (0-1)" |
Write a SQL query that answers the following question: What is the inegi code for mexicali with 13,700 km area? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (inegi_code INTEGER, municipal_seat VARCHAR, area__km2_ VARCHAR) | SELECT AVG(inegi_code) FROM table_name_6 WHERE municipal_seat = "mexicali" AND area__km2_ > 13 OFFSET 700 |
Write a SQL query that answers the following question: What is the date of the away game when the team has a league position of 9th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (date VARCHAR, h___a VARCHAR, league_position VARCHAR) | SELECT date FROM table_name_34 WHERE h___a = "a" AND league_position = "9th" |
Write a SQL query that answers the following question: On May 17, what is the highest Attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_name_33 WHERE date = "may 17" |
Write a SQL query that answers the following question: What is the highest number of points for the Modena Team Spa after 1991? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (points INTEGER, entrant VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_49 WHERE entrant = "modena team spa" AND year > 1991 |
Write a SQL query that answers the following question: What was the earliest year for the Ligier Gitanes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (year INTEGER, entrant VARCHAR) | SELECT MIN(year) FROM table_name_46 WHERE entrant = "ligier gitanes" |
Write a SQL query that answers the following question: In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR) | SELECT MAX(money_requested__) AS £_ FROM table_name_24 WHERE episode = "episode 7" AND entrepreneur_s_ = "jerry mantalvanos & paul merker" |
Write a SQL query that answers the following question: How much money did reestore request ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR) | SELECT money_requested__£_ FROM table_name_59 WHERE company_or_product_name = "reestore" |
Write a SQL query that answers the following question: How much money did gaming alerts ask for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (money_requested__ VARCHAR, company_or_product_name VARCHAR) | SELECT COUNT(money_requested__) AS £_ FROM table_name_6 WHERE company_or_product_name = "gaming alerts" |
Write a SQL query that answers the following question: Who is the winner of the prize of €93,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (winner VARCHAR, prize VARCHAR) | SELECT winner FROM table_name_96 WHERE prize = "€93,000" |
Write a SQL query that answers the following question: Who is the winner of the prize of £200,000 as listed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (winner VARCHAR, prize VARCHAR) | SELECT winner FROM table_name_50 WHERE prize = "£200,000" |
Write a SQL query that answers the following question: Ram Vaswani was a winner on what date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (date VARCHAR, winner VARCHAR) | SELECT date FROM table_name_91 WHERE winner = "ram vaswani" |
Write a SQL query that answers the following question: Which race resulted in 2nd place in the 1996 season on 20-Jan-1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (race VARCHAR, date VARCHAR, place VARCHAR, season VARCHAR) | SELECT race FROM table_name_80 WHERE place = "2nd" AND season = 1996 AND date = "20-jan-1996" |
Write a SQL query that answers the following question: What is the place result of the downhill race before the 1996 season on 11-Mar-1995? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (place VARCHAR, date VARCHAR, race VARCHAR, season VARCHAR) | SELECT place FROM table_name_17 WHERE race = "downhill" AND season < 1996 AND date = "11-mar-1995" |
Write a SQL query that answers the following question: What place result was the 1996 season at Lake Louise, Canada? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (place VARCHAR, season VARCHAR, location VARCHAR) | SELECT place FROM table_name_73 WHERE season = 1996 AND location = "lake louise, canada" |
Write a SQL query that answers the following question: What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR, home VARCHAR, score VARCHAR) | SELECT record FROM table_name_23 WHERE home = "detroit red wings" AND score = "1–2" AND date = "december 29" |
Write a SQL query that answers the following question: Whose Visitor has a Record of 10–11–5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_82 WHERE record = "10–11–5" |
Write a SQL query that answers the following question: What is the typical match smaller than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (average INTEGER, matches INTEGER) | SELECT AVG(average) FROM table_name_90 WHERE matches < 2 |
Write a SQL query that answers the following question: What are the total number of matches smaller than 2 with a tally of 1-19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (total VARCHAR, tally VARCHAR, matches VARCHAR) | SELECT COUNT(total) FROM table_name_84 WHERE tally = "1-19" AND matches < 2 |
Write a SQL query that answers the following question: What is the average total in the county of tipperary with a rank less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (average VARCHAR, county VARCHAR, rank VARCHAR) | SELECT COUNT(average) FROM table_name_47 WHERE county = "tipperary" AND rank < 1 |
Write a SQL query that answers the following question: What is the Qual with less than 68 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (qual VARCHAR, laps INTEGER) | SELECT qual FROM table_name_3 WHERE laps < 68 |
Write a SQL query that answers the following question: The 147.481 Qual, happened in what year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (year VARCHAR, qual VARCHAR) | SELECT year FROM table_name_15 WHERE qual = "147.481" |
Write a SQL query that answers the following question: Name the being for having things of language, religions, work, customs, values, norms? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR) | SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = "language, religions, work, customs, values, norms" |
Write a SQL query that answers the following question: Name the having things for privacy, intimate spaces of togetherness | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (having__things_ VARCHAR, interacting__settings_ VARCHAR) | SELECT having__things_ FROM table_name_99 WHERE interacting__settings_ = "privacy, intimate spaces of togetherness" |
Write a SQL query that answers the following question: Name the interacting for need of protection | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (interacting__settings_ VARCHAR, need VARCHAR) | SELECT interacting__settings_ FROM table_name_87 WHERE need = "protection" |
Write a SQL query that answers the following question: Name the interacting settings for co-operate, plan, take care of, help | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (interacting__settings_ VARCHAR, doing__actions_ VARCHAR) | SELECT interacting__settings_ FROM table_name_40 WHERE doing__actions_ = "co-operate, plan, take care of, help" |
Write a SQL query that answers the following question: Name the being qualities for having things of language, religions, work, customs, values, norms | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (being__qualities_ VARCHAR, having__things_ VARCHAR) | SELECT being__qualities_ FROM table_name_36 WHERE having__things_ = "language, religions, work, customs, values, norms" |
Write a SQL query that answers the following question: Name the being qualities for having things of friendships, family, relationships with nature | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (being__qualities_ VARCHAR, having__things_ VARCHAR) | SELECT being__qualities_ FROM table_name_20 WHERE having__things_ = "friendships, family, relationships with nature" |
Write a SQL query that answers the following question: What was the attendance for the game that went 2:42? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (attendance INTEGER, time VARCHAR) | SELECT MAX(attendance) FROM table_name_89 WHERE time = "2:42" |
Write a SQL query that answers the following question: How many laps for sébastien bourdais, and a Grid smaller than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (laps INTEGER, name VARCHAR, grid VARCHAR) | SELECT SUM(laps) FROM table_name_72 WHERE name = "sébastien bourdais" AND grid < 1 |
Write a SQL query that answers the following question: What was the score in the match against Kim Tiilikainen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_49 WHERE opponent = "kim tiilikainen" |
Write a SQL query that answers the following question: What was the date of the match against Jean-Julien Rojer, on a clay surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (date VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_59 WHERE surface = "clay" AND opponent = "jean-julien rojer" |
Write a SQL query that answers the following question: Which tournament had a hard surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (tournament VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_22 WHERE surface = "hard" |
Write a SQL query that answers the following question: What is the surface of the match when the outcome was runner-up, and a Score of julia görges polona hercog? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (surface VARCHAR, outcome VARCHAR, score VARCHAR) | SELECT surface FROM table_name_42 WHERE outcome = "runner-up" AND score = "julia görges polona hercog" |
Write a SQL query that answers the following question: What was the surface of the match when the score was akgul amanmuradova chuang chia-jung? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_60 WHERE score = "akgul amanmuradova chuang chia-jung" |
Write a SQL query that answers the following question: What date was the surface hard and Eva Hrdinová was the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (date VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_40 WHERE surface = "hard" AND opponent = "eva hrdinová" |
Write a SQL query that answers the following question: What was the surface of the match against bethanie mattek-sands? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_83 WHERE opponent = "bethanie mattek-sands" |
Write a SQL query that answers the following question: What series 1 has a Doug Richards in Series 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (series_1 VARCHAR, series_2 VARCHAR) | SELECT series_1 FROM table_name_58 WHERE series_2 = "doug richards" |
Write a SQL query that answers the following question: Who in series 1 corresponds with Peter Jones in series 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (series_1 VARCHAR, series_5 VARCHAR) | SELECT series_1 FROM table_name_60 WHERE series_5 = "peter jones" |
Write a SQL query that answers the following question: Who in series 5 corresponds to Deborah Meaden in series 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (series_5 VARCHAR, series_3 VARCHAR) | SELECT series_5 FROM table_name_57 WHERE series_3 = "deborah meaden" |
Write a SQL query that answers the following question: Who in series 11 corresponds to Peter Jones in series 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (series_11 VARCHAR, series_1 VARCHAR) | SELECT series_11 FROM table_name_51 WHERE series_1 = "peter jones" |
Write a SQL query that answers the following question: Who in series 9 corresponds to Peter Jones in series 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (series_9 VARCHAR, series_2 VARCHAR) | SELECT series_9 FROM table_name_55 WHERE series_2 = "peter jones" |
Write a SQL query that answers the following question: What was the score of the game when the Blue Jays were 55-39? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_86 WHERE record = "55-39" |
Write a SQL query that answers the following question: Who was the individual in the event of 1998 Pokljuka? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (individual VARCHAR, event VARCHAR) | SELECT individual FROM table_name_33 WHERE event = "1998 pokljuka" |
Write a SQL query that answers the following question: Which locomotive class had 5 items made? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (class VARCHAR, quantity_made VARCHAR) | SELECT class FROM table_name_26 WHERE quantity_made = 5 |
Write a SQL query that answers the following question: Which manufacturer made a locomotive with a type of 4-6-4t? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (manufacturer VARCHAR, type VARCHAR) | SELECT manufacturer FROM table_name_40 WHERE type = "4-6-4t" |
Write a SQL query that answers the following question: What is the event year radek štěpánek was the round and there were less than 3 aces? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, aces VARCHAR) | SELECT COUNT(event) FROM table_name_92 WHERE round = "radek štěpánek" AND NOT aces < 3 |
Write a SQL query that answers the following question: How many players were in the event after 2011 with less than 9 aces? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (player VARCHAR, event VARCHAR, aces VARCHAR) | SELECT COUNT(player) FROM table_name_72 WHERE event > 2011 AND NOT aces < 9 |
Write a SQL query that answers the following question: Who was the opponent in the 2011 event with less than 113 players? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (opponent VARCHAR, player VARCHAR, event VARCHAR) | SELECT opponent FROM table_name_72 WHERE player < 113 AND event = 2011 |
Write a SQL query that answers the following question: What is the highest number of players during 1r year with a clay set and more than 4 aces? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (player INTEGER, year VARCHAR, sets VARCHAR, aces VARCHAR) | SELECT MAX(player) FROM table_name_63 WHERE year = "1r" AND sets = "clay" AND NOT aces > 4 |
Write a SQL query that answers the following question: Who played as Team 2 against Team 1 SC Gagnoa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_73 WHERE team_1 = "sc gagnoa" |
Write a SQL query that answers the following question: What was the 1st leg score when Mufulira Wanderers played as Team 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (team_2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_6 WHERE team_2 = "mufulira wanderers" |
Write a SQL query that answers the following question: What's the score of the 1st leg when Water Corporation was Team 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = "water corporation" |
Write a SQL query that answers the following question: What's the 1st leg score when Team 1 was Gor Mahia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_1 WHERE team_1 = "gor mahia" |
Write a SQL query that answers the following question: Who played as Team 1 against Lomé i? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i" |
Write a SQL query that answers the following question: Name the entrant for year of 1952 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (entrant VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_39 WHERE year = 1952 |
Write a SQL query that answers the following question: Name the total number of points for 1952 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (points VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_89 WHERE year = 1952 |
Write a SQL query that answers the following question: Name the total number of years for talbot-lago t26c and points less than 3 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (year VARCHAR, chassis VARCHAR, points VARCHAR) | SELECT COUNT(year) FROM table_name_52 WHERE chassis = "talbot-lago t26c" AND points < 3 |
Write a SQL query that answers the following question: What episode featured entrepreneur Richard Ernest? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (first_aired VARCHAR, entrepreneur_s_ VARCHAR) | SELECT first_aired FROM table_name_15 WHERE entrepreneur_s_ = "richard ernest" |
Write a SQL query that answers the following question: What Investing Dragons had a request of £100,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR) | SELECT investing_dragon_s_ FROM table_name_87 WHERE money_requested__£_ = "100,000" |
Write a SQL query that answers the following question: What Entrepreneurs requested £60,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR) | SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = "60,000" |
Write a SQL query that answers the following question: How much was requested from Investing Dragon Peter Jones request in episode 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (money_requested__£_ VARCHAR, investing_dragon_s_ VARCHAR, episode VARCHAR) | SELECT money_requested__£_ FROM table_name_92 WHERE investing_dragon_s_ = "peter jones" AND episode = "episode 2" |
Write a SQL query that answers the following question: Name the investing dragon for razzamataz | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (investing_dragon_s_ VARCHAR, company_or_product_name VARCHAR) | SELECT investing_dragon_s_ FROM table_name_5 WHERE company_or_product_name = "razzamataz" |
Write a SQL query that answers the following question: Name the first aired with money requested more than 85,000 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (first_aired VARCHAR, money_requested__£_ INTEGER) | SELECT first_aired FROM table_name_86 WHERE money_requested__£_ > 85 OFFSET 000 |
Write a SQL query that answers the following question: What is the competition type of the event with a result of 3-2 and a score of 2-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (competition VARCHAR, result VARCHAR, score VARCHAR) | SELECT competition FROM table_name_36 WHERE result = "3-2" AND score = "2-1" |
Write a SQL query that answers the following question: Which date has a competition type of friendly and a score of 2-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (date VARCHAR, competition VARCHAR, score VARCHAR) | SELECT date FROM table_name_3 WHERE competition = "friendly" AND score = "2-1" |
Write a SQL query that answers the following question: What is the score of the event with a competition type of friendly and a result of 4-5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, result VARCHAR) | SELECT score FROM table_name_94 WHERE competition = "friendly" AND result = "4-5" |
Write a SQL query that answers the following question: Which date has a score of 2-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_6 WHERE score = "2-1" |
Write a SQL query that answers the following question: Which date has a competition type of British home championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_81 WHERE competition = "british home championship" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.