instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What was the Nominated Work earlier than 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (nominated_work VARCHAR, year INTEGER) | SELECT nominated_work FROM table_name_95 WHERE year < 2003 |
Write a SQL query that answers the following question: Which method's event was flawless fighting championship 1: the beginning? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_42 WHERE event = "flawless fighting championship 1: the beginning" |
Write a SQL query that answers the following question: Which method's opponent was chris clark? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_11 WHERE opponent = "chris clark" |
Write a SQL query that answers the following question: Which record's round was 3 when the event was fight festival 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR) | SELECT record FROM table_name_19 WHERE round = 3 AND event = "fight festival 27" |
Write a SQL query that answers the following question: What is the Fourth place with a Year that is 1978? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (fourth_place VARCHAR, year VARCHAR) | SELECT fourth_place FROM table_name_58 WHERE year = 1978 |
Write a SQL query that answers the following question: What is the Fourth place with a Year that is 1966? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (fourth_place VARCHAR, year VARCHAR) | SELECT fourth_place FROM table_name_11 WHERE year = 1966 |
Write a SQL query that answers the following question: What is the Champion with a Year that is 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (champion VARCHAR, year VARCHAR) | SELECT champion FROM table_name_65 WHERE year = 2008 |
Write a SQL query that answers the following question: Who was the opponent for the game played on September 19, 1994? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_15 WHERE date = "september 19, 1994" |
Write a SQL query that answers the following question: In which week was attendance at 50,814? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_10 WHERE attendance = "50,814" |
Write a SQL query that answers the following question: What date after Week 6 was a Bye? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (date VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_34 WHERE week > 6 AND attendance = "bye" |
Write a SQL query that answers the following question: What subjunctive also has an inverse subjunctive of måchadns? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (subjunctive VARCHAR, inverse_subjunctive VARCHAR) | SELECT subjunctive FROM table_name_85 WHERE inverse_subjunctive = "måchadns" |
Write a SQL query that answers the following question: What imperative has måcha as 3.sg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (imperative VARCHAR, måcha VARCHAR) | SELECT imperative FROM table_name_94 WHERE måcha = "3.sg" |
Write a SQL query that answers the following question: The indicative of si måchan has what as the inverse subjunctive? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (inverse_subjunctive VARCHAR, indicative VARCHAR) | SELECT inverse_subjunctive FROM table_name_8 WHERE indicative = "si måchan" |
Write a SQL query that answers the following question: What inverse subjunctive has — as the imperative and a subjunctive of se måchadn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (inverse_subjunctive VARCHAR, imperative VARCHAR, subjunctive VARCHAR) | SELECT inverse_subjunctive FROM table_name_9 WHERE imperative = "—" AND subjunctive = "se måchadn" |
Write a SQL query that answers the following question: With a subjunctive of du måchast what is the imperative? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (imperative VARCHAR, subjunctive VARCHAR) | SELECT imperative FROM table_name_37 WHERE subjunctive = "du måchast" |
Write a SQL query that answers the following question: What subjunctive has the indicative of se måchan(t)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (subjunctive VARCHAR, indicative VARCHAR) | SELECT subjunctive FROM table_name_77 WHERE indicative = "se måchan(t)" |
Write a SQL query that answers the following question: What is the Win % in the Span of 2011–2013 with a Lost of less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (win__percentage INTEGER, span VARCHAR, lost VARCHAR) | SELECT AVG(win__percentage) FROM table_name_91 WHERE span = "2011–2013" AND lost < 1 |
Write a SQL query that answers the following question: How many games were Tied during the Span of 2011–2013 with a less than 80% Win %? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (tied VARCHAR, span VARCHAR, win__percentage VARCHAR) | SELECT COUNT(tied) FROM table_name_57 WHERE span = "2011–2013" AND win__percentage < 80 |
Write a SQL query that answers the following question: On what date were sheets issued in Tallahassee, Florida? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (date_of_issue VARCHAR, place_of_issue VARCHAR) | SELECT date_of_issue FROM table_name_40 WHERE place_of_issue = "tallahassee, florida" |
Write a SQL query that answers the following question: Which printer issued sheets on October 5, 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (printer VARCHAR, date_of_issue VARCHAR) | SELECT printer FROM table_name_79 WHERE date_of_issue = "october 5, 2006" |
Write a SQL query that answers the following question: What is the least amount of silver medals won by Total with more than 1 bronze and more than 18 total medals won? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (silver INTEGER, bronze VARCHAR, nation VARCHAR) | SELECT MIN(silver) FROM table_name_8 WHERE bronze > 1 AND nation = "total" AND "total" > 18 |
Write a SQL query that answers the following question: How many positions have points against less than 28, americano-sp as the team, with a played greater than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (position VARCHAR, played VARCHAR, against VARCHAR, team VARCHAR) | SELECT COUNT(position) FROM table_name_7 WHERE against < 28 AND team = "americano-sp" AND played > 8 |
Write a SQL query that answers the following question: How many losses have points against less than 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (lost VARCHAR, against INTEGER) | SELECT COUNT(lost) FROM table_name_1 WHERE against < 15 |
Write a SQL query that answers the following question: What average played has an against less than 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (played INTEGER, against INTEGER) | SELECT AVG(played) FROM table_name_40 WHERE against < 15 |
Write a SQL query that answers the following question: How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (lost VARCHAR, position VARCHAR, played VARCHAR, team VARCHAR) | SELECT COUNT(lost) FROM table_name_60 WHERE played > 8 AND team = "ypiranga-sp" AND position > 5 |
Write a SQL query that answers the following question: What lost has a position greater than 2, a drawn greater than 0, with an against greater than 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (lost VARCHAR, against VARCHAR, position VARCHAR, drawn VARCHAR) | SELECT lost FROM table_name_24 WHERE position > 2 AND drawn > 0 AND against > 15 |
Write a SQL query that answers the following question: What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (asian_or_amerindian___percentage_ INTEGER, state VARCHAR, brown___percentage_ VARCHAR) | SELECT SUM(asian_or_amerindian___percentage_) FROM table_name_44 WHERE state = "sergipe" AND brown___percentage_ > 61 OFFSET 3 |
Write a SQL query that answers the following question: How many points were there when there more than 6 losses and less than 14 matches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (points VARCHAR, lost VARCHAR, match VARCHAR) | SELECT COUNT(points) FROM table_name_16 WHERE lost > 6 AND match < 14 |
Write a SQL query that answers the following question: How few losses were the least number of losses and points higher than 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (lost INTEGER, points INTEGER) | SELECT MIN(lost) FROM table_name_67 WHERE points > 23 |
Write a SQL query that answers the following question: What is the highest number of matches with more than 18 points and more than 1 draw? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (match INTEGER, points VARCHAR, draw VARCHAR) | SELECT MAX(match) FROM table_name_37 WHERE points > 18 AND draw > 1 |
Write a SQL query that answers the following question: Who was the champion in the game played at the St. Andrews Links with Dick Chapman as the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (champion VARCHAR, runner_up VARCHAR, venue VARCHAR) | SELECT champion FROM table_name_87 WHERE runner_up = "dick chapman" AND venue = "st. andrews links" |
Write a SQL query that answers the following question: What is the score of the match won by Willie Hunter at the Royal Liverpool Golf Club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (score VARCHAR, venue VARCHAR, champion VARCHAR) | SELECT score FROM table_name_21 WHERE venue = "royal liverpool golf club" AND champion = "willie hunter" |
Write a SQL query that answers the following question: What player from England was the runner-up at the match played at the Royal Porthcawl Golf Club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (runner_up VARCHAR, country VARCHAR, venue VARCHAR) | SELECT runner_up FROM table_name_83 WHERE country = "england" AND venue = "royal porthcawl golf club" |
Write a SQL query that answers the following question: Who was the champion in the match where C.A. Palmer was the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (champion VARCHAR, runner_up VARCHAR) | SELECT champion FROM table_name_80 WHERE runner_up = "c.a. palmer" |
Write a SQL query that answers the following question: What player was the champion in the match where E.A. Lassen was the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (champion VARCHAR, runner_up VARCHAR) | SELECT champion FROM table_name_60 WHERE runner_up = "e.a. lassen" |
Write a SQL query that answers the following question: What is the score of the match played in England where Peter McEvoy was the champion and Paul McKellar was runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (score VARCHAR, runner_up VARCHAR, country VARCHAR, champion VARCHAR) | SELECT score FROM table_name_34 WHERE country = "england" AND champion = "peter mcevoy" AND runner_up = "paul mckellar" |
Write a SQL query that answers the following question: Which federal state has 6 representatives of national average? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (federal_state VARCHAR, representatives_of_national_average VARCHAR) | SELECT federal_state FROM table_name_3 WHERE representatives_of_national_average = "6" |
Write a SQL query that answers the following question: According to the 2010 census, what was the population for the federal state that had less than -6 deputies required ignoring the limits? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (population__on_the_census_also_called_censo_2010_ VARCHAR, deputies_required_ignoring_the_limits INTEGER) | SELECT population__on_the_census_also_called_censo_2010_ FROM table_name_47 WHERE deputies_required_ignoring_the_limits < -6 |
Write a SQL query that answers the following question: What is the lowest number of blocks for players with height of 206 and more than 356 spikes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (block INTEGER, height VARCHAR, spike VARCHAR) | SELECT MIN(block) FROM table_name_69 WHERE height = 206 AND spike > 356 |
Write a SQL query that answers the following question: What is the number of weight values associated with 340 blocks and more than 353 spikes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (weight VARCHAR, block VARCHAR, spike VARCHAR) | SELECT COUNT(weight) FROM table_name_7 WHERE block = 340 AND spike > 353 |
Write a SQL query that answers the following question: What award did Forest Whitaker win in 1989? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (award VARCHAR, actor VARCHAR, year VARCHAR) | SELECT award FROM table_name_54 WHERE actor = "forest whitaker" AND year = 1989 |
Write a SQL query that answers the following question: For what motion picture did Samuel L. Jackson win the best supporting actor award before 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (motion_picture VARCHAR, year VARCHAR, award VARCHAR, actor VARCHAR) | SELECT motion_picture FROM table_name_42 WHERE award = "best supporting actor" AND actor = "samuel l. jackson" AND year < 1997 |
Write a SQL query that answers the following question: Which actor won in 1966? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (actor VARCHAR, year VARCHAR) | SELECT actor FROM table_name_43 WHERE year = 1966 |
Write a SQL query that answers the following question: What is the lowest influence with population in the millions less than 60.64, and MEPs less than 22, and 454,059 inhabitant per MEP? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (influence INTEGER, inhabitants_per_mep VARCHAR, population_millions VARCHAR, meps VARCHAR) | SELECT MIN(influence) FROM table_name_58 WHERE population_millions < 60.64 AND meps < 22 AND inhabitants_per_mep = 454 OFFSET 059 |
Write a SQL query that answers the following question: What is the highest population in the millions that has an influence of 1.02? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (population_millions INTEGER, influence VARCHAR) | SELECT MAX(population_millions) FROM table_name_55 WHERE influence = 1.02 |
Write a SQL query that answers the following question: What is the sum of the population in millions that has an influence less than 2.91, a MEP smaller than 13, a member of Latvia, and more than 286,875 inhabitants per MEP? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (population_millions INTEGER, inhabitants_per_mep VARCHAR, member_state VARCHAR, influence VARCHAR, meps VARCHAR) | SELECT SUM(population_millions) FROM table_name_49 WHERE influence < 2.91 AND meps < 13 AND member_state = "latvia" AND inhabitants_per_mep > 286 OFFSET 875 |
Write a SQL query that answers the following question: What is the highest number of inhabitants per MEP that has MEPs larger than 50, a member of Germany, and a population less than 82.43 million? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (inhabitants_per_mep INTEGER, population_millions VARCHAR, meps VARCHAR, member_state VARCHAR) | SELECT MAX(inhabitants_per_mep) FROM table_name_26 WHERE meps > 50 AND member_state = "germany" AND population_millions < 82.43 |
Write a SQL query that answers the following question: Which World Rank has a Year smaller than 1977, and a Location of eugene? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR, location VARCHAR) | SELECT world_rank FROM table_name_81 WHERE year < 1977 AND location = "eugene" |
Write a SQL query that answers the following question: What's the lowest Year with a World Rank of 5th, with a Result greater than 20.31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (year INTEGER, world_rank VARCHAR, result VARCHAR) | SELECT MIN(year) FROM table_name_65 WHERE world_rank = "5th" AND result > 20.31 |
Write a SQL query that answers the following question: Which Year has a Result smaller than 20.26, and a Location of eugene? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (year INTEGER, result VARCHAR, location VARCHAR) | SELECT SUM(year) FROM table_name_80 WHERE result < 20.26 AND location = "eugene" |
Write a SQL query that answers the following question: What is the Result with a Location of brussels? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (result VARCHAR, location VARCHAR) | SELECT COUNT(result) FROM table_name_96 WHERE location = "brussels" |
Write a SQL query that answers the following question: What Year has a Result smaller than 20.31, and a World Rank of 5th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (year INTEGER, result VARCHAR, world_rank VARCHAR) | SELECT AVG(year) FROM table_name_64 WHERE result < 20.31 AND world_rank = "5th" |
Write a SQL query that answers the following question: What is the record when the Nuggets are the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_33 WHERE home = "nuggets" |
Write a SQL query that answers the following question: What is the lowest number of points for Drivers that have raced in more than 16 Races? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (points INTEGER, races INTEGER) | SELECT MIN(points) FROM table_name_35 WHERE races > 16 |
Write a SQL query that answers the following question: What is the least number of Races for a Racer with less than 0 Points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (races INTEGER, points INTEGER) | SELECT MIN(races) FROM table_name_31 WHERE points < 0 |
Write a SQL query that answers the following question: What is the average Year during which the Driver Adrian Quaife-Hobbs has fewer than 2 Poles, and 0 Fast laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (year INTEGER, drivers VARCHAR, poles VARCHAR, fast_laps VARCHAR) | SELECT AVG(year) FROM table_name_98 WHERE poles < 2 AND fast_laps = 0 AND drivers = "adrian quaife-hobbs" |
Write a SQL query that answers the following question: Which city contains the KPIX station? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (city_of_license__market VARCHAR, station VARCHAR) | SELECT city_of_license__market FROM table_name_96 WHERE station = "kpix" |
Write a SQL query that answers the following question: Which station has channel TV (DT) of 3 (26)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (station VARCHAR, channel_tv___dt__ VARCHAR) | SELECT station FROM table_name_74 WHERE channel_tv___dt__ = "3 (26)" |
Write a SQL query that answers the following question: What is the current affiliation when the years owned is between 1955–1995? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (current_affiliation VARCHAR, years_owned VARCHAR) | SELECT current_affiliation FROM table_name_62 WHERE years_owned = "1955–1995" |
Write a SQL query that answers the following question: What is the city containing the KDKA-TV station? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (city_of_license__market VARCHAR, station VARCHAR) | SELECT city_of_license__market FROM table_name_61 WHERE station = "kdka-tv" |
Write a SQL query that answers the following question: Which Channel TV is located in Baltimore? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR) | SELECT channel_tv___dt__ FROM table_name_88 WHERE city_of_license__market = "baltimore" |
Write a SQL query that answers the following question: What is the least number of goals scored in the play-offs among the players that have scored 2 in the FA Cup? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (play_offs INTEGER, fa_cup VARCHAR) | SELECT MIN(play_offs) FROM table_name_43 WHERE fa_cup = 2 |
Write a SQL query that answers the following question: What is the average number of goals scored in the FA Cup among players that have more than 20 total goals, less than 1 FA Trophy goals, and less than 25 league goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (fa_cup INTEGER, league VARCHAR, total VARCHAR, fa_trophy VARCHAR) | SELECT AVG(fa_cup) FROM table_name_57 WHERE total > 20 AND fa_trophy < 1 AND league < 25 |
Write a SQL query that answers the following question: What is the latitude and longitude for Surveyor 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (lat___lon VARCHAR, us_mission VARCHAR) | SELECT lat___lon FROM table_name_87 WHERE us_mission = "surveyor 3" |
Write a SQL query that answers the following question: What is the largest mass for Tycho Crater? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (mass__kg_ INTEGER, landing_zone VARCHAR) | SELECT MAX(mass__kg_) FROM table_name_59 WHERE landing_zone = "tycho crater" |
Write a SQL query that answers the following question: What Field was Commissioned in 1958, 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (field VARCHAR, commissioned VARCHAR) | SELECT field FROM table_name_24 WHERE commissioned = "1958, 2005" |
Write a SQL query that answers the following question: What is the Annual Generation at Kawerau (Bope)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (annual_generation__average_gwh_ VARCHAR, name VARCHAR) | SELECT annual_generation__average_gwh_ FROM table_name_83 WHERE name = "kawerau (bope)" |
Write a SQL query that answers the following question: What is the Name of the power station with a Capacity of 25 MW? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (name VARCHAR, capacity__mw_ VARCHAR) | SELECT name FROM table_name_9 WHERE capacity__mw_ = 25 |
Write a SQL query that answers the following question: What is the Name of the power station in the Field of Mokai? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (name VARCHAR, field VARCHAR) | SELECT name FROM table_name_22 WHERE field = "mokai" |
Write a SQL query that answers the following question: How many goals were scored in 2004 when the gp/gs was "did not play"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (goals VARCHAR, gp_gs VARCHAR, year VARCHAR) | SELECT goals FROM table_name_25 WHERE gp_gs = "did not play" AND year = "2004" |
Write a SQL query that answers the following question: How many assists were there when the total points was 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (assists VARCHAR, total_points VARCHAR) | SELECT assists FROM table_name_36 WHERE total_points = "2" |
Write a SQL query that answers the following question: What was the total number of points when there were 7 assists? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (total_points VARCHAR, assists VARCHAR) | SELECT total_points FROM table_name_98 WHERE assists = "7" |
Write a SQL query that answers the following question: What was the gp/gs when the assists was 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (gp_gs VARCHAR, assists VARCHAR) | SELECT gp_gs FROM table_name_4 WHERE assists = "1" |
Write a SQL query that answers the following question: what was the gp/gs in 2003 when the total points was "did not play"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (gp_gs VARCHAR, total_points VARCHAR, year VARCHAR) | SELECT gp_gs FROM table_name_96 WHERE total_points = "did not play" AND year = "2003" |
Write a SQL query that answers the following question: What was the outcome for Jan Pisecky and his partner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (outcome VARCHAR, partner VARCHAR) | SELECT outcome FROM table_name_32 WHERE partner = "jan pisecky" |
Write a SQL query that answers the following question: What player weight 235? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (player VARCHAR, weight VARCHAR) | SELECT player FROM table_name_29 WHERE weight = 235 |
Write a SQL query that answers the following question: What is the height of the F who weighs less than 195? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (height VARCHAR, pos VARCHAR, weight VARCHAR) | SELECT height FROM table_name_82 WHERE pos = "f" AND weight < 195 |
Write a SQL query that answers the following question: What team does F Trey Gilder play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (team VARCHAR, pos VARCHAR, player VARCHAR) | SELECT team FROM table_name_63 WHERE pos = "f" AND player = "trey gilder" |
Write a SQL query that answers the following question: What player plays for the Dakota Wizards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (player VARCHAR, team VARCHAR) | SELECT player FROM table_name_73 WHERE team = "dakota wizards" |
Write a SQL query that answers the following question: Which player who weighs 210 plays for the Reno Bighorns? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (player VARCHAR, weight VARCHAR, team VARCHAR) | SELECT player FROM table_name_68 WHERE weight = 210 AND team = "reno bighorns" |
Write a SQL query that answers the following question: What position does Brian Butch play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (pos VARCHAR, player VARCHAR) | SELECT pos FROM table_name_40 WHERE player = "brian butch" |
Write a SQL query that answers the following question: Which Position has a Player of tyronn lue, and a Years in Orlando of 2003–2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (position VARCHAR, player VARCHAR, years_in_orlando VARCHAR) | SELECT position FROM table_name_97 WHERE player = "tyronn lue" AND years_in_orlando = "2003–2004" |
Write a SQL query that answers the following question: Which School/Club Team has a Player of deandre liggins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_34 WHERE player = "deandre liggins" |
Write a SQL query that answers the following question: Which Position has a Years in Orlando of 1997–1998? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (position VARCHAR, years_in_orlando VARCHAR) | SELECT position FROM table_name_68 WHERE years_in_orlando = "1997–1998" |
Write a SQL query that answers the following question: Which Position has a School/Club Team of stanford? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_15 WHERE school_club_team = "stanford" |
Write a SQL query that answers the following question: Which School/Club Team has a Years in Orlando of 1997–1998? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (school_club_team VARCHAR, years_in_orlando VARCHAR) | SELECT school_club_team FROM table_name_92 WHERE years_in_orlando = "1997–1998" |
Write a SQL query that answers the following question: Which Position has a Years in Orlando of 2003–2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (position VARCHAR, years_in_orlando VARCHAR) | SELECT position FROM table_name_55 WHERE years_in_orlando = "2003–2004" |
Write a SQL query that answers the following question: What is the High assists with a Date that is february 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_name_42 WHERE date = "february 27" |
Write a SQL query that answers the following question: What is the High points with a Game that is 56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (high_points VARCHAR, game VARCHAR) | SELECT high_points FROM table_name_31 WHERE game = 56 |
Write a SQL query that answers the following question: In what Distance has a Venue of sale? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (distance VARCHAR, venue VARCHAR) | SELECT distance FROM table_name_36 WHERE venue = "sale" |
Write a SQL query that answers the following question: WHo is Winner/2nd that has c. symons? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (winner_2nd VARCHAR, jockey VARCHAR) | SELECT winner_2nd FROM table_name_84 WHERE jockey = "c. symons" |
Write a SQL query that answers the following question: Which Race that Jockey of d. nikolic is in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (race VARCHAR, jockey VARCHAR) | SELECT race FROM table_name_78 WHERE jockey = "d. nikolic" |
Write a SQL query that answers the following question: Name The Result that has a Distance of 1200m, and a Weight (kg) of 55.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (result VARCHAR, distance VARCHAR, weight__kg_ VARCHAR) | SELECT result FROM table_name_5 WHERE distance = "1200m" AND weight__kg_ = 55.5 |
Write a SQL query that answers the following question: What is the previous team of the United States player who had 2 NBA years and played the F position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (previous_team VARCHAR, pos VARCHAR, nationality VARCHAR, nba_years_ VARCHAR, a_ VARCHAR) | SELECT previous_team FROM table_name_41 WHERE nationality = "united states" AND nba_years_[a_] = 2 AND pos = "f" |
Write a SQL query that answers the following question: Which Team has a Score of 108-107? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (team VARCHAR, score VARCHAR) | SELECT team FROM table_name_82 WHERE score = "108-107" |
Write a SQL query that answers the following question: Which Record has a Date of may 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_55 WHERE date = "may 31" |
Write a SQL query that answers the following question: Which Game has a Team of at phoenix, and a Score of 107-119? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (game VARCHAR, team VARCHAR, score VARCHAR) | SELECT COUNT(game) FROM table_name_54 WHERE team = "at phoenix" AND score = "107-119" |
Write a SQL query that answers the following question: Which Location Attendance has a Game larger than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (location_attendance VARCHAR, game INTEGER) | SELECT location_attendance FROM table_name_32 WHERE game > 5 |
Write a SQL query that answers the following question: Which Team has a Score of 89-123? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (team VARCHAR, score VARCHAR) | SELECT team FROM table_name_40 WHERE score = "89-123" |
Write a SQL query that answers the following question: What is the average Game with a Date that is june 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_24 WHERE date = "june 14" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.