instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the Finish for the 1950–51? season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (finish VARCHAR, season VARCHAR) | SELECT finish FROM table_name_22 WHERE season = "1950–51" |
Write a SQL query that answers the following question: What is the Losses at the western conference and the 2004–05 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (losses VARCHAR, conference VARCHAR, season VARCHAR) | SELECT losses FROM table_name_51 WHERE conference = "western" AND season = "2004–05" |
Write a SQL query that answers the following question: What Season has wins as the philadelphia warriors (nba)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (season VARCHAR, wins VARCHAR) | SELECT season FROM table_name_28 WHERE wins = "philadelphia warriors (nba)" |
Write a SQL query that answers the following question: What shows for Wins when there was a Conference of —, western division, in the 1967–68 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (wins VARCHAR, season VARCHAR, conference VARCHAR, division VARCHAR) | SELECT wins FROM table_name_61 WHERE conference = "—" AND division = "western" AND season = "1967–68" |
Write a SQL query that answers the following question: What is the Conference for the 1967–68 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (conference VARCHAR, season VARCHAR) | SELECT conference FROM table_name_71 WHERE season = "1967–68" |
Write a SQL query that answers the following question: What is the Location when the time was 11:55? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (location VARCHAR, time VARCHAR) | SELECT location FROM table_name_22 WHERE time = "11:55" |
Write a SQL query that answers the following question: What Round has a Time of n/a, in rio de janeiro , brazil? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (round VARCHAR, time VARCHAR, location VARCHAR) | SELECT round FROM table_name_5 WHERE time = "n/a" AND location = "rio de janeiro , brazil" |
Write a SQL query that answers the following question: What is the Round for the jiu-jitsu vs martial arts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (round VARCHAR, event VARCHAR) | SELECT round FROM table_name_20 WHERE event = "jiu-jitsu vs martial arts" |
Write a SQL query that answers the following question: What is the Location for the jiu-jitsu vs martial arts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_36 WHERE event = "jiu-jitsu vs martial arts" |
Write a SQL query that answers the following question: What is the Event when the opponent was wesslan evaristo de oliveira? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_79 WHERE opponent = "wesslan evaristo de oliveira" |
Write a SQL query that answers the following question: How many points does Kohta Nozane have with a Motobi TSR 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (points VARCHAR, bike VARCHAR, riders VARCHAR) | SELECT points FROM table_name_42 WHERE bike = "motobi tsr 6" AND riders = "kohta nozane" |
Write a SQL query that answers the following question: Which Average has a Band of f? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (average VARCHAR, band VARCHAR) | SELECT average FROM table_name_57 WHERE band = "f" |
Write a SQL query that answers the following question: Which Band has a Ratio of 9/9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (band VARCHAR, ratio VARCHAR) | SELECT band FROM table_name_76 WHERE ratio = "9/9" |
Write a SQL query that answers the following question: Which Band has a Ratio of 13/9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (band VARCHAR, ratio VARCHAR) | SELECT band FROM table_name_99 WHERE ratio = "13/9" |
Write a SQL query that answers the following question: What was the latest year that the Atlanta Braves won and the St. Louis Cardinals lost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (year INTEGER, winning_team VARCHAR, losing_team VARCHAR) | SELECT MAX(year) FROM table_name_70 WHERE winning_team = "atlanta braves" AND losing_team = "st. louis cardinals" |
Write a SQL query that answers the following question: Who won the series when the San Francisco Giants lost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (winning_team VARCHAR, losing_team VARCHAR) | SELECT winning_team FROM table_name_92 WHERE losing_team = "san francisco giants" |
Write a SQL query that answers the following question: Where was the series that the Kansas City Royals lost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (site VARCHAR, winning_team VARCHAR) | SELECT site FROM table_name_65 WHERE winning_team = "kansas city royals" |
Write a SQL query that answers the following question: Who was the winning team in 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (winning_team VARCHAR, year VARCHAR) | SELECT winning_team FROM table_name_22 WHERE year = 2008 |
Write a SQL query that answers the following question: What average lost has points greater than 108? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (lost INTEGER, points INTEGER) | SELECT AVG(lost) FROM table_name_49 WHERE points > 108 |
Write a SQL query that answers the following question: How many losses have 222 as the goals against, with points greater than 78? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (lost INTEGER, goals_against VARCHAR, points VARCHAR) | SELECT SUM(lost) FROM table_name_24 WHERE goals_against = 222 AND points > 78 |
Write a SQL query that answers the following question: How many goals against have 64 for games, a loss less than 12, with points greater than 107? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (goals_against INTEGER, points VARCHAR, games VARCHAR, lost VARCHAR) | SELECT SUM(goals_against) FROM table_name_37 WHERE games = 64 AND lost < 12 AND points > 107 |
Write a SQL query that answers the following question: What is the place of the song 'Never Change'? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (place INTEGER, song VARCHAR) | SELECT SUM(place) FROM table_name_79 WHERE song = "never change" |
Write a SQL query that answers the following question: What is the name of Aleko Berdzenishvili's song? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (song VARCHAR, artist VARCHAR) | SELECT song FROM table_name_18 WHERE artist = "aleko berdzenishvili" |
Write a SQL query that answers the following question: What was the lowest pick for the RHP position and player Mike Biko? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (pick INTEGER, position VARCHAR, player VARCHAR) | SELECT MIN(pick) FROM table_name_67 WHERE position = "rhp" AND player = "mike biko" |
Write a SQL query that answers the following question: What is the Martin McGuinness with a David Norris that is 10.3%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (martin_mcguinness VARCHAR, david_norris VARCHAR) | SELECT martin_mcguinness FROM table_name_16 WHERE david_norris = "10.3%" |
Write a SQL query that answers the following question: What is the Martin mcGuinness with a Sean Gallagher that is 29.6%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (martin_mcguinness VARCHAR, seán_gallagher VARCHAR) | SELECT martin_mcguinness FROM table_name_3 WHERE seán_gallagher = "29.6%" |
Write a SQL query that answers the following question: What is the David Norris with a Michael D. Higgins that is 46.2%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (david_norris VARCHAR, michael_d_higgins VARCHAR) | SELECT david_norris FROM table_name_92 WHERE michael_d_higgins = "46.2%" |
Write a SQL query that answers the following question: What is the Mary Davis with a Gay Mitchell that is 4.6%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (mary_davis VARCHAR, gay_mitchell VARCHAR) | SELECT mary_davis FROM table_name_96 WHERE gay_mitchell = "4.6%" |
Write a SQL query that answers the following question: Can you tell me the total number of Prev that has the Chng of +10, and the Rating larger than 2765? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (prev VARCHAR, chng VARCHAR, rating VARCHAR) | SELECT COUNT(prev) FROM table_name_26 WHERE chng = "+10" AND rating > 2765 |
Write a SQL query that answers the following question: Who is the second member for the Second Party Liberal, and the Third Party Conservative, after the 1841 election? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (second_member VARCHAR, election VARCHAR, second_party VARCHAR, third_party VARCHAR) | SELECT second_member FROM table_name_70 WHERE second_party = "liberal" AND third_party = "conservative" AND election > 1841 |
Write a SQL query that answers the following question: Who is the third member of the Liberal Party, a third party conservative, the second member Humphrey Mildmay? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (third_member VARCHAR, second_member VARCHAR, second_party VARCHAR, third_party VARCHAR) | SELECT third_member FROM table_name_2 WHERE second_party = "liberal" AND third_party = "conservative" AND second_member = "humphrey mildmay" |
Write a SQL query that answers the following question: Who is the third member of the third conservative party, and the second liberal party? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (third_member VARCHAR, third_party VARCHAR, second_party VARCHAR) | SELECT third_member FROM table_name_30 WHERE third_party = "conservative" AND second_party = "liberal" |
Write a SQL query that answers the following question: What was the highest election with third party member Sir Robert Price, BT, and first party member conservative? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR) | SELECT MAX(election) FROM table_name_97 WHERE third_member = "sir robert price, bt" AND first_party = "conservative" |
Write a SQL query that answers the following question: What was the record of the team with head coach Steve Spurrier? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (record VARCHAR, head_coach VARCHAR) | SELECT record FROM table_name_8 WHERE head_coach = "steve spurrier" |
Write a SQL query that answers the following question: What was USC's record before the 1967 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (record VARCHAR, team VARCHAR, season VARCHAR) | SELECT record FROM table_name_34 WHERE team = "usc" AND season < 1967 |
Write a SQL query that answers the following question: What was the record during the 1973 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (record VARCHAR, season VARCHAR) | SELECT record FROM table_name_74 WHERE season = 1973 |
Write a SQL query that answers the following question: What is the average score for 6th place with a total of 165? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (average VARCHAR, place VARCHAR, total VARCHAR) | SELECT average FROM table_name_49 WHERE place = "6th" AND total = "165" |
Write a SQL query that answers the following question: What is the total with a 74 rank by average for 8th place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (total VARCHAR, rank_by_average VARCHAR, place VARCHAR) | SELECT total FROM table_name_70 WHERE rank_by_average = "74" AND place = "8th" |
Write a SQL query that answers the following question: What was the place in season 8 with a rank by average at 139? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (place VARCHAR, season VARCHAR, rank_by_average VARCHAR) | SELECT place FROM table_name_21 WHERE season = "8" AND rank_by_average = "139" |
Write a SQL query that answers the following question: What is the total for 3rd place on season 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (total VARCHAR, place VARCHAR, season VARCHAR) | SELECT total FROM table_name_41 WHERE place = "3rd" AND season = "9" |
Write a SQL query that answers the following question: What rank by average has 1 dance on season 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (rank_by_average VARCHAR, number_of_dances VARCHAR, season VARCHAR) | SELECT rank_by_average FROM table_name_34 WHERE number_of_dances = "1" AND season = "9" |
Write a SQL query that answers the following question: What was the final round score for the player from the Milwaukee Bucks? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (final_round VARCHAR, team VARCHAR) | SELECT final_round FROM table_name_31 WHERE team = "milwaukee bucks" |
Write a SQL query that answers the following question: What position does the player with a first round score of 35.7 play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (pos VARCHAR, first_round VARCHAR) | SELECT pos FROM table_name_21 WHERE first_round = "35.7" |
Write a SQL query that answers the following question: What is the height of the player with a first round score of 44.1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (height VARCHAR, first_round VARCHAR) | SELECT height FROM table_name_1 WHERE first_round = "44.1" |
Write a SQL query that answers the following question: Which player weighs 187 pounds? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (player VARCHAR, weight VARCHAR) | SELECT player FROM table_name_87 WHERE weight = 187 |
Write a SQL query that answers the following question: Who was the illustrator in 1987? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (illustrator VARCHAR, year VARCHAR) | SELECT illustrator FROM table_name_79 WHERE year = 1987 |
Write a SQL query that answers the following question: How many years was the title drop dead? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (year VARCHAR, title VARCHAR) | SELECT COUNT(year) FROM table_name_94 WHERE title = "drop dead" |
Write a SQL query that answers the following question: Which publisher has a title of drop dead? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (publisher VARCHAR, title VARCHAR) | SELECT publisher FROM table_name_93 WHERE title = "drop dead" |
Write a SQL query that answers the following question: What Greek word means the same thing as the German word ebbe? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (greek VARCHAR, german VARCHAR) | SELECT greek FROM table_name_99 WHERE german = "ebbe" |
Write a SQL query that answers the following question: What word in German translates into the Icelandic word efja? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (german VARCHAR, icelandic VARCHAR) | SELECT german FROM table_name_10 WHERE icelandic = "efja" |
Write a SQL query that answers the following question: What is the Dutch translation of the Latin word navigo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (dutch VARCHAR, latin VARCHAR) | SELECT dutch FROM table_name_3 WHERE latin = "navigo" |
Write a SQL query that answers the following question: What Dutch word has the same meaning as the Greek word πλέω (pléō)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (dutch VARCHAR, greek VARCHAR) | SELECT dutch FROM table_name_1 WHERE greek = "πλέω (pléō)" |
Write a SQL query that answers the following question: What English word has the same meaning as the German word "german"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (english VARCHAR) | SELECT english FROM table_name_3 WHERE "german" = "german" |
Write a SQL query that answers the following question: How many wins are related to events of 7 and more than 2 top-10s? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (wins VARCHAR, events VARCHAR, top_10 VARCHAR) | SELECT COUNT(wins) FROM table_name_95 WHERE events = 7 AND top_10 > 2 |
Write a SQL query that answers the following question: What is the most cuts made for events with 1 top-5, 2 top-10s, and more than 13 total events? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (cuts_made INTEGER, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR) | SELECT MAX(cuts_made) FROM table_name_52 WHERE top_5 = 1 AND top_10 = 2 AND events > 13 |
Write a SQL query that answers the following question: Can you tell me the Name that has the Rank smaller than 71, and the Year larger than 2005, and the Out of 220? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (name VARCHAR, out_of VARCHAR, rank VARCHAR, year VARCHAR) | SELECT name FROM table_name_22 WHERE rank < 71 AND year > 2005 AND out_of = "220" |
Write a SQL query that answers the following question: Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richness? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (year INTEGER, rank VARCHAR, name VARCHAR) | SELECT MIN(year) FROM table_name_99 WHERE rank < 132 AND name = "biodiversity richness" |
Write a SQL query that answers the following question: Can you tell me the Source that has the Rank of 78? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (source VARCHAR, rank VARCHAR) | SELECT source FROM table_name_86 WHERE rank = 78 |
Write a SQL query that answers the following question: Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (out_of VARCHAR, year VARCHAR, source VARCHAR, rank VARCHAR) | SELECT out_of FROM table_name_31 WHERE source = "united nations" AND rank > 47 AND year < 2003 |
Write a SQL query that answers the following question: Which Tournament has a 2004 of 1r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (tournament VARCHAR) | SELECT tournament FROM table_name_59 WHERE 2004 = "1r" |
Write a SQL query that answers the following question: What is the 2005 that has a grand slam tournaments in 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (Id VARCHAR) | SELECT 2005 FROM table_name_52 WHERE 2007 = "grand slam tournaments" |
Write a SQL query that answers the following question: What is the 2006 that has a 2r in 2004, and a 2r in 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (Id VARCHAR) | SELECT 2006 FROM table_name_84 WHERE 2004 = "2r" AND 2005 = "2r" |
Write a SQL query that answers the following question: What is the 2007 that has a grand slam tournaments in 2006. | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (Id VARCHAR) | SELECT 2007 FROM table_name_32 WHERE 2006 = "grand slam tournaments" |
Write a SQL query that answers the following question: What is the 2004 that has a of grand slam tournaments in2006 ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (Id VARCHAR) | SELECT 2004 FROM table_name_82 WHERE 2006 = "grand slam tournaments" |
Write a SQL query that answers the following question: What is 2006 has a 2007 of 3r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (Id VARCHAR) | SELECT 2006 FROM table_name_48 WHERE 2007 = "3r" |
Write a SQL query that answers the following question: What was the number of passengers going to MCO with a rank larger than 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (passengers VARCHAR, airport VARCHAR, rank VARCHAR) | SELECT COUNT(passengers) FROM table_name_54 WHERE airport = "mco" AND rank > 9 |
Write a SQL query that answers the following question: What city had a rank before 3 and primary carrier JetBlue Airways? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (city VARCHAR, rank VARCHAR, carriers VARCHAR) | SELECT city FROM table_name_78 WHERE rank < 3 AND carriers = "jetblue airways" |
Write a SQL query that answers the following question: What was launched and laid down in February 1819? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (launched VARCHAR, laid_down VARCHAR) | SELECT launched FROM table_name_14 WHERE laid_down = "february 1819" |
Write a SQL query that answers the following question: What is the total number of positions with less than 10 points, more than 7 qualifying, ret value in Race 1, and Jonathan Grant driving? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (pos VARCHAR, driver VARCHAR, race_1 VARCHAR, points VARCHAR, qualifying VARCHAR) | SELECT COUNT(pos) FROM table_name_51 WHERE points < 10 AND qualifying > 7 AND race_1 = "ret" AND driver = "jonathan grant" |
Write a SQL query that answers the following question: What is Date, when Set 2 is 25-13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (date VARCHAR, set_2 VARCHAR) | SELECT date FROM table_name_29 WHERE set_2 = "25-13" |
Write a SQL query that answers the following question: What is Total, when Set 5 is NA, and when Set 2 is 25-13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (total VARCHAR, set_5 VARCHAR, set_2 VARCHAR) | SELECT total FROM table_name_62 WHERE set_5 = "na" AND set_2 = "25-13" |
Write a SQL query that answers the following question: What is Score, when Date is Jun 16, and when Set 4 is 25-20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (score VARCHAR, date VARCHAR, set_4 VARCHAR) | SELECT score FROM table_name_1 WHERE date = "jun 16" AND set_4 = "25-20" |
Write a SQL query that answers the following question: What is Set 2, when Score is 3-0, when Date is May 11, and when Set 1 is 25-20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR) | SELECT set_2 FROM table_name_73 WHERE score = "3-0" AND date = "may 11" AND set_1 = "25-20" |
Write a SQL query that answers the following question: What is Set 4, when Set 1 is 25-18, and when Date is Jun 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (set_4 VARCHAR, set_1 VARCHAR, date VARCHAR) | SELECT set_4 FROM table_name_37 WHERE set_1 = "25-18" AND date = "jun 2" |
Write a SQL query that answers the following question: What is the Team with a Score that is w 101–97 (2ot)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (team VARCHAR, score VARCHAR) | SELECT team FROM table_name_17 WHERE score = "w 101–97 (2ot)" |
Write a SQL query that answers the following question: What is the High points with a Score that is l 64–94 (ot)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (high_points VARCHAR, score VARCHAR) | SELECT high_points FROM table_name_73 WHERE score = "l 64–94 (ot)" |
Write a SQL query that answers the following question: What is the largest played when the drawn is less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (played INTEGER, drawn INTEGER) | SELECT MAX(played) FROM table_name_62 WHERE drawn < 1 |
Write a SQL query that answers the following question: What points average has a played greater than 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (points INTEGER, played INTEGER) | SELECT AVG(points) FROM table_name_31 WHERE played > 20 |
Write a SQL query that answers the following question: What is the smallest drawn with a position bigger than 10 and a played less than 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (drawn INTEGER, position VARCHAR, played VARCHAR) | SELECT MIN(drawn) FROM table_name_51 WHERE position > 10 AND played < 20 |
Write a SQL query that answers the following question: At what average position is the drawn 9 and the points greater than 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (position INTEGER, drawn VARCHAR, points VARCHAR) | SELECT AVG(position) FROM table_name_75 WHERE drawn = 9 AND points > 25 |
Write a SQL query that answers the following question: How many played has an against greater than 57 and a lost bigger than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (played VARCHAR, against VARCHAR, lost VARCHAR) | SELECT COUNT(played) FROM table_name_83 WHERE against > 57 AND lost > 14 |
Write a SQL query that answers the following question: The event rip curl pro mademoiselle is in which location? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_55 WHERE event = "rip curl pro mademoiselle" |
Write a SQL query that answers the following question: On the date november 24-december 6 what's the winner when the country is united states? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (winner VARCHAR, country VARCHAR, date VARCHAR) | SELECT winner FROM table_name_35 WHERE country = "united states" AND date = "november 24-december 6" |
Write a SQL query that answers the following question: Which year was the 100 m event played in Thessaloniki, Greece? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (year INTEGER, event VARCHAR, venue VARCHAR) | SELECT MIN(year) FROM table_name_93 WHERE event = "100 m" AND venue = "thessaloniki, greece" |
Write a SQL query that answers the following question: Which position was the World Indoor Championships in a year later than 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (position VARCHAR, competition VARCHAR, year VARCHAR) | SELECT position FROM table_name_64 WHERE competition = "world indoor championships" AND year > 2008 |
Write a SQL query that answers the following question: What position was played at the World Athletics Final Competition in a year more recent than 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (position VARCHAR, competition VARCHAR, year VARCHAR) | SELECT position FROM table_name_62 WHERE competition = "world athletics final" AND year > 2008 |
Write a SQL query that answers the following question: What position was played at the World Athletics Final Competition in a year more recent than 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (position VARCHAR, competition VARCHAR, year VARCHAR) | SELECT position FROM table_name_11 WHERE competition = "world athletics final" AND year > 2008 |
Write a SQL query that answers the following question: What are the goals of the assists of 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (goals VARCHAR, assists VARCHAR) | SELECT goals FROM table_name_92 WHERE assists = "5" |
Write a SQL query that answers the following question: What is the assists for the year 1995? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (assists VARCHAR, year VARCHAR) | SELECT assists FROM table_name_66 WHERE year = "1995" |
Write a SQL query that answers the following question: What assists has the Team SMU and the total points of 85? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (assists VARCHAR, team VARCHAR, total_points VARCHAR) | SELECT assists FROM table_name_14 WHERE team = "smu" AND total_points = "85" |
Write a SQL query that answers the following question: What year had 48 assists? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (year VARCHAR, assists VARCHAR) | SELECT year FROM table_name_35 WHERE assists = "48" |
Write a SQL query that answers the following question: What is the total points for GP/GS of 24/23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (total_points VARCHAR, gp_gs VARCHAR) | SELECT total_points FROM table_name_28 WHERE gp_gs = "24/23" |
Write a SQL query that answers the following question: What is the assists for the Team of Florida and the total points of 75? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (assists VARCHAR, team VARCHAR, total_points VARCHAR) | SELECT assists FROM table_name_29 WHERE team = "florida" AND total_points = "75" |
Write a SQL query that answers the following question: What is the attendance of the match with F.C. central chugoku as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_24 WHERE home_team = "f.c. central chugoku" |
Write a SQL query that answers the following question: What is the away team of match 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (away_team VARCHAR, match_no VARCHAR) | SELECT away_team FROM table_name_52 WHERE match_no = "9" |
Write a SQL query that answers the following question: What is the score of match 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (score VARCHAR, match_no VARCHAR) | SELECT score FROM table_name_30 WHERE match_no = "15" |
Write a SQL query that answers the following question: What is the attendance of the match with kochi university as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (attendance VARCHAR, away_team VARCHAR) | SELECT attendance FROM table_name_23 WHERE away_team = "kochi university" |
Write a SQL query that answers the following question: What is the attendance of the match with rosso kumamoto as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (attendance VARCHAR, away_team VARCHAR) | SELECT attendance FROM table_name_82 WHERE away_team = "rosso kumamoto" |
Write a SQL query that answers the following question: What year did the company have a balance sheet total of €125,359,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (year VARCHAR, balance_sheet_total VARCHAR) | SELECT COUNT(year) FROM table_name_69 WHERE balance_sheet_total = "€125,359,000" |
Write a SQL query that answers the following question: What was the average Year of release for the Album, "Da Baddest Bitch"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (year INTEGER, album VARCHAR) | SELECT AVG(year) FROM table_name_31 WHERE album = "da baddest bitch" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.